/* Evania website styles. Colours, fonts and spacing: see the :root block at the top. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }

/* Evania design tokens. Navy #1D2840 and Cream #FFFDED are the official brand colours. */
:root {
  --navy: #1d2840;
  --navy-deep: #151d30;
  --navy-soft: #2e3a57;
  --cream: #fffded;
  --cream-warm: #f4f0de;
  --stone: #5f6577;        /* body text on cream: 5.9:1 */
  --stone-light: #b4b8c4;  /* body text on navy: 8.1:1 */
  --gold: #b89a64;         /* rules, accents on navy */
  --gold-ink: #7d6236;     /* gold text on cream: 5.3:1 */
  --line: rgba(29, 40, 64, 0.15);
  --line-light: rgba(255, 253, 237, 0.16);
  --display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --body: "Jost", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  --hdr: 78px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cream); color: var(--navy); padding: 10px 16px; }
.skip:focus { top: 12px; }

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

/* ---------- layout ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
.narrow { max-width: 820px; }
.band { padding-block: clamp(64px, 9vw, 120px); }
.band.navy { background: var(--navy); color: var(--cream); }
.band.deep { background: var(--navy-deep); color: var(--cream); }
.band.warm { background: var(--cream-warm); }
.stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.center { text-align: center; align-items: center; margin-inline: auto; }
.lead { font-size: 1.12rem; max-width: 62ch; }
.rule { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 0; }
.eyebrow { font: 500 0.74rem/1.4 var(--body); letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-ink); }
.navy .eyebrow, .deep .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.muted { color: var(--stone); }
.navy .muted, .deep .muted { color: var(--stone-light); }
.tbc { color: var(--gold-ink); font-style: italic; }
.navy .tbc, .page-hero .tbc { color: var(--gold); }
.tbc-light { display: block; color: var(--stone-light); font-style: italic; }

.grid2, .grid3, .grid4 { display: grid; gap: 28px; list-style: none; }
.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid3, .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }

.sec-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 52px; }
.sec-foot { margin-top: 48px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 0.78rem/1 var(--body); letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none;
  padding: 16px 26px; min-height: 48px; border: 1px solid currentColor; background: transparent; color: inherit;
  cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; align-self: flex-start;
}
.btn:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.navy .btn:hover, .deep .btn:hover, .hero .btn:hover, .page-hero .btn:hover, .overlay .btn:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn.solid { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn.solid:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-sm { padding: 12px 18px; min-height: 44px; }
.hdr .btn { align-self: center; }
.link {
  font: 500 0.76rem/1 var(--body); letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 6px; align-self: flex-start; display: inline-block;
}
.link:hover { color: var(--gold-ink); }
.navy .link:hover, .deep .link:hover { color: var(--gold); }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--navy); }
header.site {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  color: var(--cream); background: transparent; transition: background 0.35s, color 0.35s, box-shadow 0.35s;
}
header.site.solid { background: var(--cream); color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--hdr); }
.hdr .logo { display: grid; flex: none; }
.hdr .logo > span { grid-area: 1 / 1; transition: opacity 0.35s; }
.hdr .logo img { height: auto; width: 160px; }
.logo-navy { opacity: 0; }
header.solid .logo-navy { opacity: 1; }
header.solid .logo-cream { opacity: 0; }
nav.main > ul { display: flex; gap: 30px; list-style: none; align-items: center; }
nav.main a { font: 400 0.74rem/1 var(--body); letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; padding: 10px 0; display: block; border-bottom: 1px solid transparent; }
nav.main a:hover, nav.main a[aria-current="page"] { border-color: var(--gold); }
.has-sub { position: relative; }
.has-sub .sub {
  position: absolute; top: 100%; left: -20px; min-width: 260px; list-style: none; padding: 12px 20px;
  background: var(--navy); color: var(--cream); visibility: hidden; opacity: 0; transform: translateY(6px); transition: 0.25s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { visibility: visible; opacity: 1; transform: none; }
.sub a { letter-spacing: 0.16em; padding: 10px 0; }
.burger { display: none; background: none; border: 0; color: inherit; cursor: pointer; padding: 10px; width: 44px; height: 44px; }
.burger span { display: block; height: 1px; background: currentColor; margin: 6px 0; }
@media (max-width: 1020px) { nav.main, .hdr .enquire { display: none; } .burger { display: block; } }

.overlay {
  position: fixed; inset: 0; z-index: 70; background: var(--navy-deep); color: var(--cream); overflow-y: auto;
  padding-block: calc(20px + env(safe-area-inset-top, 0px)) calc(24px + env(safe-area-inset-bottom, 0px));
}
.overlay-inner { display: flex; flex-direction: column; gap: 32px; min-height: 100%; }
.overlay-top { display: flex; justify-content: space-between; align-items: center; }
.overlay .close { background: none; border: 0; color: inherit; font: 300 2.2rem/1 var(--body); cursor: pointer; width: 48px; height: 48px; }
.overlay ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.overlay li a { font-family: var(--display); font-size: clamp(1.7rem, 6vw, 2.4rem); text-decoration: none; line-height: 1.3; }
.overlay li.sub-item a { font-family: var(--body); font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; padding-left: 18px; color: var(--stone-light); }
.overlay li a:hover, .overlay li a[aria-current="page"] { color: var(--gold); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--cream); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(21, 29, 48, 0.5); }
.hero.no-media { background:
  radial-gradient(ellipse 70% 60% at 78% 30%, rgba(184, 154, 100, 0.22), transparent 60%),
  radial-gradient(ellipse 60% 70% at 10% 90%, rgba(46, 58, 87, 0.9), transparent 70%),
  linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }
.hero .mark { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: min(620px, 70vw); opacity: 0.07; z-index: -1; pointer-events: none; }
.hero .inner { padding-block: calc(var(--hdr) + clamp(56px, 8vw, 110px)) clamp(64px, 9vw, 120px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.hero .main-logo { width: min(220px, 50vw); height: auto; }
.hero h1 { max-width: 18ch; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero .ctas .btn { align-self: auto; }
.hero-slot { font: 400 0.62rem/1.3 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 253, 237, 0.55); }

.page-hero { position: relative; background: var(--navy); color: var(--cream); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 90% 10%, rgba(184, 154, 100, 0.18), transparent 60%); }
.page-hero .inner { position: relative; padding-block: calc(var(--hdr) + clamp(40px, 6vw, 80px)) clamp(56px, 8vw, 104px); display: flex; flex-direction: column; gap: 20px; }
.page-hero .lead { color: rgba(255, 253, 237, 0.86); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone-light); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ---------- usps ---------- */
.usps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; list-style: none; }
.usp { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; color: var(--gold-ink); }
.usp span { font: 500 0.72rem/1.5 var(--body); letter-spacing: 0.26em; text-transform: uppercase; color: var(--navy); }
@media (max-width: 640px) { .usps { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- media ---------- */
.media { position: relative; overflow: hidden; max-width: 100%; background: var(--navy-soft); }
.media img { object-fit: cover; transition: transform 1.2s ease; }
.ph::after { content: ""; position: absolute; inset: 0; background: var(--g); transition: transform 1.2s ease; }
.ph .slot { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font: 400 0.64rem/1.3 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 253, 237, 0.75); }
.g1 { --g: radial-gradient(circle at 30% 30%, rgba(184, 154, 100, 0.55), transparent 55%), linear-gradient(160deg, #3a4566, #151d30); }
.g2 { --g: radial-gradient(circle at 70% 25%, rgba(244, 240, 222, 0.35), transparent 50%), linear-gradient(200deg, #4a5a6b, #1d2840); }
.g3 { --g: radial-gradient(circle at 50% 80%, rgba(184, 154, 100, 0.5), transparent 55%), linear-gradient(140deg, #2e3a57, #0f1524); }
.g4 { --g: radial-gradient(circle at 20% 70%, rgba(120, 140, 110, 0.55), transparent 55%), linear-gradient(170deg, #3d4c5e, #1d2840); }
.g5 { --g: radial-gradient(circle at 80% 70%, rgba(184, 154, 100, 0.4), transparent 50%), linear-gradient(120deg, #5a5340, #1d2840); }

/* ---------- cards ---------- */
.card { display: flex; flex-direction: column; gap: 18px; text-decoration: none; min-width: 0; }
.card .media { aspect-ratio: 4 / 5; }
a.card:hover .media img, a.card:hover .ph::after { transform: scale(1.04); }
.card p { color: var(--stone); }
.card .link { margin-top: auto; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.rev > .media { order: 2; }
.split p { color: var(--stone); }
.navy .split p, .deep .split p { color: var(--stone-light); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > .media { order: 0; } }

/* ---------- tiles ---------- */
.tiles { list-style: none; }
.tile { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--gold); min-width: 0; }
.tile p { color: var(--stone); }
.navy .tile p, .deep .tile p { color: var(--stone-light); }
.tile .k { font-size: 1.5rem; line-height: 1.2; }

/* ---------- quote ---------- */
.quote { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.quote figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; min-height: 9em; justify-content: center; }
.quote blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.35; max-width: 32ch; }
.quote figcaption { font: 500 0.72rem/1.4 var(--body); letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.dots { display: flex; gap: 10px; align-items: center; }
.dots button { width: 34px; height: 24px; padding: 0; border: 0; background: linear-gradient(rgba(255, 253, 237, 0.3), rgba(255, 253, 237, 0.3)) center / 100% 2px no-repeat; cursor: pointer; }
.dots button[aria-pressed="true"] { background-image: linear-gradient(var(--gold), var(--gold)); }
.dots .pause { width: auto; background: none; color: var(--stone-light); font: 500 0.66rem/1 var(--body); letter-spacing: 0.2em; text-transform: uppercase; margin-left: 10px; }

/* ---------- process steps ---------- */
.steps { list-style: none; }
.steps li { display: grid; grid-template-columns: 88px 1fr; gap: 24px; padding-block: 28px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .n { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--gold-ink); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--stone); }
@media (max-width: 560px) { .steps li { grid-template-columns: 48px 1fr; gap: 14px; } .steps .n { font-size: 2rem; } }

.lifecycle { list-style: none; display: flex; flex-wrap: wrap; margin-top: 40px; border: 1px solid var(--line-light); }
.lifecycle li { flex: 1 1 150px; padding: 20px 18px; border-right: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 6px; }
.lifecycle li:last-child { border-right: 0; }
.lifecycle b { font-family: var(--display); font-weight: 500; font-size: 1.35rem; }
.lifecycle small { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 640px) { .lifecycle li { border-right: 0; border-bottom: 1px solid var(--line-light); } }

/* ---------- facts & gallery ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin: 0; }
.facts div { padding: 24px 20px 24px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.facts dt { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); font-weight: 500; }
.facts dd { margin: 0; font-family: var(--display); font-size: 1.35rem; line-height: 1.3; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 220px; gap: 12px; }
.gallery .media:first-child { grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .gallery .media:first-child { grid-column: span 2; grid-row: span 1; } }

/* ---------- leaders ---------- */
.leader { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.leader .media { aspect-ratio: 3 / 4; }
.leader .role { font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-ink); font-weight: 500; }
.leader p { color: var(--stone); }

/* ---------- faq ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 24px; }
.faq summary h3 { font-size: 1.4rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); font-weight: 300; color: var(--gold-ink); font-size: 1.6rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 24px; color: var(--stone); max-width: 65ch; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.enquiry .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .enquiry { grid-template-columns: 1fr; } }
.enquiry label { display: flex; flex-direction: column; gap: 8px; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; min-width: 0; }
input, select, textarea {
  font: 300 1rem/1.5 var(--body); color: var(--navy); background: transparent; border: 0; border-bottom: 1px solid rgba(29, 40, 64, 0.4);
  padding: 10px 0; border-radius: 0; width: 100%; letter-spacing: 0; text-transform: none; min-height: 44px;
}
select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231D2840'/%3E%3C/svg%3E") right 4px center no-repeat; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--gold-ink); box-shadow: 0 1px 0 var(--gold-ink); }
[aria-invalid="true"] { border-color: #9b2c2c; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: #9b2c2c; font-size: 0.82rem; letter-spacing: 0; text-transform: none; font-weight: 400; }
.err-light { color: #f2b8a0; font-size: 0.82rem; margin-top: 8px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.note { font-size: 0.85rem; color: var(--stone); }
.form-ok { padding: 32px; border: 1px solid var(--gold); background: var(--cream-warm); display: flex; flex-direction: column; gap: 10px; }
.info { display: flex; flex-direction: column; gap: 26px; margin: 0; }
.info dt { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); font-weight: 500; margin-bottom: 4px; }
.info dd { margin: 0; }
.map { display: flex; flex-direction: column; gap: 14px; }
.map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; }
.map-btn { aspect-ratio: 4 / 3; width: 100%; border: 1px solid var(--line); background: var(--cream-warm); color: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font: 400 1.05rem var(--body); }
.map-btn small { color: var(--stone); font-size: 0.8rem; }
.map-btn:hover { border-color: var(--gold-ink); }

/* ---------- cta band ---------- */
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { max-width: 20ch; }
.cta-band .btn { align-self: center; }

/* ---------- prose (legal / blog) ---------- */
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { font-size: 1.8rem; margin-top: 24px; }
.prose p, .prose li { color: var(--stone); }
.prose ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.notice { padding: 16px 20px; border-left: 2px solid var(--gold); background: var(--cream-warm); color: var(--navy); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--cream); padding-block: 72px calc(32px + env(safe-area-inset-bottom, 0px)); }
.ft { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 960px) { .ft { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ft { grid-template-columns: 1fr; } }
.ft-brand { display: flex; flex-direction: column; gap: 20px; }
.ft-brand img { width: 150px; height: auto; }
.ft-h { margin: 0 0 16px; font: 500 0.72rem/1 var(--body); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.ft-h2 { margin-top: 32px; }
.ft ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ft a { text-decoration: none; color: var(--stone-light); }
.ft a:hover { color: var(--cream); }
.ft p { color: var(--stone-light); font-size: 0.92rem; }
.ft address { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; }
.social { flex-direction: row !important; gap: 18px !important; text-transform: capitalize; }
.newsletter { margin-top: 14px; }
.newsletter-row { display: flex; border-bottom: 1px solid rgba(255, 253, 237, 0.35); }
.newsletter input { color: var(--cream); border: 0; }
.newsletter input::placeholder { color: var(--stone-light); }
.newsletter button { background: none; border: 0; color: var(--gold); font: 500 0.7rem/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; padding: 0 0 0 12px; min-height: 44px; }
.news-ok { color: var(--gold) !important; margin-top: 12px; }
.legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 253, 237, 0.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: var(--stone-light); }
.legal a { text-decoration: none; }
.legal a:hover { color: var(--cream); }

/* ---------- whatsapp ---------- */
.wa {
  position: fixed; z-index: 40; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--cream);
  box-shadow: 0 6px 20px rgba(21, 29, 48, 0.3); border: 1px solid var(--gold);
}
.wa:hover { background: var(--navy-soft); }

/* ---------- 404 ---------- */
.nf-links { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- additions for the plain HTML/PHP version ---------- */
[hidden] { display: none !important; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ft-line { display: block; color: var(--stone-light); }
.ft-line a { text-decoration: none; }
.info dd a { text-decoration: none; }
