/* ===== RESET & ROOT ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:     #0d1b3e;
  --navy-mid: #132145;
  --navy-lt:  #1a2d60;
  --gold:     #c9a84c;
  --gold-lt:  #e0c06a;
  --gold-dk:  #a88030;
  --white:    #ffffff;
  --off-white:#f7f5f0;
  --gray-lt:  #f0ede6;
  --gray:     #9a9485;
  --text:     #2c2a22;
  --text-lt:  #5c5a52;

  --ff-head:  'Playfair Display', Georgia, serif;
  --ff-body:  'Inter', system-ui, sans-serif;

  --radius:   12px;
  --radius-lg:20px;
  --shadow:   0 4px 24px rgba(13,27,62,.12);
  --shadow-lg:0 12px 48px rgba(13,27,62,.22);
  --trans:    .35s cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  background: rgba(201,168,76,.15);
  color: var(--gold-dk);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title span { color: var(--gold); }
.section-desc {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-lt);
  font-size: 1.05rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--trans);
}
.navbar.scrolled {
  background: var(--navy);
  padding: 12px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
/* Logo wrapper — recorta a proporcion 3:1 */
.nav-logo-wrap {
  display: block;
  width: 210px;
  height: 70px;
  overflow: hidden;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: var(--trans);
  filter: brightness(1.05);
}
.nav-logo-img:hover { opacity: .88; transform: scale(1.02); }
.logo-emblem {
  width: 46px; height: 46px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.logo-emblem.small { width: 38px; height: 38px; }
.logo-num {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.logo-emblem.small .logo-num { font-size: .9rem; }
.logo-lines { display: flex; flex-direction: column; gap: 2px; }
.logo-lines span {
  display: block; width: 16px; height: 1px;
  background: var(--gold); opacity: .6;
}
.logo-text { display: flex; flex-direction: column; }
.logo-title {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.logo-sub {
  font-size: .72rem;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-link {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--trans);
}
.nav-link:hover { color: var(--gold); background: rgba(255,255,255,.07); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: .88rem;
  padding: 10px 20px;
  border-radius: 100px;
  transition: var(--trans);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,168,76,.4);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}

/* ===== NAV DROPDOWN (LEY 21.772) ===== */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ff-body);
  white-space: nowrap;
}
.nav-dd-arrow {
  font-size: .7rem;
  transition: transform var(--trans);
}
.nav-dropdown.open .nav-dd-arrow {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 170px;
  background: var(--navy);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 1100;
  list-style: none;
  overflow: hidden;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 7px 7px;
  border-style: solid;
  border-color: transparent transparent var(--navy);
}
.nav-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 500;
  font-family: var(--ff-body);
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--trans), color var(--trans);
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-dd-item:last-child { border-bottom: none; }
.nav-dd-item i { color: var(--gold); font-size: .9rem; width: 16px; text-align: center; }
.nav-dd-item:hover {
  background: rgba(201,168,76,.12);
  color: var(--gold-lt);
}

