/* ================================================
   GRUPO VASTIL — Posesión Efectiva
   Estética: Luxury Legal / Refined Gold & Deep Navy
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --navy:       #0a1628;
  --navy-mid:   #162236;
  --navy-light: #1f3050;
  --gold:       #c9a84c;
  --gold-light: #e2c97e;
  --gold-pale:  #f5edd6;
  --cream:      #faf8f4;
  --cream-dark: #f2ece2;
  --white:      #ffffff;
  --gray-light: #ede8df;
  --gray-mid:   #b8b0a0;
  --gray-text:  #6b6358;
  --text-dark:  #1a1410;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  --radius: 4px;
  --radius-lg: 12px;
  --shadow-sm:   0 2px 16px rgba(10,22,40,0.08);
  --shadow-card: 0 8px 48px rgba(10,22,40,0.12);
  --shadow-heavy: 0 20px 80px rgba(10,22,40,0.22);
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Noise texture SVG inline */
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--cream); color: var(--text-dark); line-height: 1.7; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.divider-gold {
  width: 40px; height: 1.5px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1rem 0 2rem;
}
.divider-gold.center { margin-left: auto; margin-right: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); width: 60px; }

/* ══ NAVBAR ══════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.6rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition), backdrop-filter var(--transition);
}
#navbar.scrolled {
  background: rgba(10,22,40,0.96);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(201,168,76,0.12), 0 4px 40px rgba(0,0,0,0.5);
  padding: 1rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { transition: opacity 0.3s ease; }
.nav-logo:hover img { opacity: 0.85; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; align-items: center; flex-wrap: nowrap; }
.nav-links a { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.65); font-weight: 500; position: relative; padding-bottom: 3px; white-space: nowrap; transition: color var(--transition); }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.4s ease; }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { background: var(--gold) !important; color: var(--navy) !important; padding: 0.55rem 1.3rem !important; border-radius: 2px !important; font-weight: 600 !important; letter-spacing: 0.1em !important; transition: background var(--transition), box-shadow var(--transition), transform var(--transition) !important; }
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px) !important; box-shadow: 0 6px 24px rgba(201,168,76,0.4) !important; }
.nav-cta::after { display: none !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ══ HERO ════════════════════════════════════════ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 65% 45%, rgba(201,168,76,0.09) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 5% 90%, rgba(22,34,54,0.95) 0%, transparent 65%),
    linear-gradient(150deg, #0a1628 0%, #162236 45%, #0a1628 100%);
}
.hero-bg.has-image {
  background-image:
    radial-gradient(ellipse 90% 70% at 65% 45%, rgba(201,168,76,0.07) 0%, transparent 55%),
    linear-gradient(150deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.7) 100%),
    url('hero.png');
  background-size: auto, auto, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
/* Noise overlay para profundidad */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--noise);
  background-size: 180px;
  opacity: 0.025;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(201,168,76,0.025) 100px, rgba(201,168,76,0.025) 101px),
    repeating-linear-gradient(0deg,  transparent, transparent 100px, rgba(201,168,76,0.025) 100px, rgba(201,168,76,0.025) 101px);
}
/* Línea diagonal decorativa */
.hero-pattern::after {
  content: '';
  position: absolute;
  top: 0; right: 18%;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.12) 30%, rgba(201,168,76,0.06) 70%, transparent);
  transform: rotate(12deg) scaleY(1.4);
  transform-origin: top;
}

.hero-orb {
  position: absolute; right: 6%; top: 50%;
  transform: translateY(-50%);
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(ellipse at 35% 35%, rgba(201,168,76,0.07), rgba(201,168,76,0.01) 65%, transparent 80%);
  border: 1px solid rgba(201,168,76,0.06);
  animation: orb-float 10s ease-in-out infinite;
  z-index: 1; pointer-events: none;
}
.hero-orb::before { content: ''; position: absolute; inset: 60px; border-radius: 50%; border: 1px solid rgba(201,168,76,0.04); }
.hero-orb::after  { content: ''; position: absolute; inset: 120px; border-radius: 50%; border: 1px solid rgba(201,168,76,0.03); }
@keyframes orb-float { 0%,100%{ transform: translateY(-50%) scale(1); } 50%{ transform: translateY(-53%) scale(1.02); } }

