:root {
  --ink: #121923;
  --muted: #64727f;
  --paper: #f5f8fb;
  --surface: #ffffff;
  --line: #d9e1ea;
  --green: #244d62;
  --green-soft: #e8eef3;
  --red: #b9473f;
  --gold: #d5aa4c;
  --accent: #d4a73d;
  --color-navy-950: #071a2d;
  --color-navy-900: #0a2239;
  --color-navy-800: #0d3153;
  --color-primary: #1769aa;
  --color-accent: #e45c52;
  --color-background: #f5f8fb;
  --color-text-light: #f8fafc;
  --color-text-muted: #afc0d1;
  --blue: #162f4a;
  --blue-deep: #0d2238;
  --blue-mid: #1f4b73;
  --ice: #edf4fa;
  --shadow: 0 28px 90px rgba(13, 34, 56, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, var(--paper) 520px),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  min-height: 92px;
  padding: 12px clamp(16px, 2vw, 28px);
  color: white;
  background: rgba(10, 34, 57, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-badge {
  flex: none;
  width: 48px;
  height: 48px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: white;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-size: 1.32rem;
  font-weight: 900;
  letter-spacing: 2.5px;
}

.brand small {
  color: var(--color-text-muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.nav-links a {
  padding: 12px 13px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 760;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.header-login {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  min-height: 46px;
  min-width: 132px;
  padding: 11px 24px;
  border: 1px solid rgba(240, 199, 102, 0.72);
  border-radius: 12px;
  color: var(--blue-deep);
  background: #f0c766;
  box-shadow: 0 12px 28px rgba(240, 199, 102, 0.24);
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.header-login svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.header-login:hover {
  color: var(--blue-deep);
  background: #ffd978;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(240, 199, 102, 0.3);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
}

.hero,
.page-hero,
.page-grid {
  padding-left: clamp(20px, 6vw, 78px);
  padding-right: clamp(20px, 6vw, 78px);
}

.hero-home {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding-top: clamp(46px, 6vw, 82px);
  padding-bottom: clamp(54px, 7vw, 92px);
  color: white;
  background:
    radial-gradient(1200px 500px at 82% -10%, rgba(227, 179, 74, 0.1), transparent 60%),
    linear-gradient(180deg, #0a2239 0%, #071a2d 100%);
}

.hero-home > * {
  position: relative;
}

.hero-copy-block {
  min-width: 0;
  max-width: 820px;
}

.hero-home h1 {
  max-width: 820px;
  font-size: clamp(2.85rem, 4.9vw, 5.15rem);
  line-height: 0.95;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 5.5vw, 5.15rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3.4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.hero p,
.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 680px;
  font-size: 1.08rem;
}

.hero .hero-lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.primary-action,
.secondary-action,
.plan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
}

.primary-action {
  gap: 8px;
  color: var(--blue-deep);
  background: linear-gradient(135deg, #e3bc5e, var(--accent));
  box-shadow: 0 16px 36px rgba(212, 167, 61, 0.26);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.primary-action:hover {
  background: linear-gradient(135deg, #d9ad43, #c2932f);
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(212, 167, 61, 0.34);
}

.primary-action svg {
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform 200ms ease;
}

.primary-action:hover svg {
  transform: translateX(3px);
}

.secondary-action {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  transition: transform 200ms ease, background 200ms ease;
}

.secondary-action:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-media {
  position: relative;
  align-self: stretch;
  display: grid;
  align-items: center;
}

.hero-photo-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 167, 61, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  transform: translateY(12px);
}

.hero-photo-card img {
  width: 100%;
  aspect-ratio: 1.33;
  object-fit: cover;
  object-position: center;
}

.hero-photo-card figcaption {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.feature-card,
.price-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(13, 34, 56, 0.08);
}

.notice-band {
  padding: 18px clamp(20px, 6vw, 78px);
  color: #4c3c20;
  background: #f1db9d;
}

.notice-band p {
  max-width: 1120px;
  margin: 0 auto;
  color: #4c3c20;
  font-size: 0.95rem;
}

.page-hero {
  color: white;
  background:
    linear-gradient(120deg, rgba(13, 34, 56, 0.98), rgba(22, 47, 74, 0.96), rgba(31, 75, 115, 0.88)),
    var(--blue-deep);
}

.page-hero.compact {
  padding-top: clamp(70px, 9vw, 116px);
  padding-bottom: clamp(58px, 7vw, 92px);
}

.page-hero h1 {
  max-width: 980px;
}

.plans-intro {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 78px);
  color: white;
  background:
    linear-gradient(120deg, rgba(13, 34, 56, 0.98), rgba(22, 47, 74, 0.94)),
    var(--blue-deep);
}

.plans-symbol {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: var(--blue-deep);
  background: var(--gold);
  font-size: 1.65rem;
  font-weight: 900;
}

.plans-intro .eyebrow {
  margin-bottom: 4px;
}

.plans-intro h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.plans-intro p:last-child {
  margin: 0;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
}

.pricing-grid {
  display: grid;
  gap: 16px;
}

.page-grid {
  padding-top: clamp(46px, 6vw, 78px);
  padding-bottom: clamp(70px, 8vw, 110px);
}

.plans-grid {
  padding-top: clamp(22px, 4vw, 42px);
}

.feature-card {
  min-height: 260px;
  padding: 24px;
}

.feature-card h2 {
  font-size: 1.35rem;
}

.roadmap {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.roadmap li {
  position: relative;
  min-height: 86px;
  padding: 20px 20px 20px 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  line-height: 1.55;
  counter-increment: item;
}

.roadmap li::before {
  content: counter(item);
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: white;
  background: var(--blue);
  font-weight: 900;
}

.roadmap strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}

.price-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 28px;
}

.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--plan-accent, var(--blue));
}

.plan-test {
  --plan-accent: #2b6f9f;
  background: linear-gradient(180deg, #ffffff, #eef5fa);
  border-color: #bfd3e2;
}

.plan-supuestos {
  --plan-accent: #a87820;
  background: linear-gradient(180deg, #ffffff, #f6f0e4);
  border-color: #dbc596;
}

.plan-completo {
  --plan-accent: #8d3e3a;
  background: linear-gradient(180deg, #ffffff, #f4e8e7);
  border-color: #d5b3af;
}

.plan-temario-completo {
  --plan-accent: #1f7a62;
  background: linear-gradient(180deg, #ffffff, #e9f5f0);
  border-color: #a8d1c3;
}

.plan-temario-completo .plan-name,
.price-card.plan-temario-completo li::before {
  color: #17664f;
}

.price-card.featured {
  border-color: rgba(22, 47, 74, 0.5);
  box-shadow: 0 26px 70px rgba(13, 34, 56, 0.18);
}

.price-card.featured.plan-completo {
  border-color: #b98580;
}

.premium-card {
  --plan-accent: var(--gold);
  color: white;
  background:
    linear-gradient(145deg, rgba(13, 34, 56, 0.98), rgba(31, 75, 115, 0.96)),
    var(--blue-deep);
  border-color: rgba(255, 255, 255, 0.18);
}

.premium-card p,
.premium-card li,
.premium-card h2 small {
  color: rgba(255, 255, 255, 0.74);
}

.premium-card .plan-name,
.price-card.premium-card li::before {
  color: var(--gold);
}

.premium-card .plan-button.primary {
  color: var(--blue-deep);
  background: white;
  box-shadow: none;
}

.plan-especial {
  --plan-accent: #5f4b8b;
  background: linear-gradient(180deg, #ffffff, #eeeaf7);
  border-color: #c4badc;
}

.plan-especial .plan-name,
.price-card.plan-especial li::before {
  color: #4f3a7d;
}

.plan-name {
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 900;
}

.price-card h2 {
  font-size: 3rem;
}

.price-card h2 small {
  color: var(--muted);
  font-size: 1rem;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 900;
}

.plan-button {
  width: 100%;
  margin-top: auto;
  color: var(--blue-deep);
  background: var(--green-soft);
}

.plan-button.primary {
  color: white;
  background: var(--blue);
}

.contact-form,
.login-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.contact-form {
  width: min(100%, 560px);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 820;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfb;
}

textarea {
  resize: vertical;
}

.login-modal {
  width: min(560px, calc(100vw - 32px));
  padding: 30px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-modal::backdrop {
  background: rgba(23, 32, 39, 0.72);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 30;
  max-width: min(520px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 8px;
  color: white;
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 78px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.credit {
  text-align: right;
  font-size: 0.86rem;
}

@media (max-width: 1060px) {
  .hero-home {
    grid-template-columns: 1fr;
  }

  .hero-home {
    min-height: auto;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-photo-card img {
    aspect-ratio: 1.55;
  }

}

@media (max-width: 760px) {
  .site-header {
    min-height: 74px;
    padding-inline: 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand-badge {
    width: 44px;
    height: 44px;
    padding: 4px;
  }

  .brand strong {
    font-size: 1.12rem;
    letter-spacing: 1.8px;
  }

  .brand small {
    font-size: 0.58rem;
    letter-spacing: 1.1px;
  }

  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 78px;
    display: none;
    grid-template-columns: 1fr;
    padding: 12px;
    border-radius: 8px;
    background: rgba(23, 32, 39, 0.98);
  }

  .nav-links.open {
    display: grid;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: 0;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    margin: 2px 0;
    border-radius: 99px;
    background: white;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero-home {
    gap: 28px;
    padding-top: 34px;
    padding-bottom: 44px;
  }

  .hero-home h1 {
    font-size: 2.7rem;
  }

  .hero .hero-lead {
    font-size: 1rem;
  }

  .hero-home,
.page-hero,
.plans-intro,
.page-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .plans-intro {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .plans-intro p:last-child {
    flex-basis: 100%;
    margin-left: 0;
  }

  

  

  

  

  

  .hero-photo-card {
    transform: none;
  }

  .hero-photo-card img {
    aspect-ratio: 1.25;
  }

  .hero-photo-card figcaption {
    padding: 9px 12px;
    font-size: 0.78rem;
  }

  .action-row,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }

  .credit {
    text-align: left;
  }
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: white;
  background: #25d366;
  box-shadow: 0 12px 30px rgba(13, 34, 56, 0.35);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

.whatsapp-float svg {
  width: 36px;
  height: 36px;
}

.site-footer {
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-brand p,
.footer-links p {
  margin: 0;
}

.footer-brand .credit {
  margin-top: 6px;
  text-align: left;
}

.footer-links {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.footer-legal {
  display: flex;
  gap: 16px;
}

.footer-legal a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-legal a:hover,
.footer-contact a:hover {
  color: white;
  text-decoration: underline;
}

.footer-contact {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 6vw, 78px) clamp(48px, 7vw, 84px);
}

.legal-page h1 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.legal-updated {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-page h2 {
  margin: 30px 0 10px;
  font-size: 1.22rem;
}

.legal-page p,
.legal-page li {
  line-height: 1.65;
  color: #2c3947;
}

.legal-page ul {
  padding-left: 20px;
}

.legal-page a {
  color: var(--blue-mid);
  text-decoration: underline;
}

.legal-placeholder {
  padding: 1px 6px;
  border-radius: 4px;
  background: #fdf3d7;
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 78px) clamp(48px, 7vw, 84px);
}

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.faq-list summary {
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
}

.faq-list summary:hover {
  background: var(--ice);
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.faq-list details p {
  margin: 0;
  padding: 0 18px 16px;
  line-height: 1.65;
  color: #2c3947;
}

.faq-list details a {
  color: var(--blue-mid);
  text-decoration: underline;
}

.error-page {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  min-height: 55vh;
  padding: clamp(36px, 6vw, 72px) 20px;
  text-align: center;
}

.error-page strong {
  font-size: 4rem;
  color: var(--blue-mid);
}

/* Cuando el footer se apila en dos filas, todo alineado a la izquierda */
@media (max-width: 1240px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-links {
    justify-items: start;
    text-align: left;
  }

  .footer-legal {
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}

/* Portada ARLANPOL rediseñada */
.site-header {
  min-height: 76px;
  padding: 10px 32px;
  background: rgba(7, 26, 45, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand-badge {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
}

.brand strong {
  font-size: 1.18rem;
  letter-spacing: 2.2px;
}

.brand small {
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.62rem;
  letter-spacing: 1.2px;
}

.nav-links a {
  border-radius: 10px;
}

.header-login,
.primary-action,
.secondary-action,
.plan-button {
  border-radius: 12px;
}

.primary-action {
  color: var(--blue-deep);
  background: linear-gradient(135deg, #e3bc5e, var(--accent));
  box-shadow: 0 14px 28px rgba(212, 167, 61, 0.26);
}

.primary-action:hover {
  background: linear-gradient(135deg, #d9ad43, #c2932f);
  box-shadow: 0 18px 34px rgba(212, 167, 61, 0.34);
}

.hero-home {
  display: block;
  min-height: min(calc(100vh - 92px), 780px);
  padding: clamp(44px, 6vw, 76px) 32px clamp(56px, 7vw, 88px);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  width: min(100%, 1680px);
  min-height: min(calc(100vh - 320px), 560px);
  margin: 0 auto;
}

.hero-copy-block {
  max-width: 650px;
  animation: hero-reveal 520ms ease both;
}

.hero-media {
  animation: hero-reveal 580ms ease 90ms both;
}

.eyebrow {
  color: #dbe9f7;
  letter-spacing: 0.08em;
}

.hero-home h1 {
  max-width: 650px;
  margin-bottom: 22px;
  color: var(--color-text-light);
  font-size: clamp(3.625rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero .hero-lead {
  max-width: 610px;
  color: rgba(248, 250, 252, 0.78);
  font-size: 1.16rem;
  line-height: 1.65;
}

.action-row {
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  min-height: 54px;
  padding-inline: 22px;
}

.secondary-action {
  color: var(--color-text-light);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-photo-card {
  transform: none;
  width: 100%;
  max-width: 780px;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.hero-photo-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.benefits {
  padding: clamp(46px, 6vw, 84px) 32px;
  background: var(--color-background);
}

.benefits-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 1680px);
  margin: 0 auto;
}

.benefit-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(10, 34, 57, 0.1);
  border-radius: 18px;
  background: white;
  box-shadow: 0 18px 44px rgba(7, 26, 45, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 105, 170, 0.26);
  box-shadow: 0 24px 54px rgba(7, 26, 45, 0.11);
}

.benefit-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--color-primary);
}

.benefit-card h2 {
  margin-bottom: 10px;
  color: var(--color-navy-950);
  font-size: 1.28rem;
}

.benefit-card p {
  margin: 0;
  color: #526575;
  line-height: 1.58;
}

.opinions-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(46px, 6vw, 78px) 32px;
  background: white;
}

.opinions-section > * {
  width: 100%;
}

.opinions-section h2 {
  max-width: 620px;
  color: var(--color-navy-950);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.opinions-section p:last-child {
  max-width: 680px;
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(10, 34, 57, 0.1);
  border-radius: 18px;
  background: var(--color-background);
  color: #526575;
}

.whatsapp-float {
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: white;
  background: #1f9f62;
  box-shadow: 0 16px 36px rgba(7, 26, 45, 0.3);
}

@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1400px) {
  .nav-links a {
    padding-inline: 10px;
  }
}

@media (max-width: 1120px) {
  .header-actions {
    display: inline-flex;
  }

  .header-login {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.92rem;
  }
}

@media (max-width: 1180px) {

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  }

  .hero-home h1 {
    font-size: clamp(2.375rem, 4.5vw, 2.75rem);
  }

  .benefits-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    padding-inline: 18px;
  }

  .hero-home {
    padding-inline: 22px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-home h1 {
    font-size: clamp(2rem, 8.6vw, 2.375rem);
  }

  .hero .hero-lead {
    font-size: 1rem;
  }

  .benefits,
  .opinions-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .opinions-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .brand-text small {
    display: none;
  }

  .nav-links {
    background: rgba(7, 26, 45, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-home {
    padding-top: 34px;
  }

  .action-row,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  

  .benefits-inner {
    grid-template-columns: 1fr;
  }

  
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Ajuste portada 16:9 con escudo inferior correcto */
.hero-photo-card img {
  aspect-ratio: 16 / 9;
  object-position: center center;
}

/* Portada limpia 16:9 sin escudos generados */
.hero-photo-card img {
  aspect-ratio: 16 / 9;
  object-position: center center;
}

/* Marca ARLANPOL más visible */
.site-header {
  gap: clamp(14px, 2vw, 28px);
}

.brand {
  flex: 0 0 auto;
  min-width: clamp(280px, 26vw, 380px);
  padding: 8px 12px 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brand-badge {
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28));
}

.brand-text {
  gap: 5px;
}

.brand strong {
  color: #ffffff;
  font-size: clamp(1.55rem, 2vw, 2rem);
  letter-spacing: 2.8px;
  line-height: 0.92;
}

.brand small {
  color: rgba(248, 250, 252, 0.84);
  font-size: 0.72rem;
  letter-spacing: 1.4px;
}

.nav-links {
  margin-left: clamp(6px, 1.5vw, 26px);
  margin-right: auto;
}

@media (max-width: 1180px) {
  .brand {
    min-width: auto;
    padding-right: 10px;
  }

  .brand strong {
    font-size: 1.45rem;
  }
}

@media (max-width: 760px) {
  .brand {
    min-width: 0;
    max-width: calc(100vw - 76px);
    padding: 6px 8px;
    border-radius: 14px;
  }

  .brand-badge {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 1.28rem;
    letter-spacing: 2px;
  }

  .brand-text small {
    display: block;
    max-width: 176px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.58rem;
  }

}

/* Foto aportada por el usuario, encuadre 16:9 y sin elementos superpuestos */
.hero-photo-card {
  border-radius: 22px;
}

.hero-photo-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
}

/* Mostrar la foto completa aportada por el usuario */
.hero-inner {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(30px, 4vw, 58px);
}

.hero-copy-block {
  max-width: 590px;
}

.hero-home h1 {
  max-width: 590px;
  font-size: clamp(3.1rem, 4.3vw, 3.85rem);
}

.hero .hero-lead {
  max-width: 570px;
}

.hero-photo-card {
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.hero-photo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
}

@media (max-width: 1180px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
  }

  .hero-home h1 {
    font-size: clamp(2.25rem, 4.2vw, 3rem);
  }
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy-block,
  .hero-home h1,
  .hero .hero-lead {
    max-width: none;
  }
}

/* El menú pasa a hamburguesa antes de que los enlaces de la cabecera se amontonen. */
@media (max-width: 1180px) {
  .header-actions {
    margin-left: auto;
    margin-right: 0;
  }

  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 84px;
    display: none;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(7, 26, 45, 0.98);
  }

  .nav-links.open {
    display: grid;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: 0;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    margin: 2px 0;
    border-radius: 99px;
    background: white;
  }
}

@media (max-width: 620px) {
  .header-login {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
  }

  .header-login span {
    display: none;
  }
}

/* Texto del hero: subtítulo destacado + párrafos compactos */
.hero-home p.hero-sub {
  max-width: 650px;
  margin: 0 0 16px;
  color: var(--color-text-light);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
}

.hero-home p.hero-lead {
  max-width: 650px;
  margin-bottom: 12px;
  font-size: clamp(0.96rem, 1.1vw, 1.06rem);
  line-height: 1.6;
}

.hero-home p.hero-lead:last-of-type {
  margin-bottom: 0;
}

/* Rediseño hero portada ARLANPOL */
.site-header {
  min-height: 72px;
  padding: 8px clamp(18px, 2.4vw, 40px);
  background: rgba(7, 26, 45, 0.9);
}

.brand {
  gap: 10px;
  padding: 4px 0;
  filter: none;
}

.brand-badge {
  width: 42px;
  height: 42px;
  padding: 4px;
  box-shadow: none;
}

.brand strong {
  font-size: 1.18rem;
  letter-spacing: 2px;
}

.brand small {
  font-size: 0.58rem;
  letter-spacing: 1.2px;
}

.nav-links a {
  position: relative;
  padding: 11px 12px;
  border-radius: 0;
  background: transparent;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: white;
  background: transparent;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-links a.active {
  color: white;
  background: transparent;
  box-shadow: none;
}

.header-actions {
  margin-right: 0;
}

.hero-home {
  min-height: calc(100vh - 72px);
  padding: clamp(34px, 4vw, 54px) clamp(24px, 3vw, 40px) clamp(52px, 6vw, 76px);
  background:
    radial-gradient(1200px 500px at 82% -10%, rgba(227, 179, 74, 0.1), transparent 60%),
    linear-gradient(180deg, #0a2239 0%, #071a2d 100%);
}

.hero-inner {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  column-gap: clamp(60px, 6.5vw, 100px);
  row-gap: clamp(24px, 3vw, 42px);
  width: 100%;
  min-height: min(calc(100vh - 190px), 620px);
}

.hero-copy-block {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-kicker-pill {
  grid-column: 1 / -1;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: calc(100vw - 48px);
  margin: 0;
  padding: 18px clamp(26px, 3vw, 46px);
  border: 1px solid rgba(213, 170, 76, 0.7);
  border-radius: 999px;
  color: #f0c766;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(7, 26, 45, 0.24);
  font-size: clamp(1.5rem, 1.85vw, 2.05rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.28;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-home h1 {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: clamp(2.85rem, 3.65vw, 3.35rem);
  font-weight: 800;
  line-height: 1.06;
  text-align: center;
  text-wrap: balance;
}

.hero-home p.hero-sub {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(1.35rem, 1.65vw, 1.65rem);
  font-weight: 820;
  text-align: justify;
}

.hero-home p.hero-lead {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 620px;
  margin-bottom: 12px;
  color: #f0c766;
  font-size: clamp(1rem, 1.08vw, 1.1rem);
  line-height: 1.62;
  text-align: justify;
}

.hero-home p.hero-lead::before {
  content: "✓";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.32em;
  height: 1.32em;
  margin-top: 0.12em;
  border-radius: 50%;
  color: var(--blue-deep);
  background: var(--gold);
  font-size: 0.72em;
  font-weight: 950;
  line-height: 1;
}

.hero-home p.hero-sub-plain {
  color: #ffffff;
}

.hero-home p.slogan-accent {
  color: rgba(248, 250, 252, 0.86);
}

.hero-home p.hero-lead:last-of-type {
  margin-bottom: 0;
}

.hero-home .action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-home .primary-action,
.hero-home .secondary-action {
  min-height: 52px;
  border-radius: 12px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hero-home .secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: white;
  background: transparent;
}

.hero-home .primary-action:hover,
.hero-home .secondary-action:hover {
  transform: translateY(-2px);
}

.hero-trust {
  max-width: none;
  margin: 18px 0 0;
  color: rgba(248, 250, 252, 0.64);
  font-size: 0.91rem;
  font-weight: 720;
}

.hero-media {
  position: relative;
  z-index: 1;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 10% -5% -4% 8%;
  border-radius: 36px;
  background: rgba(23, 105, 170, 0.24);
  filter: blur(38px);
}

.hero-photo-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.hero-photo-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(330px, calc(100% - 44px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  color: white;
  background: rgba(7, 26, 45, 0.74);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.hero-floating-card svg {
  flex: none;
  width: 25px;
  height: 25px;
  color: var(--accent);
}

.hero-floating-card strong,
.hero-floating-card small {
  display: block;
}

.hero-floating-card strong {
  font-size: 0.96rem;
  line-height: 1.2;
}

.hero-floating-card small {
  margin-top: 3px;
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.78rem;
}

.benefits {
  padding: clamp(34px, 5vw, 58px) clamp(24px, 3vw, 40px);
  background: #f4f8fc;
}

.benefits-inner {
  width: min(100%, 1380px);
  gap: 0;
  border: 1px solid rgba(10, 34, 57, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(7, 26, 45, 0.06);
  overflow: hidden;
}

.benefit-card {
  min-height: auto;
  padding: 24px 26px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.benefit-card + .benefit-card {
  border-left: 1px solid rgba(10, 34, 57, 0.08);
}

.benefit-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.62);
}

.benefit-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
}

.benefit-card h2 {
  font-size: 1.06rem;
}

.benefit-card p {
  font-size: 0.94rem;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .hero-inner {
    column-gap: clamp(38px, 5vw, 62px);
    row-gap: clamp(22px, 3vw, 34px);
  }

  .hero-home h1 {
    font-size: clamp(2.35rem, 4.1vw, 2.95rem);
  }

  .benefit-card:nth-child(3) {
    border-left: 0;
  }

  .benefit-card:nth-child(n + 3) {
    border-top: 1px solid rgba(10, 34, 57, 0.08);
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 68px;
  }

  .hero-home {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .hero-home h1 {
    font-size: clamp(2.05rem, 8vw, 2.36rem);
    line-height: 1.06;
  }

  .hero-home .action-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-home .primary-action,
  .hero-home .secondary-action {
    width: 100%;
    justify-content: center;
  }

  .hero-floating-card {
    display: none;
  }

  .benefits-inner {
    grid-template-columns: 1fr;
  }

  .benefit-card + .benefit-card,
  .benefit-card:nth-child(n + 3) {
    border-top: 1px solid rgba(10, 34, 57, 0.08);
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .hero-kicker-pill {
    padding: 11px 12px;
    font-size: clamp(0.78rem, 3vw, 1rem);
    line-height: 1.28;
  }

  .hero-home p.hero-sub {
    font-size: 1.18rem;
  }
}

/* Ajuste final responsive: una sola capa manda sobre reglas anteriores. */
.site-header {
  flex-wrap: nowrap;
}

.brand,
.header-actions,
.menu-toggle {
  flex: 0 0 auto;
}

.nav-links {
  min-width: 0;
  justify-content: center;
}

.contact-form {
  width: min(100%, 480px);
  padding: clamp(18px, 2.2vw, 22px);
}

.hero-inner {
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
}

.hero-kicker-pill {
  max-width: min(100%, 1080px);
}

@media (max-width: 1180px) {
  .site-header {
    gap: 12px;
    padding-inline: 18px;
  }

  .brand strong {
    font-size: 1.08rem;
    letter-spacing: 1.5px;
  }

  .brand small {
    font-size: 0.54rem;
  }

  .header-login {
    min-height: 42px;
    min-width: 118px;
    padding: 9px 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 1180px) {
  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 84px;
    display: none;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(7, 26, 45, 0.98);
  }

  .nav-links.open {
    display: grid;
  }

  .header-actions {
    margin-left: auto;
    margin-right: 0;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: 0;
  }
}

@media (max-width: 940px) {
  .hero-home {
    min-height: auto;
    padding-inline: clamp(18px, 4vw, 30px);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    row-gap: 30px;
    min-height: auto;
  }

  .hero-copy-block,
  .hero-home h1,
  .hero-home p.hero-sub,
  .hero-home p.hero-lead {
    max-width: 720px;
  }

  .hero-media {
    width: min(100%, 720px);
    justify-self: center;
  }
}

@media (max-width: 700px) {
  .site-header {
    gap: 8px;
    min-height: 66px;
    padding-inline: 10px;
  }

  .brand-badge {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 0.98rem;
    letter-spacing: 1px;
  }

  .brand small {
    display: none;
  }

  .header-login {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }

  .header-login span {
    display: none;
  }

  .hero-kicker-pill {
    max-width: 100%;
    padding: 12px 14px;
    border-radius: 18px;
    font-size: clamp(1rem, 4.3vw, 1.28rem);
    white-space: normal;
  }

  .hero-home h1 {
    font-size: clamp(2rem, 9vw, 2.55rem);
  }

  .hero-home p.hero-sub {
    font-size: clamp(1.12rem, 4.5vw, 1.3rem);
  }

  .hero-photo-card {
    border-radius: 18px;
  }
}

@media (max-width: 430px) {
  .brand strong {
    font-size: 0.88rem;
  }

  .menu-toggle,
  .header-login {
    width: 40px;
    min-width: 40px;
    height: 40px;
  }

  .hero-home .primary-action,
  .hero-home .secondary-action {
    padding-inline: 14px;
    font-size: 0.95rem;
  }
}

.campus-carousel-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f6f8fb;
}

.campus-carousel-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1.25s ease;
}

.campus-carousel-frame img.is-active {
  opacity: 1;
}

.campus-carousel-dots {
  display: flex;
  flex: none;
  gap: 6px;
  padding-right: 14px;
}

.campus-carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(18, 36, 56, 0.22);
  transition: width 0.35s ease, background-color 0.35s ease;
}

.campus-carousel-dots span.is-active {
  width: 22px;
  background: var(--gold);
}
