/* =============================================================
   Admi-PH — Asesoría Gratuita
   Paleta: blanco + azul oscuro + amarillo
   ============================================================= */

*, *::before, *::after { box-sizing: border-box; }

:root {
  /* Paleta principal */
  --color-bg: #ffffff;
  --color-bg-alt: #f7f9fc;
  --color-bg-warm: #fff8e1;
  --color-blue: #0a2540;
  --color-blue-dark: #061a30;
  --color-blue-mid: #1a3a5f;
  --color-blue-light: #2c5982;
  --color-blue-tint: #e7eef5;
  --color-yellow: #f4c430;
  --color-yellow-dark: #d4a819;
  --color-yellow-light: #fce38a;
  --color-black: #1a1a1a;
  --color-text: #0a2540;
  --color-text-soft: #4a5a70;
  --color-muted: #7a8aa0;
  --color-border: #e0e7f0;
  --color-border-strong: #b8c5d6;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Manrope', 'Inter', sans-serif;

  --container-max: 1240px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.06);
  --shadow: 0 6px 20px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 37, 64, 0.15);

  --t-fast: 0.15s ease;
  --t-base: 0.25s ease;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--color-blue); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--color-blue-light); }
button { font-family: inherit; cursor: pointer; }
ul { padding: 0; margin: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; letter-spacing: -1px; }

