/* ==========================================================================
   AUREA ESTUDIO CONTABLE — Luxury Editorial Design System
   Palette derived directly from the Aurea brushed-gold & parchment identity
   ========================================================================== */

:root {
  /* Palette */
  --bg-ivory: #f6f2ec;
  --bg-parchment: #efeae2;
  --bg-card: #fcfbf9;
  --bg-dark: #171513;
  --bg-dark-elevated: #211e1a;

  --ink-primary: #1a1714;
  --ink-secondary: #5c554c;
  --ink-muted: #847b70;
  --ink-light: #f5f1ea;
  --ink-light-muted: #b9b1a6;

  --gold: #b58f47;
  --gold-light: #d7ba7d;
  --gold-dark: #886729;
  --gold-soft: rgba(181, 143, 71, 0.14);
  --border-subtle: rgba(26, 23, 20, 0.09);
  --border-gold: rgba(181, 143, 71, 0.32);

  /* Typography */
  --font-display: 'Didot', 'Bodoni MT', 'Baskerville', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing & Layout */
  --container: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Shadows */
  --shadow-soft: 0 18px 45px -24px rgba(23, 21, 19, 0.18);
  --shadow-card: 0 24px 60px -28px rgba(23, 21, 19, 0.22);
  --shadow-gold: 0 16px 36px -18px rgba(181, 143, 71, 0.45);

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

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-primary);
  background-color: var(--bg-ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--bg-dark);
  color: var(--ink-light);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.topbar {
  background: var(--bg-dark);
  color: var(--ink-light-muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(215, 186, 125, 0.14);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
}

.topbar__info,
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar__item svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.7;
}

.topbar__sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.18);
}

.topbar__slash {
  opacity: 0.4;
}

.topbar__link {
  transition: color 0.25s var(--ease);
}

.topbar__link:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 242, 236, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header.is-scrolled {
  background: rgba(246, 242, 236, 0.96);
  box-shadow: 0 10px 30px -22px rgba(23, 21, 19, 0.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand__mark {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink-primary);
}

.brand__sub {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--gold-dark);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-secondary);
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--ink-primary);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--ink-primary);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* Mobile Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

.drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 21, 19, 0.55);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.drawer.is-open .drawer__backdrop {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 340px);
  height: 100%;
  background: var(--bg-ivory);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: -18px 0 45px rgba(0, 0, 0, 0.2);
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer__close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.drawer__close svg {
  width: 18px;
  height: 18px;
  stroke: var(--ink-primary);
  stroke-width: 1.8;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  padding-block: 1.75rem;
  gap: 0.4rem;
}

.drawer__link {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer__footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.drawer__meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Buttons & Eyebrows
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.82rem;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: var(--bg-dark);
  color: var(--ink-light);
  border-color: var(--bg-dark);
  box-shadow: 0 12px 26px -14px rgba(23, 21, 19, 0.6);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #27221d 0%, #171513 100%);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--ink-primary);
  border-color: rgba(26, 23, 20, 0.24);
}

