
:root {
  --navy: #0B1A33;
  --navy-mid: #152544;
  --navy-light: #1E3260;
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-dark: #9E7A28;
  --cream: #F7F2E8;
  --white: #FFFFFF;
  --text-dark: #0B1A33;
  --text-light: #E8E0D0;
  --gray: #6B7280;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: 'Cormorant Garamond', serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(11,26,51,0.97);
  padding: 0.7rem 3rem;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.nav-logo img { 
  height: 72px; 
  filter: brightness(1.15) drop-shadow(0 0 12px rgba(201,168,76,0.55)) drop-shadow(0 2px 6px rgba(0,0,0,0.4)); 
  transition: height 0.4s, filter 0.4s;
}
nav.scrolled .nav-logo img { 
  height: 58px; 
  filter: brightness(1.2) drop-shadow(0 0 10px rgba(201,168,76,0.5)) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cream); text-decoration: none;
  position: relative; padding-bottom: 3px;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform 0.3s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { transform: scaleX(1); }
.lang-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em;
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold); padding: 0.35rem 0.9rem; cursor: pointer;
  transition: all 0.3s; text-transform: uppercase;
}
.lang-btn:hover { background: var(--gold); color: var(--navy); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--cream); display: block; transition: 0.3s; }

/* ─── HERO ─── */
#hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #060e1e 0%, var(--navy) 50%, var(--navy-light) 100%);
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%);
  background-size: 30px 30px;
}
.hero-accent {
  position: absolute; right: -5%; top: 0; bottom: 0; width: 55%;
  background: linear-gradient(160deg, transparent 0%, rgba(201,168,76,0.06) 50%, rgba(201,168,76,0.12) 100%);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.hero-photo-container {
  position: absolute; right: 5%; bottom: 0; width: 38%; max-width: 500px;
  opacity: 0; transform: translateX(40px); animation: fadeInRight 1.2s 0.5s forwards;
}
.hero-photo-container img {
  width: 100%; display: block;
  filter: contrast(1.08) brightness(1.02) saturate(0.92);
  object-fit: cover; object-position: center center;
  mask-image: linear-gradient(to top, transparent 0%, black 18%);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 18%);
}
.hero-content {
  position: relative; z-index: 2; padding: 8rem 3rem 4rem;
  max-width: 640px; margin-left: 6%;
  opacity: 0; animation: fadeInUp 1s 0.3s forwards;
}
.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.3em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 700; line-height: 1.1;
  color: var(--white); margin-bottom: 0.5rem;
}
.hero-title .gold { color: var(--gold); font-style: italic; }
.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300; font-style: italic;
  color: var(--gold-light); margin-bottom: 1.5rem; letter-spacing: 0.02em;
}
.hero-divider {
  width: 60px; height: 1px; background: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-desc {
  font-size: 1.15rem; line-height: 1.8; color: rgba(232,224,208,0.85);
  margin-bottom: 2.5rem; font-weight: 300;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--gold); color: var(--navy);
  padding: 1rem 2.2rem; text-decoration: none;
  transition: all 0.3s; display: inline-block;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,168,76,0.3); }
.btn-secondary {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  background: transparent; color: var(--cream);
  padding: 1rem 2.2rem; text-decoration: none;
  border: 1px solid rgba(232,224,208,0.4);
  transition: all 0.3s; display: inline-block;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats {
  position: absolute; bottom: 3rem; left: 6%; z-index: 2;
  display: flex; gap: 3rem;
  opacity: 0; animation: fadeInUp 1s 0.8s forwards;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1;
}
.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(232,224,208,0.6); margin-top: 0.3rem;
}

/* ─── SECTIONS BASE ─── */
section { padding: 6rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 3rem; }
.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700;
  line-height: 1.2; margin-bottom: 1rem;
}
.section-desc { font-size: 1.1rem; line-height: 1.9; color: var(--gray); font-weight: 300; }

