/* ============================================================
   Ideas Verdes Asesores S.C. — Prototipo de sitio web
   Paleta: azul marino (autoridad) / verde #006600 (marca, extraído
   del logo) / naranja industrial (CTAs)
   ============================================================ */

:root {
  --navy-900: #0A1F33;
  --navy: #0F2A43;
  --navy-700: #1B3B5C;
  --navy-100: #E7EDF3;
  --green: #006600;            /* verde exacto del logo */
  --green-dark: #004D00;
  --green-tint: #EAF4EA;
  --orange: #E87722;
  --orange-dark: #C95F10;
  --bg: #F7F9FB;
  --white: #FFFFFF;
  --text: #22303E;
  --muted: #5B6B7C;
  --line: #DCE4EB;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(15, 42, 67, 0.10);
  --shadow-lg: 0 12px 40px rgba(15, 42, 67, 0.16);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Tipografía ---------- */

h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); font-weight: 800; }

h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.section-sub {
  color: var(--muted);
  max-width: 640px;
  margin-top: 12px;
  font-size: 1.05rem;
}

section { padding: 72px 0; }

/* ---------- Botones ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(232, 119, 34, 0.35);
}
.btn-primary:hover { background: var(--orange-dark); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(15, 42, 67, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.brand { flex-shrink: 0; }
.brand img { height: 44px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 11px;
  border-radius: 6px;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--navy-100); text-decoration: none; }
.main-nav a.active { color: var(--green); }
.main-nav a.nav-cta {
  background: var(--orange);
  color: var(--white);
  margin-left: 6px;
}
.main-nav a.nav-cta:hover { background: var(--orange-dark); }

.lang-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-toggle a {
  padding: 6px 11px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}
.lang-toggle a:hover { text-decoration: none; }
.lang-toggle a.on { background: var(--navy); color: var(--white); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.2s;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(0, 102, 0, 0.25), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-700) 100%);
  color: var(--white);
  padding: 88px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero h1 { color: var(--white); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9FD89F;
  border: 1px solid rgba(159, 216, 159, 0.4);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 22px;
}

.hero-sub {
  margin-top: 20px;
  font-size: 1.13rem;
  color: #C9D6E2;
  max-width: 560px;
}

.hero-ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Tarjeta de acreditación en el hero */
.accred-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 34px 30px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.accred-card .accred-id {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-top: 6px;
  line-height: 1.1;
}
.accred-card .accred-rule {
  width: 56px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 18px auto 4px;
}
.accred-card .accred-lines {
  margin-top: 14px;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  color: #C9D6E2;
}
.accred-card .accred-lines strong { color: var(--white); }
.accred-card .accred-badges {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 102, 0, 0.35);
  border: 1px solid rgba(159, 216, 159, 0.45);
  color: #D9EED9;
}

/* ---------- Hero de página interior ---------- */

.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(0, 102, 0, 0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 70%);
  color: var(--white);
  padding: 64px 0 68px;
}
.page-hero h1 { color: var(--white); max-width: 800px; }
.page-hero .hero-sub { max-width: 640px; }
.breadcrumb {
  font-size: 0.82rem;
  color: #8FA3B5;
  margin-bottom: 18px;
}
.breadcrumb a { color: #9FD89F; }

/* ---------- Franja de datos de la norma ---------- */

.norm-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.norm-strip .container {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  align-items: center;
}
.norm-strip .n-item { font-size: 0.9rem; color: var(--muted); }
.norm-strip .n-item strong { color: var(--navy); display: block; font-size: 1rem; }

/* ---------- Requisitos de la norma (tarjetas informativas) ---------- */

.req-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.req-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 22px 24px;
}
.req-item .req-kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.req-item h3 { font-size: 1.02rem; margin-bottom: 8px; }
.req-item p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Variante de req-list a una columna (servicios detallados) ---------- */

.req-list.single { grid-template-columns: 1fr; max-width: 900px; }
.req-item .req-detail { margin-top: 10px; }

/* ---------- Entregable (dictamen) ---------- */

.deliverable {
  margin-top: 44px;
  background: var(--green-tint);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  align-items: flex-start;
}
.deliverable svg { width: 48px; height: 48px; color: var(--green); }
.deliverable h3 { color: var(--green-dark); margin-bottom: 8px; }
.deliverable p { color: var(--text); font-size: 0.97rem; }

