:root {
  --refresh-navy: #0b1928;
  --refresh-blue: #15293d;
  --refresh-paper: #f6f3ed;
  --refresh-gold: #e2ba79;
  --refresh-wa: #076344;
  --mobile-bar-space: calc(76px + env(safe-area-inset-bottom));
}

.mobile-enquiry-bar { display: none; }
.footer-social { display:block;padding-block:8px 24px; }
.wa-lp-footer .footer-social {padding-block:0 14px;}
.has-mobile-enquiry .button-whatsapp { background: var(--refresh-wa); color: #fff; border-color: var(--refresh-wa); }
.has-mobile-enquiry .button-whatsapp:hover { background: #07503a; border-color: #07503a; }
.home-page .site-header { background: var(--refresh-navy); color: #fff; border-color: #ffffff24; }
.home-page .site-header .brand, .home-page .site-header .brand span, .home-page .site-header nav > a:not(.button) { color: #fff; }
.home-page .site-header .brand i { color: var(--refresh-gold); }
.home-page .site-header .nav-quote { background: var(--refresh-gold); color: var(--refresh-navy); border-color: var(--refresh-gold); }
.home-page .language-picker > summary, .home-page .menu-toggle { background: transparent; color: #fff; border-color: #ffffff54; }
.home-page .menu-toggle > span { background: #fff; }
.home-page .language-options { color: var(--ink); }
.home-v3 { background: var(--refresh-paper); }
.home-v3-hero-wrap { color: #fff; background: var(--refresh-navy); }
.home-v3 .home-v3-hero {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.14fr); gap: clamp(24px,4vw,60px);
  align-items: center; min-height: auto; padding-block: 48px 42px;
}
.home-v3-hero h1 { font-size: clamp(42px,5.2vw,76px); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.home-v3-hero :is(.lead,figcaption) { color: #d8e1e9; }
.home-v3-hero .lead { max-width: 500px; text-wrap:balance; }
.home-v3-hero .actions { gap: 10px; }
.home-v3-hero .button:not(.button-whatsapp) { background: var(--refresh-gold); color: var(--refresh-navy); border-color: var(--refresh-gold); }
.home-v3-hero :is(.text-link,.hero-video-link) { color: #f3cf96; }
.home-v3-hero-media { margin: 0; min-width: 0; }
.home-v3-hero-media img { display: block; width: 100%; aspect-ratio: 24/17; object-fit: contain; border-radius: 12px; }
.home-v3-hero-media figcaption { margin-top: 10px; font-size: 12px; }
.home-v3 .section { padding-block: clamp(42px,6vw,85px); }
.home-v3 :is(.home-v3-formats,.home-v3-details,.home-v3-process,.home-v3-faq) h2 { font-size: clamp(27px,4vw,50px); line-height: 1.12; text-wrap: balance; }
.home-v3-details, .home-v3-faq { background: #fff; }
.home-v3-detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.home-v3-detail-grid figure { margin: 0; min-width: 0; }
.home-v3-detail-grid img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #eae4da; border-radius: 10px; }
.home-v3-detail-grid figcaption { margin-top: 12px; }
.home-v3-format-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.home-format-card { display: flex; flex-direction: column; border: 1px solid #e1d9cc; border-radius: 12px; background: white; overflow: hidden; }
.home-format-body { display:flex;flex:1;flex-direction:column;padding:18px; }
.home-format-card img { display: block; width: 100%; object-fit: contain; aspect-ratio: 4/3; background: #ebe5db; }
.home-format-card h3 { display:flex;justify-content:space-between;align-items:start;gap:8px;font-size:20px;line-height:1.35;min-height:2.7em;margin:0 0 8px; }
.home-format-card h3 span { min-width:0;text-wrap:balance;overflow-wrap:anywhere; }
.home-format-card h3 svg { flex: none; width: 17px; color: #896937; }
.home-format-card p { font-size: 16px; margin: 0; overflow-wrap:anywhere; }
.home-format-card .caption { font-size:12px;margin-top:auto;padding-top:16px; }
.home-format-description { padding-bottom:4px; }
.home-format-text { grid-column:span 2;border-block-start:3px solid #9a7845; }
.home-format-text h3 { min-height:0; }
.home-format-source-note { max-width:900px;margin-top:18px; }
.home-format-link { display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;margin-top:auto;padding-top:12px;font-size:14px;font-weight:700;color:#896937; }
.home-format-link svg { width:17px;height:17px; }
.home-format-more { margin-top:30px;padding-top:24px;border-top:1px solid #d5cbbb; }
.home-format-more > h3 { font-size:23px;margin:0 0 16px; }
.home-format-more-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
.home-format-more-grid .home-format-text { grid-column:auto; }
.home-format-more-grid .home-format-body { padding:18px; }
.home-format-more-grid .home-format-description { max-width:540px; }
.home-format-visual { position:relative;aspect-ratio:4/3;background:#f1eee7; }
.home-format-visual img { width:100%;height:100%;object-fit:contain; }
.home-format-process { position:absolute;inset-inline-start:10px;inset-block-end:10px;font-size:11px;line-height:1.4;color:#273b4c;background:#fffffff0;border-radius:4px;margin:0;padding:4px 7px;max-width:calc(100% - 20px); }
.home-v3-detail-copy h3 { margin: 14px 0 8px; }
.home-v3-detail-copy p { margin: 0 0 10px; }
.home-v3-process { background: #f3e8d8; }
.home-v3-process :is(h3,p) { margin-bottom: 8px; }
.home-v3-factory { background: var(--refresh-navy); color: #fff; }
.home-v3-factory :is(p,figcaption) { color: #d0dce4; }
.home-v3-factory .text-link { color: var(--refresh-gold); }
.home-v3-factory .media-card { background: var(--refresh-blue); color: #fff; }
.home-v3-faq-layout { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 40px; }
.home-v3-faq-list details { padding-block: 16px; }
.home-v3-faq-list summary { min-height: 26px; cursor: pointer; font-weight: 700; }
.home-v3-faq-list p { margin: 12px 0 0; }
.home-v3-contact { background: var(--refresh-blue); }
.copy-wa-fallback { max-width: 100%; padding: 8px; margin-top: 8px; font: inherit; }

/* Wide screens use a constrained, horizontal composition and complete nav. */
@media (min-width: 1051px) {
  .has-mobile-enquiry .container { width:calc(100% - 112px); max-width:1248px; }
  .home-v3 .home-v3-hero { grid-template-columns:minmax(0,.92fr) minmax(0,1.12fr); gap:56px; padding-block:60px 52px; }
  .home-v3-hero .hero-copy h1 { font-size:clamp(48px,4.6vw,68px); max-width:560px; }
  .home-v3-hero-media img { aspect-ratio:24/17; }
  .home-v3-hero-media { align-self:center; }
}

/* Tablet navigation collapses at the same breakpoint as the existing header. */
@media (max-width: 1050px) {
  .home-page .site-header nav { background:var(--refresh-navy); }
  .home-page .site-header nav > a:not(.button) { border-color:#ffffff24; }
}
@media (min-width: 801px) and (max-width: 1050px) {
  .home-v3 .home-v3-hero { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; padding-block:34px; }
  .home-v3-hero .hero-copy h1 { font-size:43px; }
  .home-v3-hero .lead { font-size:17px; }
  .home-v3-format-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home-format-text { grid-column:auto; }
  .home-v3-process .steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width: 521px) and (max-width: 800px) {
  .home-v3-hero-media,.wa-lp-hero-visual { width:100%;max-width:560px;justify-self:center; }
}

.wa-lp-header .header-inner { justify-content: space-between; }
.wa-lp-hero, .wa-lp-factory-grid {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px,6vw,84px); align-items: center;
}
.wa-lp-hero { padding-block: 44px 52px; }
.wa-lp-hero h1 { font-size: clamp(36px,5.2vw,66px); text-wrap: balance; margin: 0 0 14px; }
.wa-lp-hero .lead { margin: 0 0 20px; }
.wa-lp-hero-visual { margin: 0; }
.wa-lp-hero-visual img { display: block; width: 100%; aspect-ratio: 24/17; object-fit: cover; border-radius: 12px; }
.wa-lp-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; }
.wa-lp-actions .button { min-height: 48px; text-align: center; }
.wa-lp-action-note, .wa-copy-status { font-size: 14px; margin: 10px 0 0; }
.wa-copy-status:empty { display: none; }
.wa-lp-formats, .wa-lp-contact { background: var(--refresh-paper); }
.wa-lp-section-heading { margin-bottom: 24px; }
.wa-lp-section-heading p { margin-bottom: 0; }
.wa-lp-format-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.wa-lp-format-card { min-width: 0; }
.wa-lp-format-card figure { margin: 0 0 12px; }
.wa-lp-format-card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #e9e3d8; border-radius: 10px; }
.wa-lp-format-card h3 { margin: 0 0 7px; }
.wa-lp-format-card p { margin: 0; }
.wa-lp-brief-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 26px; padding-inline-start: 24px; }
.wa-lp-brief-list h3 { margin: 0 0 6px; }
.wa-lp-brief-list p { margin: 0; }
.wa-lp-sample-note { margin: 22px 0 0; }
.wa-lp-factory { background: var(--refresh-navy); color: white; }
.wa-lp-factory :is(p,figcaption) { color: #cfdae2; }
.wa-lp-factory a { color: var(--refresh-gold); }
.wa-lp-factory img { width: 100%; border-radius: 10px; }
.wa-lp-contact-details { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 22px; }
.wa-lp-contact-details p { margin: 0; }
.wa-lp-contact-details .wa-lp-email { overflow-wrap: anywhere; text-decoration: underline; }
.wa-lp-footer { padding-block: 18px; }

@media (max-width: 800px) {
  .has-mobile-enquiry { padding-block-end: calc(var(--enquiry-bar-height,var(--mobile-bar-space)) + 72px); }
  html:has(.has-mobile-enquiry) { scroll-padding-bottom: calc(var(--enquiry-bar-height,var(--mobile-bar-space)) + 72px); }
  .has-mobile-enquiry .social-dock { display: block; }
  .has-mobile-enquiry .footer-social { display:block; }
  .has-mobile-enquiry:has(.social-dock) footer { padding-block-end: 0; }
  .mobile-enquiry-bar {
    display: block; position: fixed; z-index: 18; inset-inline: 0; inset-block-end: 0;
    border-block-start: 1px solid #d4dae0; background: #fff;
    padding: 9px max(12px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));
  }
  .mobile-enquiry-inner { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; width: min(100%,540px); margin: 0 auto; direction: ltr; }
  .mobile-enquiry-single .mobile-enquiry-inner { grid-template-columns: 1fr; }
  .mobile-enquiry-bar .button {
    display: flex; justify-content: center; align-items: center; gap: 7px;
    min-height: 50px; padding: 8px; border-radius: 7px; line-height: 1.2; white-space: normal;
    font-size: 14px; text-align: center;
  }
  .mobile-enquiry-bar .mobile-quote { background: var(--refresh-navy); }
  .mobile-enquiry-bar svg { width: 19px; height: 19px; flex: none; }
  .video-open .mobile-enquiry-bar, .keyboard-open .mobile-enquiry-bar, body:has(.enquiry-form:focus-within) .mobile-enquiry-bar { visibility: hidden; }
  .enquiry-form :is(input,textarea,button,.form-status) { scroll-margin-block-end: var(--mobile-bar-space); }
  .home-page .site-header nav { background: var(--refresh-navy); }
  .home-page .site-header nav > a:not(.button) { border-color: #ffffff24; }
  .home-page .menu-toggle, .home-page .language-picker > summary, .wa-lp-header .language-picker > summary { min-height: 44px; }
  .home-v3 .home-v3-hero { grid-template-columns: 1fr; gap: 17px; padding-block: 25px 22px; }
  .home-v3-hero .hero-copy h1 { font-size: clamp(35px,9.3vw,48px); line-height: 1.16; margin: 0 0 12px; }
  html[lang="zh-CN"] .home-v3-hero .hero-copy h1 {font-size:clamp(35px,9.5vw,42px);line-height:1.28;text-wrap:balance;}
  .home-v3-hero .lead { font-size: 16px; line-height: 1.5; margin: 0 0 13px; }
  .home-v3-hero .actions { display: flex; flex-wrap: wrap; margin-block: 0; }
  .home-v3-hero .actions .button { min-height: 46px; padding-inline: 12px; font-size: 14px; }
  .home-v3-hero-media img { aspect-ratio: 650/502; }
  .home-v3 .section { padding-block: 39px; }
  .home-v3 :is(.lead,.format-rail p) { font-size: 16px; }
  .home-v3-detail-grid { gap: 14px; }
  .home-v3-faq-layout { grid-template-columns: 1fr; gap: 8px; }
  .home-v3-format-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .home-format-body { padding:14px; }
  .home-format-card h3 { font-size:17px; }
  .home-format-card p { font-size: 15px; }
  .home-format-card .caption { font-size: 11px; }
  .home-format-text { grid-column:auto; }
  .home-format-text h3 { min-height:2.7em; }
  html:not([lang="zh-CN"]) .home-format-card h3 {min-height:4.05em;}
  .home-format-more {margin-top:24px;padding-top:20px;}
  .home-format-more > h3 {font-size:21px;margin-bottom:14px;}
  .home-format-more-grid {gap:10px;}
  .home-format-more-grid .home-format-body {padding:14px;}
  .home-format-link {font-size:13px;}
  .home-format-more-grid .home-format-description {font-size:15px;}
  .wa-lp-hero, .wa-lp-factory-grid { grid-template-columns: 1fr; gap: 20px; }
  .wa-lp-hero { padding-block: 26px 34px; }
  .wa-lp-hero h1 { font-size: clamp(34px,9vw,48px); line-height: 1.1; }
  .wa-lp-hero .lead, .wa-landing .lead { font-size: 16px; line-height: 1.55; }
  .wa-lp-hero-visual img { aspect-ratio: 650/502; }
  .wa-landing .section { padding-block: 38px; }
  .wa-lp-format-grid { gap: 22px; }
}

@media (max-width: 520px) {
  .wa-lp-format-grid, .wa-lp-brief-list { grid-template-columns: 1fr; }
  .wa-lp-format-card img { max-height: 190px; }
  .wa-lp-actions { flex-wrap: nowrap; }
  .wa-lp-actions .button { padding-inline: 12px; font-size: 14px; white-space: normal; }
  .wa-lp-actions .button-whatsapp { flex: 1; }
  .home-v3-detail-grid { grid-template-columns: 1fr; gap: 22px; }
  .home-v3-detail-grid img { max-height: 245px; }
  .home-format-card h3 svg {display:none;}
  html[lang="zh-CN"] .home-format-card h3 {font-size:16px;line-height:1.4;min-height:1.4em;letter-spacing:0;}
  html[lang="zh-CN"] .home-format-card h3 span {word-break:normal;overflow-wrap:normal;}
  .home-format-description {line-height:1.55;}
  .home-format-card h3 {margin-bottom:8px;}
}
