*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0C1B2E;
  --navy-light: #142740;
  --gold: #C9A84C;
  --gold-hover: #b3933b;
  --grey: #8A95A8;
  --grey-light: #cbd5e1;
  --border: rgba(201, 168, 76, 0.15);
  --white: #ffffff;
  --font-display: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ACCESIBILIDAD */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* NAVEGACIÓN */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(12, 27, 46, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.2rem 2rem;
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.nav-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--grey);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
}

/* HERO */
.hero {
  padding: 12rem 2rem 6rem;
  background: radial-gradient(circle at 80% 20%, rgba(201,168,76,0.05) 0%, transparent 50%);
}

.hero-inner {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--grey-light);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* STATS */
.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  color: var(--grey);
  font-size: 0.85rem;
}

.hero-img-block {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* SECCIONES COMMONS */
.section {
  padding: 8rem 2rem;
}

.section.alt {
  background: var(--navy-light);
}

.container {
  max-width: 1100px;
  margin: auto;
}

.container-sm {
  max-width: 600px;
}

h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.subtitle {
  color: var(--grey);
  text-align: center;
  margin-bottom: 4rem;
  font-size: 1.1rem;
}

/* GRID & CARDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 3rem 2rem;
  border-radius: 16px;
  transition: var(--transition);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--grey-light);
  font-size: 0.95rem;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.5);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* METODO / STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.step-number {
  display: flex;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--gold);
  color: var(--gold);
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.step h3 {
  margin-bottom: 0.75rem;
}

.step p {
  color: var(--grey-light);
}

/* EQUIPO / AVATAR */
.team {
  text-align: center;
}

.avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 auto 1.5rem;
}

.team .role {
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* FORMULARIO */
.form-group {
  margin-bottom: 1.25rem;
}

input, textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(12, 27, 46, 0.5);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(12, 27, 46, 0.8);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.btn-form {
  width: 100%;
  border: none;
  cursor: pointer;
}

.form-feedback {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

/* FOOTER */
footer {
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
  background: #081322;
}

.footer-content {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--grey);
  font-size: 0.9rem;
}

.footer-copy {
  font-size: 0.85rem;
}

/* RESPONSIVE DESIGN (MEDIA QUERIES) */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-inner { gap: 2rem; }
}

@media (max-width: 768px) {
  nav { padding: 1rem; }
  .nav-links { display: none; } /* Idealmente aquí agregarías un menú hamburguesa */
  
  .hero { padding: 8rem 1rem 4rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; gap: 1.5rem; }
  .hero-image { order: -1; } /* Sube la imagen/icono arriba en móviles */
  .hero-img-block { height: 250px; font-size: 3.5rem; }

  .section { padding: 5rem 1rem; }
  h2 { font-size: 2.2rem; }
  
  .grid-3, .steps { grid-template-columns: 1fr; gap: 2rem; }
  .footer-content { flex-direction: column; gap: 1rem; text-align: center; }
}