@font-face {
  font-family: 'Montserrat';
  src: url('../assets/Montserrat/Montserrat-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/Montserrat/Montserrat-Italic-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans JP';
  src: url('../assets/Noto_Sans_JP/NotoSansJP-language-switch.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bodoni Moda';
  src: url('../assets/Bodoni-Moda/BodoniModa-VariableFont_opsz,wght.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #203358;
  --blue: #388fce;
  --red: #e7392d;
  --pale: #fff;
  --gray: var(--navy);
  --white: #fff;
  --body: 'Montserrat','Segoe UI',Arial,sans-serif;
  --display: 'Bodoni Moda',Georgia,serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: white;
  color: var(--navy);
  font: 18px/1.6 var(--body);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1,h2,h3,p {
  margin: 0;
}

h1,h2,h3 {
  font-family: var(--display);
  /* Tamaño óptico pequeño para reforzar los trazos finos de Bodoni Moda. */
  font-optical-sizing: none;
  font-variation-settings: 'opsz' 12;
  font-weight: 600;
  line-height: 1.12;
}

h2 {
  font-size: clamp(32px,3.2vw,48px);
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 6px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  padding: 12px;
  background: white;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.section-wrap {
  width: min(1240px,calc(100% - 96px));
  margin-inline: auto;
}

.header {
  background: white;
  position: relative;
  z-index: 10;
}

.header-inner {
  width: min(1440px,calc(100% - 72px));
  margin: auto;
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: block;
  width: 220px;
  flex-shrink: 0;
}

.brand img {
  height: auto;
  object-fit: contain;
}

.header nav {
  display: flex;
  gap: 25px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}

.header nav a {
  padding: 14px 0;
  position: relative;
}

.header nav a[aria-current] {
  border-bottom: 2px solid var(--red);
}

.header nav a:hover {
  color: var(--navy);
}

.languages {
  display: flex;
  gap: 10px;
  font-size: 13px;
  align-items: center;
}

.languages a {
  padding-block: 12px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 620px;
  height: calc(85vh - 100px);
  max-height: 850px;
  isolation: isolate;
  background: var(--navy);
  color: white;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}

/* Encuadre por foto: horizontal vertical. Compartido por escritorio y móvil. */
/* Foto 1 */
.hero-slides .hero-image:nth-child(1) {
  object-position: 50% 50%;
}

/* Foto 2 */
.hero-slides .hero-image:nth-child(2) {
  object-position: 50% 40%;
}

/* Foto 3 */
.hero-slides .hero-image:nth-child(3) {
  object-position: 50% 70%;
}

/* Foto 4 */
.hero-slides .hero-image:nth-child(4) {
  object-position: 50% 50%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,rgba(32,51,88,.78),rgba(32,51,88,.3) 58%,rgba(32,51,88,.05));
}

.hero-copy {
  width: min(1240px,calc(100% - 96px));
  margin: auto;
  padding-top: clamp(100px,12vh,170px);
}

h1 {
  font-size: clamp(45px,5.1vw,76px);
  max-width: 750px;
  letter-spacing: -1.6px;
}

.hero-copy p {
  max-width: 480px;
  margin-top: 26px;
  font-size: 20px;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 15px 24px;
  min-height: 52px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 3px;
  transition: background-color 150ms,scale 150ms;
}

.button:active {
  scale: .96;
}

.button span {
  font-size: 22px;
}

.button-light {
  background: white;
  color: var(--navy);
  margin-top: 34px;
}

.button-light:hover {
  background: #eef3f8;
  color: var(--navy);
}

.button-navy {
  background: var(--navy);
  color: white;
}

.button-navy:hover {
  background: #203358;
}

.hero-foot {
  position: absolute;
  bottom: 30px;
  left: 48px;
  font-size: 14px;
  color: var(--white);
}

.trip {
  margin-block: 70px 110px;
  display: grid;
  grid-template-columns: .85fr 1.4fr;
  min-height: 360px;
  border-bottom: 1px solid #20335826;
  padding-bottom: 60px;
  gap: 52px;
}

.trip-image {
  overflow: hidden;
  border-radius: 3px;
}

.trip-image img {
  border-radius: 3px;
  outline: 1px solid #0000001a;
  object-position: center;
}

.trip-kicker {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 600;
}

.trip h2 {
  font-size: clamp(30px,2.9vw,44px);
}

.trip-intro {
  color: var(--gray);
  margin-top: 15px;
  max-width: 550px;
}

.trip-data {
  display: flex;
  gap: 45px;
  margin: 24px 0;
}

.trip-data p {
  display: flex;
  flex-direction: column;
}

.trip-data strong {
  font-size: 19px;
}

.trip-data span {
  font-size: 14px;
  color: var(--gray);
}

.trip-data .price {
  font-size: 29px;
  color: var(--navy);
  line-height: 1.5;
}

.trip-bottom {
  display: flex;
  align-items: center;
  gap: 24px;
}

.fine-print {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 40px;
}

.section-heading>p {
  color: var(--gray);
  font-size: 17px;
  max-width: 400px;
}

.destination-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 24px;
}

.destination {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--navy);
  color: white;
  isolation: isolate;
}

.destination:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg,rgba(32,51,88,.85),transparent 70%);
}

.destination img {
  position: absolute;
  inset: 0;
  z-index: -2;
  outline: 1px solid #0000001a;
}

/* Zoom leve de las fotografías, sin mover las tarjetas ni sus textos. */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .destination img,
  .trip-image img,
  .japan-story-image img {
    transition: transform 350ms ease-out;
  }

  .destination:hover img,
  .trip-image:hover img,
  .japan-story-image:hover img {
    transform: scale(1.04);
  }
}

.kyoto {
  grid-row: span 2;
}

.destination-caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
}

.destination h3 {
  font-size: 38px;
  margin-bottom: 10px;
}

.destination p {
  font-size: 16px;
  max-width: 390px;
}