.btn--outline:hover {
  border-color: var(--gold-dark);
  color: var(--gold-dark);
  background: rgba(181, 143, 71, 0.06);
  transform: translateY(-1px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  margin-bottom: 1.15rem;
}

.eyebrow__line {
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.eyebrow--gold {
  color: var(--gold-light);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding-block: 4.5rem 5.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(181, 143, 71, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(181, 143, 71, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 60% 40%, black 20%, transparent 78%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(215, 186, 125, 0.26) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 5vw, 4.45rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 1.4rem;
  color: var(--ink-primary);
}

.hero__title em {
  font-style: italic;
  color: var(--gold-dark);
  font-weight: 500;
}

.hero__lead {
  font-size: 1.08rem;
  color: var(--ink-secondary);
  max-width: 540px;
  margin: 0 0 2.2rem;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__metrics {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric__value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink-primary);
}

.metric__label {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 0.2rem;
}

.metric__divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

/* Brand Crest Frame */
.crest-frame {
  position: relative;
  background: var(--bg-parchment);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
}

.crest-frame__inner {
  position: relative;
  background: #f1ece5;
  border: 1px solid rgba(181, 143, 71, 0.35);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crest-frame__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gold);
  border-style: solid;
  pointer-events: none;
}

.crest-frame__corner--tl { top: 10px; left: 10px; border-width: 1.5px 0 0 1.5px; }
.crest-frame__corner--tr { top: 10px; right: 10px; border-width: 1.5px 1.5px 0 0; }
.crest-frame__corner--bl { bottom: 10px; left: 10px; border-width: 0 0 1.5px 1.5px; }
.crest-frame__corner--br { bottom: 10px; right: 10px; border-width: 0 1.5px 1.5px 0; }

.crest-frame__logo {
  width: 100%;
  max-width: 390px;
  height: auto;
  mix-blend-mode: multiply;
  filter: contrast(1.03);
}

.crest-badge {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark);
  color: var(--ink-light);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.62rem 1.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  border: 1px solid rgba(215, 186, 125, 0.35);
  box-shadow: 0 14px 28px -12px rgba(23, 21, 19, 0.55);
}

.crest-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
}

/* ==========================================================================
   Generic Section Layout
   ========================================================================== */
.section {
  padding-block: 6rem;
}

section[id] {
  scroll-margin-top: 86px;
}

.section__header {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.6vw, 3.25rem);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  color: var(--ink-primary);
}

.section__title em {
  font-style: italic;
  color: var(--gold-dark);
}

.section__title--light {
  color: var(--ink-light);
}

.section__title--light em {
  color: var(--gold-light);
}

.section__subtitle {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 1rem;
  max-width: 460px;
  justify-self: end;
}

.section__subtitle--light {
  color: var(--ink-light-muted);
}

/* ==========================================================================
   About / Presentación del Estudio
   ========================================================================== */
.section--about {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
}

.about__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: start;
}

.about__lead {
  font-size: 1.05rem;
  color: var(--ink-secondary);
  margin: 1.5rem 0 2rem;
}

.about__quote {
  margin: 0;
  padding: 1.5rem 1.75rem;
  background: var(--bg-ivory);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-primary);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  background: var(--bg-ivory);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-soft);
}

.pillar-card__num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.pillar-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  color: var(--ink-primary);
}

.pillar-card__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

/* Studio Gallery Showcase */
.studio-gallery {
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border-subtle);
}

.studio-gallery__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.studio-gallery__header .eyebrow {
  margin-bottom: 0;
}

.studio-gallery__location {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

.studio-gallery__grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 1.5rem;
}

.studio-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-ivory);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.studio-photo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.studio-photo__trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 370px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-dark);
  cursor: pointer;
}

.studio-photo__trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.03) saturate(0.95) sepia(0.05);
  transition: transform 0.65s var(--ease), filter 0.45s var(--ease);
}

.studio-photo:hover .studio-photo__trigger img {
  transform: scale(1.045);
  filter: contrast(1.04) saturate(1) sepia(0.02);
}

.studio-photo__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(23, 21, 19, 0.42) 100%);
  pointer-events: none;
}

.studio-photo__zoom {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  background: rgba(23, 21, 19, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(215, 186, 125, 0.4);
  color: var(--ink-light);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.studio-photo__zoom svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.8;
}

.studio-photo:hover .studio-photo__zoom {
  background: var(--bg-dark);
  transform: translateY(-1px);
}

.studio-photo__caption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 0.55rem 0.35rem;
  font-size: 0.86rem;
  color: var(--ink-secondary);
}

.studio-photo__tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-dark);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.section--services {
  background: var(--bg-ivory);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.62rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--ink-secondary);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--ink-primary);
}

.filter-btn.is-active {
  background: var(--bg-dark);
  color: var(--ink-light);
  border-color: var(--bg-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.55rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-soft);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card--featured {
  background: linear-gradient(180deg, #fcfaf6 0%, #f6efe3 100%);
  border-color: rgba(181, 143, 71, 0.34);
}

.service-card.is-hidden {
  display: none;
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold-soft);
  border: 1px solid rgba(181, 143, 71, 0.24);
  display: grid;
  place-items: center;
}

.service-card__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--gold-dark);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__index {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.7rem;
  color: var(--ink-primary);
}

