/* ==========================================================================
   DOURADO & POPOVIDIS ADVOGADOS — Design System
   ========================================================================== */

:root {
  /* Color — warm espresso-bronze ground pulled from the office's real wall &
     signage tones, with brass/antique-gold accents sampled from the actual logo photo */
  --charcoal:      #0F0B06;
  --charcoal-2:    #17110A;
  --charcoal-3:    #201808;
  --ivory:         #F2E9DA;
  --ivory-dim:     rgba(242, 233, 218, 0.66);
  --ivory-faint:   rgba(242, 233, 218, 0.40);
  --gold:          #C99A62;
  --gold-soft:     #E8C199;
  --gold-dim:      rgba(201, 154, 98, 0.45);
  --bronze:        #6E4A24;
  --line:          rgba(242, 233, 218, 0.10);
  --line-strong:   rgba(242, 233, 218, 0.18);
  --overlay:       rgba(15, 11, 6, 0.9);
  --ink:           #0F0B06; /* fixed dark ink for text sitting on gold fills, regardless of theme */

  /* Type */
  --f-display: 'Playfair Display', 'Cormorant Garamond', serif;
  --f-body: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Layout */
  --container: 1200px;
  --pad: clamp(24px, 5vw, 64px);
  --section-py: clamp(72px, 10vw, 132px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ivory);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0.01em;
  color: var(--ivory);
}

p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section { position: relative; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

/* ---- Utility type ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ivory-dim);
  font-weight: 400;
  max-width: 56ch;
}

/* ---- Buttons ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  font-family: var(--f-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 60%, var(--bronze));
  color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(201,154,98, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(201,154,98, 0.7); }
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: rgba(15, 11, 6, 0.5);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), padding 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(15, 11, 6, 0.9);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.35);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: 0.06em;
}
.brand img { height: 40px; width: auto; }
.brand span { color: var(--ivory); }
.brand small {
  display: block;
  font-family: var(--f-body);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: var(--gold-soft);
  font-weight: 600;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--ivory-dim);
  transition: color 0.35s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ivory); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .btn { padding: 12px 24px; font-size: 12px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 10px; right: 10px;
  height: 1px;
  background: var(--ivory);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links, .header-actions .btn-ghost-desktop { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--charcoal);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
    transform: translateY(-100%);
    transition: transform 0.55s var(--ease);
  }
  .mobile-nav.is-open { transform: translateY(0); }
  .mobile-nav a {
    font-family: var(--f-display);
    font-size: 30px;
    color: var(--ivory);
  }
  .mobile-nav .btn { margin-top: 10px; }
}
@media (min-width: 901px) { .mobile-nav { display: none; } }

/* ==========================================================================
   MONOGRAM WATERMARK (signature element)
   ========================================================================== */
.monogram-mark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  color: var(--gold);
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1;
  user-select: none;
  letter-spacing: -0.06em;
}

.ring-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto;
}
.ring-divider .line { width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong)); }
.ring-divider .line.r { background: linear-gradient(90deg, var(--line-strong), transparent); }
.ring-divider .ring {
  width: 12px; height: 12px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: relative;
}
.ring-divider .ring::after {
  content: '';
  position: absolute; inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: var(--section-py);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 82% 8%, rgba(201,154,98,0.14), transparent 60%),
    var(--charcoal);
}
.hero-emblem {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(52vw, 780px);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
  filter: saturate(0.9);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 700px; }
.hero-date {
  font-family: var(--f-body);
  font-size: 12.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
  display: block;
}
.hero h1 {
  font-size: clamp(32px, 5.4vw, 76px);
  line-height: 1.5;
  margin-bottom: 24px;
  padding-bottom: 10px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}
.hero .lede { margin-bottom: 38px; color: var(--ivory-dim); }
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.hero-scroll {
  position: absolute;
  right: var(--pad);
  bottom: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--ivory-faint);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
@media (max-width: 700px) {
  .hero-emblem { width: 78vw; opacity: 0.1; right: -20%; }
}
.hero-scroll .stem {
  writing-mode: horizontal-tb;
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: stemPulse 2.4s ease-in-out infinite;
}
@keyframes stemPulse { 0%,100% { opacity: 0.35; } 50% { opacity: 1; } }
@media (max-width: 700px) { .hero-scroll { display: none; } }

/* ==========================================================================
   MARQUEE / VALUES STRIP
   ========================================================================== */
