@font-face {
   font-family: 'Inter';
   font-style: normal;
   font-weight: 300;
   font-display: swap;
   src: url('../css/fonts/inter-300.ttf') format('truetype');
 }

 @font-face {
   font-family: 'Inter';
   font-style: normal;
   font-weight: 400;
   font-display: swap;
   src: url('../css/fonts/inter-400.ttf') format('truetype');
 }

 @font-face {
   font-family: 'Inter';
   font-style: normal;
   font-weight: 500;
   font-display: swap;
   src: url('../css/fonts/inter-500.ttf') format('truetype');
 }

 @font-face {
   font-family: 'Inter';
   font-style: normal;
   font-weight: 600;
   font-display: swap;
   src: url('../css/fonts/inter-600.ttf') format('truetype');
 }

 @font-face {
   font-family: 'Inter';
   font-style: normal;
   font-weight: 700;
   font-display: swap;
   src: url('../css/fonts/inter-700.ttf') format('truetype');
 }

 @font-face {
   font-family: 'Playfair Display';
   font-style: normal;
   font-weight: 600;
   font-display: swap;
   src: url('../css/fonts/playfair-display-600.ttf') format('truetype');
 }

 @font-face {
   font-family: 'Playfair Display';
   font-style: normal;
   font-weight: 700;
   font-display: swap;
   src: url('../css/fonts/playfair-display-700.ttf') format('truetype');
 }

:root {
  --navy: #0b1f3a;
  --navy-2: #122a52;
  --gold: #c9a24b;
  --gold-soft: #e3c884;
  --ink: #1a2238;
  --muted: #6b7280;
  --bg: #f7f8fb;
}

* { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, .serif {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.5px;
}

/* NAVBAR */
.navbar-dsw {
  background: rgba(11, 31, 58, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 75, 0.2);
  transition: all 0.3s ease;
}
.navbar-dsw.scrolled { background: rgba(11, 31, 58, 1); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.navbar-brand { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.6rem; color: #fff !important; }
.navbar-brand span { color: var(--gold); }
.navbar-dsw .nav-link { color: rgba(255,255,255,0.85) !important; font-weight: 500; margin: 0 0.5rem; position: relative; }
.navbar-dsw .nav-link:hover { color: var(--gold) !important; }
.navbar-dsw .nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 50%; width: 0; height: 2px;
  background: var(--gold); transition: all 0.3s; transform: translateX(-50%);
}
.navbar-dsw .nav-link:hover::after { width: 70%; }

.btn-gold {
  background: var(--gold); color: var(--navy); font-weight: 600;
  border: none; padding: 0.6rem 1.5rem; border-radius: 4px;
  transition: all 0.3s; letter-spacing: 0.5px;
}
.btn-gold:hover { background: var(--gold-soft); color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,162,75,0.35); }
.btn-outline-gold {
  border: 1.5px solid var(--gold); color: var(--gold); background: transparent;
  padding: 0.6rem 1.5rem; border-radius: 4px; font-weight: 600; transition: all 0.3s;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }

/* HERO */
.hero {
  background:
    linear-gradient(135deg, rgba(11,31,58,0.92) 0%, rgba(18,42,82,0.88) 100%),
    url('../img/backgrounds/hero.jpg') center/cover;
  color: #fff;
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(201,162,75,0.15), transparent 60%);
}
.hero .eyebrow {
  color: var(--gold); letter-spacing: 4px; font-size: 0.85rem;
  text-transform: uppercase; font-weight: 600; margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.15; margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 620px; margin-bottom: 2.5rem; line-height: 1.7; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-stats .stat h3 { font-size: 2.2rem; color: var(--gold); margin: 0; font-weight: 700; }
.hero-stats .stat p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; letter-spacing: 1px; text-transform: uppercase; }

/* SECTIONS */
section { padding: 6rem 0; }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title .eyebrow {
  color: var(--gold); letter-spacing: 4px; font-size: 0.8rem;
  text-transform: uppercase; font-weight: 600; margin-bottom: 0.8rem;
}
.section-title h2 { font-size: 2.6rem; color: var(--navy); margin-bottom: 1rem; }
.section-title p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

/* SERVICES */
.services { background: var(--bg); }
.service-card {
  background: #fff; border-radius: 8px; padding: 2.5rem 2rem;
  border: 1px solid #e5e7eb; transition: all 0.4s ease;
  height: 100%; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(11,31,58,0.12); border-color: var(--gold); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 70px; height: 70px; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 1.5rem; transition: all 0.3s;
}
.service-card:hover .service-icon { background: var(--gold); color: var(--navy); }
.service-card h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 1rem; }
.service-card p { color: var(--muted); line-height: 1.7; margin-bottom: 1.2rem; }
.service-card ul { list-style: none; padding: 0; margin: 0; }
.service-card ul li {
  padding: 0.4rem 0; color: var(--ink); font-size: 0.95rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.service-card ul li i { color: var(--gold); font-size: 0.85rem; }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.feature-item { text-align: center; padding: 1.5rem; }
.feature-item i { font-size: 2.4rem; color: var(--gold); margin-bottom: 1rem; }
.feature-item h4 { color: var(--navy); font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 0.6rem; }
.feature-item p { color: var(--muted); font-size: 0.95rem; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(201,162,75,0.15), transparent 50%);
}
.cta-section h2 { color: #fff; font-size: 2.4rem; margin-bottom: 1rem; position: relative; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 2rem; position: relative; }

/* FOOTER */
footer {
  background: #071428; color: rgba(255,255,255,0.7); padding: 4rem 0 2rem;
}
footer h5 { color: #fff; font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 1.2rem; font-size: 1rem; }
footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; display: block; padding: 0.3rem 0; }
footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; margin-top: 3rem; text-align: center; font-size: 0.9rem; }

/* MODAL LOGIN */
.modal-content { border-radius: 10px; border: none; overflow: hidden; }
.modal-header-login {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff; padding: 2rem; border: none; text-align: center;
}
.modal-header-login h4 { font-family: 'Playfair Display', serif; margin: 0; font-size: 1.6rem; }
.modal-header-login p { color: rgba(255,255,255,0.7); margin: 0.3rem 0 0; font-size: 0.9rem; }
.modal-body { padding: 2.5rem; }
.form-floating > .form-control { border-radius: 6px; border: 1.5px solid #e5e7eb; }
.form-floating > .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 0.2rem rgba(201,162,75,0.15); }
.form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }

@media (max-width: 768px) {
  .hero { padding: 8rem 0 4rem; }
  section { padding: 4rem 0; }
  .section-title h2 { font-size: 2rem; }
}

.opcion-radio {
    cursor: pointer;
    overflow-y: auto;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.opcion-radio.seleccionado {
    background-color: #d1e7dd;
    border-color: #a3cfbb;
}

.opcion-radio:hover {
    background-color: #f8f9fa;
}

.opcion-radio.seleccionado:hover {
    background-color: #bcd0c7;
}