/* ─── ABOUT ─── */
#sobre-mi { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5rem; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-frame {
  position: absolute; top: -20px; left: -20px; right: 20px; bottom: 20px;
  border: 1px solid var(--gold); z-index: 0;
}
.about-img-wrap img {
  width: 100%; position: relative; z-index: 1;
  display: block; object-fit: cover; max-height: 520px; object-position: top;
  filter: contrast(1.02);
}
.about-content .section-title { color: var(--navy); }
.about-text {
  font-size: 1.05rem; line-height: 1.95; color: #3a4a5c;
  margin-bottom: 1.2rem; font-weight: 300;
}
.about-credentials {
  margin-top: 2rem; display: flex; flex-direction: column; gap: 0.8rem;
}
.credential-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 500;
  color: var(--navy);
}
.credential-item::before {
  content: '◆'; color: var(--gold); font-size: 0.5rem;
  margin-top: 0.15rem; flex-shrink: 0;
}

/* ─── PRACTICE AREAS ─── */
#areas { background: var(--navy); }
#areas .section-title { color: var(--white); }
#areas .section-desc { color: rgba(232,224,208,0.7); }
.areas-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5px; margin-top: 3.5rem;
  background: rgba(201,168,76,0.15);
}
.area-card {
  background: var(--navy-mid); padding: 2.5rem 2rem;
  position: relative; overflow: hidden; cursor: default;
  transition: background 0.4s;
}
.area-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.4s;
}
.area-card:hover { background: var(--navy-light); }
.area-card:hover::before { transform: scaleX(1); }
.area-icon {
  width: 48px; height: 48px; margin-bottom: 1.5rem;
  background: rgba(201,168,76,0.1);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,76,0.3);
}
.area-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.area-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 600; color: var(--white);
  margin-bottom: 0.8rem;
}
.area-desc { font-size: 0.9rem; line-height: 1.7; color: rgba(232,224,208,0.6); font-weight: 300; }
.area-new {
  position: absolute; top: 1rem; right: 1rem;
  font-family: 'Montserrat', sans-serif; font-size: 0.55rem;
  font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--gold); color: var(--navy); padding: 0.25rem 0.6rem;
}

/* ─── WHY ─── */
#por-que { background: var(--cream); }
.why-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 5rem; align-items: center; margin-top: 1rem;
}
.why-points { display: flex; flex-direction: column; gap: 2rem; }
.why-point { display: flex; gap: 1.5rem; align-items: flex-start; }
.why-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700; color: rgba(201,168,76,0.2);
  line-height: 1; min-width: 3rem; flex-shrink: 0;
}
.why-point-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem;
}
.why-point-desc { font-size: 0.95rem; line-height: 1.75; color: var(--gray); font-weight: 300; }
.why-image {
  position: relative;
}
.why-image img {
  width: 100%; display: block; object-fit: cover;
  object-position: center top; max-height: 520px;
  filter: contrast(1.02) brightness(0.98);
}
.why-image-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem;
  background: linear-gradient(to top, rgba(11,26,51,0.9), transparent);
}
.why-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 1rem; color: var(--gold-light);
  line-height: 1.6;
}

/* ─── CONTACT ─── */
#contacto { background: var(--navy); }
#contacto .section-title { color: var(--white); }
#contacto .section-desc { color: rgba(232,224,208,0.7); }
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 5rem; margin-top: 3.5rem; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px; background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.contact-item-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.3rem;
}
.contact-item-value {
  color: var(--cream); font-size: 1rem; font-weight: 300; line-height: 1.5;
}
.contact-item-value a { color: var(--cream); text-decoration: none; transition: color 0.3s; }
.contact-item-value a:hover { color: var(--gold-light); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(232,224,208,0.6);
}
.form-group input, .form-group textarea, .form-group select {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(201,168,76,0.2);
  color: var(--cream); padding: 0.9rem 1rem;
  font-family: 'Cormorant Garamond', serif; font-size: 1rem;
  outline: none; transition: border-color 0.3s; resize: none;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--gold);
}
.form-group textarea { min-height: 120px; }
.form-group select option { background: var(--navy); }
.form-submit {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--gold); color: var(--navy); border: none;
  padding: 1.1rem 2.5rem; cursor: pointer;
  transition: all 0.3s; align-self: flex-start;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,168,76,0.3); }