.values-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--charcoal-2);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  display: flex;
  align-items: center;
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  padding: 0 34px;
  white-space: nowrap;
}
.marquee-track span::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-left: 34px;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 52px); margin-top: 16px; }
.section-head .lede { margin-top: 18px; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   PILLARS / DIFFERENTIALS
   ========================================================================== */
.section-pillars { padding: var(--section-py) 0; background: var(--charcoal); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar {
  background: var(--charcoal);
  padding: 42px 30px;
  transition: background-color 0.5s var(--ease);
}
.pillar:hover { background: var(--charcoal-2); }
.pillar .num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 26px;
  display: block;
}
.pillar h3 { font-size: 21px; margin-bottom: 12px; }
.pillar p { color: var(--ivory-dim); font-size: 14.5px; }
@media (max-width: 980px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   SERVICES PREVIEW (index) & SERVICES DETAIL (servicos.html)
   ========================================================================== */
.section-services { padding: var(--section-py) 0; background: var(--charcoal-2); position: relative; }
.services-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left 0.45s var(--ease);
}
a.service-row:hover { padding-left: 14px; }
.service-row .idx {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  color: var(--gold-dim);
}
.service-row h3 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 500; transition: color 0.4s var(--ease); }
a.service-row:hover h3 { color: var(--gold-soft); }
.service-row p { color: var(--ivory-dim); font-size: 14.5px; margin-top: 6px; max-width: 52ch; }
.service-row .arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background-color 0.45s var(--ease);
  flex-shrink: 0;
}
.service-row .arrow svg { width: 16px; height: 16px; stroke: var(--ivory); transition: stroke 0.4s var(--ease); }
a.service-row:hover .arrow { transform: rotate(45deg); border-color: var(--gold); background: var(--gold); }
a.service-row:hover .arrow svg { stroke: var(--ink); }
@media (max-width: 700px) {
  .service-row { grid-template-columns: 50px 1fr; }
  .service-row .arrow { display: none; }
}

/* Full service detail cards (servicos.html) */
.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 90px);
  padding: var(--section-py) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-detail:nth-of-type(even) { direction: rtl; }
.service-detail:nth-of-type(even) > * { direction: ltr; }
.service-detail .sd-head { position: sticky; top: 130px; }
.service-detail .sd-num {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 20px;
  display: block;
}
.service-detail h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 20px; }
.service-detail .sd-desc { color: var(--ivory-dim); margin-bottom: 30px; max-width: 46ch; }
.sd-points { list-style: none; margin: 0 0 34px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.sd-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ivory);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.sd-points li:last-child { border-bottom: none; padding-bottom: 0; }
.sd-points li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-of-type(even) { direction: ltr; }
  .service-detail .sd-head { position: static; }
}

/* ==========================================================================
   TEAM / ATTORNEYS
   ========================================================================== */