/* ===== MODAL OVERLAY ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,15,40,.75);
  backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
  position: relative;
  transform: translateY(24px) scale(.97);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(13,27,62,.07);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--trans), color var(--trans);
  z-index: 2;
}
.modal-close:hover { background: var(--navy); color: var(--white); }

/* ── Sueldo modal ── */
.modal-sueldo-box {
  width: 100%;
  max-width: 580px;
}
.modal-sueldo-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 32px 36px 24px;
  border-bottom: 1px solid rgba(13,27,62,.1);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-sueldo-icon {
  width: 54px; height: 54px;
  background: rgba(201,168,76,.18);
  border: 1px solid rgba(201,168,76,.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.modal-sueldo-icon i { font-size: 1.5rem; color: var(--gold); }
.modal-sueldo-ley {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.modal-sueldo-title {
  font-family: var(--ff-head);
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.25;
}
.modal-sueldo-body {
  padding: 28px 36px 32px;
}
.sueldo-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.sueldo-table thead tr {
  background: linear-gradient(135deg, var(--navy), var(--navy-lt));
}
.sueldo-table thead th {
  padding: 12px 16px;
  color: var(--gold-lt);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: left;
}
.sueldo-table thead th:last-child { text-align: right; }
.sueldo-table tbody tr {
  border-bottom: 1px solid rgba(13,27,62,.08);
  transition: background var(--trans);
}
.sueldo-table tbody tr:last-child { border-bottom: none; }
.sueldo-table tbody tr:hover { background: rgba(201,168,76,.06); }
.sueldo-table tbody td {
  padding: 14px 16px;
  font-size: .92rem;
  color: var(--text);
}
.sueldo-monto {
  font-weight: 700;
  color: var(--navy);
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sueldo-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: .82rem;
  color: var(--text-lt);
  line-height: 1.5;
}
.sueldo-disclaimer i { color: var(--gold-dk); font-size: .9rem; margin-top: 2px; flex-shrink: 0; }

/* ── Modal info genérico (Balance / Declaración) ── */
.modal-info-box {
  width: 100%;
  max-width: 580px;
}
.modal-info-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 32px 36px 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-header-balance {
  background: linear-gradient(135deg, #0d2b4e 0%, #16406e 100%);
}
.modal-header-declaracion {
  background: linear-gradient(135deg, #1a2340 0%, #253560 100%);
}
.modal-info-body {
  padding: 28px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.modal-info-text p {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 12px;
}
.modal-info-text p:last-child { margin-bottom: 0; }
.modal-info-text strong { color: var(--navy); }
.modal-info-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--gold-dk);
  font-size: .88rem;
  font-weight: 600;
}
.modal-info-badge i { font-size: 1.1rem; flex-shrink: 0; }

/* ── Declaración data ── */
.declaracion-data {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.declaracion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--off-white);
  border: 1px solid rgba(13,27,62,.08);
  border-radius: var(--radius);
  padding: 14px 20px;
}
.declaracion-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-lt);
  font-size: .85rem;
  font-weight: 500;
}
.declaracion-label i { color: var(--gold-dk); width: 14px; text-align: center; }
.declaracion-valor {
  font-weight: 700;
  color: var(--navy);
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #05102a 0%, #0d1b3e 50%, #152352 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 110%, rgba(201,168,76,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(201,168,76,.08) 0%, transparent 60%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: floatUp var(--dur, 8s) var(--delay, 0s) ease-in infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: .6; }
  90%  { opacity: .2; }
  100% { transform: translateY(-100px) scale(1.5); opacity: 0; }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.35);
  color: var(--gold-lt);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeInDown .8s ease both;
}
.hero-title {
  font-family: var(--ff-head);
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 16px;
  animation: fadeInUp .8s .15s ease both;
}
.hero-num {
  display: block;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: .9;
  letter-spacing: -.02em;
}
.hero-name {
  display: block;
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  letter-spacing: .04em;
}
.hero-notario {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 20px;
  animation: fadeInUp .8s .25s ease both;
}
.hero-notario em { color: var(--gold-lt); font-style: normal; }
.hero-desc {
  color: rgba(255,255,255,.65);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.75;
  animation: fadeInUp .8s .35s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp .8s .45s ease both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 100px;
  transition: var(--trans);
  box-shadow: 0 8px 32px rgba(201,168,76,.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(201,168,76,.5);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(201,168,76,.5);
  color: var(--gold-lt);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 100px;
  transition: var(--trans);
}
.btn-secondary:hover {
  background: rgba(201,168,76,.1);
  border-color: var(--gold-lt);
  transform: translateY(-3px);
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  animation: fadeInUp .8s .55s ease both;
}
.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
}
.stat i { font-size: 1.6rem; color: var(--gold); }
.stat strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
}
.stat span {
  color: rgba(255,255,255,.55);
  font-size: .78rem;
}
.stat-divider {
  width: 1px; height: 48px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: fadeIn 1s 1.2s ease both;
}
.scroll-icon {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ===== INFO BAR ===== */
.info-bar {
  background: var(--gold);
  padding: 16px 0;
}
.info-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 28px;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 500;
}
.info-item i { font-size: 1rem; }
.info-item a { color: var(--navy); font-weight: 600; }
.info-item a:hover { text-decoration: underline; }
.info-divider {
  width: 1px; height: 24px;
  background: rgba(13,27,62,.2);
  flex-shrink: 0;
}

/* ===== SERVICIOS ===== */
.servicios {
  padding: 100px 0;
  background: var(--off-white);
}

/* ===== FLIP CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.flip-card {
  perspective: 1100px;
  min-height: 280px;
  cursor: pointer;
}
.flip-card-wide { grid-column: span 1; }

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.4,0,.2,1);
}
.flip-card:hover .flip-inner,
.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

/* ── SHARED FACE STYLES ── */
.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── FRONT ── */
.flip-front {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.05);
  transition: box-shadow var(--trans);
}
.flip-front::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--trans);
}
.flip-card:hover .flip-front::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-lt));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  transition: var(--trans);
}
.flip-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold-dk), var(--gold));
}
.service-icon i { font-size: 1.4rem; color: var(--gold); }
.flip-card:hover .service-icon i { color: var(--navy); }