.form-success {
  display: none; padding: 1rem; border: 1px solid var(--gold);
  color: var(--gold-light); font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif;
}

/* ─── FOOTER ─── */
footer {
  background: #060e1e; padding: 3rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.footer-logo img { height: 50px; }
.footer-links {
  display: flex; gap: 2rem; list-style: none;
  font-family: 'Montserrat', sans-serif; font-size: 0.65rem;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.footer-links a { color: rgba(232,224,208,0.5); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-family: 'Montserrat', sans-serif; font-size: 0.65rem;
  letter-spacing: 0.1em; color: rgba(232,224,208,0.3); text-align: center;
}
.footer-divider { width: 1px; height: 20px; background: rgba(201,168,76,0.3); display: inline-block; margin: 0 1rem; }

/* ─── WHATSAPP FLOATING ─── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 56px; height: 56px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,0.5); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
.reveal {
  opacity: 1;
  animation: revealFade 0.9s ease both;
}
@keyframes revealFade {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  nav.scrolled { padding: 0.7rem 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--navy); justify-content: center; align-items: center; gap: 2rem; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
  .hamburger { display: flex; z-index: 1000; }
  .hero-content { margin-left: 0; padding: 2rem 1.5rem 8rem; max-width: 100%; }
  .hero-photo-container {
    position: relative !important;
    width: 100% !important;
    right: auto !important;
    bottom: auto !important;
    max-width: 100% !important;
    display: block !important;
    order: -1;
  }
  .hero-photo-container img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    object-position: top center;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  }
  #hero {
    flex-direction: column;
    padding-top: 70px;
  }
  .hero-stats { left: 1.5rem; gap: 1.5rem; bottom: 2rem; }
  .container { padding: 0 1.5rem; }
  .about-grid, .why-grid, .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }
}
@media (max-width: 900px) {
  .areas-grid .area-card[style*="span 3"] { grid-column: span 2 !important; }
}
@media (max-width: 580px) {
  .areas-grid { grid-template-columns: 1fr; }
  .areas-grid .area-card[style*="span 3"] { grid-column: span 1 !important; }
}

/* ─── TIMELINE ─── */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: flex; gap: 1.2rem; position: relative; padding-bottom: 2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item:last-child .tl-dot::after { display: none; }
.tl-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 0.35rem;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.tl-dot::after {
  content: ''; position: absolute; top: 10px; left: 50%;
  transform: translateX(-50%); width: 1px;
  height: calc(100% + 2rem - 10px);
  background: linear-gradient(to bottom, rgba(201,168,76,0.4), rgba(201,168,76,0.05));
}
.tl-content { flex: 1; }
.tl-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.15em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 0.25rem;
}
.tl-role {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.2rem;
}
.tl-org {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem; color: var(--gray); margin-bottom: 0.5rem;
}
.tl-desc {
  font-size: 0.88rem; line-height: 1.7; color: #4a5568; font-weight: 300;
}
.tl-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif; font-size: 0.6rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(201,168,76,0.12); color: var(--gold-dark);
  border: 1px solid rgba(201,168,76,0.3); padding: 0.2rem 0.6rem;
  margin-top: 0.3rem;
}
@media (max-width: 900px) {
  .tray-grid { grid-template-columns: 1fr !important; }
}


/* ─── URGENCY BLOCK ─── */
.contact-item-urgency {
  display: flex; gap: 1.2rem; align-items: flex-start;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.5);
  border-left: 3px solid var(--gold);
  padding: 1.2rem 1.2rem 1.2rem 1rem;
  margin-top: 0.5rem;
}
.urgency-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.urgency-icon svg { width: 26px; height: 26px; }
.urgency-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--gold-light); text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.urgency-desc {
  font-size: 0.9rem; line-height: 1.65; color: rgba(232,224,208,0.8);
  font-weight: 300; margin-bottom: 0.8rem;
}
.urgency-cta {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  background: var(--gold); color: var(--navy);
  padding: 0.5rem 1.2rem;
  transition: all 0.3s;
}
.urgency-cta:hover { background: var(--gold-light); }


