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

:root {
  --navy: #0b1a2e;
  --navy2: #112035;
  --navy3: #0e2140;
  --gold: #c9a84c;
  --gold-light: #f0d080;
  --blue-mid: #1e3050;
  --text-light: #a0c4dc;
  --white: #ffffff;
  --red: #b0152a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: #1a1a2e;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.15; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* === STRIPE BANDERA === */
.stripe-bar { height: 8px; display: flex; }
.stripe-bar .s1 { flex:1; background: var(--red); }
.stripe-bar .s2 { flex:1; background: var(--gold); }
.stripe-bar .s3 { flex:1; background: var(--red); }

/* === NAVBAR === */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.nav-logo span { color: var(--gold); }

.nav-links { display: flex; gap: 32px; align-items: center; }

.nav-links a {
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-light);
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 10px 22px !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
}

.nav-hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); }

/* === HERO === */
.hero {
  background: var(--navy);
  min-height: 90vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy3) 100%);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-inner {
  max-width: 1140px; margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--gold); padding: 8px 20px;
  margin-bottom: 28px; width: fit-content;
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero-badge span { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 700; }

.hero h1 {
  font-size: clamp(42px, 5vw, 68px);
  color: var(--white); margin-bottom: 12px;
}
.hero h1 em { font-style: normal; color: var(--gold-light); }

.hero-tagline {
  font-size: 14px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 24px; font-weight: 600;
}

.hero-desc {
  font-size: 18px; color: #8ab0cc; line-height: 1.7;
  margin-bottom: 40px; max-width: 480px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 16px 32px; font-size: 15px; font-weight: 900;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: opacity .2s; display: inline-block;
}
.btn-primary:hover { opacity: .88; }

.btn-secondary {
  border: 2px solid var(--gold); color: var(--gold);
  padding: 14px 32px; font-size: 15px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: all .2s; display: inline-block;
}
.btn-secondary:hover { background: var(--gold); color: var(--navy); }

.hero-stats {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid var(--blue-mid);
}
.stat-num { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 900; color: var(--gold); }
.stat-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); font-weight: 600; }

.hero-img-wrap {
  position: relative; display: flex; justify-content: center;
}
.hero-img-wrap img {
  width: 100%; max-width: 460px; height: 560px;
  object-fit: cover; object-position: top;
  border: 3px solid var(--gold);
}
.hero-img-badge {
  position: absolute; bottom: 24px; left: -20px;
  background: var(--gold); color: var(--navy);
  padding: 16px 24px; font-weight: 900;
  font-size: 14px; letter-spacing: 1px;
  max-width: 220px; text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

/* === SECTION BASE === */
.section { padding: 90px 0; }
.section-dark { background: var(--navy); }
.section-alt { background: #f4f6f9; }

.section-tag {
  font-size: 12px; font-weight: 800; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px; display: block;
}
.section-title { font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.section-title-light { color: var(--white); }
.section-sub { font-size: 18px; color: #666; max-width: 580px; }
.section-sub-light { color: var(--text-light); }

.section-header { margin-bottom: 56px; }

/* === SERVICIOS === */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-top: 4px solid var(--gold);
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }

.service-icon { font-size: 42px; margin-bottom: 20px; }
.service-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--navy); }
.service-desc { font-size: 15px; color: #666; line-height: 1.7; margin-bottom: 20px; }
.service-link { font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }

/* === SOBRE MÍ === */
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-img { position: relative; }
.about-img img { width: 100%; height: 580px; object-fit: cover; object-position: top; }
.about-img-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 200px; height: 200px;
  border: 3px solid var(--gold); z-index: -1;
}

.about-credential {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: #f4f6f9;
  border-left: 4px solid var(--gold); margin-bottom: 14px;
}
.cred-icon { font-size: 22px; }
.cred-text { font-size: 15px; font-weight: 600; color: var(--navy); }

/* === CONSULTA ONLINE === */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px; margin-bottom: 56px;
}

.pricing-card {
  background: var(--navy2);
  border: 1px solid var(--blue-mid);
  padding: 48px 40px;
  position: relative; text-align: center;
  transition: border-color .2s;
}
.pricing-card:hover { border-color: var(--gold); }
.pricing-card.featured { border: 2px solid var(--gold); }