.section-team { padding: var(--section-py) 0; background: var(--charcoal); }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
}
.team-card {
  border: 1px solid var(--line);
  padding: 44px;
  position: relative;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.team-card:hover { border-color: var(--gold-dim); transform: translateY(-6px); }
.team-card .tc-photo {
  width: 88px; height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  margin-bottom: 24px;
}
.team-card .tc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-card .tc-role {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
}
.team-card h3 { font-size: clamp(26px, 3vw, 34px); margin: 14px 0 4px; }
.team-card .tc-oab { font-size: 13px; color: var(--ivory-faint); margin-bottom: 20px; display: block; }
.team-card p { color: var(--ivory-dim); font-size: 15px; }
.team-card .tc-quote {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--ivory-faint);
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
@media (max-width: 820px) { .team-grid { grid-template-columns: 1fr; } }

/* ---- Full attorney profile (sobre.html) ---- */
.attorney-profile {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 70px);
  padding: var(--section-py) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.attorney-profile:last-of-type { border-bottom: none; }
.attorney-profile:nth-of-type(even) { direction: rtl; }
.attorney-profile:nth-of-type(even) > * { direction: ltr; }
.attorney-photo {
  position: sticky;
  top: 130px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.attorney-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.attorney-body .tc-role {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
}
.attorney-body h2 { font-size: clamp(28px, 3.4vw, 44px); margin: 14px 0 6px; }
.attorney-body .tc-oab { display: block; font-size: 14px; color: var(--ivory-faint); margin-bottom: 26px; }
.attorney-body p { color: var(--ivory-dim); font-size: 15.5px; margin-bottom: 18px; }
.attorney-body p:last-of-type { margin-bottom: 0; }
.attorney-focus {
  list-style: none; margin: 22px 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.attorney-focus li {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  color: var(--ivory-dim);
}
.attorney-contact {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 28px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.attorney-contact a {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ivory);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.attorney-contact a:hover { border-color: var(--gold); color: var(--gold-soft); }
@media (max-width: 900px) {
  .attorney-profile { grid-template-columns: 1fr; }
  .attorney-profile:nth-of-type(even) { direction: ltr; }
  .attorney-photo { position: static; max-width: 340px; }
}

/* ---- Locations ---- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.location-card {
  border: 1px solid var(--line);
  padding: 36px 30px;
  text-align: center;
}
.location-card .lc-icon {
  width: 52px; height: 52px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
}
.location-card .lc-icon svg { width: 20px; height: 20px; stroke: var(--gold-soft); }
.location-card h3 { font-size: 19px; margin-bottom: 8px; }
.location-card p { color: var(--ivory-dim); font-size: 14px; }
.locations-note { text-align: center; max-width: 640px; margin: 44px auto 0; color: var(--ivory-dim); font-size: 14.5px; }
@media (max-width: 820px) { .locations-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   TESTIMONIAL / QUOTE BAND
   ========================================================================== */
.quote-band {
  padding: clamp(90px, 12vw, 150px) 0;
  background: var(--charcoal-3);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-band blockquote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(24px, 3.4vw, 42px);
  max-width: 900px;
  margin: 0 auto;
  color: var(--ivory);
  line-height: 1.4;
}
.quote-band cite {
  display: block;
  margin-top: 34px;
  font-style: normal;
  font-family: var(--f-body);
  font-size: 12.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ==========================================================================
   TIMELINE (sobre.html)
   ========================================================================== */
.section-timeline { padding: var(--section-py) 0; background: var(--charcoal-2); }
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 130px;
  top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line-strong);
}
.tl-item {
  display: grid;
  grid-template-columns: 110px 40px 1fr;
  gap: 0;
  padding-bottom: 56px;
  position: relative;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-year {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 20px;
  color: var(--gold-soft);
  padding-top: 2px;
}
.tl-dot-col { display: flex; justify-content: center; }
.tl-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--charcoal-2);
  border: 2px solid var(--gold);
  margin-top: 6px;
}
.tl-item h3 { font-size: 20px; margin-bottom: 10px; }
.tl-item p { color: var(--ivory-dim); font-size: 14.5px; max-width: 50ch; }
@media (max-width: 620px) {
  .timeline::before { left: 60px; }
  .tl-item { grid-template-columns: 40px 30px 1fr; }
  .tl-year { font-size: 15px; }
}

/* ==========================================================================
   VALUES GRID (sobre.html)
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.value-card { text-align: center; padding: 20px 12px; }
.value-card .vc-ring {
  width: 64px; height: 64px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--gold-soft);
}
.value-card h4 { font-size: 17px; margin-bottom: 8px; font-family: var(--f-body); font-weight: 700; letter-spacing: 0.02em; }
.value-card p { font-size: 13.5px; color: var(--ivory-dim); }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   OFFICE BANNER (image showcase)
   ========================================================================== */
.office-banner {
  position: relative;
  height: clamp(280px, 34vw, 480px);
  overflow: hidden;
}
.office-banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.office-banner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,11,6,0.1), rgba(15,11,6,0.55) 80%);
}

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  padding: clamp(80px, 10vw, 130px) 0;
  text-align: center;
  position: relative;
  background: var(--charcoal);
  border-top: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(30px, 4.4vw, 56px); max-width: 780px; margin: 20px auto 34px; }
.cta-band .lede { margin: 0 auto 40px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--charcoal-3);
  border-top: 1px solid var(--line);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 50px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--ivory-dim); font-size: 14px; max-width: 34ch; }