.section { padding: 100px 0; }
.section--cream { background: var(--color-bg-alt); }
.section--blue {
  background: var(--color-blue);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.section--blue::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(244, 196, 48, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.section--blue > .container { position: relative; z-index: 1; }

.section__head { text-align: center; margin-bottom: 70px; max-width: 760px; margin-left: auto; margin-right: auto; }
.section__head--left { text-align: left; margin-left: 0; }
.section__eyebrow {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-blue);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 8px 16px;
  margin-bottom: 20px;
}
.section__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--color-text);
  margin: 0 0 18px;
  font-weight: 800;
}
.section--blue .section__title { color: #ffffff; }
.section__sub {
  font-size: 1.1rem;
  color: var(--color-text-soft);
  margin: 0;
  line-height: 1.6;
}
.section--blue .section__sub { color: rgba(255, 255, 255, 0.85); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: #ffffff; }
.brand:hover { color: var(--color-yellow); }
.brand__mark {
  width: 42px; height: 42px;
  background: var(--color-yellow);
  color: var(--color-blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: #ffffff; }
.brand__tag { font-size: 0.7rem; color: var(--color-yellow); text-transform: uppercase; letter-spacing: 2px; margin-top: 2px; }

.site-nav { display: flex; align-items: center; }
.nav-menu { display: flex; gap: 28px; align-items: center; }
.nav-menu a { color: rgba(255, 255, 255, 0.9); font-size: 0.92rem; font-weight: 500; }
.nav-menu a:hover { color: var(--color-yellow); }
.nav-menu a.nav-cta {
  background: var(--color-yellow);
  color: var(--color-blue);
  padding: 11px 22px;
  font-weight: 700;
}
.nav-menu a.nav-cta:hover { background: var(--color-yellow-dark); color: var(--color-blue); }

.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #ffffff; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--color-blue);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--t-base);
  }
  .nav-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu li { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-menu li:last-child { border-bottom: 0; }
  .nav-menu a { display: block; padding: 14px 0; }
  .nav-menu a.nav-cta { margin: 14px 0 0; text-align: center; }
}

/* ---------- Hero (full-width background image) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
  padding: 140px 0 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero.jpg') center center / cover no-repeat;
  z-index: 0;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0.75) 50%, rgba(10, 37, 64, 0.4) 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: 720px; }
.hero__eyebrow {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-blue);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 8px 18px;
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 24px;
  letter-spacing: -1.5px;
}
.hero__title span { color: var(--color-yellow); }
.hero__lede {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 36px;
  line-height: 1.6;
}
.hero__lede strong { color: var(--color-yellow); font-weight: 700; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__highlights {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero__highlights li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: rgba(255,255,255,0.92); }
.hero__highlights li::before {
  content: '✓';
  color: var(--color-yellow);
  font-weight: 700;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t-base);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--lg { padding: 17px 36px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--yellow {
  background: var(--color-yellow);
  color: var(--color-blue);
  border-color: var(--color-yellow);
  font-weight: 700;
}
.btn--yellow:hover {
  background: var(--color-yellow-dark);
  border-color: var(--color-yellow-dark);
  color: var(--color-blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(244, 196, 48, 0.3);
}

.btn--blue {
  background: var(--color-blue);
  color: #ffffff;
  border-color: var(--color-blue);
  font-weight: 700;
}
.btn--blue:hover {
  background: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

.btn--outline-blue {
  background: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
  font-weight: 600;
}
.btn--outline-blue:hover {
  background: var(--color-blue);
  color: #ffffff;
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-soft);
  border-color: var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-blue); color: var(--color-blue); }

/* ---------- Servicios con imágenes (grid con fotos) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base);
  border: 1px solid var(--color-border);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--color-blue-tint);
}
.service-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card__img img { transform: scale(1.05); }
.service-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--color-yellow);
  color: var(--color-blue);
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.service-card__body { padding: 24px; }
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-text);
  margin: 0 0 10px;
  font-weight: 800;
}
.service-card__text {
  color: var(--color-text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 14px;
}
.service-card__list li {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  padding: 4px 0;
  padding-left: 22px;
  position: relative;
}
.service-card__list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--color-yellow-dark);
  font-size: 0.7rem;
  top: 5px;
}

@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }
@media (max-width: 1100px) and (min-width: 901px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Stats bar (strip horizontal) ---------- */
.stats-bar {
  background: var(--color-blue);
  color: #ffffff;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--color-yellow);
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--color-yellow);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
@media (max-width: 700px) { .stats-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

/* ---------- About (split with image) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-image__tag {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--color-yellow);
  color: var(--color-blue);
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.95rem;
  font-family: var(--font-display);
  box-shadow: var(--shadow);
}
.about-content h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 20px; }
.about-content h2 span { color: var(--color-blue-light); }
.about-content p { color: var(--color-text-soft); line-height: 1.7; margin: 0 0 16px; }
.about-content p strong { color: var(--color-text); }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.about-stat__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-blue);
  font-weight: 800;
  line-height: 1;
}
.about-stat__label {
  font-size: 0.82rem;
  color: var(--color-text-soft);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } .about-stats { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Proceso ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 40px 24px;
  position: relative;
}
.process-step__num {
  width: 64px; height: 64px;
  background: var(--color-yellow);
  color: var(--color-blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}
.process-step__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #ffffff;
  margin: 0 0 10px;
  font-weight: 700;
}
.process-step__text {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq__item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__item summary {
  padding: 22px 28px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--color-text);
  font-size: 1.02rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  color: var(--color-blue);
  font-size: 1.6rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--t-base);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-yellow);
  border-radius: 50%;
}
.faq__item[open] summary::after { content: '−'; }
.faq__body { padding: 0 28px 24px; color: var(--color-text-soft); line-height: 1.7; }
.faq__body p { margin: 0; }

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
}
.contact-info h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 16px; }
.contact-info__intro { color: var(--color-text-soft); margin-bottom: 32px; line-height: 1.7; }
.contact-info__list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}
.contact-info__list li:last-child { border-bottom: 0; }
.contact-info__icon {
  width: 44px; height: 44px;
  background: var(--color-yellow);
  color: var(--color-blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border-radius: var(--radius);
}
.contact-info__text strong { display: block; color: var(--color-text); font-weight: 700; margin-bottom: 4px; }
.contact-info__text { color: var(--color-text-soft); font-size: 0.95rem; }
.contact-info__text a { color: var(--color-blue); font-weight: 600; }

.contact-form {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}
.form-row { margin-bottom: 18px; }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  background: #ffffff;
  transition: all var(--t-fast);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px var(--color-blue-tint);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--color-muted); margin: 12px 0 0; text-align: center; }
.form-note strong { color: var(--color-text); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .contact-form { padding: 28px 22px; } .form-row--2 { grid-template-columns: 1fr; } }

/* ---------- Banner de contacto inferior ---------- */
.contact-banner {
  background: var(--color-blue);
  color: #ffffff;
  padding: 60px 0;
  border-top: 4px solid var(--color-yellow);
}
.contact-banner__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.contact-banner__brand { display: flex; align-items: center; gap: 14px; }
.contact-banner__brand .brand__name { color: #ffffff; }
.contact-banner__brand .brand__tag { color: var(--color-yellow); }
.contact-banner__col h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-yellow);
  margin: 0 0 8px;
  font-weight: 800;
}
.contact-banner__col p { margin: 0; color: rgba(255,255,255,0.92); font-size: 0.92rem; line-height: 1.5; }
.contact-banner__col a { color: #ffffff; }
.contact-banner__col a:hover { color: var(--color-yellow); }
@media (max-width: 1100px) { .contact-banner__inner { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .contact-banner__inner { grid-template-columns: 1fr; gap: 24px; text-align: center; } .contact-banner__brand { justify-content: center; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-blue-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 30px 0;
  text-align: center;
  font-size: 0.85rem;
}
.site-footer__legal { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.site-footer__legal a { color: rgba(255, 255, 255, 0.6); }
.site-footer__legal a:hover { color: var(--color-yellow); }

/* ---------- Banner de políticas horizontal (sin cookies) ---------- */
.policy-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--color-blue);
  color: #ffffff;
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(10, 37, 64, 0.4);
  border-top: 3px solid var(--color-yellow);
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.policy-banner.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.policy-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.policy-banner__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--color-yellow);
  color: var(--color-blue);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.1rem;
}
.policy-banner__text {
  flex: 1;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
}
.policy-banner__text strong { color: var(--color-yellow); font-weight: 700; margin-right: 6px; }
.policy-banner__text a { color: var(--color-yellow); font-weight: 600; text-decoration: underline; }
.policy-banner__text a:hover { color: #ffffff; }
.policy-banner__actions { display: flex; gap: 8px; flex-shrink: 0; }
.policy-banner__actions .btn {
  padding: 8px 20px;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: var(--radius);
}
.policy-banner__actions .btn--ghost { color: #ffffff; border-color: rgba(255,255,255,0.3); }
.policy-banner__actions .btn--ghost:hover { border-color: #ffffff; color: #ffffff; background: rgba(255,255,255,0.08); transform: none; box-shadow: none; }
.policy-banner__actions .btn--yellow { background: var(--color-yellow); color: var(--color-blue); border-color: var(--color-yellow); }
.policy-banner__actions .btn--yellow:hover { background: var(--color-yellow-light); border-color: var(--color-yellow-light); color: var(--color-blue); transform: none; box-shadow: none; }

@media (max-width: 768px) {
  .policy-banner__inner { flex-direction: column; text-align: center; gap: 10px; padding: 12px 16px; }
  .policy-banner__actions { width: 100%; justify-content: center; }
  .policy-banner__actions .btn { flex: 1; max-width: 140px; padding: 6px 12px; }
}
