*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0D2E5A;
  --navy2:   #1B4F8C;
  --blue:    #2E75B6;
  --sky:     #5BA3E0;
  --light:   #D5E4F7;
  --gold:    #C49A2A;
  --gold2:   #E8BB4A;
  --white:   #FFFFFF;
  --off:     #F4F7FB;
  --text:    #1a2b45;
  --muted:   #6b80a0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ── NAVBAR ───────────────────────────── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(13,46,90,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold);
  padding: 0 6%;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex; align-items: center; gap: 14px;
}
.nav-mountain {
  display: flex; align-items: flex-end; gap: 2px;
}
.nav-mountain span {
  display: block; background: var(--gold);
  border-radius: 1px 1px 0 0;
}
.nav-mountain span:nth-child(1) { width: 8px; height: 18px; background: var(--sky); }
.nav-mountain span:nth-child(2) { width: 10px; height: 28px; }
.nav-mountain span:nth-child(3) { width: 8px; height: 20px; background: var(--sky); }

.nav-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--white); letter-spacing: 4px;
}
.nav-brand span { color: var(--gold); }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: #A8C8EE; text-decoration: none;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold); color: var(--navy);
  padding: 9px 22px; border-radius: 2px;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none; transition: background .2s;
}
.nav-cta:hover { background: var(--gold2); }

/* ── HERO ─────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #0a1f3d 0%, #0D2E5A 45%, #1B4F8C 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 120px 6% 80px;
}

/* Mountain SVG background */
.hero-bg-mountains {
  position: absolute; bottom: 0; left: 0; width: 100%; pointer-events: none;
}

/* Subtle grid overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(196,154,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,154,42,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 620px;
}

.hero-badge {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold); font-size: 0.72rem;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 6px 16px; margin-bottom: 28px;
  font-family: 'Barlow Condensed', sans-serif;
  animation: fadeUp .8s ease both;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 300; line-height: 1.08;
  color: var(--white); margin-bottom: 10px;
  animation: fadeUp .9s .1s ease both;
}
.hero h1 em {
  font-style: italic; color: var(--gold);
}

.hero-divider {
  width: 60px; height: 3px;
  background: var(--gold); margin: 28px 0;
  animation: fadeUp .9s .2s ease both;
}

.hero p {
  font-size: 1.05rem; font-weight: 300; line-height: 1.75;
  color: var(--light); max-width: 480px; margin-bottom: 40px;
  animation: fadeUp .9s .3s ease both;
}

.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeUp .9s .4s ease both;
}
.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 14px 32px; font-weight: 700;
  font-size: 0.85rem; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none;
  border-radius: 2px; transition: all .2s;
  border: 2px solid var(--gold);
}
.btn-primary:hover { background: var(--gold2); border-color: var(--gold2); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.35); color: var(--white);
  padding: 14px 32px; font-weight: 500;
  font-size: 0.85rem; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none;
  border-radius: 2px; transition: all .2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.07); }

.hero-stats {
  position: absolute; right: 6%; bottom: 80px; z-index: 2;
  display: flex; gap: 48px;
  animation: fadeUp .9s .5s ease both;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 600;
  color: var(--gold); line-height: 1;
}
.stat-label {
  font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--sky); margin-top: 6px;
}

/* ── RAMOS (SERVICIOS) ────────────────── */
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; line-height: 1.2; color: var(--navy);
}
.section-title em { font-style: italic; color: var(--blue); }

.services {
  padding: 100px 6%;
  background: var(--off);
}
.services-header { margin-bottom: 60px; }
.services-header p {
  color: var(--muted); max-width: 520px;
  line-height: 1.7; margin-top: 16px; font-size: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
}

.service-card {
  background: linear-gradient(135deg, #ffffff 80%, #f4f7fb 100%);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(13,46,90,0.07);
  transition: 
    transform .25s cubic-bezier(.4,2,.6,1),
    box-shadow .25s cubic-bezier(.4,2,.6,1),
    border-color .25s;
  margin: 14px 0;
  border: 1.5px solid #e8eaf3;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--sky));
  opacity: 0.18;
  transition: opacity .3s;
  border-radius: 16px 16px 0 0;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.025);
  box-shadow: 0 12px 36px rgba(13,46,90,0.16), 0 2px 8px rgba(44,74,130,0.06);
  border-color: var(--gold);
  z-index: 2;
}

