/* ================================================================
   LEX BUFETE — "The Great Court"
   A refined, luxury-editorial law firm design system
   Fonts: Cormorant Garamond (display) + EB Garamond (body)
   ================================================================ */

/* ── Token Override (beats GadgetFix * selector) ─────────────── */
:root {
  --gold:             #C09040;
  --gold-bright:      #D4A855;
  --gold-pale:        rgba(192, 144, 64, 0.10);
  --gold-border:      rgba(192, 144, 64, 0.20);
  --bg:               #0D0C09;
  --surface:          #101009;
  --card:             #16140D;
  --cream:            #EAE4D6;
  --cream-mid:        rgba(234, 228, 214, 0.58);
  --cream-low:        rgba(234, 228, 214, 0.28);
  --text:             #E2DAC8;
  --text-mid:         rgba(226, 218, 200, 0.60);
  --text-low:         rgba(226, 218, 200, 0.32);

  /* Override GadgetFix colour scheme */
  --primary-color:       #8B6A30;
  --primary-color-rgb:   139, 106, 48;
  --secondary-color:     #C09040;
  --secondary-color-rgb: 192, 144, 64;
  --tertiary-color:      #D4A855;
  --tertiary-color-rgb:  212, 168, 85;

  /* GadgetFix dark bg tokens */
  --bg-dark-1: #0D0C09;
  --bg-dark-2: #16140D;
  --bg-dark-3: #1C1A11;
  --heading-font: 'Cormorant Garamond', 'Times New Roman', serif;
  --body-font:    'EB Garamond', Georgia, serif;
  --heading-font-color: #EAE4D6;
  --body-font-color:    rgba(226,218,200,0.60);
  --body-font-color-dark: rgba(226,218,200,0.60);
}

/* ── Global reset / base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 17px;
  line-height: 1.82;
  -webkit-font-smoothing: antialiased;
}

/* Grain texture — film-grain feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.038;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: overlay;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-border); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.14;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(3rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.1rem; }

p { color: var(--text-mid); font-size: 16px; line-height: 1.88; }

/* Section tag */
.subtitle, .subtitle.s2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  padding: 0;
  border-radius: 0;
  display: block;
}

/* ── Decorative elements ────────────────────────────────────── */
.gold-rule-v {
  display: block;
  width: 1px;
  height: 70px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto 2.5rem;
}
.gold-rule-h {
  display: block;
  height: 1px;
  background: var(--gold-border);
  width: 100%;
}

/* ── Nav CTA button ─────────────────────────────────────────── */
.btn-topbar.bg-color {
  background: transparent !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 0;
  transition: all 0.35s;
}
.btn-topbar.bg-color:hover {
  background: var(--gold) !important;
  color: var(--bg) !important;
}

/* ── Logo image ─────────────────────────────────────────────── */
.lex-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 48px;
  margin-bottom: 1.25rem;
}

/* ── Header / Navigation ────────────────────────────────────── */
header {
  transition: background 0.4s, border-color 0.4s;
}
header.sticky, header.header-scrolled {
  background: rgba(13, 12, 9, 0.96) !important;
  border-bottom: 1px solid var(--gold-border) !important;
  backdrop-filter: blur(24px);
}
/* .smaller is added by designesia.js on scroll — override the teal --bg-dark-1 */
header.smaller {
  background: #16140D !important;
  border-bottom: 1px solid var(--gold-border) !important;
  backdrop-filter: blur(20px) !important;
}

/* Logo */
.lex-logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.lex-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
}
.lex-logo-name em { color: var(--gold); font-style: normal; }
.lex-logo-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--text-low);
  margin-top: 3px;
}

/* Main menu */
#mainmenu > li > a.menu-item {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 14px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--cream-mid) !important;
  font-weight: 400 !important;
  transition: color 0.3s !important;
  position: relative;
}
#mainmenu > li > a.menu-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
#mainmenu > li:hover > a.menu-item::after { width: 100%; }
#mainmenu > li > a.menu-item:hover { color: var(--cream) !important; }