.service-card__desc {
  margin: 0 0 1.25rem;
  font-size: 0.89rem;
  color: var(--ink-secondary);
  flex-grow: 1;
}

.service-card__tags {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-card__tags li {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold-dark);
  background: rgba(181, 143, 71, 0.11);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-primary);
  padding-top: 0.95rem;
  border-top: 1px solid var(--border-subtle);
  transition: color 0.25s var(--ease);
}

.service-card__cta svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 0.25s var(--ease);
}

.service-card__cta:hover {
  color: var(--gold-dark);
}

.service-card__cta:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Dark Methodology Band
   ========================================================================== */
.section--dark {
  background: var(--bg-dark);
  color: var(--ink-light);
  position: relative;
  overflow: hidden;
}

.section--dark::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 360px;
  background: radial-gradient(ellipse, rgba(181, 143, 71, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.step-item {
  background: var(--bg-dark-elevated);
  border: 1px solid rgba(215, 186, 125, 0.16);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.step-item:hover {
  border-color: rgba(215, 186, 125, 0.45);
  transform: translateY(-4px);
}

.step-item__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.step-item__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0 0 0.75rem;
  color: var(--ink-light);
}

.step-item__text {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-light-muted);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.section--contact {
  background: var(--bg-parchment);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2.25rem;
  align-items: stretch;
}

.contact-card {
  background: var(--bg-dark);
  color: var(--ink-light);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(215, 186, 125, 0.22);
  box-shadow: var(--shadow-card);
}

.contact-card__title {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 0.85rem;
}

.contact-card__lead {
  margin: 0 0 2.25rem;
  color: var(--ink-light-muted);
  font-size: 0.95rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.45rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(215, 186, 125, 0.1);
  border: 1px solid rgba(215, 186, 125, 0.22);
  display: grid;
  place-items: center;
}

.contact-item__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-item__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-light);
}

.contact-item__value {
  font-size: 0.98rem;
  color: var(--ink-light);
  transition: color 0.25s var(--ease);
}

a.contact-item__value:hover {
  color: var(--gold-light);
}

.contact-item__phones,
.contact-item__copy-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.contact-item__sep {
  color: var(--ink-light-muted);
  opacity: 0.5;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--gold-light);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.copy-btn:hover {
  background: rgba(215, 186, 125, 0.22);
}

.copy-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.contact-card__footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.contact-card__domain {
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.contact-card__sig {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-light-muted);
}

/* Form Card */
.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.form-card__title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 500;
  margin: 0 0 0.45rem;
  color: var(--ink-primary);
}

.form-card__subtitle {
  margin: 0 0 1.85rem;
  font-size: 0.93rem;
  color: var(--ink-secondary);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field__label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-primary);
}

.field__input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.93rem;
  color: var(--ink-primary);
  background: var(--bg-ivory);
  border: 1px solid rgba(26, 23, 20, 0.14);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.field__input:focus {
  background: #ffffff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(181, 143, 71, 0.16);
}

.field__input.is-invalid {
  border-color: #b44338;
  background: #fffaf9;
  box-shadow: 0 0 0 3px rgba(180, 67, 56, 0.12);
}

.field__input.is-highlighted {
  animation: goldPulse 1.4s var(--ease);
}

@keyframes goldPulse {
  0% { box-shadow: 0 0 0 0 rgba(181, 143, 71, 0.45); border-color: var(--gold); }
  50% { box-shadow: 0 0 0 6px rgba(181, 143, 71, 0.14); border-color: var(--gold); }
  100% { box-shadow: 0 0 0 0 rgba(181, 143, 71, 0); }
}

.field__textarea {
  resize: vertical;
  min-height: 112px;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.35rem;
}

.form__feedback {
  margin: 0;
  font-size: 0.86rem;
  min-height: 1.25rem;
  color: var(--gold-dark);
}

.form__feedback.is-error {
  color: #a93b32;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #110f0d;
  color: var(--ink-light-muted);
  padding-top: 4.5rem;
  border-top: 1px solid rgba(215, 186, 125, 0.16);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.15rem;
}