.about {
  background: var(--pale);
  margin-top: 110px;
  padding-block: 85px;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.small-label {
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 20px;
}

.about-copy p {
  color: var(--gray);
  margin-bottom: 24px;
  max-width: 490px;
}

.text-link {
  display: inline-flex;
  gap: 20px;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 7px;
  font-size: 16px;
  font-weight: 600;
}

.questions {
  margin-block: 100px;
}

.faq-list {
  max-width: 850px;
  margin-left: auto;
}

details {
  border-top: 1px solid #20335826;
}

details:last-child {
  border-bottom: 1px solid #20335826;
}

summary {
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-weight: 600;
  position: relative;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: '+';
  position: absolute;
  right: 6px;
  top: 18px;
  font-size: 28px;
  font-weight: 400;
}

details[open] summary:after {
  content: '−';
}

details p {
  color: var(--gray);
  max-width: 700px;
  padding: 0 0 24px;
}

.contact {
  background: var(--navy);
  color: white;
  padding-block: 75px;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact p {
  margin-top: 22px;
  color: var(--white);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-links a {
  border-bottom: 1px solid #ffffff40;
  padding-block: 14px;
  display: flex;
  justify-content: space-between;
  font-size: clamp(17px,2vw,25px);
}

.prototype-note {
  margin-block: 30px;
  padding: 20px 0;
  border-bottom: 1px solid #20335826;
}

.prototype-note h2 {
  font: 600 14px var(--body);
}

.prototype-note p {
  font-size: 12px;
  color: var(--gray);
  margin-top: 8px;
}

.prototype-note a {
  text-decoration: underline;
}

.footer {
  padding-block: 30px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 14px;
}

.footer .brand {
  width: 190px;
}

.footer p {
  color: var(--gray);
}

@media (min-width:1600px) {
  .hero-foot {
    left: calc((100% - 1240px)/2);
  }
}

@media (max-width:1100px) {
  .header-inner {
    gap: 20px;
    width: calc(100% - 40px);
  }
  .brand {
    width: 185px;
  }
  .header nav {
    gap: 16px;
    font-size: 12px;
  }
  .section-wrap {
    width: calc(100% - 64px);
  }
  .trip {
    gap: 30px;
  }
  .trip-data {
    gap: 25px;
  }
  .trip-bottom {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }
  .about-inner {
    gap: 55px;
  }
}

@media (max-width:850px) {
  .header-inner {
    min-height: 85px;
    flex-wrap: wrap;
    gap: 20px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: var(--navy);
    padding: 12px;
    cursor: pointer;
    font-size: 14px;
  }
  .languages {
    font-size: 12px;
  }
  .header nav {
    display: none;
    flex-basis: 100%;
    order: 4;
    margin: 0;
    padding: 0 0 20px;
    font-size: 16px;
  }
  .header nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .header nav a {
    padding: 12px;
  }
  .hero {
    min-height: 590px;
    height: auto;
  }
  .hero-copy {
    padding-top: 110px;
    padding-bottom: 120px;
    width: calc(100% - 64px);
  }
  .hero-foot {
    left: 32px;
    font-size: 12px;
  }
  .trip {
    grid-template-columns: 1fr;
    margin-block: 45px 70px;
    gap: 25px;
    padding-bottom: 45px;
  }
  .trip-image {
    height: 280px;
  }
  .trip-bottom {
    flex-direction: row;
    align-items: center;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
  .destination-grid {
    grid-template-rows: 260px 260px;
    gap: 16px;
  }
  .destination-caption {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }
  .destination h3 {
    font-size: 30px;
  }
  .destination p {
    font-size: 14px;
  }
  .about {
    margin-top: 70px;
    padding-block: 60px;
  }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .questions {
    margin-block: 65px;
  }
  .faq-list {
    margin-left: 0;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer {
    flex-wrap: wrap;
  }
}

@media (max-width:540px) {
  .header-inner {
    width: calc(100% - 28px);
    gap: 5px;
  }
  .header .brand {
    width: 155px;
  }
  .menu-toggle {
    padding: 12px 8px;
  }
  .languages {
    gap: 5px;
  }
  .section-wrap {
    width: calc(100% - 40px);
  }
  .hero {
    min-height: 580px;
  }
  .hero-shade {
    background: linear-gradient(90deg,rgba(32,51,88,.82),rgba(32,51,88,.35));
  }
  .hero-copy {
    width: calc(100% - 40px);
    padding-top: 100px;
  }
  h1 {
    font-size: 42px;
    letter-spacing: -.7px;
  }
  .hero-copy p {
    font-size: 18px;
    max-width: 330px;
  }
  .hero-foot {
    left: 20px;
    right: 20px;
  }
  .trip-image {
    height: 220px;
  }
  .trip-data {
    flex-direction: column;
    gap: 18px;
  }
  .trip-data strong {
    font-size: 18px;
  }
  .trip-bottom {
    flex-direction: column;
    align-items: start;
  }
  .destination-grid {
    display: flex;
    flex-direction: column;
  }
  .destination {
    min-height: 300px;
  }
  .kyoto {
    min-height: 400px;
  }
  .destination h3 {
    font-size: 34px;
  }
  .destination p {
    font-size: 16px;
  }
  .contact {
    padding-block: 55px;
  }
  .footer {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }
  .prototype-note {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    transition: none!important;
  }
  .button:active {
    scale: 1;
  }
}

h1,h2,h3 {
  text-wrap: balance;
}

a,button,summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: #388fce26;
}

.contact-links a:hover,.text-link:hover,.footer>a:last-child:hover {
  text-decoration: underline;
}

.languages a:hover {
  color: var(--navy);
}

.japan-hero {
  overflow: hidden;
  position: relative;
  isolation: isolate;
  min-height: 660px;
  display: flex;
  align-items: center;
  color: white;
  background: var(--navy);
}

.japan-hero>img {
  position: absolute;
  inset: 0;
  z-index: -2;
  object-position: center;
}

.japan-hero:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,#203358d9,#20335850);
}

.japan-hero-inner {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 70px;
  align-items: center;
  padding-block: 80px;
}

.japan-hero-inner>div>p {
  margin-top: 16px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.65;
}

.hero-trip {
  min-width: 0;
  background: rgba(255,255,255,.88);
  color: var(--navy);
  padding: 30px;
  border-top: 4px solid var(--red);
  border-radius: 3px;
}

.hero-trip .button {
  width: auto;
  max-width: 100%;
  min-width: 0;
  gap: 20px;
  padding-inline: 24px;
}

.hero-trip .button span {
  flex-shrink: 0;
}

.hero-trip>p {
  font-size: 15px;
  margin-bottom: 15px;
}

.hero-trip h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.hero-trip small {
  display: block;
  color: var(--gray);
  font-size: 12px;
  margin-top: 14px;
}

.japan-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  margin-block: 95px;
}

.japan-intro p {
  color: var(--gray);
  margin-bottom: 22px;
}

.japan-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
  margin-bottom: 48px;
}

.japan-story:last-child {
  margin-bottom: 0;
}

.japan-story:nth-child(even)>.japan-story-image {
  order: 2;
}

.japan-story-image {
  overflow: hidden;
  height: 420px;
  border-radius: 3px;
  outline: 1px solid #0000001a;
}

.japan-story p {
  margin-top: 25px;
  color: var(--gray);
}

.japan-story .experience {
  font-size: 15px;
  color: var(--navy);
  border-left: 2px solid var(--blue);
  padding-left: 15px;
}

.season-band {
  background: var(--pale);
  padding-block: 70px;
}

.seasons {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 35px;
  margin-top: 40px;
}

.seasons h3 {
  font-size: 28px;
}

.seasons p {
  font-size: 16px;
  color: var(--gray);
  margin-top: 18px;
}

.preparation {
  margin-block: 90px;
}

/* Ritmo compacto de Conoce Japón y encabezado centrado sobre las preguntas. */
.japan-page .season-band {
  padding-block: 48px;
}

.japan-page .seasons {
  margin-top: 30px;
}

.japan-page .preparation {
  margin-block: 48px;
}

.japan-page .preparation .section-heading {
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 850px;
  margin-inline: auto;
  margin-bottom: 28px;
  text-align: center;
}

.japan-page .preparation .section-heading>p {
  max-width: 650px;
}

.japan-page .preparation .faq-list {
  margin-inline: auto;
}

.japan-page .contact {
  padding-block: 56px;
}

@media (max-width:850px) {
  .japan-hero-inner {
    gap: 35px;
    grid-template-columns: 1fr;
    padding-block: 65px;
  }
  .hero-trip {
    max-width: 440px;
  }
  .japan-intro {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-block: 65px;
  }
  .japan-story {
    gap: 30px;
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }
  .japan-story:nth-child(even)>.japan-story-image {
    order: 0;
  }
  .japan-story-image {
    height: 340px;
  }
  .seasons {
    grid-template-columns: 1fr 1fr;
  }
  .preparation {
    margin-block: 65px;
  }
  .japan-page .season-band {
    padding-block: 36px;
  }
  .japan-page .preparation {
    margin-block: 36px;
  }
  .japan-page .contact {
    padding-block: 40px;
  }
}

@media (max-width:540px) {
  .japan-hero-inner {
    padding-block: 55px;
  }
  .japan-hero-inner>div>p {
    font-size: 13px;
  }
  .hero-trip {
    padding: 25px;
  }
  .japan-story-image {
    height: 290px;
  }
  .seasons {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .season-band {
    padding-block: 50px;
  }
}

.tour-hero {
  position: relative;
  isolation: isolate;
  background: var(--navy);
  color: white;
  min-height: 550px;
  display: flex;
  align-items: center;
}

.tour-hero>img {
  position: absolute;
  inset: 0;
  z-index: -2;
  object-position: center 55%;
}

.tour-hero:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,#203358df,#20335855);
}

.tour-hero-copy {
  padding-block: 65px;
}

.tour-back {
  display: inline-block;
  font-size: 14px;
  margin-bottom: 28px;
  border-bottom: 1px solid #ffffff70;
}

.tour-hero-copy>p {
  margin-top: 24px;
}

.tour-facts {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,300px));
  justify-content: center;
  gap: 20px;
  text-align: center;
  align-items: center;
  padding-block: 40px;
  border-bottom: 1px solid #20335826;
}