/* Dropdown */
#mainmenu ul {
  background: rgba(10, 10, 7, 0.98) !important;
  border: 1px solid var(--gold-border) !important;
  border-top: 2px solid var(--gold) !important;
  border-radius: 0 !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6) !important;
}
#mainmenu ul li a {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 14px !important;
  letter-spacing: 0.14em !important;
  color: var(--cream-mid) !important;
  transition: color 0.2s, padding-left 0.2s !important;
}
#mainmenu ul li a:hover {
  color: var(--gold) !important;
  padding-left: 2rem !important;
  background: transparent !important;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-main {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 13px !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  background: var(--gold) !important;
  color: var(--bg) !important;
  border: 1px solid var(--gold) !important;
  border-radius: 0 !important;
  padding: 13px 30px !important;
  transition: all 0.4s ease !important;
}
.btn-main span { color: inherit !important; }
.btn-main:hover {
  background: transparent !important;
  color: var(--gold) !important;
}
.btn-main.btn-line {
  background: transparent !important;
  color: var(--cream-mid) !important;
  border-color: rgba(234,228,214,0.35) !important;
}
.btn-main.btn-line:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}
.btn-plus {
  color: var(--gold) !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.btn-plus i { color: var(--gold) !important; border-color: var(--gold-border) !important; border-radius: 0 !important; }

/* ── Hero ───────────────────────────────────────────────────── */
#hero-section { position: relative; }

/* Backgrounds — pure CSS, no images */
.hero-bg-1 { background: radial-gradient(ellipse at 12% 75%, #1c1508 0%, var(--bg) 62%); }
.hero-bg-2 { background: radial-gradient(ellipse at 88% 30%, #150e08 0%, var(--bg) 62%); }
.hero-bg-3 { background: radial-gradient(ellipse at 50% 20%, #0e111a 0%, var(--bg) 65%); }

/* Animated gold bar at bottom of hero */
.swiper-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 40%, var(--gold) 60%, transparent 100%);
  opacity: 0.35;
}

/* Decorative large § watermark */
.hero-deco {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(280px, 32vw, 480px);
  line-height: 1;
  color: var(--gold);
  opacity: 0.038;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
}

/* Slide content animations — trigger on active class set by Swiper */
.swiper-slide .hero-eyebrow,
.swiper-slide .hero-title,
.swiper-slide .hero-body,
.swiper-slide .hero-actions {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
}
.swiper-slide .hero-rule {
  width: 0;
  transition: width 0.9s ease;
  transition-delay: 0.5s;
}
.swiper-slide.swiper-slide-active .hero-eyebrow { opacity:1; transform:none; transition-delay:0.15s; }
.swiper-slide.swiper-slide-active .hero-title   { opacity:1; transform:none; transition-delay:0.3s; }
.swiper-slide.swiper-slide-active .hero-rule    { width: 64px; }
.swiper-slide.swiper-slide-active .hero-body    { opacity:1; transform:none; transition-delay:0.65s; }
.swiper-slide.swiper-slide-active .hero-actions { opacity:1; transform:none; transition-delay:0.82s; }

.hero-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.75rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 0;
}
.hero-title strong {
  display: block;
  font-style: normal;
  font-weight: 700;
}
.hero-rule {
  display: block;
  height: 1px;
  background: var(--gold);
  margin: 2rem 0;
}
.hero-body {
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  color: var(--cream-mid);
  max-width: 460px;
  line-height: 1.92;
}
.hero-actions { display:flex; gap:1rem; flex-wrap:wrap; margin-top:2.5rem; }

/* Swiper controls */
.swiper-button-prev, .swiper-button-next {
  color: var(--gold) !important;
  width: 44px !important;
  height: 44px !important;
  border: 1px solid var(--gold-border) !important;
  background: rgba(13,12,9,0.65) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 0 !important;
  transition: all 0.3s !important;
}
.swiper-button-prev:hover, .swiper-button-next:hover {
  background: rgba(192,144,64,0.15) !important;
  border-color: var(--gold) !important;
}
.swiper-button-prev::after, .swiper-button-next::after { font-size: 14px !important; }

.swiper-pagination-bullet {
  background: var(--gold-border) !important;
  opacity: 1 !important;
  width: 28px !important;
  height: 2px !important;
  border-radius: 0 !important;
  transition: width 0.3s !important;
}
.swiper-pagination-bullet-active {
  background: var(--gold) !important;
  width: 48px !important;
}

/* ── Global left-align for titles & headliners ──────────────── */
h1, h2, h3, h4, h5, h6 { text-align: left; }
.subtitle, .subtitle.s2 { text-align: left; }

/* ── Practice Area Cards ────────────────────────────────────── */
.areas-wrap { margin-top: -90px; position: relative; z-index: 10; }

.practice-card {
  background: var(--card);
  border: 1px solid var(--gold-border);
  border-top: 2px solid var(--gold);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.38s ease, box-shadow 0.38s ease;
  height: 100%;
}
.practice-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(192,144,64,0.05) 0%, transparent 55%);
  pointer-events: none;
}
.practice-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 72px rgba(0,0,0,0.7), 0 0 0 1px var(--gold-border);
}

/* Roman numeral watermark */
.pcard-roman {
  position: absolute;
  bottom: -0.5rem;
  right: 1.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 7rem;
  color: var(--gold);
  opacity: 0.07;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.pcard-icon {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}
.practice-card:hover .pcard-icon {
  background: var(--gold-pale);
  border-color: var(--gold);
}
.pcard-icon i { font-size: 1.8rem; color: var(--gold); }

.practice-card h4 {
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.7rem;
}
.practice-card p { font-size: 16px; color: var(--text-mid); line-height: 1.78; }

/* Featured (Notarial) gold card */
.practice-card.is-featured {
  background: var(--gold);
  border-color: var(--gold-bright);
  border-top-color: var(--gold-bright);
}
.practice-card.is-featured::before {
  background: linear-gradient(140deg, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.practice-card.is-featured h4 { color: #0D0C09; }
.practice-card.is-featured p  { color: rgba(13,12,9,0.72); }
.practice-card.is-featured .pcard-roman { color: #0D0C09; opacity: 0.06; }
.practice-card.is-featured .pcard-icon { border-color: rgba(13,12,9,0.22); background: rgba(13,12,9,0.07); }
.practice-card.is-featured .pcard-icon i { color: #0D0C09; }
.practice-card.is-featured .btn-plus { color: rgba(13,12,9,0.8) !important; }
.practice-card.is-featured .btn-plus i { color: rgba(13,12,9,0.7) !important; border-color: rgba(13,12,9,0.25) !important; }

/* ── Stats Bar ──────────────────────────────────────────────── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 5rem 0;
}
.stat-item {
  text-align: center;
  padding: 0 2rem;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 52px;
  background: var(--gold-border);
}
.stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
  display: block;
}
.stat-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-low);
  display: block;
}

/* ── Por Qué Elegirnos ──────────────────────────────────────── */
.why-section { padding: 7rem 0; background: var(--bg); }

.why-section-header { margin-bottom: 4.5rem; }

.why-item {
  padding: 1.75rem 1.5rem 1.75rem 2rem;
  border-left: 1px solid var(--gold-border);
  position: relative;
  transition: border-color 0.3s;
}
.why-item:hover { border-left-color: var(--gold); }

.why-number {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.75rem;
  display: block;
}
.why-item h5 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.why-item p { font-size: 16px; color: var(--text-mid); margin: 0; line-height: 1.8; }

/* ── Proceso ────────────────────────────────────────────────── */
.process-section {
  background: var(--surface);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.process-section::before {
  content: 'PROCESO';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(6rem, 18vw, 16rem);
  font-weight: 700;
  color: var(--gold);
  opacity: 0.022;
  letter-spacing: 0.3em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.process-step { text-align: left; padding: 2rem 1.5rem; }
.process-step-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 4.5rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.55;
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}
.process-step h5 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--cream);
  margin: 0;
  line-height: 1.4;
}

/* Replace de-step-s1 / d-number defaults */
.de-step-s1 { all: unset; display: block; }
.d-number {
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic !important;
  font-size: 13px !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  background: transparent !important;
  color: var(--gold) !important;
  border: 1px solid var(--gold-border) !important;
  border-radius: 0 !important;
  display: inline-block !important;
  padding: 4px 14px !important;
  margin-bottom: 1.25rem !important;
}

/* ── Testimonials ───────────────────────────────────────────── */
.testimonials-section {
  background: var(--bg);
  padding: 7rem 0;
}
.testimonial-card {
  padding: 2.5rem 2rem;
  background: var(--card);
  border: 1px solid var(--gold-border);
  border-top: 2px solid var(--gold);
  position: relative;
}
.t-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 5.5rem;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.22;
  display: block;
  margin-bottom: 1.25rem;
}
.t-body {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--cream-mid);
  line-height: 1.88;
  margin-bottom: 1.5rem;
}
.t-author {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cream);
}
.t-role {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}
.de-rating-ext .d-stars i { color: var(--gold) !important; font-size: 13px; }

/* Owl carousel dots */
.owl-dots .owl-dot span { background: var(--gold-border) !important; border-radius: 0 !important; width: 24px !important; height: 2px !important; }
.owl-dots .owl-dot.active span { background: var(--gold) !important; width: 40px !important; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-section {
  background: var(--surface);
  border-top: 1px solid var(--gold-border);
  padding: 7rem 0;
}
.faq-deco-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 3rem;
}
.faq-deco-symbol {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(8rem, 16vw, 14rem);
  line-height: 1;
  color: var(--gold);
  opacity: 0.08;
  display: block;
  margin-bottom: 2rem;
  user-select: none;
}
.faq-deco-line {
  display: block;
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, var(--gold-border), transparent);
  margin-bottom: 2rem;
}
.faq-pull-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 300;
  color: var(--cream-mid);
  line-height: 1.45;
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
}

/* Accordion override */
.accordion.s2 .accordion-section-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  color: var(--cream) !important;
  padding: 1rem 1rem 1rem 1.5rem !important;
  border-left: 1px solid var(--gold-border) !important;
  border-bottom: 1px solid rgba(192,144,64,0.1) !important;
  border-radius: 0 !important;
  transition: all 0.25s !important;
  background: transparent !important;
  cursor: pointer;
}
.accordion.s2 .accordion-section-title:hover,
.accordion.s2 .accordion-section-title.active {
  border-left: 2px solid var(--gold) !important;
  color: var(--gold) !important;
  padding-left: 1.75rem !important;
}
.accordion.s2 .accordion-section-content {
  padding: 1.1rem 1rem 1.1rem 1.75rem !important;
  border-left: 2px solid rgba(192,144,64,0.15) !important;
  background: transparent !important;
}
.accordion.s2 .accordion-section-content p {
  font-size: 16px !important;
  color: var(--text-mid) !important;
  margin: 0 !important;
}