.footer__logo-wrap {
  width: 64px;
  height: 64px;
  padding: 0.35rem;
  background: #f2ede6;
  border-radius: 10px;
  border: 1px solid rgba(215, 186, 125, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink-light);
}

.footer__brand-sub {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold-light);
  margin-top: 3px;
}

.footer__desc {
  margin: 0;
  font-size: 0.88rem;
  max-width: 310px;
  line-height: 1.65;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink-light);
  margin: 0 0 1.1rem;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.86rem;
}

.footer__links a {
  transition: color 0.25s var(--ease);
}

.footer__links a:hover {
  color: var(--gold-light);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__bottom p {
  margin: 0;
}

.footer__domain {
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Floating WhatsApp Widget & Toast
   ========================================================================== */
.wa-widget {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.wa-widget__popover {
  width: 245px;
  background: var(--bg-dark);
  color: var(--ink-light);
  border-radius: var(--radius-md);
  border: 1px solid rgba(215, 186, 125, 0.32);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.wa-widget__popover.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-widget__header {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.wa-widget__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-light);
}

.wa-widget__hours {
  font-size: 0.72rem;
  color: var(--ink-light-muted);
}

.wa-widget__links {
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.wa-widget__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.wa-widget__option:hover {
  background: rgba(215, 186, 125, 0.14);
  border-color: rgba(215, 186, 125, 0.35);
}

.wa-widget__label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-light-muted);
}

.wa-widget__number {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-light);
}

.wa-widget__fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--gold-light);
  border: 1.5px solid var(--gold);
  box-shadow: 0 14px 32px rgba(23, 21, 19, 0.35);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.wa-widget__fab:hover {
  transform: translateY(-2px) scale(1.04);
  background: #231f1a;
}

.wa-widget__fab svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke: none;
  display: block;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 11, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1020px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  max-width: 100%;
}

.lightbox__img {
  max-height: 78vh;
  max-width: 100%;
  width: auto;
  border-radius: 10px;
  border: 1px solid rgba(215, 186, 125, 0.35);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
}

.lightbox__caption {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-light-muted);
  font-size: 0.88rem;
}

.lightbox__counter {
  color: var(--gold-light);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.lightbox__close,
.lightbox__nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(215, 186, 125, 0.35);
  background: rgba(23, 21, 19, 0.75);
  color: var(--ink-light);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--gold-dark);
  border-color: var(--gold-light);
}

.lightbox__close svg,
.lightbox__nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.lightbox__close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translate(-50%, 16px);
  background: var(--bg-dark);
  color: var(--ink-light);
  border: 1px solid var(--border-gold);
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-size: 0.84rem;
  opacity: 0;
  pointer-events: none;
  z-index: 300;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay { transition-delay: 0.14s; }
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__grid {
    gap: 2.75rem;
  }
}

@media (max-width: 920px) {
  .topbar {
    display: none;
  }

  .nav,
  .header__cta .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding-block: 3.25rem 4.5rem;
  }

  .hero__grid,
  .about__grid,
  .section__header,
  .steps-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section__subtitle {
    justify-self: start;
  }

  .crest-frame {
    max-width: 440px;
    margin-inline: auto;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.75rem, var(--container));
  }

  .section {
    padding-block: 4.25rem;
  }

  .pillars,
  .services-grid,
  .form__row,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .form-card {
    padding: 2rem 1.5rem;
  }

  .studio-gallery__grid {
    grid-template-columns: 1fr;
  }

  .studio-photo__trigger {
    height: 270px;
  }

  .lightbox__nav {
    position: fixed;
    bottom: 1.5rem;
  }

  .lightbox__nav--prev { left: 1.5rem; }
  .lightbox__nav--next { right: 1.5rem; }

  .crest-badge {
    font-size: 0.65rem;
    padding: 0.55rem 0.95rem;
    max-width: calc(100% - 1.5rem);
    white-space: normal;
    text-align: center;
  }

  .hero__metrics {
    gap: 1.15rem;
  }

  .metric__divider {
    display: none;
  }
}