.tour-facts>div {
  display: flex;
  flex-direction: column;
}

.tour-facts span {
  font-size: 14px;
  color: var(--gray);
}

.tour-facts strong {
  font-size: 21px;
}

.tour-facts>p {
  grid-column: 1/-1;
  font-size: 13px;
  color: var(--gray);
}

/* Cuenta regresiva del viaje, centrada sobre fechas y duración. */
.tour-facts .tour-countdown {
  grid-column: 1 / -1;
  align-items: center;
  gap: 14px;
  padding-bottom: 0;
  text-align: center;
}

.tour-countdown-title {
  font-size: 16px;
  font-weight: 600;
}

.tour-countdown-units {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  width: min(100%,600px);
  margin: 0;
}

.tour-countdown-units>div {
  display: flex;
  flex-direction: column-reverse;
  gap: 3px;
  padding-inline: 4px;
}

.tour-countdown-units>div+div {
  border-left: 1px solid #20335826;
}

.tour-countdown-units dt {
  font-size: clamp(10px,2.5vw,12px);
  font-weight: 500;
}

.tour-countdown-units dd {
  margin: 0;
  font-size: clamp(24px,4vw,44px);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.tour-countdown-note {
  font-size: 12px;
  line-height: 1.6;
}

.route-line {
  font-weight: 600;
  color: var(--navy)!important;
}

.tour-itinerary {
  margin-bottom: 85px;
}

.itinerary-list {
  max-width: 900px;
  margin-inline: auto;
}

.tour-itinerary .section-heading,
.tour-conditions .section-heading {
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.tour-itinerary .section-heading>p {
  max-width: 650px;
}

.tour-itinerary h2 {
  font-size: clamp(24px,4vw,48px);
  white-space: nowrap;
}

.tour-conditions .faq-list {
  margin-inline: auto;
}

.itinerary-list summary {
  display: flex;
  gap: 26px;
  align-items: center;
}

.day-number {
  font-size: 14px;
  color: var(--navy);
  min-width: 60px;
}

.itinerary-list summary small {
  display: block;
  font-size: 14px;
  color: var(--gray);
  font-weight: 400;
  margin-top: 5px;
}

.itinerary-list details p {
  padding-left: 86px;
}

.itinerary-note {
  max-width: 900px;
  margin: 24px auto 0;
}

.inclusions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
}

.inclusions ul {
  padding-left: 22px;
  margin-top: 30px;
  color: var(--gray);
}

.inclusions li {
  margin-bottom: 16px;
}

.inclusions p {
  color: var(--gray);
}

.tour-prices,.tour-conditions {
  margin-block: 80px;
}

.price-table-wrap {
  overflow-x: auto;
}

.price-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 18px;
  margin-bottom: 20px;
}

.price-table caption {
  text-align: left;
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 15px;
}

.price-table th,.price-table td {
  text-align: left;
  padding: 20px;
  border-bottom: 1px solid #20335826;
}

.price-table thead {
  background: var(--pale);
}

.price-table td {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width:1000px) {
  .tour-facts .button {
    justify-self: start;
  }
  .inclusions {
    gap: 40px;
  }
}

@media (max-width:650px) {
  .tour-facts {
    grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
    column-gap: 10px;
    row-gap: 20px;
  }
  .tour-facts span {
    font-size: 11px;
  }
  .tour-facts strong {
    font-size: clamp(11px,3.4vw,18px);
    white-space: nowrap;
  }
  .tour-hero {
    min-height: 520px;
  }
  .inclusions {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .itinerary-list summary {
    gap: 12px;
    font-size: 16px;
  }
  .day-number {
    min-width: 45px;
    font-size: 12px;
  }
  .itinerary-list details p {
    padding-left: 0;
  }
  .price-table {
    font-size: 15px;
  }
  .price-table th,.price-table td {
    padding: 14px;
  }
  .tour-prices,.tour-conditions {
    margin-block: 55px;
  }
}

.page-intro {
  padding-block: 80px 70px;
  max-width: 1240px;
}

.page-intro h1 {
  font-size: clamp(40px,4.7vw,68px);
  max-width: 1000px;
}

.page-intro .lead {
  font-size: 21px;
  max-width: 650px;
  color: var(--gray);
  margin-top: 28px;
}

.page-intro .text-link {
  margin-top: 25px;
}

.company-story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: center;
}

.company-mark {
  padding: 60px 35px;
  background: var(--pale);
}

.company-mark img {
  height: auto;
}

.company-mark p {
  font-size: 15px;
  margin-top: 25px;
  text-align: center;
  color: var(--gray);
}

.company-story h2 {
  margin-bottom: 24px;
}

.company-story p,.company-approach p {
  color: var(--gray);
  margin-bottom: 20px;
}

.company-approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.company-team,.office-note {
  padding-block: 65px;
}

.company-team>p,.office-note>p {
  max-width: 650px;
  color: var(--gray);
  margin-top: 25px;
}

.editorial-pending {
  padding: 22px 25px;
  border-left: 3px solid var(--blue);
  background: var(--pale);
  max-width: 700px;
  margin-top: 30px;
  font-size: 15px;
}

.editorial-pending p {
  margin-top: 8px;
  color: var(--gray);
}

.mini-tour {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: center;
  border-top: 1px solid #20335826;
  border-bottom: 1px solid #20335826;
  padding-block: 32px;
  margin-bottom: 45px;
}

.mini-tour h2 {
  font-size: 30px;
  margin: 8px 0;
}

.mini-tour p {
  font-size: 15px;
  color: var(--gray);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.faq-group {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 65px;
  margin-bottom: 65px;
}

.faq-group h2 {
  font-size: 34px;
}

.faq-group details p a {
  text-decoration: underline;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-bottom: 75px;
}

.contact-methods article {
  border-top: 2px solid var(--blue);
  padding-top: 25px;
}

.contact-methods p {
  max-width: 420px;
  color: var(--gray);
  margin-top: 20px;
}

.contact-address {
  display: block;
  font-size: clamp(19px,2.2vw,29px);
  margin-block: 25px;
  overflow-wrap: anywhere;
}

.contact-address:hover {
  text-decoration: underline;
}

.contact-guidance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
}

.contact-guidance ul {
  margin: 0;
  padding-left: 22px;
  color: var(--gray);
}

.contact-guidance li {
  margin-bottom: 18px;
}

@media (max-width:850px) {
  .page-intro {
    padding-block: 55px;
  }
  .company-story,.company-approach,.contact-guidance,.faq-group {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .company-story {
    margin-bottom: 55px;
  }
  .contact-methods {
    gap: 30px;
  }
  .footer {
    align-items: start;
  }
  .footer-nav {
    max-width: 330px;
  }
}

@media (max-width:540px) {
  .page-intro .lead {
    font-size: 18px;
  }
  .company-mark {
    padding: 40px 20px;
  }
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 45px;
    margin-bottom: 50px;
  }
  .mini-tour {
    align-items: start;
    flex-direction: column;
    gap: 22px;
  }
  .mini-tour h2 {
    font-size: 28px;
  }
  .faq-group {
    margin-bottom: 45px;
  }
  .faq-group h2 {
    font-size: 30px;
  }
  .company-team,.office-note {
    padding-block: 50px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
}

/* Acabado e interacciones · etapa 6 */
:root {
  --surface-shadow: 0 0 0 1px oklch(0 0 0 / .06),0 1px 2px -1px oklch(0 0 0 / .06),0 2px 4px oklch(0 0 0 / .04);
}

.button:has(span) {
  padding-inline-end: 22px;
}

.button span {
  line-height: 1;
  display: inline-block;
}

.hero-trip {
  box-shadow: var(--surface-shadow);
}

.languages a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.menu-toggle {
  min-height: 44px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.hero-trip small,.fine-print {
  font-size: 13px;
}

.price-table th {
  vertical-align: top;
}

.contact-links a {
  gap: 20px;
}

.trip-image img,.destination img,.japan-story-image {
  outline-offset: -1px;
}

.trip-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 25;
  width: 330px;
  background: white;
  color: var(--navy);
  padding: 22px 50px 22px 24px;
  border-radius: 4px;
  border-top: 3px solid var(--red);
  box-shadow: 0 0 0 1px #0000000f,0 3px 8px #00000012,0 12px 30px #0000001a;
  animation: notice-enter 250ms ease-out both;
}

.notice-label {
  font-size: 12px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 8px;
}

.trip-notice h2 {
  font-size: 25px;
  line-height: 1.2;
}

.notice-dates {
  font-size: 13px;
  color: var(--gray);
  margin-top: 10px;
}

.notice-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 6px;
}