.pricing-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy);
  font-size: 11px; font-weight: 800; letter-spacing: 2px;
  padding: 6px 20px; text-transform: uppercase; white-space: nowrap;
}

.pricing-duration { font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--text-light); margin-bottom: 20px; }
.pricing-price { font-family: 'Playfair Display', serif; margin-bottom: 8px; }
.pricing-currency { font-size: 36px; color: var(--gold); vertical-align: super; line-height: 1; }
.pricing-amount { font-size: 100px; font-weight: 900; color: var(--white); line-height: .9; }
.pricing-note { font-size: 14px; color: var(--text-light); margin-bottom: 28px; }

.pricing-features { list-style: none; margin-bottom: 36px; text-align: left; }
.pricing-features li { padding: 10px 0; border-bottom: 1px solid var(--blue-mid); font-size: 15px; color: #c8dce8; display: flex; gap: 12px; align-items: flex-start; }
.pricing-features li::before { content: '✓'; color: var(--gold); font-weight: 900; flex-shrink: 0; }

.pricing-btn {
  display: block; width: 100%;
  background: var(--gold); color: var(--navy);
  padding: 18px; font-size: 15px; font-weight: 900;
  letter-spacing: 2px; text-transform: uppercase;
  border: none; cursor: pointer; transition: opacity .2s;
}
.pricing-btn:hover { opacity: .88; }
.pricing-btn-outline {
  background: transparent; border: 2px solid var(--gold); color: var(--gold);
}
.pricing-btn-outline:hover { background: var(--gold); color: var(--navy); }

.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px; margin-top: 60px;
}
.step { text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-title { font-weight: 800; font-size: 15px; color: var(--white); margin-bottom: 8px; letter-spacing: 1px; }
.step-desc { font-size: 14px; color: var(--text-light); }

/* === PAE INVERSORES === */
.pae-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: start; margin-bottom: 60px;
}
.pae-table { width: 100%; border-collapse: collapse; }
.pae-table th {
  background: var(--gold); color: var(--navy);
  padding: 14px 20px; font-size: 12px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase; text-align: left;
}
.pae-table td {
  padding: 16px 20px; border-bottom: 1px solid var(--blue-mid);
  font-size: 15px; color: #c8dce8;
}
.pae-table tr:hover td { background: rgba(201,168,76,.05); }
.pae-price { color: var(--gold); font-weight: 900; font-size: 18px; white-space: nowrap; }

/* === CONTACTO === */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
.contact-info-block { margin-bottom: 28px; }
.contact-label { font-size: 11px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.contact-value { font-size: 18px; color: var(--white); font-weight: 600; }
.contact-value a { color: var(--white); }
.contact-value a:hover { color: var(--gold); }

.contact-form { background: var(--navy2); padding: 40px; border: 1px solid var(--blue-mid); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--navy3); border: 1px solid var(--blue-mid);
  color: var(--white); padding: 14px 16px; font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-group select option { background: var(--navy); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit {
  width: 100%; background: var(--gold); color: var(--navy);
  padding: 18px; font-size: 16px; font-weight: 900;
  letter-spacing: 2px; text-transform: uppercase;
  border: none; cursor: pointer; transition: opacity .2s;
}
.form-submit:hover { opacity: .88; }

/* === FOOTER === */
.footer {
  background: #050f1c;
  border-top: 3px solid var(--gold);
  padding: 60px 0 30px;
}
.footer-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--gold-light); font-weight: 700; margin-bottom: 14px; }
.footer-desc { font-size: 14px; color: #5a7a94; line-height: 1.7; max-width: 300px; }
.footer-title { font-size: 11px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: #5a7a94; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1140px; margin: 0 auto; padding: 24px 24px 0;
  border-top: 1px solid var(--blue-mid);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 13px; color: #3a5a74; }
.footer-icab { font-size: 13px; color: var(--gold); font-weight: 700; }

/* === FLOATING BUTTONS === */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  background: #25D366; color: white;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* === MOBILE === */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img-wrap { display: none; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .pae-intro { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); padding: 20px; border-top: 1px solid var(--blue-mid); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}