.hero-content { position: relative; z-index: 2; max-width: 700px; animation: hero-entry 1.2s cubic-bezier(0.22,1,0.36,1) both; }
@keyframes hero-entry { from{ opacity:0; transform:translateY(32px); } to{ opacity:1; transform:translateY(0); } }

.hero-badge { display: inline-flex; align-items: center; gap: 0.7rem; background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.2); padding: 0.45rem 1.1rem; border-radius: 50px; margin-bottom: 2.5rem; animation: hero-entry 1s 0.1s cubic-bezier(0.22,1,0.36,1) both; }
.hero-badge span { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.hero-badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); animation: pulse 2.5s ease-in-out infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100%{ opacity:1; box-shadow:0 0 0 0 rgba(201,168,76,0.4); } 50%{ opacity:0.6; box-shadow:0 0 0 7px rgba(201,168,76,0); } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.04;
  margin-bottom: 1.8rem;
  letter-spacing: -0.02em;
  animation: hero-entry 1s 0.2s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-title em { font-style: italic; color: var(--gold-light); font-weight: 300; }

.hero-subtitle { font-size: 1rem; color: rgba(255,255,255,0.5); max-width: 480px; margin-bottom: 3rem; line-height: 1.9; font-weight: 300; animation: hero-entry 1s 0.3s cubic-bezier(0.22,1,0.36,1) both; }

.hero-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; animation: hero-entry 1s 0.4s cubic-bezier(0.22,1,0.36,1) both; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--gold); color: var(--navy);
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 1rem 2.2rem; border-radius: 2px; border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 32px rgba(201,168,76,0.35);
}
.btn-primary:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.5); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: transparent; color: rgba(255,255,255,0.7);
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 1rem 1.8rem; border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.18); cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover { color: var(--white); border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.05); }

/* Stats bar — pegada al borde inferior derecho */
.hero-stats {
  position: absolute; right: 0; bottom: 0;
  display: flex; z-index: 2;
  border-top: 1px solid rgba(201,168,76,0.1);
  border-left: 1px solid rgba(201,168,76,0.1);
  animation: hero-entry 1s 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-stat {
  padding: 1.8rem 2.8rem;
  border-right: 1px solid rgba(201,168,76,0.1);
  text-align: center;
  transition: background var(--transition);
  cursor: default;
}
.hero-stat:hover { background: rgba(201,168,76,0.05); }
.stat-number { font-family: var(--font-display); font-size: 2.8rem; font-weight: 600; color: var(--gold-light); line-height: 1; display: block; letter-spacing: -0.02em; }
.stat-label { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-top: 0.4rem; display: block; }

.hero-scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; z-index: 2; animation: bounce 3s ease-in-out infinite; }
.hero-scroll span { font-size: 0.55rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.2); }
.hero-scroll svg { color: var(--gold); opacity: 0.5; }
@keyframes bounce { 0%,100%{ transform:translateX(-50%) translateY(0); } 50%{ transform:translateX(-50%) translateY(10px); } }

/* ══ QUIÉNES SOMOS ══════════════════════════════ */
#quienes-somos {
  padding: 10rem 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
/* Número grande decorativo de fondo */
#quienes-somos::before {
  content: '15';
  position: absolute;
  right: -2rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 30rem;
  font-weight: 700;
  color: rgba(201,168,76,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
#quienes-somos::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 0% 50%, rgba(201,168,76,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 100% 80%, rgba(22,34,54,0.8) 0%, transparent 50%);
  pointer-events: none;
}

