/* ==========================================================================
   Neetania Ventures - Stylesheet
   Palette: emerald #063D2B, gold #D6AC43, white, charcoal #17271C
   No gradients. Solid colours only.
   ========================================================================== */

:root {
  --emerald: #063D2B;
  --emerald-deep: #042A1E;
  --emerald-soft: #0B4C37;
  --gold: #D6AC43;
  --gold-dark: #7D5F0B;      /* gold for text on light backgrounds (AA contrast) */
  --white: #FFFFFF;
  --charcoal: #17271C;
  --ivory: #F5F3EC;
  --stone: #E4E1D6;
  --photo-bg: #101C14;
  --line: rgba(23, 39, 28, 0.16);
  --line-light: rgba(255, 255, 255, 0.18);
  --muted: #4A5A4F;

  --serif: "Cormorant Garamond", "Playfair Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 76px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.14; margin: 0 0 .6em; color: var(--emerald); letter-spacing: .005em; }
h1 { font-size: clamp(2rem, 4vw, 3.15rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; max-width: 68ch; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 300;
  background: var(--gold); color: var(--emerald); padding: .7rem 1.1rem; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.bg-ivory { background: var(--ivory); }
.bg-emerald { background: var(--emerald); color: var(--white); }
.bg-charcoal { background: var(--charcoal); color: var(--white); }
.bg-emerald h1, .bg-emerald h2, .bg-emerald h3, .bg-emerald h4,
.bg-charcoal h1, .bg-charcoal h2, .bg-charcoal h3, .bg-charcoal h4 { color: var(--white); }

.eyebrow { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 1rem; }
.bg-emerald .eyebrow, .bg-charcoal .eyebrow, .on-dark .eyebrow { color: var(--gold); }
.rule { display: block; width: 56px; height: 2px; background: var(--gold); border: 0; margin: 0 0 1.5rem; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); }
.bg-emerald .lead, .bg-charcoal .lead, .on-dark .lead { color: rgba(255,255,255,.82); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p, .section-head.center .rule { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .8rem 1.6rem;
  font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; text-align: center;
  border: 1.5px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold); color: var(--emerald-deep); border-color: var(--gold); }
.btn-gold:hover { background: var(--white); border-color: var(--white); }
.btn-emerald { background: var(--emerald); color: var(--white); border-color: var(--emerald); }
.btn-emerald:hover { background: var(--gold); border-color: var(--gold); color: var(--emerald-deep); }
.btn-outline { background: transparent; color: var(--emerald); border-color: var(--emerald); }
.btn-outline:hover { background: var(--emerald); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: var(--white); color: var(--emerald); border-color: var(--white); }
.btn-sm { min-height: 44px; padding: .6rem 1.1rem; font-size: .76rem; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--emerald); color: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled { border-bottom-color: rgba(214, 172, 67, .45); box-shadow: 0 6px 18px rgba(4, 42, 30, .28); }
.nav-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; flex: none; }
.brand img { width: 56px; height: 56px; }
.brand-text { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; letter-spacing: .14em; line-height: 1.05; color: var(--gold); }
.brand-text small { display: block; font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .26em; color: var(--white); margin-top: .3rem; }
.nav-links { display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 1.8rem); }
.nav-links a:not(.btn) {
  position: relative; text-decoration: none; font-size: .88rem; font-weight: 500; letter-spacing: .03em; padding: .6rem 0; color: rgba(255,255,255,.9);
  transition: color .2s ease;
}
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links .btn { margin-left: .4rem; }
.nav-toggle { display: none; width: 48px; height: 48px; background: transparent; border: 1.5px solid rgba(255,255,255,.5); border-radius: var(--radius); color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .3s ease, background-color .3s ease; }
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--emerald); padding: .5rem var(--gutter) 1.5rem;
    border-top: 1px solid var(--line-light); border-bottom: 2px solid var(--gold);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s ease, transform .3s ease, visibility 0s; }
  .nav-links a:not(.btn) { padding: 1rem 0; font-size: 1rem; border-bottom: 1px solid var(--line-light); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--gold); }
  .nav-links .btn { margin: 1.25rem 0 0; }
}
@media (max-width: 420px) {
  .brand img { width: 48px; height: 48px; }
  .brand-text { font-size: 1.05rem; letter-spacing: .1em; }
  .brand-text small { font-size: .54rem; letter-spacing: .2em; }
}

