/* ============================================================
   Fergus James — Bespoke Diamond Atelier, Dubai
   Quiet-luxury design system. Palette keyed to the brand logo:
   warm ivory ground, near-black charcoal, single 18K-gold accent,
   platinum-grey cool neutral.
   ============================================================ */

:root {
  /* Palette (from CLAUDE-DESIGN §5) */
  --bg:        #FBF9F5;   /* warm ivory page ground */
  --surface:   #FFFFFF;   /* cards / product grounds */
  --text:      #1C1B19;   /* near-black charcoal (logo mark) */
  --muted:     #6E6A63;   /* secondary text / captions */
  --primary:   #1C1B19;   /* dark sections / footer / primary UI */
  --secondary: #9AA0A6;   /* platinum / white-gold cool grey */
  --accent:    #B08D45;   /* soft champagne 18K-gold accent */
  --accent-deep:#9A7836;  /* darker gold for hover/contrast */
  --border:    #E7E1D7;   /* warm hairline borders */
  --focus:     #9A7836;   /* visible focus ring (>=3:1) */

  --ink-05: rgba(28,27,25,0.05);
  --ink-08: rgba(28,27,25,0.08);
  --ink-12: rgba(28,27,25,0.12);

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --sec-y: clamp(64px, 9vw, 132px);
  --radius: 2px;

  --shadow-sm: 0 1px 2px rgba(28,27,25,0.04);
  --shadow-md: 0 18px 50px -28px rgba(28,27,25,0.28);
  --shadow-lg: 0 40px 90px -40px rgba(28,27,25,0.40);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

/* ---------- type scale ---------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
  font-size: clamp(2.7rem, 7.5vw, 5.6rem);
}
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
.h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--accent);
}
.eyebrow.muted { color: var(--muted); }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); line-height: 1.7; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec-y); }
.center { text-align: center; }
.section-head { max-width: 620px; }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { display: block; margin-bottom: 18px; }
.section-head p { margin-top: 18px; }

.hairline { height: 1px; background: var(--border); border: 0; }
.rule-gold { width: 56px; height: 1px; background: var(--accent); border: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 500; font-size: 0.86rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 16px 30px; min-height: 52px; border-radius: var(--radius);
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #F7F4EE; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-gold { background: var(--accent); color: #fff; }
.btn-gold:hover { background: var(--accent-deep); }
.btn-outline { border: 1px solid var(--text); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-ghost-light { border: 1px solid rgba(255,255,255,0.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--text); border-color: #fff; }
.btn-wa { background: #1f8a4c; color: #fff; }
.btn-wa:hover { background: #176c3b; }
.btn:active { transform: translateY(1px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 500; font-size: 0.82rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text);
  padding-bottom: 4px; border-bottom: 1px solid var(--ink-12);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.link-arrow svg { transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--accent-deep); border-color: var(--accent); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.utility-bar {
  background: var(--primary); color: #cfcabf;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.utility-bar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.utility-bar a { transition: color .3s; }
.utility-bar a:hover { color: var(--accent); }
.utility-bar .u-right { display: flex; gap: 26px; align-items: center; }
.utility-bar .dot { color: var(--accent); }
@media (max-width: 720px) { .utility-bar .u-right { display: none; } .utility-bar .wrap { justify-content: center; } }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,249,245,0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 96px; transition: min-height .4s var(--ease);
}
.site-header.scrolled .nav { min-height: 76px; }
.nav-left { display: flex; gap: 34px; align-items: center; }
.nav-right { display: flex; gap: 22px; align-items: center; justify-content: flex-end; }
.nav-link {
  font-size: 0.82rem; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 500;
  color: var(--text); position: relative; padding: 6px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--accent); transition: width .35s var(--ease);
}
.nav-link:hover::after { width: 100%; }

.brand { justify-self: center; display: block; }
.brand img {
  height: 88px; width: auto; transition: height .4s var(--ease);
}
.site-header.scrolled .brand img { height: 68px; }

.nav-toggle, .nav-cta-mobile { display: none; }

/* mobile nav */
@media (max-width: 940px) {
  .nav { grid-template-columns: 44px 1fr 44px; min-height: 72px; }
  .site-header.scrolled .nav { min-height: 64px; }
  .nav-left, .nav-right { display: none; }
  .brand img { height: 60px; }
  .site-header.scrolled .brand img { height: 52px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; color: var(--text); justify-self: start;
  }
  .nav-cta-mobile {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; justify-self: end; color: var(--text);
  }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  display: flex; flex-direction: column;
  padding: 22px var(--gut) 40px;
  overflow-y: auto;
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; min-height: 60px; }
.mobile-menu-top img { height: 52px; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 30px; border-top: 1px solid var(--border); }
.mobile-menu nav a {
  font-family: var(--serif); font-size: 1.9rem; font-weight: 500;
  padding: 18px 0; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu nav a .idx { font-family: var(--sans); font-size: 0.7rem; color: var(--accent); letter-spacing: 0.2em; }
.mobile-menu .mm-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 34px; }
.mm-contact { margin-top: 30px; font-size: 0.85rem; color: var(--muted); letter-spacing: 0.04em; line-height: 2; }
.mm-contact a:hover { color: var(--accent-deep); }

.scrim { position: fixed; inset: 0; background: rgba(28,27,25,0.45); z-index: 70; opacity: 0; visibility: hidden; transition: opacity .4s; }
.scrim.show { opacity: 1; visibility: visible; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; }
.hero-media { position: relative; min-height: clamp(600px, 90vh, 900px); overflow: hidden; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(251,249,245,0.92) 0%, rgba(251,249,245,0.74) 34%, rgba(251,249,245,0.18) 62%, rgba(251,249,245,0) 88%);
}
.hero-inner {
  position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 2;
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-copy { max-width: 620px; }
.hero-copy .eyebrow { display: block; margin-bottom: 22px; }
.hero-copy .display { margin-bottom: 28px; font-size: clamp(2.5rem, 5.7vw, 4.7rem); line-height: 1.07; }
.hero-copy .display em { font-style: italic; color: var(--accent-deep); }
.hero-copy .lede { max-width: 480px; margin-bottom: 36px; color: #4a463f; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 26px; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.hero-note svg { color: var(--accent); flex-shrink: 0; }

@media (max-width: 860px) {
  .hero-media img { object-position: 56% center; }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(251,249,245,0.55) 0%, rgba(251,249,245,0.30) 32%, rgba(251,249,245,0.62) 70%, rgba(251,249,245,0.96) 100%);
  }
  .hero-inner { justify-content: flex-end; padding-bottom: 54px; }
  .hero-copy { max-width: 100%; }
  .hero-copy .lede { color: var(--muted); }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ============================================================
   GUARANTEE STRIP
   ============================================================ */
.guarantee { background: var(--surface); border-block: 1px solid var(--border); }
.guarantee .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.g-item {
  display: flex; align-items: center; gap: 16px;
  padding: 30px clamp(14px, 2.5vw, 34px);
  border-left: 1px solid var(--border);
}
.g-item:first-child { border-left: 0; }
.g-item svg { color: var(--accent); flex-shrink: 0; }
.g-item .g-title { font-family: var(--sans); font-weight: 500; font-size: 0.92rem; letter-spacing: 0.02em; }
.g-item .g-sub { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 760px) {
  .guarantee .wrap { grid-template-columns: 1fr 1fr; }
  .g-item { padding: 22px 16px; }
  .g-item:nth-child(odd) { border-left: 0; }
  .g-item:nth-child(3), .g-item:nth-child(4) { border-top: 1px solid var(--border); }
}
@media (max-width: 420px) { .g-item { gap: 12px; } .g-item svg { width: 26px; height: 26px; } }

/* ============================================================
   COLLECTIONS
   ============================================================ */
.collections-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.coll-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.coll-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); display: block; isolation: isolate;
}
.coll-card .media { position: relative; overflow: hidden; }
.coll-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.coll-card:hover img { transform: scale(1.05); }
.coll-card .media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,27,25,0) 38%, rgba(28,27,25,0.62) 100%);
}
.coll-card .label {
  position: absolute; z-index: 2; left: 0; bottom: 0; right: 0;
  padding: clamp(18px, 2.2vw, 30px); color: #fff;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
}
.coll-card .label .name { font-family: var(--serif); font-size: clamp(1.3rem, 1.9vw, 1.7rem); font-weight: 500; line-height: 1.1; }
.coll-card .label .meta { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.78); margin-top: 4px; }
.coll-card .enq {
  display: inline-flex; align-items: center; gap: 7px; font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease); flex-shrink: 0; padding-bottom: 2px;
}
.coll-card:hover .enq, .coll-card:focus-visible .enq { opacity: 1; transform: translateY(0); }
.coll-card .enq svg { color: var(--accent); }