.quienes-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.quienes-text .section-label { color: var(--gold); }
.quienes-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.8rem;
}
.quienes-text h2 em { font-style: italic; color: var(--gold-light); }
.quienes-text > p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.95;
  margin-bottom: 1.1rem;
  max-width: 500px;
}
.quienes-valores {
  display: flex; flex-direction: column; gap: 1.2rem;
  margin-top: 2.5rem; padding-top: 2.5rem;
  border-top: 1px solid rgba(201,168,76,0.12);
}
.valor-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.valor-icon {
  flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-top: 1px;
}
.valor-item strong { display: block; font-size: 0.82rem; font-weight: 600; color: var(--white); margin-bottom: 0.2rem; letter-spacing: 0.03em; }
.valor-item p { font-size: 0.8rem; color: rgba(255,255,255,0.42); line-height: 1.65; margin: 0; }

/* Grid de stats derecha */
.quienes-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 1px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.08);
}
.quienes-stat-card {
  background: rgba(10,22,40,0.95);
  padding: 2.5rem 2.2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: background var(--transition);
  position: relative; overflow: hidden;
}
.quienes-stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.quienes-stat-card:hover { background: rgba(201,168,76,0.04); }
.quienes-stat-card:hover::before { transform: scaleX(1); }

.quienes-stat-card--highlight {
  grid-column: span 2;
  background: rgba(201,168,76,0.05);
  align-items: center; justify-content: center;
  text-align: center; flex-direction: row; gap: 1.2rem;
  padding: 1.8rem 2.2rem;
}
.quienes-stat-card--highlight:hover { background: rgba(201,168,76,0.09); }
.quienes-stat-card--highlight::before {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.qs-num {
  font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 600;
  color: var(--gold); line-height: 1;
  letter-spacing: -0.02em;
}
.qs-label {
  font-size: 0.65rem; color: rgba(255,255,255,0.38);
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.5;
}
.quienes-stat-card--highlight svg { color: var(--gold); opacity: 0.65; flex-shrink: 0; }
.quienes-stat-card--highlight .qs-label { color: rgba(201,168,76,0.65); font-size: 0.72rem; text-align: left; }

/* ══ ¿QUÉ ES? ════════════════════════════════════ */
#que-es {
  padding: 10rem 0;
  background: var(--cream);
  position: relative; overflow: hidden;
}
/* Círculo decorativo fondo */
#que-es::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.06);
  pointer-events: none;
}
#que-es::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.04);
  pointer-events: none;
}

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: center; }
.about-text h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 3.8vw, 3.4rem); font-weight: 300; color: var(--navy); line-height: 1.2; margin-bottom: 1.6rem; }
.about-text h2 em { font-style: italic; color: var(--gold); }
.about-text p { font-size: 0.92rem; color: var(--gray-text); margin-bottom: 1.3rem; line-height: 1.9; }
.about-highlight {
  background: var(--navy); color: var(--cream);
  padding: 2rem 2.2rem; margin-top: 2.5rem;
  position: relative; overflow: hidden;
  border-left: 2px solid var(--gold);
}
.about-highlight::after { content: '\201C'; position: absolute; top: -20px; right: 1.5rem; font-family: var(--font-display); font-size: 9rem; color: rgba(201,168,76,0.05); line-height: 1; pointer-events: none; }
.about-highlight p { color: rgba(255,255,255,0.65); margin: 0; font-style: italic; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.75; position: relative; z-index: 1; }

.about-visual { position: relative; }
.about-visual-box {
  background: var(--navy);
  aspect-ratio: 4/5; overflow: hidden; position: relative;
  box-shadow: var(--shadow-heavy);
}
.about-visual-box img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: opacity 0.5s ease, transform 0.8s ease; }
.about-visual-box:hover img { opacity: 0.85; transform: scale(1.03); }
.about-visual-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: linear-gradient(145deg, var(--navy-mid), var(--navy-light)); }
.about-visual-placeholder svg { color: var(--gold); opacity: 0.4; }
.about-visual-placeholder span { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.2); }
.about-badge {
  position: absolute; bottom: -2rem; right: -2rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  width: 120px; height: 120px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 12px 48px rgba(201,168,76,0.4);
}
.about-badge .badge-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.about-badge .badge-txt { font-size: 0.5rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; text-align: center; line-height: 1.4; }