/* ── CTA ────────────────────────────────────────────────────── */
.cta-section {
  background: var(--bg);
  border-top: 1px solid var(--gold-border);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '§';
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(12rem, 22vw, 20rem);
  line-height: 1;
  color: var(--gold);
  opacity: 0.04;
  user-select: none;
  pointer-events: none;
}
.cta-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.cta-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-low);
}

/* ── Footer ─────────────────────────────────────────────────── */
footer, footer.section-dark {
  background: #06050300 !important;
  background-color: #070604 !important;
  border-top: 1px solid var(--gold-border);
  padding-top: 5rem;
}
footer h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-mid);
  margin-bottom: 1.5rem;
}
footer p, footer a, footer .widget ul li a {
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  color: var(--text-low);
  line-height: 1.85;
  transition: color 0.25s;
  text-decoration: none;
}
footer .widget ul li a:hover { color: var(--gold); }
footer .widget ul li { margin-bottom: 6px; }

.footer-logo-wrap { margin-bottom: 1.5rem; }
.footer-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  display: block;
  line-height: 1;
}
.footer-logo-name em { color: var(--gold); font-style: normal; }
.footer-logo-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-low);
  display: block;
  margin-top: 4px;
  margin-bottom: 1.5rem;
}

.footer-contact-row { display: flex; gap: 10px; margin-bottom: 1rem; align-items: flex-start; }
.footer-contact-row i { color: var(--gold); font-size: 13px; margin-top: 4px; flex-shrink: 0; }
.footer-contact-lbl {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1px;
}
.footer-contact-val {
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  color: var(--text-low);
  line-height: 1.5;
}