.notice-link:hover {
  color: var(--navy);
}

.notice-close {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--navy);
  font: 28px/1 var(--body);
  cursor: pointer;
  transition: background-color 150ms,scale 150ms;
}

.notice-close:hover {
  background: var(--pale);
}

.notice-close:active {
  scale: .96;
}

@keyframes notice-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width:540px) {
  .trip-notice {
    left: 12px;
    right: 12px;
    bottom: max(12px,env(safe-area-inset-bottom));
    width: auto;
    padding: 14px 48px 12px 18px;
  }
  .trip-notice h2 {
    font-size: 21px;
  }
  .notice-label {
    margin-bottom: 4px;
  }
  .notice-dates {
    margin-top: 5px;
    font-size: 12px;
  }
  .notice-link {
    margin-top: 0;
  }
  .price-table-wrap {
    border-radius: 3px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .trip-notice {
    animation: none;
  }
  .notice-close:active {
    scale: 1;
  }
}

.trip-notice.notice-at-top {
  top: 110px;
  bottom: auto;
}

@media (max-width:850px) {
  .trip-notice.notice-at-top {
    top: 95px;
  }
}

/* Revisión final */
main[id],section[id] {
  scroll-margin-top: 24px;
}

.section-heading>*,.trip-copy,.japan-hero-inner>*,.contact-inner>* {
  min-width: 0;
}

.trip-data p {
  min-width: 0;
}

.trip-data p:first-child {
  max-width: 300px;
}

.trip-data {
  flex-wrap: wrap;
}

.menu-toggle:hover {
  background: var(--pale);
  border-radius: 3px;
}

summary:hover {
  color: var(--navy);
}

.tour-back:hover {
  text-decoration: underline;
}

.contact-address:focus-visible {
  outline-offset: 5px;
}

.trip-notice {
  overflow-wrap: anywhere;
}

.trip-notice .notice-link {
  position: relative;
  z-index: 1;
}

.header-inner {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

@media (max-width:370px) {
  .header .brand {
    width: 140px;
  }
  .header-inner {
    gap: 2px;
  }
  .menu-toggle {
    padding-inline: 6px;
  }
  .languages {
    gap: 3px;
    font-size: 11px;
  }
  h1 {
    font-size: 38px;
  }
}

/* Manual de marca: fondos blancos, textos Montserrat y japonés Noto Sans JP. */
:lang(ja) {
  font-family: 'Noto Sans JP',sans-serif;
}

.button-navy:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Logo completo: tamaño legible y zona de protección en cabecera y pie. */
.header .brand,.footer .brand {
  width: 220px;
  max-width: 100%;
}

.header-inner {
  padding-block: 14px;
  column-gap: 28px;
}

.footer {
  padding-block: 36px 50px;
  column-gap: 28px;
  row-gap: 28px;
}

.tour-services {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 28px;
  margin-bottom: 55px;
  padding-block: 28px;
  border-top: 1px solid #20335826;
  border-bottom: 1px solid #20335826;
}

.tour-service {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.tour-service img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.tour-service p {
  font-size: 15px;
  line-height: 1.5;
}

.tour-service strong {
  display: block;
  font-weight: 600;
}

@media (max-width:1100px) and (min-width:851px) {
  .header-inner {
    column-gap: 16px;
  }
  .header nav {
    gap: 12px;
  }
}

@media (max-width:850px) {
  .tour-services {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
  }
}

@media (max-width:540px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding-block: 16px;
    width: calc(100% - 40px);
  }
  .header .brand {
    grid-column: 1/-1;
    grid-row: 1;
    width: 220px;
    margin-bottom: 6px;
  }
  .menu-toggle {
    grid-column: 1;
    grid-row: 2;
    margin-left: 0;
    justify-self: start;
    padding: 10px 0;
  }
  .languages {
    grid-column: 2;
    grid-row: 2;
    font-size: 13px;
    gap: 8px;
  }
  .header nav {
    grid-column: 1/-1;
    grid-row: 3;
    padding-bottom: 0;
    font-size: 16px;
  }
  .header nav.is-open {
    display: flex;
  }
  .tour-services {
    gap: 24px 20px;
    margin-bottom: 40px;
  }
  .tour-service {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .tour-service p {
    font-size: 14px;
  }
  .trip-notice.notice-at-top {
    top: 170px;
  }
}

/* Logo de cabecera ampliado para mejorar la lectura de Since 1995. */
.header .brand {
  width: 320px;
}

.header-inner {
  min-height: 120px;
  padding-block: 20px;
}

@media (min-width:851px) and (max-width:1200px) {
  .header-inner {
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 8px;
  }
  .header nav {
    order: 4;
    flex-basis: 100%;
    justify-content: flex-end;
    margin-left: 0;
  }
  .languages {
    margin-left: auto;
  }
}

@media (max-width:850px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding-block: 20px;
    width: calc(100% - 40px);
  }
  .header .brand {
    grid-column: 1/-1;
    grid-row: 1;
    width: 320px;
    max-width: 100%;
    margin-bottom: 6px;
  }
  .menu-toggle {
    grid-column: 1;
    grid-row: 2;
    margin-left: 0;
    justify-self: start;
    padding: 10px 0;
  }
  .languages {
    grid-column: 2;
    grid-row: 2;
    font-size: 13px;
    gap: 8px;
  }
  .header nav {
    grid-column: 1/-1;
    grid-row: 3;
    padding-bottom: 0;
    font-size: 16px;
  }
  .header nav.is-open {
    display: flex;
  }
  .trip-notice.notice-at-top {
    top: 200px;
  }
}

@media (max-width:850px) {
  .header-inner {
    grid-template-columns: minmax(0,1fr) auto;
  }
  .header .brand {
    width: min(320px,calc(100vw - 40px));
  }
}

/* Banner bajo el hero: fecha completa sin el límite de 300 px. */
.trip .trip-data p:first-child {
  max-width: none;
}

.trip .trip-data p:first-child strong {
  white-space: nowrap;
}

@media (max-width:540px) {
  .trip .trip-data p:first-child strong {
    font-size: clamp(13px,3.55vw,18px);
  }
}

/* Destinos de la portada: descripción debajo del título. */
#japon .section-heading {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

#japon .section-heading>p {
  max-width: none;
}

/* Acompañamiento: fotografía editorial y beneficios concretos. */
#nosotros.about {
  padding-block: 80px;
  border-top: 1px solid #20335826;
}

.accompaniment {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.accompaniment-image {
  position: relative;
  min-height: 610px;
  align-self: stretch;
  isolation: isolate;
  background: var(--navy);
  border-radius: 3px;
  overflow: hidden;
}

.accompaniment-image img {
  position: absolute;
  inset: 0;
  outline: 1px solid #0000001a;
  outline-offset: -1px;
  object-position: center;
}

.accompaniment-image:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,#203358e6,transparent 65%);
  z-index: 1;
}

.accompaniment-image>p {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  color: white;
  z-index: 2;
  font-size: 19px;
  line-height: 1.6;
}

.accompaniment-copy {
  min-width: 0;
}

.accompaniment-copy .small-label {
  margin-bottom: 16px;
}

.accompaniment-copy h2 {
  font-size: clamp(32px,3.1vw,46px);
}

.accompaniment-lead {
  margin-top: 24px;
  max-width: 570px;
  font-size: 17px;
}

.accompaniment-benefits {
  list-style: none;
  margin: 30px 0;
  padding: 0;
}