/* ══ SERVICIOS ════════════════════════════════════ */
#servicios {
  padding: 10rem 0;
  background: var(--navy);
  position: relative; overflow: hidden;
}
#servicios::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 95% 15%, rgba(201,168,76,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 5% 85%, rgba(201,168,76,0.05) 0%, transparent 50%);
}
.services-header { text-align: center; max-width: 600px; margin: 0 auto 5.5rem; position: relative; z-index: 2; }
.services-header h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 3.8vw, 3.4rem); font-weight: 300; color: var(--white); line-height: 1.2; }
.services-header h2 em { font-style: italic; color: var(--gold-light); }
.services-header p { color: rgba(255,255,255,0.38); font-size: 0.88rem; margin-top: 1.2rem; line-height: 1.85; max-width: 480px; margin-left: auto; margin-right: auto; }

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  position: relative; z-index: 2;
  border: 1px solid rgba(201,168,76,0.08);
  overflow: hidden;
}
.service-card {
  background: rgba(255,255,255,0.015);
  border-right: 1px solid rgba(201,168,76,0.06);
  border-bottom: 1px solid rgba(201,168,76,0.06);
  padding: 3rem 2.2rem;
  transition: background 0.4s ease;
  position: relative; overflow: hidden; cursor: default;
}
.service-card:nth-child(3), .service-card:nth-child(6) { border-right: none; }
.service-card:nth-child(4), .service-card:nth-child(5), .service-card:nth-child(6) { border-bottom: none; }
/* Linha dourada topo no hover */
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
}
/* Glow de fondo no hover */
.service-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(201,168,76,0.06) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.45s ease;
}
.service-card:hover { background: rgba(201,168,76,0.035); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.service-card:hover .service-icon { background: rgba(201,168,76,0.15); border-color: rgba(201,168,76,0.35); transform: translateY(-3px); }

.service-icon {
  width: 52px; height: 52px;
  background: rgba(201,168,76,0.07);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.8rem; color: var(--gold);
  border: 1px solid rgba(201,168,76,0.12);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.service-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--white); margin-bottom: 0.8rem; line-height: 1.3; }
.service-card p { font-size: 0.83rem; color: rgba(255,255,255,0.38); line-height: 1.85; }
.service-num { position: absolute; top: 1.8rem; right: 1.8rem; font-family: var(--font-display); font-size: 4rem; font-weight: 700; color: rgba(201,168,76,0.04); line-height: 1; transition: color var(--transition); }
.service-card:hover .service-num { color: rgba(201,168,76,0.07); }

/* ══ PROCESO ══════════════════════════════════════ */
#proceso {
  padding: 10rem 0;
  background: var(--cream-dark);
  position: relative; overflow: hidden;
}
#proceso::before {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 500px; height: 500px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.05);
  transform: translate(50%, 50%); pointer-events: none;
}
.proceso-header { text-align: center; max-width: 580px; margin: 0 auto 5.5rem; }
.proceso-header h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 3.8vw, 3.4rem); font-weight: 300; color: var(--navy); line-height: 1.2; }
.proceso-header h2 em { font-style: italic; color: var(--gold); }
.proceso-header p { color: var(--gray-text); font-size: 0.88rem; margin-top: 1.2rem; line-height: 1.85; }

