/* styles.css (GLOBAL — sirve para index.html + 100-dias-excel.html) */
:root {
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(22, 36, 58, 0.08);
  --shadow-lift: 0 18px 50px rgba(22, 36, 58, 0.16);
  --border: 1px solid rgba(31, 39, 27, 0.12);

  /* NUEVA PALETA CONSULTORÍA */
  --bg: #f1f6f8;
  --bg-alt: #c0d6df;
  --bg-card: #ffffff;
  --text: #1f271b;
  --text-muted: rgba(31, 39, 27, 0.68);
  --primary: #166088;
  --primary-dark: #0f4b6a;
  --accent: #4a6fa5;
  --link: #588157;

  --font-heading: "Poppins", sans-serif;
  --font-body: "Roboto", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: none;
  font-family: var(--font-heading);
  font-style: italic;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  display: block;
}

p,
li {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.125rem, 3.5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 600;
}

h2 {
  font-size: clamp(1.625rem, 2.6vw, 2.125rem);
  line-height: 1.3;
  font-weight: 400;
}

h3,
h4 {
  font-weight: 600;
}

.container {
  width: min(1180px, 90vw);
  margin: 0 auto;
}

.section {
  padding: var(--space-64) 0;
}

.section.alt {
  background: var(--bg-alt);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-12);
}

.lead {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--text-muted);
}

.muted {
  color: var(--text-muted);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  font-style: normal;
  width: 300px;
  height: 32px;
}

.logo-subtitle {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: var(--border);
  background: rgba(241, 246, 248, 0.72);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-16) 0;
  gap: var(--space-16);
}

.nav-links {
  display: flex;
  gap: var(--space-16);
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav-links a {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  opacity: 0.9;
}

.nav-links a:hover {
  color: var(--primary);
  opacity: 1;
}

.nav-actions {
  display: flex;
  gap: var(--space-12);
  align-items: center;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  border-radius: 12px;
}

.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
  border-radius: 999px;
}

.nav-toggle-bar + .nav-toggle-bar {
  margin-top: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-16);
    border-radius: var(--radius-md);
    border: var(--border);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-soft);
    position: absolute;
    top: 72px;
    left: 5vw;
    right: 5vw;
    gap: 12px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-actions {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 18px;
  border: var(--border);
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  box-shadow: var(--shadow-soft);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: rgba(22, 96, 136, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.03);
}

.btn-secondary {
  background: rgba(255,255,255,.72);
  border-color: rgba(74, 111, 165, 0.28);
}

.btn-text {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: var(--primary);
}

/* HERO */
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-48);
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: var(--space-16);
  margin-top: var(--space-32);
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
  margin-top: var(--space-32);
}

.hero-stats > div {
  padding: var(--space-16);
  border-radius: var(--radius-md);
}

.hero-visual {
  position: relative;
}

.media-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.hero-placeholder {
  min-height: 420px;
}

.float-card {
  position: absolute;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.85);
  border: var(--border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.float-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.float-card strong {
  display: block;
  font-family: var(--font-heading);
  font-style: normal;
  margin-top: 2px;
}

.float-card--top {
  top: 18px;
  left: 18px;
}

.float-card--bottom {
  bottom: 18px;
  right: 18px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .hero-placeholder {
    min-height: 320px;
  }
}

/* SECTION HEADER */
.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-32);
  align-items: end;
  margin-bottom: var(--space-32);
}

@media (max-width: 980px) {
  .section-header {
    grid-template-columns: 1fr;
  }
}

/* GRIDS */
.grid {
  display: grid;
}

.cards {
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-16);
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(22,96,136,.10);
  border: 1px solid rgba(22,96,136,.18);
  margin-bottom: var(--space-16);
  font-size: 1.2rem;
}

.feature-card h3 {
  margin-bottom: 6px;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
}

/* BLOG / IMAGE CARDS */
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
}

@media (max-width: 980px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.blog-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-content {
  padding: var(--space-24);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  margin-bottom: var(--space-12);
  background: rgba(22,96,136,.10);
  border: 1px solid rgba(22,96,136,.18);
  color: var(--primary);
}

.blog-content h3 {
  margin-bottom: 8px;
}

.blog-content p {
  margin: 0;
  color: var(--text-muted);
}

/* PRICING */
.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.price-card {
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.price-card.highlight {
  border: 1px solid rgba(22,96,136,.28);
  box-shadow: 0 24px 70px rgba(22,96,136,.16);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(22,96,136,.12);
  border: 1px solid rgba(22,96,136,.18);
  font-weight: 600;
  font-style: normal;
  margin-bottom: var(--space-12);
}

.short-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: var(--space-16) 0 var(--space-24);
  padding: 0;
  color: var(--text-muted);
}

.short-list li {
  font-size: 1rem;
}

/* CTA MINI */
.cta-mini .cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
}