.accompaniment-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-block: 18px;
  border-top: 1px solid #20335826;
}

.accompaniment-benefits img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.accompaniment-benefits h3 {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.accompaniment-benefits p {
  font-size: 15px;
  line-height: 1.65;
  margin-top: 5px;
}

.accompaniment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.accompaniment-actions .button {
  font-size: 14px;
  gap: 16px;
}

.accompaniment-actions .text-link {
  font-size: 14px;
}

@media (max-width:1000px) {
  .accompaniment {
    gap: 36px;
  }
  .accompaniment-image {
    min-height: 640px;
  }
}

@media (max-width:850px) {
  #nosotros.about {
    padding-block: 55px;
  }
  .accompaniment {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .accompaniment-image {
    min-height: 380px;
  }
  .accompaniment-image img {
    object-position: center 45%;
  }
  .accompaniment-copy h2 {
    max-width: 650px;
  }
}

@media (max-width:540px) {
  .accompaniment-image {
    min-height: 320px;
  }
  .accompaniment-image>p {
    left: 24px;
    right: 24px;
    bottom: 24px;
    font-size: 17px;
  }
  .accompaniment-benefits li {
    gap: 14px;
  }
  .accompaniment-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .accompaniment-actions .button {
    max-width: 100%;
  }
}

/* Acompañamiento sin fotografía: introducción y beneficios en dos columnas. */
.accompaniment {
  display: block;
}

.accompaniment-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 70px;
  align-items: start;
}

.accompaniment-copy .small-label {
  grid-column: 1;
  grid-row: 1;
}

.accompaniment-copy h2 {
  grid-column: 1;
  grid-row: 2;
}

.accompaniment-lead {
  grid-column: 1;
  grid-row: 3;
  margin-top: 24px;
}

.accompaniment-benefits {
  grid-column: 2;
  grid-row: 1/4;
  margin: 0;
}

.accompaniment-actions {
  grid-column: 1/-1;
  margin-top: 30px;
}

@media (max-width:850px) {
  .accompaniment-copy {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .accompaniment-benefits {
    grid-column: 1;
    grid-row: 4;
    margin-top: 28px;
  }
  .accompaniment-actions {
    grid-column: 1;
    grid-row: 5;
    margin-top: 16px;
  }
}

/* Acompañamiento: bloque de beneficios centrado y sin etiqueta superior. */
.accompaniment-copy h2 {
  grid-row: 1;
}

.accompaniment-lead {
  grid-row: 2;
}

.accompaniment-actions {
  grid-column: 1;
  grid-row: 3;
}

.accompaniment-benefits {
  grid-column: 2;
  grid-row: 1/4;
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 520px;
}

@media (max-width:850px) {
  .accompaniment-benefits {
    grid-column: 1;
    grid-row: 3;
  }
  .accompaniment-actions {
    grid-column: 1;
    grid-row: 4;
  }
}

.accompaniment-benefits li:first-child {
  border-top: 0;
}

/* Hero de portada: contenido apoyado en el margen inferior seguro. */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero .hero-copy {
  margin: 0 auto;
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (max-width:850px) {
  .hero .hero-copy {
    padding-top: 64px;
    padding-bottom: 48px;
  }
}

@media (max-width:540px) {
  .hero .hero-copy {
    padding-top: 48px;
    padding-bottom: max(32px,env(safe-area-inset-bottom));
  }
}

/* Jerarquía del hero: título ligero en una línea y foto protagonista. */
.hero .hero-copy h1,
.japan-hero h1,
.tour-hero h1 {
  max-width: none;
  font-size: clamp(28px,4.1vw,56px);
  line-height: 1.16;
  letter-spacing: -.8px;
  white-space: nowrap;
}

/* La portada interior comparte jerarquía, ajustada al ancho junto a la tarjeta. */
.japan-hero h1 {
  font-size: clamp(26px,3.4vw,48px);
}

.hero .hero-copy p {
  max-width: 780px;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}

@media (max-width:850px) {
  .hero .hero-copy h1,
  .japan-hero h1,
  .tour-hero h1 {
    font-size: clamp(24px,6.5vw,34px);
    letter-spacing: -.4px;
  }
  .hero-title-line {
    display: block;
  }
  .hero .hero-copy p {
    max-width: 430px;
    font-size: 13px;
    line-height: 1.6;
  }
  .japan-hero-inner>div>p {
    max-width: 430px;
    font-size: 13px;
    line-height: 1.6;
  }
}

/* Registros y reconocimientos: distintivos originales y registro INGUAT. */
.recognitions {
  padding-block: 65px 85px;
  border-top: 1px solid #20335826;
}

.recognitions>h2 {
  text-align: center;
  margin-bottom: 45px;
}

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 30px;
}

.recognition {
  text-align: center;
  min-width: 0;
}

.recognition-mark {
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.recognition-mark img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.recognition h3 {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 12px;
}

.recognition p {
  font-size: 14px;
  line-height: 1.65;
  max-width: 280px;
  margin-inline: auto;
}

@media (max-width:850px) {
  .recognition-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 40px 28px;
  }
  .recognitions {
    padding-block: 50px 65px;
  }
}

@media (max-width:540px) {
  .recognition-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .recognition-mark {
    max-width: 300px;
    margin-inline: auto;
  }
  .recognitions>h2 {
    font-size: 32px;
    margin-bottom: 32px;
  }
}

/* Páginas interiores: bandas por contenido, con marfil del manual. */

/* Marfil suavizado: mezcla aproximada de 40% del marfil de marca y 60% blanco. */
.interior-page {
  --ivory: #fcfbf9;
}

.interior-page .ivory-band {
  background: var(--ivory);
  padding-block: 70px;
}

.interior-page .plain-band {
  background: var(--white);
  padding-block: 70px;
}

.interior-page .ivory-band>section,.interior-page .plain-band>section {
  margin-block: 0;
  padding-block: 0;
}

.interior-page .season-band {
  background: var(--ivory);
}

.interior-page .season-band.white-band {
  background: var(--white);
}

.interior-page .company-mark {
  background: transparent;
}

.interior-page .editorial-pending {
  background: #fff;
  border: 1px solid #20335826;
  border-left: 3px solid var(--blue);
}

.interior-page .faq-groups .faq-group {
  margin-bottom: 0;
}

.interior-page .tour-itinerary {
  padding-top: 75px;
}

.interior-page .japan-stories {
  padding-block: 32px 48px;
}

.interior-page .japan-intro-band {
  padding-block: 48px 24px;
}

@media (max-width:850px) {
  .interior-page .ivory-band,.interior-page .plain-band {
    padding-block: 50px;
  }
  .interior-page .tour-itinerary {
    padding-top: 55px;
  }
  .interior-page .japan-stories {
    padding-block: 28px 36px;
  }
  .interior-page .japan-intro-band {
    padding-block: 36px 20px;
  }
}

/* Espaciado compacto de la página del viaje. */
.tour-page .tour-facts {
  padding-block: 32px;
}

.tour-page .ivory-band,
.tour-page .season-band {
  padding-block: 48px;
}

.tour-page .tour-itinerary {
  padding-top: 48px;
  margin-bottom: 48px;
}

.tour-page .tour-conditions {
  margin-block: 48px;
}

.tour-page .section-heading {
  margin-bottom: 28px;
}

.tour-page .tour-services {
  margin-bottom: 32px;
  padding-block: 20px;
}

.tour-page .contact {
  padding-block: 56px;
}

@media (max-width:850px) {
  .tour-page .tour-facts {
    padding-block: 28px;
  }
  .tour-page .ivory-band,
  .tour-page .season-band {
    padding-block: 36px;
  }
  .tour-page .tour-itinerary {
    padding-top: 36px;
    margin-bottom: 36px;
  }
  .tour-page .tour-conditions {
    margin-block: 36px;
  }
  .tour-page .contact {
    padding-block: 40px;
  }
}

/* Movimiento breve, sin ocultar contenido ni interceptar enlaces. */
@keyframes content-enter {
  from {
    opacity: .65;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soft-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes soft-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@media (prefers-reduced-motion:no-preference) {
  .hero-copy,.japan-hero-inner,.tour-hero-copy,.page-intro {
    animation: content-enter 380ms cubic-bezier(0.2,0,0,1) both;
  }
  .section-enter {
    animation: content-enter 320ms cubic-bezier(0.2,0,0,1) both;
  }
  .header nav.is-open {
    animation: soft-fade-in 150ms ease-out;
  }
  details[open]>p {
    animation: soft-fade-in 150ms ease-out;
  }
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root) {
    animation: soft-fade-out 140ms ease-out both;
  }
  ::view-transition-new(root) {
    animation: soft-fade-in 220ms ease-out both;
  }
}

.button,.text-link,.header nav a,.languages a,.footer-nav a,.contact-address,.notice-link,summary {
  transition: color 150ms,background-color 150ms,box-shadow 150ms,scale 150ms;
}

.button:hover {
  box-shadow: 0 0 0 1px #20335814,0 3px 8px #0000000d;
}

@media (prefers-reduced-motion:reduce) {
  .hero-copy,.japan-hero-inner,.tour-hero-copy,.page-intro,.section-enter,.header nav.is-open,details[open]>p {
    animation: none!important;
    transform: none!important;
  }
  ::view-transition-old(root),::view-transition-new(root) {
    animation: none!important;
  }
}

/* Carrusel fotográfico del hero, con contenido y controles estables. */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--navy);
}