.steps-list {
  display: flex; flex-direction: column;
  max-width: 860px; margin: 0 auto;
  position: relative;
}
.steps-list::before {
  content: '';
  position: absolute; left: 29px; top: 20px; bottom: 20px; width: 1px;
  background: linear-gradient(to bottom, var(--gold) 0%, rgba(201,168,76,0.08) 100%);
}
.step-item {
  display: flex; gap: 3rem; align-items: flex-start;
  padding: 2.8rem 0;
  border-bottom: 1px solid rgba(10,22,40,0.06);
  position: relative; z-index: 1;
  opacity: 0; transform: translateX(-24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.step-item:last-child { border-bottom: none; }
.step-item.visible { opacity: 1; transform: translateX(0); }
.step-num {
  flex-shrink: 0;
  width: 58px; height: 58px;
  background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--gold);
  box-shadow: 0 0 0 8px var(--cream-dark), 0 6px 24px rgba(10,22,40,0.18);
}
.step-item.visible .step-num { animation: step-pop 0.45s 0.25s cubic-bezier(0.34,1.56,0.64,1) both; }
@keyframes step-pop { from{ transform:scale(0.6); } to{ transform:scale(1); } }
.step-content h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.3; }
.step-content p { font-size: 0.87rem; color: var(--gray-text); line-height: 1.9; max-width: 640px; }
.step-tag { display: inline-block; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); background: rgba(201,168,76,0.09); padding: 0.22rem 0.75rem; margin-top: 0.8rem; font-weight: 600; border: 1px solid rgba(201,168,76,0.18); }

/* ══ TESTIMONIOS ══════════════════════════════════ */
#testimonios {
  padding: 10rem 0;
  background: var(--navy);
  position: relative; overflow: hidden;
}
#testimonios::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(201,168,76,0.05) 0%, transparent 55%);
}
.testimonios-header { text-align: center; max-width: 560px; margin: 0 auto 5rem; position: relative; z-index: 2; }
.testimonios-header h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 3.8vw, 3.4rem); font-weight: 300; color: var(--white); line-height: 1.2; }
.testimonios-header h2 em { font-style: italic; color: var(--gold-light); }
.testimonios-header p { color: rgba(255,255,255,0.35); font-size: 0.87rem; margin-top: 1rem; line-height: 1.85; }

.testimonios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; z-index: 2; }
.testimonio-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(201,168,76,0.08);
  padding: 2.8rem;
  position: relative;
  transition: background 0.4s ease, transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}
.testimonio-card::before {
  content: '\201C';
  position: absolute; top: 1rem; right: 1.5rem;
  font-family: var(--font-display); font-size: 6rem;
  color: rgba(201,168,76,0.06); line-height: 1;
  pointer-events: none;
}
.testimonio-card:hover {
  background: rgba(201,168,76,0.04);
  border-color: rgba(201,168,76,0.2);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.testimonio-stars { display: flex; gap: 3px; margin-bottom: 1.5rem; }
.testimonio-stars svg { color: var(--gold); }
.testimonio-quote {
  font-family: var(--font-display); font-size: 1.08rem;
  color: rgba(255,255,255,0.68); line-height: 1.8;
  font-style: italic; margin-bottom: 2.2rem;
}
.testimonio-author { display: flex; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(201,168,76,0.08); }
.testimonio-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  color: var(--gold-light); flex-shrink: 0;
}
.testimonio-info .name { font-size: 0.83rem; font-weight: 600; color: var(--white); display: block; line-height: 1.3; }
.testimonio-info .ciudad { font-size: 0.7rem; color: rgba(255,255,255,0.3); letter-spacing: 0.08em; display: block; margin-top: 0.15rem; }