/* ---------- Hero ---------- */
.hero { background: var(--emerald); color: var(--white); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(1.95rem, 3.7vw, 3.05rem); letter-spacing: .02em; line-height: 1.16; margin-bottom: 1.2rem; }
.hero .lead { margin-bottom: 2rem; }
.hero-media { position: relative; }
.hero-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--gold); pointer-events: none; z-index: -1; }
.hero-photo { position: relative; isolation: isolate; display: block; background: var(--photo-bg); aspect-ratio: 1080 / 614; }
.hero-photo img { width: 100%; height: 100%; object-fit: contain; }
.hero-caption { position: relative; margin-top: 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.82); }
.hero-caption a { color: var(--gold); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.hero-caption a:hover { color: var(--white); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; margin-right: 18px; }
  .hero-photo::before { inset: 12px -12px -12px 12px; }
  .hero-caption { margin-top: 1.5rem; }
}
@media (max-width: 520px) { .hero .btn-row .btn { width: 100%; } }

/* page banner (inner pages) */
.page-banner { background: var(--emerald); color: var(--white); padding-block: clamp(2.75rem, 6vw, 4.5rem); border-bottom: 3px solid var(--gold); }
.page-banner h1 { color: var(--white); margin-bottom: .5rem; }
.page-banner p { color: rgba(255,255,255,.85); margin: 0; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; margin-bottom: 1.2rem; color: rgba(255,255,255,.75); }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin-inline: .5rem; }

/* ---------- Category band ---------- */
.cat-band { background: var(--white); border-bottom: 1px solid var(--line); }
.cat-band ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.cat-band li + li { border-left: 1px solid var(--line); }
.cat-band a { display: block; padding: 1.4rem 1rem; text-align: center; text-decoration: none; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--emerald); transition: background-color .25s ease, color .25s ease; }
.cat-band a:hover { background: var(--emerald); color: var(--gold); }
@media (max-width: 700px) {
  .cat-band ul { grid-template-columns: repeat(2, 1fr); }
  .cat-band li:nth-child(3), .cat-band li:nth-child(4) { border-top: 1px solid var(--line); }
  .cat-band li:nth-child(3) { border-left: 0; }
}