.hero-slides .hero-image {
  z-index: auto;
  opacity: 0;
  transition: opacity 700ms ease-in-out;
}

.hero-slides .hero-image.is-current {
  opacity: 1;
}

.hero-carousel-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 44px auto 44px;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-carousel-dots {
  display: flex;
  grid-column: 2;
  grid-row: 1;
}

.hero-carousel-prev {
  grid-column: 1;
  grid-row: 1;
}

.hero-carousel-next {
  grid-column: 3;
  grid-row: 1;
}

.hero-dot {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.hero-dot:before {
  content: '';
  width: 9px;
  height: 9px;
  border: 1px solid white;
  border-radius: 50%;
  background: transparent;
  transition: background-color 150ms;
}

.hero-dot[aria-pressed="true"]:before {
  background: white;
}

.hero-carousel-pause {
  position: absolute;
  bottom: 20px;
  right: 24px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: white;
  padding: 0;
  cursor: pointer;
}

.hero-carousel-pause:hover {
  background: #20335866;
}

.hero-carousel-pause svg {
  width: 14px;
  height: 14px;
  filter: drop-shadow(0 1px 2px #203358);
}

.hero-carousel-pause .hero-icon-play,
.hero-carousel-pause.is-paused .hero-icon-stop {
  display: none;
}

.hero-carousel-pause.is-paused .hero-icon-play {
  display: block;
}

.hero-dot:focus-visible,.hero-carousel-pause:focus-visible {
  outline-color: white;
}

@media (max-width:850px) {
  .hero .hero-copy {
    padding-bottom: 100px;
  }
  .hero-carousel-controls {
    bottom: 20px;
  }
}

@media (max-width:540px) {
  .hero .hero-copy {
    padding-bottom: 100px;
  }
  .hero-carousel-controls {
    bottom: max(20px,env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion:reduce) {
  .hero-slides .hero-image {
    transition: none!important;
  }
}

.hero-carousel-prev,.hero-carousel-next {
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff80;
  border-radius: 3px;
  background: #203358b3;
  color: white;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 150ms,scale 150ms;
}

.hero-carousel-prev:hover,.hero-carousel-next:hover {
  background: var(--navy);
}

.hero-carousel-prev:active,.hero-carousel-next:active {
  scale: .96;
}

.hero-carousel-prev:focus-visible,.hero-carousel-next:focus-visible {
  outline-color: white;
}

@media (prefers-reduced-motion:reduce) {
  .hero-carousel-prev:active,.hero-carousel-next:active {
    scale: 1;
  }
}

/* Controles del carrusel: flechas ligeras, sin cajas. */
.hero-carousel-prev,.hero-carousel-next {
  border: 0;
  background: transparent;
  font-size: 26px;
  color: #ffffffb3;
  text-shadow: 0 1px 3px #20335880;
  transition: color 150ms,scale 150ms;
}

.hero-carousel-prev:hover,.hero-carousel-next:hover {
  background: transparent;
  color: white;
}

.hero-dot:before {
  width: 6px;
  height: 6px;
  border-color: #ffffffb3;
}

.hero-dot[aria-pressed="true"]:before {
  border-color: white;
  background: white;
}

/* Preparación Cloudflare · contacto, navegación y estados de error. */
[hidden] {
  display: none!important;
}

:root {
  --ease: cubic-bezier(.2,0,0,1);
  --line: #20335826;
  --soft: #f2f6fa;
}

input,textarea,select {
  font: inherit;
  color: var(--navy);
  max-width: 100%;
}

input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

main {
  min-width: 0;
}

main :is(article,section,div) {
  min-width: 0;
}

.header nav .nav-inner {
  display: flex;
  gap: inherit;
}

.header nav a:not([aria-current]):after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.header nav a:hover:after,.header nav a:focus-visible:after {
  transform: scaleX(1);
}

.button {
  border: 0;
  cursor: pointer;
  transition: background-color 150ms,box-shadow 150ms,scale 150ms;
}

.button:disabled {
  cursor: not-allowed;
  opacity: .55;
  box-shadow: none;
  scale: 1;
}

summary {
  min-height: 64px;
  transition: background-color 150ms,color 150ms;
}

summary:after {
  content: '+'!important;
  transition: transform 260ms var(--ease);
  transform-origin: center;
}

details[open]>summary:after {
  transform: rotate(45deg);
}

.accordion-body {
  display: flow-root;
}

details[open]>.accordion-body {
  animation: none;
}

.accordion-body>p {
  animation: none!important;
}

.accordion-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-compose {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(36px,6vw,90px);
  padding-block: 80px;
  border-top: 1px solid var(--line);
}

.contact-compose-intro>p:not(.small-label) {
  margin-top: 24px;
  max-width: 430px;
  font-size: 17px;
}

.contact-compose-intro h2 {
  font-size: clamp(34px,3.4vw,48px);
}

.contact-assurance {
  margin-block: 32px;
  padding-block: 24px;
  border-block: 1px solid var(--line);
  max-width: 430px;
}

.contact-assurance h3 {
  font: 600 16px/1.5 var(--body);
}

.contact-assurance p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 10px;
}

.contact-compose-intro .text-link {
  font-size: 14px;
}

.contact-form {
  background: var(--soft);
  padding: 32px;
  border-radius: 4px;
  align-self: start;
}

.form-required,.field-hint {
  font-size: 12px;
  line-height: 1.6;
  display: block;
}

.form-required {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
}

.form-field :is(input,select,textarea) {
  width: 100%;
  border: 1px solid #20335850;
  border-radius: 3px;
  padding: 12px;
  background: white;
  font-size: 16px;
  line-height: 1.5;
  min-height: 48px;
  transition: border-color 150ms,box-shadow 150ms;
}

.form-field textarea {
  resize: vertical;
  min-height: 170px;
}

.form-field :is(input,textarea)::placeholder {
  color: #59657a;
  opacity: 1;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.7;
  margin-block: 8px 24px;
  cursor: pointer;
}

.form-consent input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: 2px 0;
  accent-color: var(--navy);
}

.form-consent a,.privacy-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  font-size: 14px;
  line-height: 1.6;
  margin-block: 16px 20px;
  overflow-wrap: anywhere;
}

.form-status[data-state="error"] {
  border-left: 3px solid #a72323;
  padding-left: 12px;
  color: #8b2020;
}

.form-status[data-state="success"] {
  border-left: 3px solid #247046;
  padding-left: 12px;
  color: #1d5b39;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.social-section {
  border-top: 1px solid var(--line);
  padding-block: 55px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.social-section h2 {
  font-size: 34px;
}

.social-section p {
  font-size: 16px;
  margin-top: 15px;
}

.social-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 15px;
  min-height: 52px;
  transition: background-color 150ms;
}

.social-links a:hover {
  background: var(--soft);
}

.social-links svg {
  width: 22px;
  height: 22px;
}

.social-links a>span {
  margin-left: 10px;
}

.error-main {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 70px;
  align-items: center;
  padding-block: 90px;
  min-height: 65vh;
}

.error-symbol {
  position: relative;
  align-self: center;
  color: var(--blue);
}

.error-symbol>span {
  font: 500 clamp(100px,14vw,210px)/1 var(--display);
  color: var(--navy);
  letter-spacing: -8px;
}

.error-symbol svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 330px;
  margin-top: 10px;
}