.service-card:hover::before {
  opacity: 0.5;
}

.service-icon {
  width: 52px; height: 52px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--navy); margin-bottom: 12px;
}
.service-card p { font-size: 0.9rem; line-height: 1.7; color: var(--muted); }
.service-tag {
  display: inline-block; margin-top: 20px;
  font-size: 0.72rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  font-weight: 600;
}

/* ── POR QUE CIMA ─────────────────────── */
.why {
  padding: 100px 6%;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.why::after {
  content: 'CIMA';
  position: absolute; right: -2%; top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18rem; font-weight: 700;
  color: rgba(255,255,255,0.025);
  pointer-events: none; line-height: 1;
}
.why .section-title { color: var(--white); }
.why .section-label { }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; margin-top: 60px; position: relative; z-index: 1;
}
.why-item { display: flex; gap: 24px; }
.why-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 600;
  color: var(--gold); opacity: 0.5; line-height: 1;
  flex-shrink: 0; width: 48px; text-align: right;
}
.why-text h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--white); margin-bottom: 8px;
}
.why-text p { font-size: 0.9rem; line-height: 1.7; color: var(--sky); }

/* ── PROCESO ──────────────────────────── */
.process {
  padding: 100px 6%;
  background: var(--white);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 60px; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 36px; left: 12.5%; right: 12.5%;
  height: 1px; background: var(--light);
}
.step { text-align: center; padding: 0 20px; }
.step-circle {
  width: 72px; height: 72px; border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  background: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 600; color: var(--gold);
  position: relative; z-index: 1;
  transition: all .3s;
}
.step:hover .step-circle {
  background: var(--gold); color: var(--navy);
}
.step h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--navy); margin-bottom: 10px;
}
.step p { font-size: 0.85rem; line-height: 1.65; color: var(--muted); }

/* ── CTA BAND ─────────────────────────── */
.cta-band {
  padding: 80px 6%;
  background: linear-gradient(135deg, #0a1f3d, #1B4F8C);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 40px,
    rgba(196,154,42,0.03) 40px, rgba(196,154,42,0.03) 41px
  );
}
.cta-band h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; color: var(--white); margin-bottom: 16px;
  position: relative; z-index: 1;
}
.cta-band h2 em { font-style: italic; color: var(--gold); }
.cta-band p {
  color: var(--light); max-width: 480px;
  margin: 0 auto 36px; font-size: 1rem;
  line-height: 1.7; position: relative; z-index: 1;
}
.cta-band .btn-primary { position: relative; z-index: 1; }

/* ── TESTIMONIAL ──────────────────────── */
.testimonials {
  padding: 100px 6%;
  background: var(--off);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.testi-card {
  background: var(--white);
  padding: 36px; border-top: 3px solid var(--gold);
}
.testi-stars { color: var(--gold); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testi-card blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-style: italic;
  line-height: 1.7; color: var(--navy);
  margin-bottom: 24px;
}
.testi-author { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--blue); }
.testi-role { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

/* ── CONTACTO ─────────────────────────── */
.contact {
  padding: 100px 6%;
  background: var(--white);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; margin-top: 60px; align-items: start;
}
.contact-info { }
.contact-info p {
  color: var(--muted); line-height: 1.8; margin-bottom: 32px;
}
.contact-detail {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 20px;
}
.contact-icon {
  width: 40px; height: 40px; background: var(--light);
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-detail strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--navy); margin-bottom: 2px; }
.contact-detail span { font-size: 0.9rem; color: var(--muted); }

.contact-form { }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--navy); margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid #d0dcea;
  background: var(--off); border-radius: 2px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem; color: var(--text);
  transition: border .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); background: white; }
.form-group textarea { height: 110px; resize: vertical; }

 /* ── FOOTER ───────────────────────────── */
footer {
  background: #07192e;
  padding: 60px 6% 30px;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p { color: #5B7A9E; font-size: 0.88rem; line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-col h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #5B7A9E; text-decoration: none; font-size: 0.88rem; transition: color .2s; }
.footer-col a:hover { color: var(--light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { color: #3d5a7a; font-size: 0.78rem; }

/* ── ANIMATIONS ───────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes drawLine {
  from { width: 0; }
  to   { width: 60px; }
}

/* ── RESPONSIVE ───────────────────────── */
@media (max-width: 768px) {
  .hero-stats { display: none; }
  .why-grid, .testi-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
}