.flip-front h3 {
  font-family: var(--ff-head);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.flip-front p {
  color: var(--text-lt);
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 1;
}

.service-tag {
  display: inline-block;
  background: rgba(13,27,62,.06);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  align-self: flex-start;
}

.flip-hint {
  margin-top: 16px;
  font-size: .78rem;
  color: var(--gold-dk);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: .04em;
}
.flip-hint i { font-size: .8rem; animation: spin-slow 3s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ── BACK ── */
.flip-back {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 100%);
  transform: rotateY(180deg);
  border: 1px solid rgba(201,168,76,.2);
}

.flip-back-icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.flip-back-icon i { font-size: 1.2rem; color: var(--gold); }

.flip-back h3 {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}

.req-subtitle {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.req-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255,255,255,.82);
  font-size: .85rem;
  line-height: 1.45;
}
.req-list li i {
  color: var(--gold);
  font-size: .75rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.req-list.req-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}



/* ===== NOSOTROS ===== */
.nosotros {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.nos-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 5% 50%, rgba(201,168,76,.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 95% 20%, rgba(201,168,76,.05) 0%, transparent 60%);
}
.nos-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.nos-image-wrap { display: flex; align-items: center; justify-content: center; position: relative; }
.nos-emblem {
  width: 280px; height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nos-emblem-inner {
  width: 180px; height: 180px;
  background: linear-gradient(135deg, rgba(201,168,76,.15), rgba(201,168,76,.08));
  border: 2px solid rgba(201,168,76,.4);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}
.nos-num {
  font-family: var(--ff-head);
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.nos-scale i { font-size: 1.5rem; color: rgba(201,168,76,.6); }
.nos-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(201,168,76,.7);
}
.nos-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.2);
  animation: spin var(--spd, 20s) linear infinite;
}
.ring1 { width: 220px; height: 220px; animation-duration: 25s; }
.ring2 { width: 260px; height: 260px; border-style: dashed; animation-duration: 35s; animation-direction: reverse; }
.ring3 { width: 300px; height: 300px; opacity: .4; animation-duration: 50s; }
@keyframes spin { to { transform: rotate(360deg); } }
.nos-badge-float {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: var(--gold);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.nos-badge-float i { font-size: 1.4rem; color: var(--navy); }
.nos-badge-float strong { display: block; color: var(--navy); font-size: .88rem; }
.nos-badge-float span { color: rgba(13,27,62,.7); font-size: .75rem; }
.nos-content .section-tag { display: inline-block; }
.nos-content .section-title { text-align: left; color: var(--white); }
.nos-content .section-title span { color: var(--gold); }
.nos-content p {
  color: rgba(255,255,255,.65);
  margin-bottom: 16px;
  line-height: 1.75;
}
.nos-content strong { color: rgba(255,255,255,.9); font-weight: 600; }
.nos-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.nos-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
}
.nos-feat i { color: var(--gold); font-size: 1rem; flex-shrink: 0; }

/* ===== HORARIOS ===== */
.horarios {
  padding: 100px 0;
  background: var(--white);
}
.horarios-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto 40px;
}
.horario-card {
  text-align: center;
  padding: 48px 56px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  transition: var(--trans);
}
.horario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.hor-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-lt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.hor-icon i { font-size: 1.6rem; color: var(--gold); }
.hor-icon.closed { background: rgba(0,0,0,.08); }
.hor-icon.closed i { color: var(--gray); }
.horario-card h3 {
  font-family: var(--ff-head);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.hor-time {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-dk);
  font-family: var(--ff-head);
  margin-bottom: 8px;
}
.hor-time.closed-label {
  font-size: 1.4rem;
  color: var(--gray);
}
.horario-card p { color: var(--text-lt); font-size: .9rem; }
.horario-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}
.hor-div-line {
  width: 1px; height: 60px;
  background: rgba(13,27,62,.12);
}
.hor-div-icon {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hor-div-icon i { font-size: .9rem; color: var(--gold); }
.horario-closed { padding: 48px 56px; text-align: center; }
.horario-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(13,27,62,.04);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
}
.horario-note i { color: var(--gold-dk); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.horario-note span { color: var(--text-lt); font-size: .9rem; line-height: 1.65; }

/* ===== CONTACTO ===== */
.contacto {
  padding: 100px 0;
  background: var(--gray-lt);
}
/* ── Contact layout ── */
.contacto-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}
/* mapa full width */
.contacto-map-full {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.map-wrap-full {
  height: 420px;
  width: 100%;
}
.map-wrap-full iframe {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  display: block;
  filter: saturate(.85) contrast(1.05);
}
/* fila de 3 campos */
.form-row-3 {
  grid-template-columns: 1fr 1fr 1fr !important;
}
.contacto-info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: var(--trans);
  border: 1px solid rgba(0,0,0,.05);
}
.info-card:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.info-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-lt));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-icon i { font-size: 1rem; color: var(--gold); }
.info-body h4 {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.info-body p, .info-body a {
  color: var(--navy);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.5;
}
.info-body a:hover { color: var(--gold-dk); }
.btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-lt));
  color: var(--gold);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 18px;
  border-radius: var(--radius);
  transition: var(--trans);
  margin-top: 8px;
  letter-spacing: .02em;
}
.btn-call:hover {
  background: linear-gradient(135deg, var(--gold-dk), var(--gold));
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201,168,76,.4);
}
.contacto-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.map-wrap { height: 580px; }
.map-wrap iframe { border-radius: var(--radius-lg); filter: saturate(.85) contrast(1.05); }