/* ---------- Proceso en 4 pasos ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
  counter-reset: step;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  position: relative;
}
.step-card .step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Bloque destacado de Protección Civil ---------- */

.pc-block {
  background:
    radial-gradient(700px 300px at 10% 120%, rgba(0, 102, 0, 0.35), transparent 60%),
    var(--navy);
  border-radius: 14px;
  color: var(--white);
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  border-left: 6px solid var(--green);
}
.pc-block h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 8px; }
.pc-block p { color: #C9D6E2; font-size: 0.97rem; max-width: 640px; }

/* ---------- FAQ ---------- */

.faq-list { margin-top: 40px; max-width: 820px; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Barra de confianza ---------- */

.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-item .t-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
}
.trust-item .t-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- Tarjetas de pilares / servicios ---------- */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--green-tint);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.pillar-icon svg { width: 28px; height: 28px; }

.pillar-card h3 { margin-bottom: 10px; }
.pillar-card p { color: var(--muted); font-size: 0.95rem; flex-grow: 1; }

.pillar-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.pillar-links a {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--navy-100);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  width: fit-content;
}

/* ---------- Tarjetas de cursos (placeholders marcados) ---------- */

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.course-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-card h3 { font-size: 1.05rem; margin: 10px 0 8px; }
.course-card p { color: var(--muted); font-size: 0.92rem; flex-grow: 1; }

.ejemplo-tag {
  display: inline-block;
  width: fit-content;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9A5B00;
  background: #FFF3E0;
  border: 1px dashed #E8A044;
  border-radius: 4px;
  padding: 3px 9px;
}
.course-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.course-meta span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--navy-100);
  border-radius: 999px;
  padding: 4px 12px;
}

.catalog-note {
  margin-top: 30px;
  background: #FFF9F0;
  border: 1px dashed #E8A044;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #7A5200;
}

/* ---------- Bloque comparativo ---------- */