.error-copy h1 {
  font-size: clamp(36px,4vw,58px);
  letter-spacing: -.8px;
}

.error-copy>p:not(.small-label) {
  font-size: 18px;
  margin-top: 24px;
  max-width: 560px;
}

.error-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.error-actions .text-link {
  font-size: 14px;
}

.error-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.error-suggestions a {
  padding-block: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-content {
  padding-block: 60px;
  max-width: 850px;
}

.privacy-content h1 {
  font-size: clamp(36px,5vw,58px);
}

.privacy-content h2 {
  font-size: 30px;
  margin-top: 36px;
}

.privacy-content p {
  margin-block: 20px;
  font-size: 17px;
}

@media (max-width:1200px) and (min-width:851px) {
  .header nav .nav-inner {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width:850px) {
  .header nav,.header nav.is-open {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    padding: 0;
    transition: grid-template-rows 280ms var(--ease),opacity 180ms ease-out,visibility 280ms;
    animation: none;
  }
  .header nav .nav-inner {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    gap: 0;
  }
  .header nav.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    padding-bottom: 8px;
  }
  .header nav a {
    border-bottom: 1px solid var(--line);
    min-height: 48px;
  }
  .header nav a[aria-current] {
    border-bottom: 2px solid var(--red);
  }
  .contact-compose {
    grid-template-columns: 1fr;
    padding-block: 55px;
  }
  .contact-compose-intro>p:not(.small-label),.contact-assurance {
    max-width: 650px;
  }
  .social-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .error-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 45px;
  }
  .error-symbol {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .error-symbol>span {
    font-size: 100px;
    letter-spacing: -4px;
  }
  .error-symbol svg {
    max-width: 160px;
    margin: 0;
  }
}

@media (max-width:540px) {
  .contact-form {
    padding: 24px 18px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form .button {
    width: 100%;
    justify-content: center;
  }
  .contact-compose {
    gap: 30px;
  }
  .social-section h2 {
    font-size: 30px;
  }
  .social-links {
    width: 100%;
  }
  .social-links a {
    flex: 1;
  }
  .error-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .error-copy>p:not(.small-label) {
    font-size: 16px;
  }
  .contact-links a {
    overflow-wrap: anywhere;
    font-size: 17px;
  }
  .hero .hero-copy {
    padding-bottom: 110px;
  }
  .tour-back {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto!important;
  }
  *,*::before,*::after {
    animation: none!important;
    transition: none!important;
  }
  .header nav {
    transition: none!important;
  }
  .button:active {
    scale: 1;
  }
}

@media (max-width:540px) {
  .hero-carousel-pause {
    bottom: max(68px,calc(env(safe-area-inset-bottom) + 68px));
    right: 16px;
  }
  .hero .hero-copy {
    padding-bottom: 132px;
  }
}

@media (max-width:850px) {
  html:not(.js) .header nav {
    display: flex;
    visibility: visible;
    opacity: 1;
    padding-block: 12px;
  }
  html:not(.js) .menu-toggle {
    display: none;
  }
}

/* Fade entre páginas: nativo donde existe, alternativa breve sin alterar el scroll. */
@keyframes page-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion:no-preference) {
  ::view-transition-old(root) {
    animation: soft-fade-out 220ms ease-out both;
  }
  ::view-transition-new(root) {
    animation: soft-fade-in 320ms ease-out both;
  }
  .page-fade-fallback body {
    animation: page-fade-in 280ms ease-out;
    transition: opacity 180ms ease-out;
  }
  .page-fade-fallback.page-is-leaving body {
    opacity: 0;
  }
}

@media (prefers-reduced-motion:reduce) {
  .page-fade-fallback body {
    opacity: 1!important;
    animation: none!important;
    transition: none!important;
  }
}

/* Novedades: consentimiento propio e integración futura independiente de Contacto. */
.newsletter {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px,6vw,85px);
  align-items: start;
  padding-block: 75px;
  border-top: 1px solid var(--line);
}

.newsletter-copy h2 {
  font-size: clamp(34px,3.3vw,48px);
}

.newsletter-copy>p:not(.small-label) {
  max-width: 490px;
  font-size: 17px;
  margin-top: 24px;
}

.newsletter-copy .text-link {
  margin-top: 28px;
  font-size: 14px;
}

.newsletter-form {
  padding: 28px;
  background: var(--soft);
  border-radius: 4px;
  min-width: 0;
}

.newsletter-form .button {
  width: 100%;
  justify-content: center;
}

.newsletter-form .form-status {
  font-size: 13px;
  margin-bottom: 12px;
}

.newsletter-contact {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width:850px) {
  .newsletter {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 55px;
  }
}

@media (max-width:540px) {
  .newsletter-form {
    padding: 24px 18px;
  }
  .newsletter-copy>p:not(.small-label) {
    font-size: 16px;
  }
  .newsletter-form .button {
    font-size: 14px;
    padding-inline: 12px;
  }
}

/* Captación para futuras salidas al final del viaje. */
.tour-page .newsletter {
  grid-template-columns: minmax(0,1fr);
  justify-items: center;
  gap: 12px;
  padding-block: 48px;
}

.tour-page .newsletter-copy {
  width: min(100%,1000px);
  text-align: center;
}

.tour-page .newsletter-copy>p:not(.small-label) {
  max-width: none;
  white-space: nowrap;
  margin-inline: auto;
  margin-top: 14px;
}

.tour-page .newsletter-form {
  width: min(100%,600px);
}

@media (max-width:850px) {
  .tour-page .newsletter {
    padding-block: 36px;
  }
  .tour-page .newsletter-copy>p:not(.small-label) {
    max-width: 430px;
    white-space: normal;
    font-size: 13px;
    line-height: 1.6;
    text-wrap: balance;
  }
}

/* Inicio: separación compacta entre bloques de contenido. */
.home-page .trip {
  margin-block: 48px;
  padding-bottom: 32px;
}

.home-page .about {
  margin-top: 48px;
  padding-block: 48px;
}

.home-page .recognitions,
.home-page .newsletter {
  padding-block: 40px;
}

.home-page .contact {
  padding-block: 48px;
}

.home-page .section-heading,
.home-page .recognitions>h2 {
  margin-bottom: 28px;
}

@media (max-width:850px) {
  .home-page .trip {
    margin-block: 36px;
    padding-bottom: 28px;
  }
  .home-page .about {
    margin-top: 36px;
    padding-block: 36px;
  }
  .home-page .recognitions,
  .home-page .newsletter,
  .home-page .contact {
    padding-block: 32px;
  }
}

/* Retratos de los dos guías: una foto local vertical 3:4 por persona. */
.guide-portraits {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 28px;
  max-width: 700px;
  margin: 28px auto 0;
}

.guide-portraits img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 3px;
  background: var(--pale);
}

@media (max-width:540px) {
  .guide-portraits {
    grid-template-columns: minmax(0,340px);
    justify-content: center;
    gap: 24px;
  }
}

.company-team>h2 {
  font-size: clamp(19px,3.8vw,48px);
  white-space: nowrap;
  text-align: center;
}

.mini-tour-no-top-border {
  border-top: 0;
}

/* Sobre nosotros: portada y fotografías de viajes realizados. */
/* Encuadre del hero: horizontal vertical, compartido en escritorio y móvil. */
.about-hero>img {
  object-position: 50% 20%;
}

.about-hero .tour-hero-copy>p {
  max-width: 780px;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
}

.history-gallery {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  max-width: 850px;
  margin-top: 36px;
}