/* ══ CONTACTO / SOLICITUD ════════════════════════ */
#solicitud {
  padding: 10rem 0;
  background: var(--cream);
  position: relative;
}
#solicitud::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent); }
.form-container { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6rem; align-items: start; }
.form-aside h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 3.5vw, 3rem); font-weight: 300; color: var(--navy); line-height: 1.2; margin-bottom: 1.4rem; }
.form-aside h2 em { font-style: italic; color: var(--gold); }
.form-aside > p { font-size: 0.9rem; color: var(--gray-text); line-height: 1.9; margin-bottom: 2.5rem; }
.form-promise { display: flex; flex-direction: column; gap: 1.2rem; }
.promise-item { display: flex; align-items: flex-start; gap: 1rem; }
.promise-icon { flex-shrink: 0; width: 36px; height: 36px; background: rgba(201,168,76,0.09); border: 1px solid rgba(201,168,76,0.2); display: flex; align-items: center; justify-content: center; color: var(--gold); margin-top: 1px; }
.promise-item p { font-size: 0.82rem; color: var(--gray-text); margin: 0; line-height: 1.65; }
.promise-item strong { display: block; color: var(--navy); font-size: 0.84rem; margin-bottom: 0.2rem; font-weight: 600; }

/* Contact card */
.contact-card {
  background: var(--navy);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 3.2rem;
  box-shadow: var(--shadow-heavy);
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.contact-card::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 280px; height: 280px;
  background: radial-gradient(ellipse at bottom right, rgba(201,168,76,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.contact-card-label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 400; color: var(--white);
  margin-bottom: 0.8rem; line-height: 1.25;
}
.contact-card-subtitle { font-size: 0.84rem; color: rgba(255,255,255,0.45); line-height: 1.8; margin-bottom: 2.5rem; max-width: 360px; }
.contact-card-actions { display: flex; flex-direction: column; gap: 1rem; }

.contact-btn {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.1rem 1.4rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.contact-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.contact-btn:hover::before { transform: translateX(100%); }
.contact-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(0,0,0,0.3); }

.contact-btn--whatsapp { background: #185a33; border-color: rgba(37,211,102,0.3); }
.contact-btn--whatsapp:hover { background: #1e6e3e; border-color: rgba(37,211,102,0.5); }
.contact-btn--whatsapp .contact-btn-icon { color: #4ade80; }
.contact-btn--whatsapp .contact-btn-text strong { color: var(--white); }
.contact-btn--whatsapp .contact-btn-text span { color: rgba(255,255,255,0.5); }
.contact-btn--whatsapp .contact-btn-arrow { color: rgba(255,255,255,0.35); }

.contact-btn--email { background: rgba(255,255,255,0.04); border-color: rgba(201,168,76,0.25); }
.contact-btn--email:hover { background: rgba(201,168,76,0.08); border-color: rgba(201,168,76,0.5); }
.contact-btn--email .contact-btn-icon { color: var(--gold); }
.contact-btn--email .contact-btn-text strong { color: var(--white); }
.contact-btn--email .contact-btn-text span { color: rgba(255,255,255,0.4); }
.contact-btn--email .contact-btn-arrow { color: rgba(201,168,76,0.4); }

.contact-btn-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; }
.contact-btn-text { flex: 1; display: flex; flex-direction: column; gap: 0.2rem; }
.contact-btn-text strong { font-family: var(--font-body); font-size: 0.87rem; font-weight: 600; letter-spacing: 0.04em; }
.contact-btn-text span { font-size: 0.75rem; letter-spacing: 0.02em; }
.contact-btn-arrow { flex-shrink: 0; opacity: 0; transform: translateX(-6px); transition: opacity 0.25s ease, transform 0.25s ease; }
.contact-btn:hover .contact-btn-arrow { opacity: 1; transform: translateX(0); }

.contact-card-note { display: flex; align-items: center; gap: 0.5rem; margin-top: 2rem; font-size: 0.7rem; color: rgba(255,255,255,0.28); letter-spacing: 0.06em; justify-content: center; }

/* ══ CONTACTO SECTION ════════════════════════════ */
#contacto { padding: 8rem 0; background: var(--navy); position: relative; }
#contacto::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(201,168,76,0.06) 0%, transparent 55%); }
.contact-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 7rem; align-items: center; position: relative; z-index: 2; }
.contact-text h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 3.5vw, 3rem); font-weight: 300; color: var(--white); margin-bottom: 1.2rem; line-height: 1.2; }
.contact-text h2 em { font-style: italic; color: var(--gold-light); }
.contact-text p { color: rgba(255,255,255,0.4); font-size: 0.9rem; line-height: 1.9; max-width: 420px; }
.contact-items { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.8rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1.2rem; transition: transform var(--transition); }
.contact-item:hover { transform: translateX(5px); }
.contact-item-icon { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid rgba(201,168,76,0.2); display: flex; align-items: center; justify-content: center; color: var(--gold); transition: background var(--transition); }
.contact-item:hover .contact-item-icon { background: rgba(201,168,76,0.08); }
.contact-item-text .label { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.25); font-weight: 600; margin-bottom: 0.25rem; }
.contact-item-text .value { font-size: 0.9rem; color: var(--white); font-weight: 400; }
.contact-item-text .value a { color: var(--white); }
.contact-item-text .value a:hover { color: var(--gold-light); }