.footer-contact-val a { color: inherit; text-decoration: none; }
.footer-contact-val a:hover { color: var(--gold); }

.social-icons a { color: var(--text-low); margin-right: 14px; font-size: 16px; transition: color 0.25s; }
.social-icons a:hover { color: var(--gold); }

.subfooter {
  background: #040302 !important;
  border-top: 1px solid var(--gold-border) !important;
  padding: 1.5rem 0 !important;
  margin-top: 4rem;
}
.subfooter * {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 14px !important;
  letter-spacing: 0.1em !important;
  color: var(--text-low) !important;
}
.subfooter a:hover { color: var(--gold) !important; }
.menu-simple li a { color: var(--text-low) !important; transition: color 0.2s; }
.menu-simple li a:hover { color: var(--gold) !important; }

/* ── Side overlay (removed) ─────────────────────────────────── */
#extra-wrap, #btn-extra { display: none !important; }

/* ── Utility overrides ──────────────────────────────────────── */
.id-color-2     { color: var(--gold) !important; }
.bg-color-2     { background: var(--gold) !important; }
.bg-dark-2      { background: var(--card) !important; }
.section-dark   { background: var(--bg) !important; }
.text-light     { color: var(--text) !important; }

/* GadgetFix preloader */
#de-loader { background: var(--bg) !important; }
#de-loader::before { border-color: var(--gold) !important; }

/* Float / scroll helpers */
.float-text span a { font-family: 'Cormorant Garamond', serif !important; font-size: 14px !important; letter-spacing: 0.28em !important; color: var(--gold) !important; }
.scrollbar-v { background: var(--gold) !important; }

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp   { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none} }
@keyframes fadeIn   { from{opacity:0} to{opacity:1} }
@keyframes goldLine { from{width:0} to{width:64px} }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-deco { display: none; }
  .stat-item + .stat-item::before { display: none; }
  .faq-deco-col { display: none; }
  .faq-section .col-lg-4 { display: none; }
  .faq-section .col-lg-8 { width: 100%; flex: 0 0 100%; max-width: 100%; }
}
@media (max-width: 767px) {
  .process-section::before { display: none; }
  .cta-section::before { display: none; }
  .areas-wrap { margin-top: 0; }
  .hero-title { font-size: 2.6rem; }
}