.compare-section { background: var(--navy); color: var(--white); }
.compare-section h2, .compare-section .section-eyebrow { color: var(--white); }
.compare-section .section-eyebrow { color: #9FD89F; }
.compare-section .section-sub { color: #C9D6E2; }

.compare-table {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-col {
  border-radius: var(--radius);
  padding: 32px 28px;
}
.compare-col.plain {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.compare-col.accredited {
  background: var(--white);
  color: var(--text);
  border: 2px solid var(--green);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.compare-col.accredited .col-flag {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--green);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.compare-col h3 { margin-bottom: 18px; }
.compare-col.plain h3 { color: #C9D6E2; }
.compare-col.accredited h3 { color: var(--green-dark); }

.compare-col ul { list-style: none; display: grid; gap: 14px; }
.compare-col li { display: flex; gap: 12px; font-size: 0.95rem; align-items: flex-start; }
.compare-col li svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; }
.compare-col.plain li { color: #B7C4D1; }
.compare-col.plain li svg { color: #7C8DA0; }
.compare-col.accredited li svg { color: var(--green); }

/* ---------- Línea de tiempo (nosotros) ---------- */

.timeline {
  margin-top: 44px;
  position: relative;
  padding-left: 28px;
  max-width: 760px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--navy-100);
  border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green);
}
.tl-item .tl-year {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--green);
  text-transform: uppercase;
}
.tl-item h3 { margin: 4px 0 6px; font-size: 1.08rem; }
.tl-item p { color: var(--muted); font-size: 0.94rem; max-width: 640px; }

/* ---------- Propuesta (misión / visión marcadas) ---------- */

.propuesta-tag {
  display: inline-block;
  width: fit-content;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9A5B00;
  background: #FFF3E0;
  border: 1px dashed #E8A044;
  border-radius: 4px;
  padding: 3px 9px;
  margin-bottom: 10px;
}

/* ---------- Tarjeta de acreditación (nosotros) ---------- */

.accred-panel {
  margin-top: 40px;
  background: var(--navy);
  border-radius: 14px;
  border-left: 6px solid var(--green);
  color: var(--white);
  padding: 40px 38px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
}
.accred-panel .ap-id {
  text-align: center;
}
.accred-panel .ap-id .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.accred-panel .ap-id .lbl {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9FD89F;
  font-weight: 700;
  margin-top: 4px;
}
.accred-panel h3 { color: var(--white); margin-bottom: 10px; }
.accred-panel p { color: #C9D6E2; font-size: 0.95rem; }
.accred-panel .accred-badges { justify-content: flex-start; margin-top: 16px; }

/* ---------- Equipo ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.team-card .photo-ph { border-radius: 0; border: none; border-bottom: 2px dashed #B9C6D2; min-height: 220px; }
.team-card .tc-body { padding: 20px 22px 24px; }
.team-card h3 { font-size: 1.05rem; }
.team-card .tc-role { color: var(--green); font-weight: 700; font-size: 0.85rem; margin: 2px 0 10px; }
.team-card p { color: var(--muted); font-size: 0.9rem; }
.team-card.placeholder-card {
  border-style: dashed;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  color: var(--muted);
  font-size: 0.92rem;
  box-shadow: none;
}

/* ---------- Bloque del fundador ---------- */

.founder-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 12px;
}

.founder-quote {
  border-left: 4px solid var(--green);
  padding-left: 18px;
  font-style: italic;
  color: var(--muted);
  margin: 20px 0;
}

/* ---------- Placeholder de fotografía ---------- */

.photo-ph {
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, #E3EAF0 0 14px, #EDF2F6 14px 28px);
  border: 2px dashed #B9C6D2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  text-align: center;
  padding: 24px;
  min-height: 300px;
}
.photo-ph svg { width: 40px; height: 40px; opacity: 0.55; }
.photo-ph .ph-label {
  font-size: 0.82rem;
  font-weight: 600;
  max-width: 260px;
  line-height: 1.45;
}

/* ---------- Contacto ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 44px;
  margin-top: 44px;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.contact-card .cc-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.contact-card .cc-value { font-weight: 600; color: var(--navy); font-size: 1rem; }
.contact-card .cc-value a { color: var(--navy); }
.contact-card .cc-sub { color: var(--muted); font-size: 0.88rem; margin-top: 2px; }

.map-ph { min-height: 240px; margin-top: 8px; }

.mock-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
}
.mock-form h3 { margin-bottom: 6px; }
.form-note {
  font-size: 0.8rem;
  color: #9A5B00;
  background: #FFF3E0;
  border: 1px dashed #E8A044;
  border-radius: 4px;
  padding: 6px 12px;
  display: inline-block;
  margin-bottom: 20px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 102, 0, 0.12);
  background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }

.form-ok {
  display: none;
  background: var(--green-tint);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
}
.form-ok h3 { color: var(--green-dark); margin-bottom: 10px; }
.form-ok p { color: var(--text); font-size: 0.95rem; }

/* ---------- CTA final ---------- */

.cta-final {
  background:
    radial-gradient(900px 400px at 15% 120%, rgba(0, 102, 0, 0.3), transparent 60%),
    var(--navy-900);
  color: var(--white);
  text-align: center;
}
.cta-final h2 { color: var(--white); max-width: 720px; margin: 0 auto; }
.cta-final p { color: #C9D6E2; max-width: 560px; margin: 16px auto 0; }
.cta-final .hero-ctas { justify-content: center; }
.cta-contact-line {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: #C9D6E2;
}
.cta-contact-line a { color: #9FD89F; font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900);
  color: #B7C4D1;
  padding: 56px 0 28px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
}
/* El logo tiene fondo blanco: contenedor blanco con padding */
.footer-logo-box {
  background: var(--white);
  border-radius: 8px;
  padding: 12px 16px;
  display: inline-block;
  margin-bottom: 16px;
}
.footer-logo-box img { height: 34px; width: auto; }

.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: #B7C4D1; }
.site-footer a:hover { color: var(--white); }

.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #7C8DA0;
}
.proto-note {
  background: rgba(232, 119, 34, 0.15);
  border: 1px solid rgba(232, 119, 34, 0.4);
  color: #F0A868;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 600;
}

/* ---------- Botón flotante de WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: var(--white); }

/* ---------- Animaciones al scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 6px;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; font-size: 1rem; }
  .nav-burger { display: block; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .req-list { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .pc-block { grid-template-columns: 1fr; padding: 34px 28px; }
  .deliverable { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .compare-table { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .accred-panel { grid-template-columns: 1fr; gap: 20px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
}

@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .brand img { height: 36px; }
  .steps-grid { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 68px; }
}