/* ===== FORMULARIO CONTACTO ===== */
.contacto-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
}
.form-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--gray-lt);
}
.form-header h3 {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-header h3 i { color: var(--gold-dk); font-size: 1.1rem; }
.form-header p { color: var(--text-lt); font-size: .9rem; }
.contacto-form { display: flex; flex-direction: column; gap: 16px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full { grid-column: span 2; }
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid rgba(13,27,62,.15);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--ff-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--off-white);
  transition: var(--trans);
  outline: none;
  resize: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.form-group input.error,
.form-group textarea.error {
  border-color: #e05353;
  box-shadow: 0 0 0 3px rgba(224,83,83,.1);
}
.form-group select { cursor: pointer; }
.btn-form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-lt));
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--trans);
  letter-spacing: .02em;
  margin-top: 4px;
}
.btn-form-submit:hover {
  background: linear-gradient(135deg, var(--gold-dk), var(--gold));
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201,168,76,.4);
}
.btn-form-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(34,139,34,.08);
  border: 1px solid rgba(34,139,34,.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #1a6b1a;
  font-size: .92rem;
  line-height: 1.5;
}
.form-success.visible { display: flex; }
.form-success i { font-size: 1.4rem; color: #228b22; flex-shrink: 0; }
.form-success strong { color: var(--navy); }

/* ===== FOOTER ===== */
.footer { background: var(--navy); color: rgba(255,255,255,.65); }
.footer-top { padding: 72px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
/* Footer logo wrapper — recorta a proporcion 3:1 */
.footer-logo-wrap {
  display: block;
  width: 180px;
  height: 60px;
  overflow: hidden;
  flex-shrink: 0;
}
.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: .92;
  transition: var(--trans);
}
.footer-logo-img:hover { opacity: 1; }
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer-links h5,
.footer-contact h5 {
  font-family: var(--ff-head);
  color: var(--gold);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: var(--trans);
}
.footer-links a:hover { color: var(--gold-lt); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; }
.fc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
}
.fc-item i { color: var(--gold); font-size: .9rem; margin-top: 2px; flex-shrink: 0; }
.fc-item a { color: rgba(255,255,255,.65); transition: var(--trans); }
.fc-item a:hover { color: var(--gold-lt); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.35); }

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--navy);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(201,168,76,.4);
  transition: var(--trans);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-4px) scale(1.1); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .nos-container { grid-template-columns: 1fr; gap: 48px; }
  .nos-image-wrap { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contacto-top { grid-template-columns: 1fr; }
  .contacto-info { display: grid; grid-template-columns: repeat(3, 1fr); }
  .btn-call { grid-column: span 3; }
  .map-wrap-full { height: 320px; }
  .nos-content .section-title { text-align: center; }
  .nos-features { max-width: 500px; margin: 28px auto 0; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 999;
  }
  .nav-links.open .nav-link { font-size: 1.4rem; }
  .nav-toggle { display: flex; z-index: 1001; position: relative; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 80px; height: 1px; }
  .info-container { flex-direction: column; gap: 12px; text-align: center; }
  .info-divider { display: none; }
  .horarios-grid { flex-direction: column; align-items: center; }
  .horario-divider { flex-direction: row; padding: 0; }
  .hor-div-line { width: 40px; height: 1px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nos-content .section-title { font-size: 2rem; }
  .stat { padding: 0 16px; }
  .contacto-top { grid-template-columns: 1fr; }
  .contacto-info { display: flex; flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr !important; }
  .form-group.full { grid-column: span 1; }
  .map-wrap-full { height: 260px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .hero-num { font-size: 5rem; }
  .horario-card, .horario-closed { padding: 32px 24px; }
  .hor-time { font-size: 1.5rem; }
}