.online-badge { display: flex; align-items: stretch; }
.online-badge-inner { display: flex; align-items: center; gap: 1.6rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(201,168,76,0.18); padding: 2.2rem 2.4rem; width: 100%; transition: background var(--transition), border-color var(--transition); }
.online-badge-inner:hover { background: rgba(255,255,255,0.055); border-color: rgba(201,168,76,0.32); }
.online-badge-inner svg { color: var(--gold); flex-shrink: 0; opacity: 0.8; }
.online-badge-inner div { display: flex; flex-direction: column; gap: 0.45rem; }
.online-badge-inner strong { font-family: var(--font-body); font-size: 0.92rem; font-weight: 600; color: var(--white); letter-spacing: 0.05em; }
.online-badge-inner span { font-size: 0.79rem; color: rgba(255,255,255,0.42); line-height: 1.65; }

/* ══ FAQ ══════════════════════════════════════════ */
#faq { padding: 10rem 0; background: var(--cream); position: relative; }
#faq::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent); }
.faq-header { max-width: 560px; margin-bottom: 4rem; }
.faq-header h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 3.8vw, 3.4rem); font-weight: 300; color: var(--navy); line-height: 1.2; }
.faq-header h2 em { font-style: italic; color: var(--gold); }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid rgba(10,22,40,0.07); }
.faq-item { border-bottom: 1px solid rgba(10,22,40,0.07); opacity: 1; transform: none; }
.faq-question { margin: 0; }
.faq-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.7rem 0; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.93rem; font-weight: 500;
  color: var(--navy); text-align: left; transition: color var(--transition);
}
.faq-toggle:hover { color: var(--gold); }
.faq-toggle[aria-expanded="true"] { color: var(--gold); }
.faq-icon { flex-shrink: 0; transition: transform 0.3s ease; color: var(--gold); }
.faq-toggle[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer { margin: 0; max-height: 0; overflow: hidden; opacity: 1; transition: max-height 0.4s ease; }
.faq-answer.open { max-height: 600px; }
.faq-answer p { font-size: 0.89rem; color: var(--gray-text); line-height: 1.9; padding: 0.5rem 0 1.8rem; max-width: 720px; }
.faq-answer strong { color: var(--navy); font-weight: 600; }

/* ══ FOOTER ══════════════════════════════════════ */
footer { background: #04080f; padding: 3.5rem 0 2.5rem; border-top: 1px solid rgba(201,168,76,0.07); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.footer-logo .logo-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--white); letter-spacing: 0.05em; }
.footer-logo .logo-tag { font-size: 0.55rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); display: block; margin-top: 3px; opacity: 0.8; }
.footer-copy { font-size: 0.7rem; color: rgba(255,255,255,0.15); text-align: center; line-height: 1.7; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-size: 0.68rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.2); transition: color var(--transition); text-transform: uppercase; }
.footer-links a:hover { color: var(--gold); }