.footer-social {
  display: flex; align-items: center; gap: 12px;
  margin-top: 22px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.footer-social a svg { width: 16px !important; height: 16px !important; max-width: 16px; max-height: 16px; fill: var(--ivory-dim); transition: fill 0.35s var(--ease); }
.footer-social a:hover { border-color: var(--gold); background: var(--gold); }
.footer-social a:hover svg { fill: var(--ink); }
.footer-col h5 {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 22px;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.footer-col a, .footer-col span { color: var(--ivory-dim); font-size: 14.5px; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--ivory-faint);
}
.footer-bottom .oab { color: var(--ivory-faint); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--bronze));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(201,154,98,0.55);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08) translateY(-3px); box-shadow: 0 18px 36px -6px rgba(201,154,98,0.7); }
.whatsapp-float svg { width: 27px; height: 27px; fill: var(--ink); }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero {
  padding: 168px 0 var(--section-py);
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 68px); margin-top: 18px; max-width: 820px; }
.page-hero .lede { margin-top: 22px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ivory-faint); margin-top: 34px;
}
.breadcrumb a { color: var(--ivory-faint); transition: color 0.3s var(--ease); }
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb .sep { color: var(--gold-dim); }
.breadcrumb .current { color: var(--gold-soft); }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.section-contact { padding: var(--section-py) 0; background: var(--charcoal); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 100px);
}
.contact-info-card {
  border: 1px solid var(--line);
  padding: 44px;
}
.contact-info-card h3 { font-size: 26px; margin-bottom: 16px; }
.contact-info-card > p { color: var(--ivory-dim); margin-bottom: 34px; font-size: 15px; }
.contact-detail { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-detail:first-of-type { border-top: none; }
.contact-detail .ci-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border: 1px solid var(--gold-dim); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-detail .ci-icon svg { width: 18px; height: 18px; stroke: var(--gold-soft); }
.contact-detail h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 6px; font-family: var(--f-body); font-weight: 700; }
.contact-detail p, .contact-detail a { font-size: 15px; color: var(--ivory); }
.contact-detail a:hover { color: var(--gold-soft); }

.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; position: relative; }
.field label {
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ivory-faint); font-weight: 600;
}
.field input, .field select, .field textarea {
  background: var(--charcoal-2);
  border: 1px solid var(--line-strong);
  color: var(--ivory);
  font-family: var(--f-body);
  font-size: 15px;
  padding: 15px 16px;
  border-radius: 2px;
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease);
  width: 100%;
}
.field select { appearance: none; cursor: pointer; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--charcoal-3);
}
.field .err-msg {
  font-size: 12px; color: #E08A6B; min-height: 16px; display: none;
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #E08A6B; }
.field.has-error .err-msg { display: block; }
.form-note { font-size: 12.5px; color: var(--ivory-faint); }
.form-success {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--gold-dim);
  background: rgba(201,154,98,0.06);
  font-size: 14px;
  color: var(--ivory);
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 22px; height: 22px; stroke: var(--gold-soft); flex-shrink: 0; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   MAP
   ========================================================================== */
.map-wrap {
  border: 1px solid var(--line);
  filter: grayscale(0.5) invert(0.9) contrast(0.88) brightness(0.95);
  margin-top: 60px;
}
.map-wrap iframe { width: 100%; height: 380px; display: block; border: 0; }

/* ==========================================================================
   GALLERY / LIGHTBOX
   ========================================================================== */
.section-gallery { padding: var(--section-py) 0; background: var(--charcoal-2); }

.gallery-carousel { position: relative; }
.gallery-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item {
  position: relative;
  flex: 0 0 clamp(220px, 27vw, 320px);
  scroll-snap-align: start;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  background: var(--charcoal-3);
}
.gallery-item img {
  width: 100%; height: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,11,6,0.7));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .gi-zoom {
  position: absolute;
  right: 14px; bottom: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery-item:hover .gi-zoom { opacity: 1; transform: translateY(0); }
.gallery-item .gi-zoom svg { width: 16px; height: 16px; stroke: var(--ink); }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.carousel-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.carousel-btn:hover { border-color: var(--gold); background: rgba(201,154,98,0.1); }
.carousel-btn svg { width: 18px; height: 18px; stroke: var(--ivory); }
.carousel-dots { display: flex; gap: 9px; }
.carousel-dots .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background-color 0.35s var(--ease), transform 0.35s var(--ease);
  cursor: pointer;
}
.carousel-dots .dot.is-active { background: var(--gold); transform: scale(1.3); }

.gallery-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 50px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  flex-wrap: wrap;
  text-align: center;
}
.gallery-instagram p { color: var(--ivory-dim); font-size: 14.5px; }
.gallery-instagram strong { color: var(--ivory); }
.gallery-instagram a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px;
  border: 1px solid var(--gold-dim);
  color: var(--gold-soft);
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.gallery-instagram a:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.gallery-instagram a svg { width: 16px; height: 16px; }

@media (max-width: 560px) {
  .gallery-item { flex-basis: 74vw; }
}

.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(6, 4, 2, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox img {
  max-width: min(90vw, 720px);
  max-height: 86vh;
  width: auto; height: auto;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(15,11,6,0.6);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--gold); background: rgba(201,154,98,0.15); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 18px; height: 18px; stroke: var(--ivory); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lightbox { padding: 16px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.4s; }
[data-reveal-delay="6"] { transition-delay: 0.48s; }