.cta-actions {
  display: flex;
  gap: var(--space-12);
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .cta-mini .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* CTA / CONTACT */
.cta-card {
  border-radius: var(--radius-lg);
  padding: var(--space-32);
}

.panel {
  margin-top: var(--space-24);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-family: var(--font-heading);
  font-style: normal;
}

input,
select,
textarea {
  border-radius: 14px;
  border: var(--border);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255,255,255,.82);
}

textarea {
  resize: vertical;
}

.footer {
  padding-top: var(--space-48);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: var(--space-32);
  padding-bottom: var(--space-32);
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-bottom {
  border-top: var(--border);
  padding: var(--space-16) 0;
}

/* REVEAL ANIMS (script.js uses this) */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   S.E.D. Landing Enhancements (glass + glow) — shared across the site
   =================================================================== */

body{
  position: relative;
  overflow-x: hidden;
}

/* soft glows + subtle dot grid (keeps background LIGHT, not dark) */
body::before{
  content:"";
  position: fixed;
  inset: -20vh -20vw;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 10% 10%, rgba(22,96,136,.18), transparent 65%),
    radial-gradient(700px 520px at 85% 18%, rgba(74,111,165,.16), transparent 62%),
    radial-gradient(900px 700px at 60% 92%, rgba(88,129,87,.14), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(241,246,248,.92));
  filter: saturate(1.05);
}

body::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .55;
  background-image:
    radial-gradient(rgba(22,96,136,.18) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(70% 60% at 50% 20%, rgba(0,0,0,.9), transparent 70%);
}

/* glass utility */
.glass,
.panel,
.feature-card,
.price-card,
.blog-card,
.contact-form,
.cta-card,
.hero-stats > div{
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(22, 96, 136, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px rgba(22, 36, 58, 0.10);
}

/* stronger glow on hover */
.feature-card:hover,
.price-card:hover,
.blog-card:hover{
  box-shadow: 0 22px 55px rgba(22, 96, 136, 0.16);
  transform: translateY(-2px);
}

/* =========================
   Logos strip (full width + white)
   ========================= */
.logos{
  padding: var(--space-32) 0;
}
.logos .muted{margin-bottom: var(--space-16)}
.logo-row{
  width: 100%;
  display:flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(22,96,136,.92), rgba(74,111,165,.86));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow-soft);
}
.logo-row span{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
}
.logo-row img{
  max-height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .95;
}

/* =========================
   S.E.D. Timeline (4-point route line)
   ========================= */
.timeline{
  display:grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 12px;
  margin-top: var(--space-24);
}
.tStep{
  border-radius: var(--radius-md);
  padding: 14px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.tNum{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 26px rgba(22,96,136,.25);
}
.tBody strong{
  font-family: var(--font-heading);
}
.tBody p{
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
.tLine{
  width: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(74,111,165,.65), transparent);
}

@media (max-width: 980px){
  .timeline{grid-template-columns: 1fr; gap: 10px}
  .tLine{display:none}
}

/* =========================
   Results grid (optional)
   ========================= */
.resultGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: var(--space-16);
}
.rCard{
  border-radius: var(--radius-md);
  padding: 16px;
}
.rCard--big{
  grid-column: 1 / -1;
  display:flex;
  gap: 14px;
  align-items:center;
}
.rBig{
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  color: var(--primary);
  line-height: 1;
}
@media (max-width: 980px){
  .resultGrid{grid-template-columns: 1fr}
}

/* Improve hero visuals */
.hero-placeholder{
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-placeholder img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

/* Make section alt still readable with glass */
.section.alt{
  background: linear-gradient(180deg, rgba(192,214,223,.55), rgba(241,246,248,.35));
}

/* Animated gradient text (used in SED hero and 100 días) */
.gradient-apple{
  background: linear-gradient(120deg, var(--primary), var(--accent), var(--link), var(--primary));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientMove 6s ease-in-out infinite;
}
@keyframes gradientMove{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
