@media (max-width: 1120px) {
  :root {
    --header-height: 74px;
  }

  .header-inner {
    gap: 14px;
    grid-template-columns: 1fr auto;
  }

  .nav-list a {
    padding-inline: 7px;
    font-size: 0.74rem;
  }

  .brand-copy small,
  .header-whatsapp span {
    display: none;
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-media::before {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: fixed;
    inset-block: var(--header-height) 0;
    inset-inline-end: 0;
    z-index: 1001;
    width: min(88vw, 390px);
    padding: 24px;
    overflow-y: auto;
    border-inline-start: 1px solid var(--stone-200);
    background: var(--stone-50);
    box-shadow: var(--shadow-lg);
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
  }

  html[dir="rtl"] .site-nav {
    clip-path: inset(0 100% 0 0);
  }

  .site-nav.is-open {
    clip-path: inset(0);
    visibility: visible;
  }

  .nav-list {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .nav-list a {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: 0.92rem;
    white-space: normal;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav .language-select {
    display: block;
    width: 100%;
    margin-top: 16px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 74px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: fixed;
    inset-block: var(--header-height) 0;
    inset-inline-end: 0;
    z-index: 1001;
    width: min(88vw, 390px);
    padding: 24px;
    overflow-y: auto;
    border-inline-start: 1px solid var(--stone-200);
    background: var(--stone-50);
    box-shadow: var(--shadow-lg);
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
  }

  html[dir="rtl"] .site-nav {
    clip-path: inset(0 100% 0 0);
  }

  .site-nav.is-open {
    clip-path: inset(0);
    visibility: visible;
  }

  .nav-list {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .nav-list a {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: 0.92rem;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .content-split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .content-split .content-media {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .video-frame {
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .baptism-slider {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .content-split--reverse .content-media {
    order: initial;
  }

  .tour-tools {
    grid-template-columns: 1fr 1fr;
  }

  .tour-tools--compact {
    grid-template-columns: 1fr;
  }

  .tour-tools .field:first-child {
    grid-column: 1 / -1;
  }

  .footer-main {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .container,
  .narrow {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding-block: 68px;
  }

  .header-inner {
    gap: 8px;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .header-whatsapp,
  .header-actions .language-select {
    display: none;
  }

  .site-nav {
    width: 100%;
  }

  .page-hero,
  .page-hero__content {
    min-height: 460px;
  }

  .page-hero__content {
    padding-block: 86px 52px;
  }

  .page-hero img,
  .page-hero[data-position="top"] img,
  .page-hero[data-position="upper"] img {
    object-position: center center;
  }

  .page-hero h1 {
    font-size: clamp(2.05rem, 10vw, 3.2rem);
  }

  .site-nav .language-select {
    display: block;
    width: 100%;
    margin-top: 16px;
  }

  .hero-slider,
  .hero-content {
    min-height: calc(100svh - var(--header-height));
  }

  .hero-content {
    align-items: end;
    padding-block: 100px 110px;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 4.6rem);
  }

  .hero-shade,
  html[dir="rtl"] .hero-shade {
    background: linear-gradient(180deg, rgba(25, 25, 18, 0.15) 0%, rgba(25, 25, 18, 0.86) 84%);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .tour-grid,
  .featured-tours-grid {
    grid-template-columns: 1fr;
  }

  .destination-card,
  .explore-card {
    min-height: 360px;
  }

  .baptism-slider {
    min-height: 440px;
  }

  .gallery-grid {
    grid-auto-rows: 185px;
  }

  .gallery-grid picture:nth-child(n) {
    grid-column: span 6;
  }

  .gallery-grid picture:first-child {
    grid-column: 1 / -1;
  }

  .notice-panel,
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .tour-tools,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .tour-filter-tabs .button {
    flex: 1 1 calc(50% - 8px);
  }

  .tour-tools .field:first-child,
  .field--full {
    grid-column: auto;
  }

  .tour-detail__head {
    grid-template-columns: 1fr;
  }

  .dialog-backdrop {
    align-items: end;
    padding: 0;
  }

  .dialog {
    width: 100%;
    max-height: calc(100svh - 16px);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .dialog__header,
  .dialog__body {
    padding: 20px;
  }

  .contact-option {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 34px 22px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    width: 54px;
    min-width: 54px;
    height: 54px;
    justify-content: center;
    padding: 0;
  }
}

@media (max-width: 430px) {
  .brand-copy strong {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .button-row .button {
    width: 100%;
  }

  .slider-controls {
    inset-block-end: 20px;
  }

  .gallery-grid {
    display: grid;
    grid-auto-rows: 240px;
    grid-template-columns: 1fr;
  }

  .gallery-grid picture:nth-child(n) {
    grid-column: auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .baptism-slider {
    min-height: 390px;
  }

  .baptism-slider__controls {
    inset-inline: 12px;
    inset-block-end: 12px;
  }
}

@media (max-width: 1120px) {
  .site-nav {
    inset-block: calc(var(--header-height) + 10px) auto;
    inset-inline: 12px;
    width: auto;
    max-height: calc(100svh - var(--header-height) - 22px);
    padding: 16px;
    border: 1px solid rgba(208, 195, 173, 0.9);
    border-radius: 30px;
    background: rgba(251, 250, 247, 0.98);
    box-shadow: 0 24px 80px rgba(31, 28, 21, 0.24);
    clip-path: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    visibility: hidden;
  }

  html[dir="rtl"] .site-nav {
    clip-path: none;
  }

  .site-nav.is-open {
    clip-path: none;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 4px 2px 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--stone-200);
  }

  .mobile-menu-head .brand-copy small {
    display: block;
  }

  .mobile-menu-head .icon-button {
    width: 54px;
    min-width: 54px;
    height: 54px;
    border-color: var(--stone-300);
    font-size: 1.35rem;
  }

  .nav-list {
    gap: 10px;
  }

  .nav-list a {
    min-height: 58px;
    justify-content: space-between;
    padding: 15px 18px;
    border-radius: 18px;
    font-size: 1.05rem;
  }

  .nav-list a::after {
    color: var(--sand-dark);
    content: "›";
    font-size: 1.25rem;
    line-height: 1;
  }

  html[dir="rtl"] .nav-list a::after {
    content: "‹";
  }

  .site-nav .language-select {
    min-height: 54px;
    margin-top: 14px;
    font-size: 1rem;
  }
}

@media (min-width: 1121px) {
  .site-nav .language-select {
    display: none;
  }
}

@media (min-width: 1440px) {
  :root {
    --container: 1280px;
  }
}

/* Home page: mobile and tablet refinements. Desktop at 1200px+ is unchanged. */
@media (max-width: 1119px) {
  .home-page .site-nav {
    right: max(12px, env(safe-area-inset-right));
    left: max(12px, env(safe-area-inset-left));
    max-height: calc(100dvh - var(--header-height) - 22px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
    padding-block: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-bottom));
    overscroll-behavior: contain;
  }

  .home-page .mobile-menu-head {
    position: sticky;
    z-index: 2;
    inset-block-start: 0;
    background: rgba(251, 250, 247, 0.98);
  }

  .home-page .header-inner > .brand,
  .home-page .brand-copy,
  .home-page .header-actions {
    min-width: 0;
  }

  .home-page .header-inner > .brand,
  .home-page .brand-copy {
    overflow: hidden;
  }

  .home-page .brand-mark {
    flex: 0 0 42px;
  }

  .home-page:not(.nav-open) .site-header {
    overflow-x: clip;
  }

  .home-page main h1,
  .home-page main h2,
  .home-page main h3 {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .home-page .hero-slide picture {
    width: 100%;
    height: 100%;
  }

  .home-page .section {
    padding-block: clamp(58px, 7vw, 76px);
  }

  .home-page .section-heading {
    align-items: start;
    flex-direction: column;
    gap: clamp(12px, 2vw, 20px);
    margin-bottom: clamp(26px, 4vw, 34px);
  }

  .home-page .section-heading p,
  .home-page .content-copy p,
  .home-page .home-contact .lead {
    max-width: 65ch;
  }

  .home-page .home-explore .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .home-explore .explore-card:last-child {
    width: min(100%, 520px);
    grid-column: 1 / -1;
    justify-self: center;
  }

  .home-page .home-intro .content-media {
    width: min(100%, 480px);
  }

  .home-page .floating-whatsapp {
    inset-inline-end: 12px;
    inset-block-end: calc(12px + env(safe-area-inset-bottom));
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-height: 50px;
    justify-content: center;
    padding: 0;
  }

  .home-page .floating-whatsapp span {
    display: none;
  }

  .home-page .floating-whatsapp.is-context-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
  }

}

@media (min-width: 768px) and (max-width: 1119px) {
  .home-page .home-why .grid--4,
  .home-page .home-destinations .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .feature-card {
    height: 100%;
  }
}

@media (min-width: 768px) and (max-width: 900px) and (orientation: portrait) {
  .home-page .hero-shade,
  html[dir="rtl"] .home-page .hero-shade {
    background: linear-gradient(180deg, rgba(25, 25, 18, 0.2) 0%, rgba(25, 25, 18, 0.72) 55%, rgba(25, 25, 18, 0.94) 100%);
  }
}

@media (max-width: 767px) {
  .home-page .container,
  .home-page .narrow {
    width: min(100% - 24px, var(--container));
  }

  .home-page .section {
    padding-block: clamp(48px, 13vw, 62px);
  }

  .home-page .section-heading {
    margin-bottom: clamp(22px, 7vw, 30px);
  }

  .home-page main h2 {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .home-page main h3 {
    font-size: clamp(1.18rem, 5.5vw, 1.55rem);
    line-height: 1.22;
    overflow-wrap: anywhere;
  }

  .home-page .eyebrow {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    padding-inline-start: 37px;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .home-page .eyebrow::before {
    position: absolute;
    inset-block-start: 0.75em;
    inset-inline-start: 0;
  }

  .home-page .brand-mark {
    overflow: hidden;
    font-size: 18px;
  }

  .home-page main p,
  .home-page main li {
    font-size: max(1rem, 16px);
    line-height: 1.65;
  }

  .home-page .hero-slider,
  .home-page .hero-content {
    min-height: 82svh;
    min-height: 82dvh;
  }

  .home-page .hero-slide:nth-child(1) img {
    object-position: 52% 58%;
  }

  .home-page .hero-slide:nth-child(2) img {
    object-position: 50% 64%;
  }

  .home-page .hero-slide:nth-child(3) img {
    object-position: 50% 40%;
  }

  .home-page .hero-content {
    align-items: end;
    padding-block: clamp(42px, 9svh, 68px) calc(clamp(102px, 17svh, 122px) + env(safe-area-inset-bottom));
  }

  .home-page .hero-copy {
    width: min(100%, 680px);
  }

  .home-page .hero-copy h1 {
    max-width: 19ch;
    margin-bottom: clamp(14px, 4vw, 20px);
    font-size: clamp(2.05rem, 8.8vw, 3rem);
    line-height: 1.08;
  }

  .home-page .hero-copy .eyebrow {
    margin-bottom: 10px;
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .home-page .hero-copy .lead {
    max-width: 42rem;
    margin-bottom: clamp(18px, 5vw, 26px);
    font-size: clamp(1rem, 4.1vw, 1.1rem);
    line-height: 1.55;
  }

  .home-page .hero-copy .button {
    min-height: 50px;
  }

  .home-page .hero-shade,
  html[dir="rtl"] .home-page .hero-shade {
    background: linear-gradient(180deg, rgba(25, 25, 18, 0.2) 0%, rgba(25, 25, 18, 0.7) 48%, rgba(25, 25, 18, 0.94) 100%);
  }

  .home-page .slider-controls {
    inset-inline: 12px;
    inset-block-end: calc(14px + env(safe-area-inset-bottom));
    width: auto;
    margin: 0;
  }

  .home-page .slider-dot {
    width: 38px;
    min-height: 44px;
  }

  .home-page .slider-dot::before {
    width: 26px;
  }

  .home-page .slider-arrows .icon-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .home-page .home-explore .grid--3,
  .home-page .featured-tours-grid {
    grid-template-columns: 1fr;
  }

  .home-page .home-explore .explore-card:last-child {
    width: 100%;
    grid-column: auto;
  }

  .home-page .explore-card,
  .home-page .home-destinations .destination-card {
    display: flex;
    min-height: 0;
    flex-direction: column;
    color: var(--ink);
  }

  .home-page .explore-card {
    border: 1px solid var(--stone-200);
    background: var(--white);
    box-shadow: var(--shadow-sm);
  }

  .home-page .explore-card picture,
  .home-page .home-destinations .destination-card picture {
    position: relative;
    width: 100%;
    height: clamp(210px, 62vw, 280px);
    flex: none;
  }

  .home-page .explore-card img,
  .home-page .home-destinations .destination-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .home-page .home-explore .explore-card:nth-child(1) img {
    object-position: center 48%;
  }

  .home-page .home-explore .explore-card:nth-child(2) img {
    object-position: center 34%;
  }

  .home-page .home-explore .explore-card:nth-child(3) img {
    object-position: center 42%;
  }

  .home-page .explore-card::after,
  .home-page .home-destinations .destination-card::after {
    display: none;
  }

  .home-page .explore-card__body,
  .home-page .home-destinations .destination-card__body {
    position: static;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: clamp(20px, 6vw, 26px);
  }

  .home-page .explore-card__body p,
  .home-page .home-destinations .destination-card__body p {
    margin-bottom: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
  }

  .home-page .explore-card .card-link,
  .home-page .home-destinations .card-link {
    min-height: 44px;
    margin-top: auto;
  }

  .home-page .home-why .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 4vw, 18px);
  }

  .home-page .feature-card {
    min-width: 0;
    height: 100%;
    padding: clamp(18px, 5vw, 24px);
  }

  .home-page .feature-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    overflow: hidden;
    font-size: 20px;
  }

  .home-page .home-destinations .grid--4 {
    display: grid;
    grid-auto-columns: min(86vw, 370px);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 14px;
    padding-block-end: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 2px;
    scroll-snap-type: inline mandatory;
  }

  .home-page .home-destinations .destination-card {
    width: auto;
    scroll-snap-align: start;
  }

  .home-page .home-featured .tour-card__body {
    padding: clamp(20px, 6vw, 24px);
  }

  .home-page .home-featured .tour-card__actions .button {
    min-height: 46px;
  }

  .home-page .dialog-backdrop {
    padding-block-end: env(safe-area-inset-bottom);
  }

  .home-page .dialog {
    display: flex;
    max-height: 94svh;
    max-height: 94dvh;
    flex-direction: column;
    overflow: hidden;
  }

  .home-page .dialog__header {
    flex: none;
    padding: 18px;
  }

  .home-page .dialog__header .icon-button {
    width: 48px;
    min-width: 48px;
    height: 48px;
  }

  .home-page .dialog__body {
    min-height: 0;
    padding: 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .home-page .home-video .content-split {
    grid-template-columns: 1fr;
  }

  .home-page .home-video .video-frame {
    width: min(100%, 360px, 39.375svh);
    max-height: 70svh;
    margin-inline: auto;
    border-radius: var(--radius-lg);
  }

  .home-page .home-video .video-frame video {
    width: 100%;
    max-height: 70svh;
    aspect-ratio: 9 / 16;
    object-fit: contain;
  }

  .home-page .gallery-grid {
    grid-auto-rows: clamp(132px, 42vw, 190px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-page .gallery-grid picture:nth-child(n) {
    grid-column: span 1;
  }

  .home-page .gallery-grid picture:first-child {
    grid-column: 1 / -1;
  }

  .home-page .gallery-grid img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .home-page .gallery-grid picture:first-child img {
    aspect-ratio: 2 / 1;
    object-position: center 36%;
  }

  .home-page .notice-panel {
    gap: 20px;
    padding: clamp(24px, 7vw, 34px);
  }

  .home-page .footer-main > *,
  .home-page .footer-column,
  .home-page .footer-links {
    min-width: 0;
  }

  .home-page .site-footer .language-select {
    width: 100%;
    max-width: 100%;
  }

}

@media (min-width: 480px) and (max-width: 767px) {
  .home-page .hero-copy .button-row {
    max-width: 520px;
  }
}

@media (min-width: 360px) and (max-width: 479px) {
  .home-page .hero-copy .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .hero-copy .button-row .button {
    width: 100%;
    padding-inline: 14px;
  }
}

@media (max-width: 359px) {
  .home-page .hero-copy .button-row,
  .home-page .home-why .grid--4 {
    grid-template-columns: 1fr;
  }

  .home-page .hero-copy .button-row .button {
    width: 100%;
  }

  .home-page .hero-copy h1 {
    font-size: clamp(1.72rem, 9vw, 2.05rem);
  }

  .home-page .slider-dots {
    gap: 2px;
  }

  .home-page .slider-dot {
    width: 34px;
  }
}

@media (max-width: 767px) and (orientation: landscape) and (max-height: 500px) {
  .home-page .hero-slider,
  .home-page .hero-content {
    min-height: max(520px, 100dvh);
  }

  .home-page .hero-content {
    padding-block: 38px 94px;
  }

  .home-page .hero-copy h1 {
    max-width: 24ch;
    font-size: clamp(1.9rem, 5.5vw, 2.5rem);
  }

  .home-page .hero-copy .lead {
    max-width: 58rem;
    font-size: 1rem;
    line-height: 1.45;
  }
}