/* ---------- About intro ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.logo-frame { justify-self: center; width: min(100%, 380px); border: 1.5px solid var(--gold); padding: 10px; background: var(--white); }
.logo-frame img { width: 100%; height: auto; }
.values-list { margin-top: 1.75rem; display: grid; gap: .75rem; }
.values-list li { display: flex; gap: .9rem; align-items: baseline; padding-bottom: .75rem; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--emerald); }
.values-list li::before { content: ""; width: 9px; height: 9px; background: var(--gold); flex: none; transform: translateY(-1px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .logo-frame { width: min(100%, 320px); order: -1; } }

.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 2px solid var(--gold); }
.value { padding: 1.75rem 1.4rem 1.75rem 0; }
.value + .value { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.value h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.value p { font-size: .95rem; color: var(--muted); margin: 0; }
@media (max-width: 1000px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value, .value + .value { padding: 1.5rem 1rem 1.5rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- Property cards ---------- */
.prop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.prop-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.prop-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(23, 39, 28, .14); border-color: var(--gold); }
.frame { position: relative; display: block; background: var(--photo-bg); width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: contain; }
.frame-badge { position: absolute; top: 0; left: 0; z-index: 2; background: var(--gold); color: var(--emerald-deep); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .55rem .9rem; }
.frame-badge.alert { background: var(--white); color: #7A1414; border-bottom: 3px solid #7A1414; }
.prop-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.prop-cat { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 .5rem; }
.prop-body h3 { margin-bottom: .35rem; }
.prop-body h3 a { text-decoration: none; }
.prop-body h3 a:hover { color: var(--charcoal); }
.prop-loc { font-size: .92rem; color: var(--muted); margin: 0 0 1rem; display: flex; align-items: center; gap: .4rem; }
.prop-loc svg { width: 16px; height: 16px; color: var(--gold-dark); flex: none; }
.prop-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 1.15rem; }
.prop-facts li { padding: .7rem .6rem .7rem 0; font-size: .9rem; font-weight: 600; color: var(--emerald); line-height: 1.35; }
.prop-facts li:nth-child(even) { padding-left: .9rem; border-left: 1px solid var(--line); }
.prop-facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
.prop-desc { font-size: .95rem; color: var(--muted); }
.prop-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .7rem; padding-top: .4rem; }
.prop-actions .btn { flex: 1 1 auto; }
@media (max-width: 860px) { .prop-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .prop-body { padding: 1.25rem 1.1rem 1.4rem; } .prop-actions .btn { width: 100%; } }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.25rem; }
.filter-btn { min-height: 46px; padding: .6rem 1.2rem; font: 600 .85rem var(--sans); letter-spacing: .04em; background: var(--white); color: var(--emerald); border: 1.5px solid var(--emerald); border-radius: var(--radius); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.filter-btn:hover { background: var(--stone); }
.filter-btn[aria-pressed="true"] { background: var(--emerald); color: var(--gold); }
.filter-status { font-size: .95rem; color: var(--muted); margin: -1rem 0 1.75rem; }
.empty-state { padding: 2.5rem; border: 1px dashed var(--line); text-align: center; }
.prop-card[hidden] { display: none; }

/* ---------- Why choose ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.why-item { border-top: 2px solid var(--gold); padding-top: 1.4rem; }
.why-item h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.why-item p { color: rgba(255,255,255,.82); font-size: .98rem; margin: 0; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Investment band ---------- */
.invest { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.invest-panel { background: var(--emerald); color: var(--white); padding: clamp(1.75rem, 4vw, 2.75rem); border-left: 4px solid var(--gold); }
.invest-panel h3 { color: var(--white); font-size: 1.5rem; }
.invest-panel li { padding: .85rem 0; border-bottom: 1px solid var(--line-light); font-weight: 500; }
.invest-panel li:last-child { border-bottom: 0; }
@media (max-width: 860px) { .invest { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--emerald-deep); color: var(--white); text-align: center; padding-block: clamp(3rem, 6vw, 4.5rem); border-top: 3px solid var(--gold); }
.cta-band h2 { color: var(--white); max-width: 22ch; margin-inline: auto; }
.cta-band p { margin-inline: auto; color: rgba(255,255,255,.82); }
.cta-band .btn-row { justify-content: center; }

/* ---------- Property detail ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(1.75rem, 4vw, 3.25rem); align-items: start; }
.gallery-main { position: relative; display: block; width: 100%; background: var(--photo-bg); aspect-ratio: var(--ar, 4 / 3); max-height: 82vh; border: 0; padding: 0; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main .zoom-hint { position: absolute; right: 12px; bottom: 12px; background: rgba(4, 42, 30, .88); color: var(--white); font-size: .78rem; font-weight: 600; letter-spacing: .06em; padding: .45rem .8rem; }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .6rem; flex-wrap: wrap; }
.gallery-thumbs button { width: 84px; height: 64px; padding: 0; background: var(--photo-bg); border: 2px solid transparent; cursor: pointer; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery-note { font-size: .82rem; color: var(--muted); margin: .7rem 0 0; }
.side-panel { position: sticky; top: calc(var(--header-h) + 20px); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); padding: 1.75rem; }
.side-panel .price-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; margin: 0 0 .25rem; }
.side-panel .price { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 700; color: var(--emerald); line-height: 1.1; margin: 0 0 .35rem; }
.side-panel .price-note { font-size: .9rem; color: var(--muted); margin: 0 0 1.25rem; }
.side-panel .btn { margin-bottom: .7rem; }
.notice { border: 1.5px solid #7A1414; background: #FBF3F3; color: #5A0F0F; padding: 1.1rem 1.25rem; margin-bottom: 2rem; font-size: .98rem; }
.notice strong { display: block; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: .3rem; }
.notice p { margin: 0; }
.detail-section { margin-top: clamp(2rem, 4vw, 3rem); }
.spec { width: 100%; border-collapse: collapse; font-size: .98rem; }
.spec th, .spec td { text-align: left; padding: .85rem 1rem .85rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; font-weight: 600; color: var(--emerald); }
.check-list { display: grid; gap: .6rem; }
.check-list li { display: flex; gap: .75rem; align-items: baseline; }
.check-list li::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--gold); transform: translateY(-1px); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { padding: .55rem 1rem; border: 1.5px solid var(--emerald); font-weight: 600; font-size: .92rem; color: var(--emerald); }
@media (max-width: 960px) { .detail-grid { grid-template-columns: 1fr; } .side-panel { position: static; } }
@media (max-width: 520px) { .spec th, .spec td { display: block; width: 100%; padding: .2rem 0; border: 0; } .spec tr { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(4, 18, 12, .96); display: none; align-items: center; justify-content: center; padding: 3.5rem 1rem 1rem; }
.lightbox.open { display: flex; animation: fade .25s ease; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox-close { position: absolute; top: .75rem; right: .75rem; width: 48px; height: 48px; background: var(--gold); color: var(--emerald-deep); border: 0; font-size: 1.6rem; line-height: 1; font-weight: 700; cursor: pointer; }
.lightbox-close:hover { background: var(--white); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1rem; }
.contact-item svg { width: 24px; height: 24px; color: var(--gold-dark); flex: none; margin-top: .2rem; }
.contact-item h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .3rem; }
.contact-item p { margin: 0; }
.contact-item a { text-decoration: none; font-weight: 600; font-size: 1.1rem; color: var(--emerald); display: inline-block; padding: .15rem 0; border-bottom: 1px solid transparent; word-break: break-word; }
.contact-item a:hover { border-bottom-color: var(--gold); }
.form-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; color: var(--emerald); }
.field .req { color: #8A1A1A; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem; font: inherit; color: var(--charcoal); background: var(--white);
  border: 1.5px solid #8A958D; border-radius: var(--radius); transition: border-color .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(214, 172, 67, .55); border-color: var(--emerald); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #8A1A1A; }
.field-error { display: none; color: #8A1A1A; font-size: .86rem; margin-top: .35rem; font-weight: 600; }
.field.invalid .field-error { display: block; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: .5rem; }
.form-hint { font-size: .86rem; color: var(--muted); margin: 1rem 0 0; }
.form-feedback { display: none; margin-top: 1.25rem; padding: 1rem 1.2rem; border-left: 4px solid var(--emerald); background: #EEF4EF; font-size: .96rem; }
.form-feedback.show { display: block; animation: fade .3s ease; }
.form-feedback.error { border-left-color: #8A1A1A; background: #FBF3F3; color: #5A0F0F; }
.form-feedback a { font-weight: 700; color: var(--emerald); }
.wa-buttons { display: grid; gap: .7rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row, .form-actions { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--emerald-deep); color: rgba(255,255,255,.85); padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 4px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.2fr; gap: clamp(1.75rem, 3vw, 3rem); padding-bottom: 3rem; }
.footer-brand img { width: 150px; height: 150px; margin-bottom: 1.1rem; }
.footer-brand .name { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: .12em; color: var(--gold); margin: 0 0 .3rem; }
.footer-brand .tagline { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--white); margin: 0; }
.site-footer h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.site-footer li { margin-bottom: .2rem; }
.site-footer a { text-decoration: none; display: inline-block; padding: .35rem 0; transition: color .2s ease; }
.site-footer a:hover { color: var(--gold); }
.footer-contact p { margin: 0 0 .5rem; font-size: .95rem; }
.footer-contact a { word-break: break-word; }
.footer-bottom { border-top: 1px solid var(--line-light); padding-block: 1.4rem; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }
.footer-bottom p { margin: 0; max-width: none; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; width: 48px; height: 48px; background: var(--gold); color: var(--emerald-deep); border: 0; border-radius: var(--radius); cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s, background-color .2s ease; }
.to-top svg { width: 20px; height: 20px; }
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .3s ease, visibility 0s, background-color .2s ease; }
.to-top:hover { background: var(--white); box-shadow: 0 0 0 2px var(--emerald); }

/* ---------- Motion ---------- */
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  body { animation: fade .4s ease; }
  .hero-copy > * { animation: rise .8s ease both; }
  .hero-copy > :nth-child(2) { animation-delay: .1s; }
  .hero-copy > :nth-child(3) { animation-delay: .2s; }
  .hero-copy > :nth-child(4) { animation-delay: .3s; }
  .hero-media { animation: rise .9s ease .2s both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 5rem; }
.error-page p { margin-inline: auto; }

@media print { .site-header, .to-top, .nav-toggle { display: none; } }