/* ─── FOOTER EMAIL ─── */
.footer-email {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.1em;
  margin-top: -0.5rem;
}
.footer-email a {
  color: var(--gold); text-decoration: none;
  transition: color 0.3s;
}
.footer-email a:hover { color: var(--gold-light); }



/* ─── FAQ ─── */
#faq { background: var(--cream); }
.faq-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 0.8rem; max-width: 860px; }
.faq-item { background: var(--white); border: 1px solid rgba(201,168,76,0.25); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.5rem; font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 600; color: var(--navy); gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: 'Montserrat', sans-serif; color: var(--gold); font-size: 1.3rem; font-weight: 300; transition: transform 0.3s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid rgba(201,168,76,0.2); }
.faq-answer { padding: 1.1rem 1.5rem 1.4rem; font-size: 1rem; line-height: 1.8; color: #3a4a5c; font-weight: 300; }

/* ─── CONSENTIMIENTO ─── */
.consent-row { display: flex; gap: 0.7rem; align-items: flex-start; }
.consent-row input[type=checkbox] { margin-top: 0.28rem; width: 15px; height: 15px; accent-color: var(--gold); flex-shrink: 0; cursor: pointer; }
.consent-row label {
  font-family: 'Montserrat', sans-serif; font-size: 0.68rem; line-height: 1.6;
  color: rgba(232,224,208,0.65); text-transform: none; letter-spacing: 0.02em; cursor: pointer;
}
.consent-row a { color: var(--gold-light); }
.form-privacy-note { font-family: 'Montserrat', sans-serif; font-size: 0.62rem; line-height: 1.7; color: rgba(232,224,208,0.45); }
.form-error { display: none; padding: 1rem; border: 1px solid #c0604c; color: #e8a08f; font-size: 0.9rem; font-family: 'Montserrat', sans-serif; }

/* ─── MODALES LEGALES ─── */
.legal-modal { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(6,14,30,0.85); overflow-y: auto; padding: 4vh 1rem; }
.legal-modal.open { display: block; }
.legal-box { background: var(--cream); max-width: 820px; margin: 0 auto; padding: 3rem; position: relative; }
.legal-box h2 { font-family: 'Playfair Display', serif; color: var(--navy); font-size: 1.6rem; margin-bottom: 1.5rem; }
.legal-box h3 { font-family: 'Montserrat', sans-serif; font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-dark); margin: 1.6rem 0 0.5rem; }
.legal-box p, .legal-box li { font-size: 1rem; line-height: 1.8; color: #3a4a5c; font-weight: 400; }
.legal-box ul { padding-left: 1.2rem; margin: 0.4rem 0; }
.legal-close { position: absolute; top: 1rem; right: 1rem; background: var(--navy); color: var(--gold); border: none; width: 36px; height: 36px; font-size: 1.1rem; cursor: pointer; }
@media (max-width: 600px) { .legal-box { padding: 2rem 1.3rem; } }

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

/* ─── SUBPÁGINAS ─── */
.page-hero { background: linear-gradient(135deg, #060e1e 0%, var(--navy) 55%, var(--navy-light) 100%); padding: 9rem 0 4rem; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 1rem; max-width: 850px; }
.page-hero h1 .gold { color: var(--gold); font-style: italic; }
.page-hero .lead { font-size: 1.15rem; line-height: 1.8; color: rgba(232,224,208,0.85); font-weight: 300; max-width: 780px; }
.breadcrumb { font-family: 'Montserrat', sans-serif; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-light); }

.content-section { background: var(--cream); }
.content-section.alt { background: var(--white); }
.prose { max-width: 850px; }
.prose p { font-size: 1.08rem; line-height: 1.95; color: #3a4a5c; font-weight: 400; margin-bottom: 1.2rem; }
.prose h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); margin: 2.5rem 0 1rem; line-height: 1.25; }
.prose h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--navy); margin: 2rem 0 0.7rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.prose li { font-size: 1.05rem; line-height: 1.85; color: #3a4a5c; margin-bottom: 0.5rem; }
.prose strong { color: var(--navy); }
.prose a { color: var(--gold-dark); }

.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.topic-card { background: var(--white); border: 1px solid rgba(201,168,76,0.3); border-top: 3px solid var(--gold); padding: 2rem; }
.content-section.alt .topic-card { background: var(--cream); }
.topic-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--navy); margin-bottom: 0.8rem; }
.topic-card p { font-size: 0.95rem; line-height: 1.75; color: #4a5568; margin-bottom: 0.8rem; }
.topic-card ul { padding-left: 1.1rem; }
.topic-card li { font-size: 0.92rem; line-height: 1.7; color: #4a5568; margin-bottom: 0.4rem; }
.topic-tag { display: inline-block; font-family: 'Montserrat', sans-serif; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(201,168,76,0.12); color: var(--gold-dark); border: 1px solid rgba(201,168,76,0.35); padding: 0.22rem 0.65rem; margin-bottom: 1rem; }

.check-list { list-style: none; padding: 0 !important; }
.check-list li { position: relative; padding-left: 1.6rem; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }

.cta-band { background: var(--navy); padding: 3.5rem 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem, 2.5vw, 2rem); color: var(--white); line-height: 1.3; max-width: 620px; }
.cta-band h2 .gold { color: var(--gold); font-style: italic; }

.guide-band { background: var(--navy); padding: 0 0 5rem; }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
.guide-card { display: block; text-decoration: none; background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04)); border: 1px solid rgba(201,168,76,0.4); padding: 2rem; transition: border-color 0.3s, transform 0.3s; }
.guide-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.guide-card .g-eyebrow { font-family: 'Montserrat', sans-serif; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.7rem; }
.guide-card h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--white); margin-bottom: 0.6rem; }
.guide-card p { font-size: 0.92rem; line-height: 1.7; color: rgba(232,224,208,0.7); font-weight: 300; margin-bottom: 1rem; }
.guide-card .g-more { font-family: 'Montserrat', sans-serif; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); }
@media (max-width: 900px) { .guide-grid { grid-template-columns: 1fr; } }