.history-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 12px;
  background: var(--pale);
}

.guide-portraits img {
  border-radius: 18px;
}

@media (max-width:850px) {
  .about-hero .tour-hero-copy>p {
    max-width: 430px;
    font-size: 13px;
    line-height: 1.6;
  }
  .history-gallery {
    gap: 10px;
    margin-top: 28px;
  }
}

.company-team>.company-team-intro {
  max-width: none;
  margin: 14px auto 0;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(14px,1.35vw,17px);
}

@media (max-width:850px) {
  .company-team>.company-team-intro {
    white-space: normal;
    max-width: 650px;
    text-wrap: balance;
  }
}

.inguat-registration {
  margin-block: 20px 0;
  padding-left: 14px;
  border-left: 2px solid #20335840;
}

.inguat-registration h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.inguat-registration .button {
  max-width: 100%;
  gap: 16px;
  font-size: 14px;
}

.company-approach .inguat-registration p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.inguat-registration .button {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 12px;
}

.company-approach-heading .text-link {
  margin-top: 24px;
}

.about-page .ivory-band,
.about-page .season-band {
  padding-block: 40px;
}

.about-page .history-gallery {
  margin-top: 28px;
}

.about-page .mini-tour {
  padding-block: 28px;
  margin-bottom: 28px;
}

@media (max-width:850px) {
  .about-page .ivory-band,
  .about-page .season-band {
    padding-block: 32px;
  }
  .about-page .history-gallery {
    margin-top: 24px;
  }
  .company-approach-heading .text-link {
    margin-top: 18px;
  }
}

/* Movimiento fotográfico suave: aumento máximo del 2,5 %. */
.hero-slides,
.tour-hero {
  overflow: hidden;
}

@keyframes hero-photo-approach {
  from { transform: scale(1); }
  to { transform: scale(1.025); }
}

@keyframes hero-photo-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.025); }
}

@media (prefers-reduced-motion:no-preference) {
  .hero-slides .hero-image.is-current {
    animation: hero-photo-approach 5.7s linear both;
  }
  .hero:hover .hero-image,
  .hero:focus-within .hero-image,
  .hero:has(.hero-carousel-pause.is-paused) .hero-image {
    animation-play-state: paused;
  }
  .japan-hero>img,
  .tour-hero>img {
    animation: hero-photo-breathe 12s ease-in-out infinite alternate;
  }
}

/* Galería circular: tres fotos grandes y una con vecinas visibles en móvil. */
.history-gallery.is-carousel {
  display: block;
  position: relative;
  max-width: 1240px;
  padding-inline: 44px;
  padding-bottom: 38px;
}
.history-viewport { overflow: hidden; touch-action: pan-y; }
.history-track { display: flex; gap: 20px; }
.history-track img { flex: 0 0 calc((100% - 40px) / 3); min-width: 0; user-select: none; }
.history-arrow {
  position: absolute;
  top: calc(50% - 41px);
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 32px;
  cursor: pointer;
}
.history-arrow.previous { left: 0; }
.history-arrow.next { right: 0; }
.history-pause {
  position: absolute;
  bottom: 0;
  left: calc(50% - 22px);
  width: 44px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}
.history-arrow:active,.history-pause:active { scale: .96; }
.history-arrow:focus-visible,.history-pause:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
@media (max-width:650px) {
  .history-gallery.is-carousel { width: 100%; padding-inline: 0; }
  .history-track { gap: 12px; }
  .history-track img { flex-basis: 78%; }
  .history-arrow { background: #ffffffeb; border-radius: 50%; }
  .history-arrow.previous { left: 6px; }
  .history-arrow.next { right: 6px; }
}

/* Logo centrado únicamente en móvil. */
@media (max-width:850px) {
  .header .brand {
    justify-self: center;
    margin-inline: auto;
  }
}

.trip-notice {
  box-shadow: 0 6px 18px #00000012,0 14px 36px #00000026;
}

@media (max-width:850px) {
  .trip-notice,
  .trip-notice.notice-at-top {
    position: fixed;
    top: auto;
    bottom: max(12px,env(safe-area-inset-bottom));
    left: 12px;
    right: 12px;
    width: auto;
  }
}

/* Acceso al viaje sobre el hero: tarjeta ligera y botón contorneado. */
.japan-hero .hero-trip {
  padding: 22px;
  background: rgba(255,255,255,.78);
  border-top-width: 2px;
  box-shadow: 0 4px 16px #0000000d;
}

.japan-hero .hero-trip h2 {
  font-size: 25px;
  margin-bottom: 12px;
}

.japan-hero .hero-trip>p {
  font-size: 13px;
  margin-bottom: 12px;
}

.japan-hero .hero-trip .button {
  min-height: 44px;
  padding: 9px 16px;
  gap: 16px;
  background: #ffffff26;
  border: 1px solid #20335880;
  color: var(--navy);
  font-size: 13px;
  text-decoration: none;
}

.japan-hero .hero-trip .button:hover {
  background: #ffffffb3;
  border-color: var(--navy);
}

@media (max-width:850px) {
  .japan-hero .hero-trip {
    padding: 16px 18px;
  }
  .japan-hero .hero-trip h2 {
    font-size: 22px;
    margin-bottom: 8px;
  }
  .japan-hero .hero-trip>p {
    font-size: 12px;
    margin-bottom: 8px;
  }
}

/* Inicio: llamada del hero ligera, con contraste sobre la fotografía. */
.home-page .hero-copy .button-light {
  min-height: 44px;
  padding: 10px 18px;
  gap: 24px;
  margin-top: 24px;
  font-size: 14px;
  color: white;
  background: rgba(32,51,88,.24);
  border: 1px solid #ffffffb3;
}

.home-page .hero-copy .button-light:hover {
  color: var(--navy);
  background: rgba(255,255,255,.94);
  border-color: white;
}

@media (max-width:850px) {
  .home-page .hero-copy .button-light {
    padding: 8px 14px;
    gap: 18px;
    margin-top: 18px;
    font-size: 13px;
  }
}

/* Pausa centrada en una segunda fila debajo de los indicadores. */
.hero-carousel-controls {
  row-gap: 0;
}

.hero-carousel-controls .hero-carousel-pause {
  position: static;
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
}

.season-icon {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 0;
  color: var(--navy);
}

.season-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.season-title .season-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

.faq-contact-cta {
  text-align: center;
  padding-block: 40px;
}

.faq-contact-cta p {
  margin-top: 14px;
  color: var(--gray);
}

.faq-contact-cta .button {
  margin-top: 22px;
  max-width: 100%;
}

@media (max-width:850px) {
  .faq-contact-cta {
    padding-block: 32px;
  }
}

/* Contacto: una sola foto y un encuadre compartido entre pantallas. */
.contact-hero>img {
  object-position: 50% 50%;
}

.contact-hero .tour-hero-copy>p {
  max-width: 780px;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width:850px) {
  .contact-hero .tour-hero-copy>p {
    max-width: 430px;
    font-size: 13px;
    line-height: 1.6;
  }
}

.office-note>.button {
  margin-top: 22px;
}

/* Contacto: bloques compactos y aviso unido al formulario en móvil. */
.contact-page .ivory-band {
  padding-block: 40px;
}

.contact-page .contact-compose {
  padding-block: 40px;
}

.contact-page .contact-assurance {
  margin-block: 24px 0;
  padding-block: 18px 0;
  border-bottom: 0;
}

.contact-page .mini-tour {
  padding-block: 28px;
  margin-bottom: 28px;
}

@media (max-width:850px) {
  .contact-page .ivory-band,
  .contact-page .contact-compose {
    padding-block: 32px;
  }
  .contact-page .contact-compose {
    row-gap: 12px;
  }
  .contact-page .contact-assurance {
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

.contact-page .office-note {
  text-align: center;
}

.contact-page .office-note>p {
  margin-inline: auto;
}

/* Texto auxiliar de Inicio en una línea en escritorio. */
@media (min-width: 851px) {
  .home-page .hero .hero-copy p {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(12px, 1.05vw, 15px);
  }
}
