@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --petrol: #0E3A3B;
  --petrol-light: #154C4D;
  --brand: #189B98;
  --brand-dark: #117572;
  --brand-soft: #E3F2F1;
  --accent-pink: #D81B60; /* Rosa vivo extraído del corazón del logo */
  --accent-pink-hover: #AD1457;
  --sand: #F4F1EA;
  --ivory: #FCFBF9;
  --gold: #C5A059;
  --text-main: #1F2933;
  --text-muted: #52606D;
  --border: #E2DDD3;
  --radius: 16px;
  --shadow-sm: 0 4px 16px rgba(14, 58, 59, 0.06);
  --shadow-md: 0 14px 34px rgba(14, 58, 59, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: var(--sand);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--petrol);
  line-height: 1.24;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 76px 0; }
.bg-ivory { background: var(--ivory); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-header { max-width: 740px; margin: 0 auto 44px; text-align: center; }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.3rem); margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.03rem; }

/* Botones con realce en Rosa del Logo */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }

/* Botón de acento con el Rosa del Logo (aplicado en todo el sitio) */
.btn-accent { background: var(--accent-pink); color: #fff; box-shadow: 0 4px 14px rgba(216, 27, 96, 0.25); }
.btn-accent:hover { background: var(--accent-pink-hover); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(216, 27, 96, 0.35); }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { filter: brightness(0.93); transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--petrol); border-color: var(--petrol); }
.btn-outline:hover { background: var(--petrol); color: #fff; }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--petrol);
  border-bottom: 1px solid rgba(197, 160, 89, 0.28);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}
.brand img { height: 44px; width: 44px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(255,255,255,0.2); }
nav ul { display: flex; list-style: none; gap: 22px; align-items: center; }
nav a { font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.84); transition: color 0.2s; }
nav a:hover, nav a.active { color: #fff; }
nav a.active { border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.menu-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Heroes */
.hero-dark {
  background: linear-gradient(135deg, var(--petrol) 0%, #14494A 100%);
  color: #F3F4F6;
  padding: 72px 0 84px;
}
.hero-dark h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.hero-dark h1 span { color: #7EE2DE; }
.hero-dark p { color: #D9E6E6; font-size: 1.06rem; }
.hero-dark .eyebrow { background: rgba(24, 155, 152, 0.25); color: #8AE8E4; }

.page-hero {
  background: linear-gradient(135deg, var(--petrol) 0%, #154C4D 100%);
  color: #fff;
  padding: 56px 0;
  border-bottom: 3px solid var(--gold);
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 10px; }
.page-hero p { color: #D5E3E3; max-width: 700px; font-size: 1.04rem; }
.page-hero .eyebrow { background: rgba(197, 160, 89, 0.2); color: #F0D59C; }

.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.badge-dark {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  color: #fff;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Perfil y tarjeta externa */
.hero-profile-container { display: flex; flex-direction: column; gap: 16px; }
.hero-photo-wrap {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid rgba(197, 160, 89, 0.45);
  background: #fff;
}
.hero-photo-wrap img { width: 100%; height: 420px; object-fit: cover; object-position: center top; }
.hero-external-card {
  background: var(--ivory);
  color: var(--petrol);
  padding: 18px 22px;
  border-radius: 16px;
  border-left: 5px solid var(--accent-pink);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.hero-external-card strong { display: block; font-size: 1.05rem; font-family: 'Plus Jakarta Sans', sans-serif; color: var(--petrol); margin-bottom: 4px; }
.hero-external-card span { font-size: 0.88rem; color: var(--text-muted); display: block; line-height: 1.5; }

/* Grids y Tarjetas */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.split-feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 42px; align-items: center; }

.card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--brand); }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { font-size: 0.94rem; color: var(--text-muted); }

.editorial-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: var(--ivory);
}
.editorial-img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

/* Listas y Pasos */
.check-list { list-style: none; display: grid; gap: 14px; margin: 20px 0; }
.check-list li { padding-left: 26px; position: relative; font-size: 0.95rem; color: var(--text-muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.check-list strong { color: var(--petrol); }

.step-list { display: grid; gap: 20px; margin-top: 22px; }
.step-item { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--petrol);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Tabs, Acordeón y Bloques Especiales */
.tabs { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--sand);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-muted);
}
.tab-btn.active { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.edu-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.edu-item:last-child { border-bottom: none; }
.edu-item strong { display: block; color: var(--petrol); margin-bottom: 3px; }
.edu-item span { font-size: 0.85rem; color: var(--brand-dark); font-weight: 600; display: block; margin-bottom: 4px; }
.edu-item p { font-size: 0.9rem; color: var(--text-muted); }

.b2b-banner {
  background: var(--petrol);
  color: #E5ECEC;
  border-radius: 22px;
  padding: 44px;
  border: 1px solid rgba(197, 160, 89, 0.35);
}
.b2b-banner h2, .b2b-banner h3, .b2b-banner strong { color: #fff; }
.b2b-banner p, .b2b-banner li { color: #D5E2E2; }
.b2b-banner .eyebrow { background: rgba(197, 160, 89, 0.22); color: #F0D59C; }
.b2b-banner .check-list li::before { color: var(--gold); }

.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; background: var(--ivory); overflow: hidden; }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--petrol);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-a { display: none; padding: 14px 24px 20px; color: var(--text-muted); font-size: 0.95rem; border-top: 1px solid var(--border); }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-plus { font-size: 1.4rem; color: var(--brand); transition: transform 0.2s; }

.encuadre-box {
  background: #FDF7F8;
  border: 1px solid #F0D3DC;
  border-left: 5px solid var(--accent-pink);
  border-radius: var(--radius);
  padding: 32px;
}
.encuadre-box h3 { color: #881337; margin-bottom: 12px; }

.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 10px; }
.testimonial-meta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--text-muted); }
.testimonial-meta strong { color: var(--petrol); display: block; }

/* Formularios */
.form-card { background: var(--ivory); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; color: var(--petrol); }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D5CFC4;
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: 0.9rem; display: none; }
.form-status.ok { display: block; background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-status.err { display: block; background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.map-frame { width: 100%; height: 280px; border: 0; border-radius: var(--radius); margin-top: 20px; }

/* Footer */
footer { background: var(--petrol); color: #BFD0D0; padding: 52px 0 32px; font-size: 0.9rem; border-top: 3px solid var(--gold); }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: #95B0B0; }

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2, .split-feature, .form-row { grid-template-columns: 1fr; }
  .hero-photo-wrap img { height: 360px; }
  nav ul {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--petrol);
    flex-direction: column;
    padding: 22px;
    border-bottom: 2px solid var(--gold);
  }
  nav ul.open { display: flex; }
  .menu-toggle { display: block; }
  .b2b-banner { padding: 28px; }
}