.disclaimer { background: rgba(201,168,76,0.08); border-left: 3px solid var(--gold); padding: 1.2rem 1.5rem; margin: 2.5rem 0 0; font-size: 0.88rem !important; line-height: 1.7; color: var(--gray); font-family: 'Montserrat', sans-serif; }

/* ─── BLOG ─── */
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2rem; margin-top: 3rem; }
.blog-card { background: var(--white); border: 1px solid rgba(201,168,76,0.3); display: flex; flex-direction: column; }
.blog-card-body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.blog-date { font-family: 'Montserrat', sans-serif; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.8rem; }
.blog-card h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--navy); line-height: 1.35; margin-bottom: 0.8rem; }
.blog-card p { font-size: 0.95rem; line-height: 1.75; color: #4a5568; margin-bottom: 1.2rem; flex: 1; }
.blog-card a.read-more { font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark); text-decoration: none; }
.blog-card a.read-more:hover { color: var(--navy); }
.blog-card.soon { opacity: 0.65; border-style: dashed; }

.article { max-width: 780px; margin: 0 auto; }
.article p { font-size: 1.1rem; line-height: 2; color: #33415c; margin-bottom: 1.4rem; }
.article h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--navy); margin: 2.8rem 0 1rem; line-height: 1.3; }
.article .article-meta { font-family: 'Montserrat', sans-serif; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray); margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(201,168,76,0.3); }
.article .firma { font-family: 'Playfair Display', serif; font-style: italic; text-align: right; color: var(--navy); margin-top: 2.5rem; }
.article .pd { font-size: 0.95rem; color: var(--gray); font-style: italic; }