/* ── Notarial Strip (below main 3 cards) ────────────────────── */
.notarial-strip {
  background: var(--surface);
  border: 1px solid var(--gold-border);
  border-top: 1px solid rgba(192,144,64,0.12);
  padding: 1.6rem 2rem;
}
.notarial-strip-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.notarial-strip-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.15rem;
  opacity: 0.65;
}
.notarial-strip-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.65;
  display: block;
  margin-bottom: 0.15rem;
}
.notarial-strip-text h5 {
  font-size: 1rem;
  color: var(--cream-mid);
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.notarial-strip-text p {
  font-size: 16px;
  color: var(--text-low);
  margin: 0;
  line-height: 1.65;
}

/* ── Services Detail Section ────────────────────────────────── */
.services-detail-section {
  padding: 2rem 0 7rem;
  background: var(--surface);
  border-top: 1px solid var(--gold-border);
}

.service-img-card {
  position: relative;
  overflow: hidden;
  height: 360px;
  border: 1px solid var(--gold-border);
  border-top: 2px solid var(--gold);
  background: var(--card);
}

/* Per-card legal-themed CSS backgrounds */
.scard-civil {
  background:
    radial-gradient(ellipse at 15% 85%, rgba(30,20,8,1) 0%, rgba(13,12,9,1) 60%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(192,144,64,0.04) 39px, rgba(192,144,64,0.04) 40px);
}
.scard-mercantil {
  background:
    radial-gradient(ellipse at 85% 20%, rgba(10,12,22,1) 0%, rgba(13,12,9,1) 60%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(192,144,64,0.04) 39px, rgba(192,144,64,0.04) 40px);
}
.scard-familiar {
  background:
    radial-gradient(ellipse at 50% 90%, rgba(22,10,6,1) 0%, rgba(13,12,9,1) 60%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(192,144,64,0.04) 39px, rgba(192,144,64,0.04) 40px);
}

.scard-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,12,9,0.96) 0%,
    rgba(13,12,9,0.40) 50%,
    transparent 100%
  );
  pointer-events: none;
}
.scard-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  z-index: 2;
}
.scard-roman {
  position: absolute;
  top: -3rem;
  right: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 5.5rem;
  color: var(--gold);
  opacity: 0.14;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.scard-icon-sm {
  width: 50px;
  height: 50px;
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--gold);
  font-size: 1.4rem;
  transition: background 0.3s, border-color 0.3s;
}
.service-img-card:hover .scard-icon-sm {
  background: var(--gold-pale);
  border-color: var(--gold);
}
.scard-body h3 {
  font-size: 1.65rem;
  color: var(--cream);
  margin-bottom: 0.9rem;
}
.scard-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.scard-list li {
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  color: var(--cream-mid);
  padding: 5px 0;
  border-bottom: 1px solid rgba(192,144,64,0.09);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
}
.scard-list li::before {
  content: '';
  display: block;
  width: 14px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  opacity: 0.7;
}

/* ── Notarial card (full-width, same treatment as service cards) */
.scard-notarial {
  background:
    radial-gradient(ellipse at 90% 50%, rgba(8,14,18,1) 0%, rgba(13,12,9,1) 60%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(192,144,64,0.04) 39px, rgba(192,144,64,0.04) 40px);
}
.service-card-notarial {
  height: auto;
  min-height: 160px;
}
.scard-body-notarial {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 2.5rem 5.5rem 2.5rem 2.5rem; /* right padding clears the floating icon */
  flex-wrap: wrap;
}
.notarial-col-left {
  flex-shrink: 0;
  width: 260px;
}
.scard-sub {
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  color: var(--cream-mid);
  line-height: 1.65;
  margin: 0.4rem 0 0;
}
.notarial-list-cols {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  flex: 1;
  min-width: 0;
}

@media (max-width: 767px) {
  .service-img-card { height: 320px; }
  .service-card-notarial { height: auto; min-height: 0; }
  .scard-body-notarial { flex-direction: column; gap: 1.5rem; padding: 2rem 2rem 2rem; }
  .notarial-col-left { width: 100%; }
  .notarial-list-cols { grid-template-columns: repeat(2, 1fr); }
  .notarial-strip { padding: 1.25rem 1.25rem; }
}