/* spans */
.c-tall  { grid-column: span 6; aspect-ratio: 3 / 4; }
.c-wide  { grid-column: span 6; aspect-ratio: 1 / 1; }
.c-third { grid-column: span 4; aspect-ratio: 4 / 5; }
.coll-card .media, .coll-card img { height: 100%; }

@media (max-width: 860px) {
  .c-tall, .c-wide { grid-column: span 12; aspect-ratio: 4 / 3; }
  .c-third { grid-column: span 6; aspect-ratio: 3 / 4; }
}
@media (max-width: 520px) {
  .collections-head { flex-direction: column; align-items: flex-start; }
  .c-tall, .c-wide { aspect-ratio: 4 / 3; }
  .c-third { grid-column: span 6; aspect-ratio: 3 / 4; }
  .coll-card .enq { opacity: 1; transform: none; }
}

/* ============================================================
   RECENTLY MADE GALLERY
   ============================================================ */
.gallery-sec { background: var(--surface); border-block: 1px solid var(--border); }
.gallery-grid {
  margin-top: 48px;
  columns: 4; column-gap: clamp(12px, 1.6vw, 20px);
}
.gallery-grid figure {
  break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 20px);
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: #11100f; cursor: zoom-in;
}
.gallery-grid img { width: 100%; transition: transform 1s var(--ease), opacity .3s; }
.gallery-grid figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,16,15,0) 55%, rgba(17,16,15,0.55) 100%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery-grid figcaption {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 16px 18px;
  color: #fff; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gallery-grid figcaption svg { color: var(--accent); }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figure:hover::after, .gallery-grid figure:hover figcaption { opacity: 1; transform: translateY(0); }
@media (max-width: 1024px) { .gallery-grid { columns: 3; } }
@media (max-width: 680px)  { .gallery-grid { columns: 2; } .gallery-grid figcaption { opacity: 1; transform: none; font-size: 0.66rem; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(15,14,13,0.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 760px); max-height: 86vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lb-btn { position: absolute; top: 0; bottom: 0; width: 22%; display: flex; align-items: center; color: #fff; opacity: 0.7; transition: opacity .3s; }
.lb-btn:hover { opacity: 1; }
.lb-prev { left: 0; justify-content: flex-start; padding-left: clamp(8px, 3vw, 40px); }
.lb-next { right: 0; justify-content: flex-end; padding-right: clamp(8px, 3vw, 40px); }
.lb-close { position: absolute; top: 20px; right: 22px; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; color: #fff; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; }
.lb-close:hover { background: rgba(255,255,255,0.12); }
.lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.75); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; }
@media (max-width: 680px) { .lb-btn { width: 16%; } }

/* ============================================================
   BESPOKE PROCESS
   ============================================================ */
.bespoke-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 40px); margin-top: 56px; }
.step { position: relative; }
.step .num {
  font-family: var(--serif); font-size: 1rem; color: var(--accent); letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.step .num::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.step h3 { font-size: 1.45rem; margin-bottom: 10px; }
.step p { font-size: 0.95rem; color: var(--muted); }
.step .step-ico { color: var(--text); margin-bottom: 22px; }
@media (max-width: 860px) { .bespoke-grid { grid-template-columns: 1fr 1fr; gap: 32px 26px; } }
@media (max-width: 480px) { .bespoke-grid { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 26px 0; border-bottom: 1px solid var(--border); }
  .step:first-child { padding-top: 0; }
}
.bespoke-cta { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.turnaround-note { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.04em; }

/* ============================================================
   DIAMONDS EDUCATION
   ============================================================ */
.diamonds-sec { background: var(--primary); color: #EDE9E1; }
.diamonds-sec .eyebrow { color: var(--accent); }
.diamonds-sec .lede { color: #b6b1a7; }
.diamonds-sec .hairline { background: rgba(255,255,255,0.12); }
.dia-intro { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.dia-intro .dia-figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.dia-intro .dia-figure img { width: 100%; aspect-ratio: 5/4; object-fit: cover; object-position: center; }
.dia-intro .dia-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px;
  background: linear-gradient(180deg, rgba(17,16,15,0) 0%, rgba(17,16,15,0.82) 100%);
  color: #EDE9E1; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; align-items: center; gap: 9px;
}
.dia-intro .dia-figure figcaption svg { color: var(--accent); flex-shrink: 0; }
@media (max-width: 860px) { .dia-intro { grid-template-columns: 1fr; gap: 36px; }
  .dia-intro .dia-figure { order: -1; } }
.dia-shapes { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.4vw, 20px); margin-top: 52px; }
.dia-shape { text-align: center; }
.dia-shape .ph {
  aspect-ratio: 1; background: #2a2825; border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 14px;
}
.dia-shape img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.dia-shape:hover img { transform: scale(1.07); }
.dia-shape .nm { font-family: var(--serif); font-size: 1.15rem; }
.dia-shape .ct { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #9b968c; margin-top: 2px; }
@media (max-width: 720px) { .dia-shapes { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .dia-shape:last-child { grid-column: 1 / -1; max-width: 50%; margin-inline: auto; } }

.dia-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: 64px; }
.dia-fact h3 { color: #fff; font-size: 1.5rem; margin-bottom: 12px; }
.dia-fact p { color: #b6b1a7; font-size: 0.95rem; }
.dia-fact .tag { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
@media (max-width: 760px) { .dia-facts { grid-template-columns: 1fr; gap: 0; }
  .dia-fact { padding: 26px 0; border-top: 1px solid rgba(255,255,255,0.12); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.about-copy p + p { margin-top: 18px; }
.about-copy .lede { margin-bottom: 22px; color: var(--text); }
.aftercare { margin-top: 40px; }
.aftercare .eyebrow { display: block; margin-bottom: 16px; }
.aftercare ul { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.aftercare li {
  font-size: 0.8rem; letter-spacing: 0.06em; padding: 8px 16px;
  border: 1px solid var(--border); border-radius: 40px; color: var(--text); background: var(--surface);
}
.about-media { position: relative; }
.about-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-md); }
.about-media .badge {
  position: absolute; bottom: -22px; left: -22px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 26px;
  box-shadow: var(--shadow-md); max-width: 220px;
}
.about-media .badge .big { font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--accent-deep); }
.about-media .badge .sm { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; max-width: 460px; }
  .about-media .badge { left: auto; right: 12px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-sec { background: var(--surface); border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(32px, 5vw, 72px); }
.contact-info .detail { padding: 22px 0; border-bottom: 1px solid var(--border); display: flex; gap: 18px; align-items: flex-start; }
.contact-info .detail:first-of-type { border-top: 1px solid var(--border); }
.contact-info .detail svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.contact-info .detail .k { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-info .detail .v { font-size: 1.02rem; line-height: 1.5; }
.contact-info .detail .v a:hover { color: var(--accent-deep); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.map-ph {
  margin-top: 30px; position: relative; aspect-ratio: 16/7; border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  background:
    repeating-linear-gradient(45deg, #f1ede5 0 14px, #f6f2ea 14px 28px);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.map-ph .pin {
  display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--muted);
}
.map-ph .pin svg { color: var(--accent); }
.map-ph .pin .t { font-family: var(--serif); font-size: 1.25rem; color: var(--text); }
.map-ph .pin .s { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }

/* form */
.form-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); }
.form-card h3 { font-size: 1.75rem; margin-bottom: 6px; }
.form-card .form-sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.96rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 13px 15px; transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176,141,69,0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.form-actions .btn { width: 100%; }
.form-fine { font-size: 0.74rem; color: var(--muted); line-height: 1.6; margin-top: 6px; }
.form-success {
  display: none; text-align: center; padding: 20px;
  border: 1px solid var(--accent); border-radius: var(--radius); background: rgba(176,141,69,0.06); margin-top: 18px;
}
.form-success.show { display: block; }
.form-success .fs-title { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 6px; }
.form-success p { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; }
  .form-card { order: -1; } }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--primary); color: #b8b3a9; padding-top: clamp(56px, 7vw, 90px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 64px); }
.footer-brand img { height: 116px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; margin: -22px 0 0 -10px; }
.footer-brand p { font-size: 0.88rem; max-width: 280px; margin-top: 4px; color: #98938a; }
.footer-col h4 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; margin-bottom: 20px; font-weight: 500; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 0.9rem; transition: color .3s; }
.footer-col a:hover { color: var(--accent); }
.footer-contact .ln { font-size: 0.9rem; margin-bottom: 12px; line-height: 1.5; }
.footer-contact .ln a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #cfcabf; transition: all .3s; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-bottom { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255,255,255,0.10); padding: 26px 0 34px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.76rem; letter-spacing: 0.04em; color: #8f8a81; }
.footer-bottom .fb-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; } }

/* ============================================================
   MOBILE STICKY CTA + WHATSAPP FAB
   ============================================================ */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none; background: rgba(251,249,245,0.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-cta a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--radius); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.mobile-cta .m-call { border: 1px solid var(--text); color: var(--text); flex: 0 0 52px; }
.mobile-cta .m-wa { background: #1f8a4c; color: #fff; flex: 0 0 52px; }
.mobile-cta .m-book { background: var(--primary); color: #F7F4EE; }
@media (max-width: 940px) { .mobile-cta { display: flex; } body { padding-bottom: 72px; } }

.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 55;
  width: 60px; height: 60px; border-radius: 50%; background: #1f8a4c; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease), background .3s;
}
.wa-fab:hover { transform: scale(1.06); background: #176c3b; }
@media (max-width: 940px) { .wa-fab { display: none; } }

/* ============================================================
   reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
