/*
Theme Name: ZORAY Curated China
Theme URI: https://zoraytcm.com/
Author: ZORAY TCM
Description: Curated cultural journeys, Traditional Chinese Medicine experiences, health screening and dental care for international travellers. Integrates WooCommerce and Contact Form 7.
Version: 1.2.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: zoray
*/

:root {
  --page-bg: #e8ddcc;
  --surface: #f7f0e5;
  --surface-strong: #fffaf2;
  --surface-elevated: #fffaf2;
  --ink: #20231f;
  --muted: #625d53;
  --forest: #183f35;
  --forest-soft: #2d5749;
  --line: rgba(32, 35, 31, .16);
  --sand-dark: #c9b99f;
  --bronze: #9a632f;
  --radius: 24px;
  --radius-small: 14px;
  --shell: 1280px;
  --reading: 760px;
  --gutter: clamp(20px, 3.2vw, 52px);
  --section-space: clamp(76px, 8vw, 128px);
  --shadow-soft: 0 18px 55px rgba(64, 46, 25, .08);
  --serif: "Iowan Old Style", "Baskerville", "Noto Serif SC", "Songti SC", Georgia, serif;
  --sans: "Avenir Next", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--ink); background: var(--page-bg); font-family: var(--sans); font-size: 16px; line-height: 1.68; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; object-position: center; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; overflow-wrap: break-word; font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