/* ══ WHATSAPP FLOAT ══════════════════════════════ */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  display: flex; align-items: center; gap: 0.8rem;
  background: #25d366; color: #fff;
  border-radius: 50px; padding: 0.8rem 1.5rem 0.8rem 1rem;
  box-shadow: 0 6px 32px rgba(37,211,102,0.4);
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: float-in 0.9s 1.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes float-in { from{ transform:translateY(30px); opacity:0; } to{ transform:translateY(0); opacity:1; } }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 40px rgba(37,211,102,0.5); color: #fff; }
.whatsapp-float svg { flex-shrink: 0; }
.whatsapp-float .wa-pulse { position: absolute; top: -3px; right: -3px; width: 11px; height: 11px; border-radius: 50%; background: #ff4444; border: 2px solid #04080f; animation: wa-ping 2.5s ease-in-out infinite; }
@keyframes wa-ping { 0%,100%{ transform:scale(1); opacity:1; } 50%{ transform:scale(1.4); opacity:0.6; } }

/* ══ MISC ═════════════════════════════════════════ */
.alert { padding: 0.85rem 1.2rem; font-size: 0.82rem; margin-bottom: 1rem; display: none; }
.alert.show { display: block; }
.alert-error { background: rgba(220,50,50,0.08); color: #c03030; border: 1px solid rgba(220,50,50,0.18); }

.fade-up { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ══ RESPONSIVE ══════════════════════════════════ */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 4rem; }
  .about-visual { max-width: 440px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card:nth-child(3) { border-right: 1px solid rgba(201,168,76,0.06); }
  .service-card:nth-child(2), .service-card:nth-child(4) { border-right: none; }
  .service-card:nth-child(5), .service-card:nth-child(6) { border-bottom: none; }
  .form-container { grid-template-columns: 1fr; gap: 4rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 4rem; }
  .hero-stats { position: static; margin-top: 3.5rem; }
  .hero-orb { display: none; }
  .testimonios-grid { grid-template-columns: 1fr 1fr; }
  .quienes-inner { grid-template-columns: 1fr; gap: 4rem; }
  .quienes-stats { grid-template-columns: repeat(4,1fr); }
  .quienes-stat-card--highlight { grid-column: span 2; }
}
@media (max-width: 768px) {
  #navbar { padding: 1rem 0; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--navy); z-index: 9999; align-items: center; justify-content: center; gap: 2.5rem; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
  .nav-toggle { display: flex; z-index: 10000; position: relative; }
  .hero-content { text-align: center; }
  .hero-subtitle { margin: 0 auto 3rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { flex-wrap: wrap; justify-content: center; margin-top: 2.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none !important; }
  .service-card:last-child { border-bottom: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .steps-list::before { display: none; }
  .about-badge { right: 0; bottom: -1rem; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .quienes-stats { grid-template-columns: 1fr 1fr; }
  .quienes-stat-card--highlight { grid-column: span 2; }
  .whatsapp-float .wa-label { display: none; }
  .whatsapp-float { padding: 1rem; border-radius: 50%; }
  #quienes-somos::before { font-size: 16rem; opacity: 0.015; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.4rem; }
  #que-es, #servicios, #proceso, #solicitud, #contacto, #testimonios, #quienes-somos, #faq { padding: 6rem 0; }
  .hero-stat { padding: 1.4rem 2rem; }
  .contact-card { padding: 2rem 1.5rem; }
}

/* ── Body fade-in ── */
body { opacity: 0; }

/* ── Gold cursor dot ── */
#gold-cursor { will-change: left, top; }

/* ── Nav links active state ── */
.nav-links a.active { color: var(--gold-light) !important; }

/* ── Cursor pointer on interactive elements ── */
.btn-primary, .btn-outline, .nav-cta, .contact-btn,
.whatsapp-float, .faq-toggle, .service-card,
.quienes-stat-card { cursor: pointer; }