p, li, dd, a { overflow-wrap: break-word; }
::selection { background: var(--forest); color: var(--surface-elevated); }
h1 { font-size: clamp(3.2rem, 6.3vw, 6.5rem); }
h2 { font-size: clamp(2.25rem, 4vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.shell { width: min(calc(100% - (var(--gutter) * 2)), var(--shell)); margin-inline: auto; }
.eyebrow { margin-bottom: 1.1rem; font-size: .73rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.lead { max-width: 680px; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.35rem); }
.microcopy { margin-top: 1.2rem; color: var(--muted); font-size: .83rem; line-height: 1.55; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 10000; top: 12px; left: 12px; padding: 12px 18px; background: white; color: black; }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 4px; }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid var(--line); background: rgba(232, 221, 204, .94); backdrop-filter: blur(18px); }
.header-inner { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.custom-logo { width: auto; max-height: 58px; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); font-size: 1.55rem; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; letter-spacing: .08em; }
.brand-copy strong { font-family: var(--serif); font-size: 1.15rem; }
.brand-copy small { margin-top: 5px; font-size: .52rem; letter-spacing: .17em; }
.primary-navigation { display: flex; align-items: center; gap: 26px; }
.primary-navigation .menu { display: flex; margin: 0; padding: 0; align-items: center; gap: 24px; list-style: none; }
.primary-navigation .menu a { position: relative; font-size: .88rem; }
.primary-navigation .menu a::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.primary-navigation .menu a:hover::after, .primary-navigation .current-menu-item a::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 12px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.menu-toggle > span:not(.screen-reader-text) { display: block; height: 1px; margin: 5px 0; background: currentColor; }
.button { display: inline-flex; min-height: 48px; padding: 12px 21px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 999px; font-size: .86rem; font-weight: 650; letter-spacing: .01em; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(24, 63, 53, .16); }
.button-green, .button-dark { background: var(--forest); color: #fffdf6; }
.button-light { border-color: rgba(255,255,255,.36); background: #fff8e9; color: var(--forest); }
.text-link { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid currentColor; font-size: .9rem; font-weight: 650; }
.button-row { display: flex; margin-top: 30px; align-items: center; flex-wrap: wrap; gap: 24px; }

.home-hero { display: grid; min-height: 760px; padding-block: 72px 90px; align-items: center; grid-template-columns: .86fr 1.14fr; gap: clamp(38px, 6vw, 90px); }
.hero-copy { padding-top: 30px; }
.hero-copy h1 { max-width: 640px; }
.hero-copy .lead { margin-top: 28px; }
.trust-row { display: flex; margin-top: 45px; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .76rem; }
.hero-figure { position: relative; margin: 0; }
.hero-figure img { width: 100%; min-height: 610px; object-fit: cover; border-radius: 180px 180px var(--radius) var(--radius); }
.hero-figure figcaption { position: absolute; right: 0; bottom: 0; display: flex; width: min(88%, 500px); padding: 22px 28px; align-items: center; gap: 20px; background: var(--surface-strong); }
.hero-figure figcaption > span { font-family: var(--serif); font-size: 2.2rem; }
.hero-figure figcaption p { margin: 0; font-weight: 650; }
.hero-figure figcaption small { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; }
.editorial-intro { display: grid; padding-block: 115px; border-top: 1px solid var(--line); grid-template-columns: 1fr 1fr; gap: 9vw; }
.editorial-intro h2 { max-width: 560px; }
.editable-content { max-width: 600px; color: var(--muted); font-size: 1.08rem; }

.tcm-feature { padding-block: 110px; background: var(--forest); color: #fffaf0; }
.tcm-feature-grid { display: grid; align-items: center; grid-template-columns: 1.05fr .95fr; gap: clamp(44px, 8vw, 110px); }
.tcm-feature figure { margin: 0; }
.tcm-feature figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.tcm-feature figcaption { padding-top: 13px; color: rgba(255,255,255,.67); font-size: .78rem; }
.tcm-feature .lead, .tcm-feature .microcopy { color: rgba(255,255,255,.72); }
.numbered-list { margin: 34px 0; padding: 0; border-top: 1px solid rgba(255,255,255,.25); list-style: none; }
.numbered-list li { display: grid; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); grid-template-columns: 46px 1fr; gap: 12px; }
.numbered-list span { font-family: var(--serif); font-size: 1.35rem; }
.numbered-list strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.numbered-list p { margin: 4px 0 0; color: rgba(255,255,255,.66); font-size: .86rem; }

.category-section, .featured-products { padding-block: 115px; }
.section-heading { display: flex; margin-bottom: 48px; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading > p { max-width: 440px; color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.category-card { display: block; overflow: hidden; border: 1px solid rgba(32,35,31,.06); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-soft); }
.category-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.category-card:hover img { transform: scale(1.025); }
.category-card > div { min-height: 182px; padding: 24px; }
.category-card span { color: var(--muted); font-size: .68rem; letter-spacing: .12em; }
.category-card h3 { margin-top: 18px; }
.category-card p { margin: 8px 0 0; color: var(--muted); font-size: .86rem; }
.featured-products { border-top: 1px solid var(--line); }
.compact-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.compact-product-grid article a { display: block; height: 100%; }
.compact-product-grid img, .compact-product-grid .image-fallback { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.compact-product-grid span { display: block; margin-top: 17px; color: var(--muted); font-size: .75rem; }
.compact-product-grid h3 { margin-top: 7px; font-size: 1.42rem; }

.page-hero { display: grid; padding-block: 88px; align-items: center; grid-template-columns: .9fr 1.1fr; gap: 8vw; }
.page-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.page-hero .lead { margin-top: 25px; }
.filter-nav { display: flex; padding-block: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; gap: 12px 30px; }
.filter-nav a { font-size: .86rem; font-weight: 650; }
.package-groups { padding-block: 55px 100px; }
.product-group { padding-top: 55px; scroll-margin-top: 105px; }
.product-group + .product-group { margin-top: 45px; border-top: 1px solid var(--line); }
.product-group-heading { margin-bottom: 30px; }
.product-group-heading h2 { font-size: clamp(2rem, 3.5vw, 3.4rem); }
.product-list { padding-block: 70px 110px; }
.product-group .product-list { padding-block: 0; }
.product-card { display: grid; overflow: hidden; margin-bottom: 34px; border: 1px solid rgba(32,35,31,.06); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-soft); grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.product-card-media { min-height: 100%; }
.product-card-media img, .product-card-media .image-fallback { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.product-card-body { padding: clamp(32px, 5vw, 65px); }
.product-card-meta { display: flex; margin-bottom: 25px; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.product-card h2 { font-size: clamp(2rem, 3vw, 3.15rem); }
.product-card-body > p { margin-top: 19px; color: var(--muted); }
.decision-list { margin: 30px 0; border-top: 1px solid var(--line); }
.decision-list div { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line); grid-template-columns: 64px 1fr; gap: 14px; }
.decision-list dt { color: var(--muted); font-size: .76rem; }
.decision-list dd { margin: 0; font-size: .86rem; }
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.medical-notice { display: grid; margin-bottom: 100px; padding: 28px 32px; border: 1px solid var(--line); grid-template-columns: 180px 1fr; gap: 25px; }
.medical-notice p { margin: 0; color: var(--muted); font-size: .88rem; }

.service-hero, .standard-page { padding-block: 110px 70px; }
.service-hero { max-width: 950px; }
.service-hero .lead, .standard-page .entry-content { margin-top: 30px; }
.standard-page { min-height: 62vh; }
.standard-page header { max-width: 900px; }
.standard-page .entry-content { max-width: 760px; color: var(--muted); font-size: 1.08rem; }
.standard-page .entry-content h2 { margin: 2.6rem 0 1rem; color: var(--ink); }

.detail-hero { display: grid; min-height: 720px; padding-block: 70px 90px; align-items: center; grid-template-columns: .9fr 1.1fr; gap: 7vw; }
.detail-hero .lead { margin-top: 25px; }
.detail-hero .button { margin-top: 20px; }
.detail-hero figure { margin: 0; }
.detail-hero figure > img, .detail-hero figure > .image-fallback { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.detail-hero figcaption { display: flex; padding: 15px 4px; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .76rem; }
.quick-facts { padding-block: 36px; background: var(--surface); }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts-grid > div { padding: 15px 35px; border-right: 1px solid var(--line); }
.facts-grid > div:first-child { padding-left: 0; }
.facts-grid > div:last-child { border: 0; }
.facts-grid small { display: block; margin-bottom: 8px; color: var(--muted); }
.facts-grid strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.detail-copy { display: grid; padding-block: 110px; grid-template-columns: 1fr 1fr; gap: 9vw; }
.itinerary-section { padding-block: 100px; border-top: 1px solid var(--line); }
.timeline { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.timeline li { display: grid; padding: 22px 0; border-bottom: 1px solid var(--line); grid-template-columns: 80px 1fr; gap: 20px; }
.timeline span { font-family: var(--serif); font-size: 1.55rem; }
.timeline p { margin: 0; font-size: 1.04rem; }
.included-section { padding-block: 100px; background: var(--forest); color: #fffaf0; }
.included-grid { display: grid; margin-top: 45px; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.included-grid > div { padding: 25px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); }
.included-grid span { font-size: 1.4rem; }
.included-grid h3 { margin-top: 25px; }

.contact-layout { display: grid; min-height: 720px; padding-block: 90px 110px; grid-template-columns: .8fr 1.2fr; gap: 8vw; }
.contact-layout .lead { margin-top: 24px; }
.contact-points { margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.form-card { padding: clamp(28px, 5vw, 60px); border: 1px solid rgba(32,35,31,.07); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-soft); }
.zoray-form-grid { display: grid; gap: 20px; }
.zoray-form-grid label { display: grid; gap: 8px; color: var(--muted); font-size: .77rem; }
.zoray-form-grid input, .zoray-form-grid textarea, .zoray-form-grid select { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-strong); color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease; }
.zoray-form-grid input:focus, .zoray-form-grid textarea:focus, .zoray-form-grid select:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(24,63,53,.1); outline: none; }
.zoray-form-grid textarea { min-height: 150px; resize: vertical; }
.zoray-form-grid .form-wide { grid-column: 1 / -1; }
.zoray-form-grid .consent { display: block; }
.zoray-form-grid input[type="checkbox"] { width: 18px; min-height: 18px; margin-right: 8px; }
.zoray-form-grid input[type="submit"] { width: auto; padding-inline: 24px; border: 0; border-radius: 999px; background: var(--forest); color: white; cursor: pointer; }
.form-notice { padding: 20px; border: 1px solid var(--line); }

.journey-cta { padding-block: 85px; background: var(--sand-dark); }
.cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.cta-inner p:not(.eyebrow) { max-width: 640px; margin-top: 18px; color: #3f413b; }
.site-footer { padding-top: 85px; background: #142e27; color: #f6efdf; }
.footer-grid { display: grid; padding-bottom: 70px; grid-template-columns: 1.6fr .8fr .8fr; gap: 8vw; }
.brand-footer { margin-bottom: 24px; }
.footer-grid > div:first-child p { max-width: 440px; color: rgba(255,255,255,.64); }
.footer-grid h2 { margin-bottom: 20px; font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid nav .menu { margin: 0; padding: 0; list-style: none; }
.footer-grid nav a, .footer-grid > div:last-child a, .footer-grid > div:last-child span { display: block; margin: 9px 0; color: rgba(255,255,255,.72); font-size: .86rem; }
.footer-bottom { display: flex; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.15); justify-content: space-between; color: rgba(255,255,255,.45); font-size: .7rem; }
.image-fallback { display: grid; min-height: 250px; place-items: center; background: #d4c6b1; color: var(--forest); }
.image-fallback span { font-family: var(--serif); font-size: 5rem; }
.not-found { min-height: 65vh; padding-block: 120px; }
.not-found p:not(.eyebrow) { margin-top: 25px; color: var(--muted); }

@media (min-width: 1441px) {
  .home-hero { min-height: 800px; }
  .hero-copy h1 { max-width: 700px; }
  .hero-figure img { min-height: 650px; }
}

@media (max-width: 1440px) {
  :root { --shell: 1200px; --section-space: clamp(72px, 7vw, 110px); }
  .home-hero { min-height: 700px; }
  .hero-figure img { min-height: 560px; }
  .primary-navigation, .primary-navigation .menu { gap: 18px; }
}

@media (max-width: 1100px) {
  :root { --gutter: clamp(22px, 4vw, 40px); }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .primary-navigation { position: absolute; top: 100%; right: 0; left: 0; display: none; max-height: calc(100vh - 84px); padding: 24px var(--gutter) 30px; overflow-y: auto; border-bottom: 1px solid var(--line); background: var(--surface-elevated); box-shadow: var(--shadow-soft); }
  .primary-navigation.is-open { display: block; }
  .primary-navigation .menu { display: grid; gap: 0; }
  .primary-navigation .menu li { border-bottom: 1px solid var(--line); }
  .primary-navigation .menu a { display: flex; min-height: 48px; padding: 12px 0; align-items: center; }
  .primary-navigation .menu a::after { display: none; }
  .nav-cta { width: 100%; margin-top: 22px; }
  .home-hero { min-height: auto; padding-block: 64px 82px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 42px; }
  .hero-copy { padding-top: 0; }
  .hero-figure img { min-height: 500px; border-radius: 110px 110px var(--radius) var(--radius); }
  .editorial-intro, .tcm-feature-grid, .detail-copy { gap: 6vw; }
  .category-grid, .compact-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .category-card > div { min-height: 160px; }
  .product-card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .product-card-media img, .product-card-media .image-fallback { min-height: 460px; }
  .product-card-body { padding: 36px; }
  .detail-hero { min-height: 620px; gap: 5vw; }
  .included-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { gap: 5vw; }
  .footer-grid { gap: 5vw; }
}

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-figure img { min-height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .editorial-intro, .tcm-feature-grid, .page-hero, .product-card, .detail-hero, .detail-copy, .contact-layout { grid-template-columns: 1fr; }
  .editorial-intro { gap: 38px; }
  .tcm-feature-grid, .page-hero, .detail-hero, .contact-layout { gap: 52px; }
  .page-hero > div, .detail-hero > div, .contact-layout > div:first-child { max-width: 760px; }
  .product-card-media img, .product-card-media .image-fallback { min-height: auto; aspect-ratio: 16 / 10; }
  .product-card-body { padding: clamp(30px, 6vw, 52px); }
  .detail-hero { min-height: auto; }
  .facts-grid > div { padding-inline: 22px; }
  .contact-layout { min-height: auto; }
  .footer-grid { grid-template-columns: 1.25fr .75fr .75fr; gap: 35px; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; --section-space: 72px; }
  body.admin-bar .site-header { top: 46px; }
  .header-inner { min-height: 72px; }
  .brand-copy small { display: none; }
  .menu-toggle, .button { min-height: 44px; }
  .primary-navigation { max-height: calc(100vh - 72px); }
  .primary-navigation .menu a { min-height: 44px; }
  h1 { font-size: clamp(2.75rem, 12vw, 4.4rem); }
  h2 { font-size: clamp(2rem, 8.5vw, 3.1rem); }
  .lead { font-size: 1.05rem; }
  .home-hero { padding-block: 52px 68px; gap: 45px; }
  .hero-figure figcaption { position: static; width: 100%; padding: 18px 4px 0; background: transparent; }
  .trust-row { margin-top: 32px; gap: 10px 18px; }
  .editorial-intro, .category-section, .featured-products, .itinerary-section, .included-section { padding-block: var(--section-space); }
  .tcm-feature { padding-block: var(--section-space); }
  .section-heading { display: block; margin-bottom: 34px; }
  .section-heading > p, .section-heading > .text-link { margin-top: 18px; }
  .category-grid, .compact-product-grid { grid-template-columns: 1fr; }
  .category-card > div { min-height: auto; }
  .filter-nav { margin-inline: 0; padding-inline: var(--gutter); overflow-x: auto; flex-wrap: nowrap; gap: 26px; scrollbar-width: none; }
  .filter-nav::-webkit-scrollbar { display: none; }
  .filter-nav a { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; }
  .package-groups { padding-block: 25px 75px; }
  .product-group { padding-top: 45px; scroll-margin-top: 82px; }
  .product-card { margin-bottom: 25px; }
  .product-card-meta { flex-wrap: wrap; }
  .decision-list div { grid-template-columns: 58px minmax(0, 1fr); }
  .detail-hero { padding-block: 52px 70px; }
  .detail-hero figcaption { flex-wrap: wrap; justify-content: flex-start; gap: 8px 18px; }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid > div, .facts-grid > div:first-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .facts-grid > div:last-child { border-bottom: 0; }
  .timeline li { grid-template-columns: 54px minmax(0, 1fr); }
  .included-grid { grid-template-columns: 1fr; }
  .medical-notice { margin-bottom: 72px; padding: 24px; grid-template-columns: 1fr; }
  .contact-layout { padding-block: 64px 78px; }
  .zoray-form-grid { grid-template-columns: 1fr; }
  .zoray-form-grid .form-wide { grid-column: auto; }
  .zoray-form-grid input, .zoray-form-grid textarea, .zoray-form-grid select { font-size: 16px; }
  .cta-inner { display: block; }
  .cta-inner .button { margin-top: 22px; }
  .footer-grid { grid-template-columns: 1fr; padding-bottom: 50px; gap: 38px; }
  .footer-bottom { display: grid; gap: 8px; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; --radius: 16px; --section-space: 60px; }
  .brand-mark { width: 36px; height: 36px; font-size: 1.3rem; }
  .brand-copy strong { font-size: 1rem; }
  h1 { font-size: clamp(2.45rem, 13vw, 3.5rem); line-height: 1.02; }
  h2 { font-size: clamp(1.9rem, 9.5vw, 2.7rem); }
  .eyebrow { font-size: .66rem; letter-spacing: .14em; }
  .button-row { align-items: stretch; gap: 15px; }
  .button-row .button { width: 100%; }
  .home-hero { padding-top: 42px; }
  .hero-figure figcaption { align-items: flex-start; }
  .hero-figure figcaption > span { font-size: 1.75rem; }
  .numbered-list li { grid-template-columns: 38px minmax(0, 1fr); }
  .category-card > div { padding: 21px; }
  .compact-product-grid h3 { font-size: 1.32rem; }
  .product-card-body { padding: 24px 20px 28px; }
  .product-card h2 { font-size: 2rem; }
  .card-actions { align-items: stretch; flex-direction: column; }
  .card-actions .button { width: 100%; }
  .card-actions .text-link { align-self: flex-start; }
  .timeline li { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
  .timeline span { font-size: 1.25rem; }
  .form-card { padding: 22px 18px; }
  .journey-cta { padding-block: 62px; }
  .site-footer { padding-top: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
/* Wider, more compact page titles */
h1 {
  font-size: clamp(2.8rem, 5vw, 5.25rem);
}

.hero-copy h1 {
  max-width: 760px;
}

.page-hero,
.detail-hero {
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(36px, 5vw, 72px);
}

.page-hero h1,
.detail-hero h1 {
  max-width: 900px;
}

/* Packages page: two cards per row */
.product-group .product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 34px);
}

.product-group .product-card {
  height: 100%;
  margin-bottom: 0;
  grid-template-columns: 1fr;
}

.product-group .product-card-media {
  min-height: 0;
}

.product-group .product-card-media img,
.product-group .product-card-media .image-fallback {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-group .product-card-body {
  display: flex;
  padding: clamp(26px, 3vw, 42px);
  flex-direction: column;
}

.product-group .product-card h2 {
  font-size: clamp(1.75rem, 2.4vw, 2.5rem);
}

.product-group .card-actions {
  margin-top: auto;
}

@media (max-width: 900px) {
  .page-hero,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .page-hero > div,
  .detail-hero > div {
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: clamp(2.35rem, 10vw, 3.6rem);
  }

  .product-group .product-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(2.15rem, 10.5vw, 3rem);
    line-height: 1.02;
  }
}