:root {
  --forest: #173c35;
  --forest-2: #245449;
  --ink: #17201e;
  --muted: #5b6965;
  --line: #d7dfdc;
  --paper: #ffffff;
  --mist: #f2f6f4;
  --yellow: #f2c84b;
  --red: #a43b31;
  --blue: #2d5f75;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Manrope, Arial, sans-serif; letter-spacing: 0; }
body, button, a, input { font: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Source Serif 4", Georgia, serif; letter-spacing: 0; }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.03; margin-bottom: 1.25rem; }
h3 { letter-spacing: 0; }

.site-header { height: 72px; padding: 0 max(20px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span, .footer-brand span { display: grid; line-height: 1.05; }
.brand strong, .footer-brand strong { font-size: 1.06rem; }
.brand small, .footer-brand small { color: var(--muted); font-size: .72rem; margin-top: 5px; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .9rem; font-weight: 700; }
.main-nav a { text-decoration: none; }
.main-nav > a:not(.button):hover { color: var(--forest-2); }
.nav-login { padding-left: 24px; border-left: 1px solid var(--line); }
.menu-toggle { display: none; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); background: white; align-items: center; justify-content: center; color: var(--forest); cursor: pointer; }

.button { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 5px; text-decoration: none; font-weight: 800; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 40px; padding: 0 17px; background: var(--forest); color: white; }
.button-primary { background: var(--yellow); color: #17201e; }
.button-primary:hover { background: #ffda64; }
.button-ghost { color: white; border-color: rgba(255,255,255,.55); background: rgba(17,31,27,.45); }
.button-ghost:hover { background: rgba(17,31,27,.75); }
.button-outline { border-color: var(--forest); color: var(--forest); }
.button-outline:hover { color: white; background: var(--forest); }
.button-light { background: white; color: var(--forest); }

.hero { min-height: calc(76vh - 72px); position: relative; display: flex; align-items: center; background: url("assets/hero-construccion.png") center center / cover no-repeat; color: white; overflow: hidden; }
.hero-shade { position: absolute; inset: 0; background: rgba(13, 28, 24, .63); }
.hero-content { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; position: relative; padding: 76px 0 92px; }
.hero-content > * { max-width: 680px; }
.eyebrow { margin-bottom: 18px; color: var(--yellow); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.eyebrow.dark { color: var(--forest-2); }
.hero h1 { font-size: clamp(4.2rem, 10vw, 8.6rem); line-height: .78; margin-bottom: 18px; }
.hero-tagline { font-size: clamp(1.25rem, 2.5vw, 2rem); font-weight: 700; margin-bottom: 22px; }
.hero-copy { font-size: clamp(1rem, 1.7vw, 1.25rem); line-height: 1.65; color: #eef4f1; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; color: #e8efec; font-size: .86rem; font-weight: 700; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }

.product-band { padding: 92px 20px 0; background: var(--mist); overflow: hidden; }
.section-intro { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-intro > p:last-child { color: var(--muted); line-height: 1.7; font-size: 1.03rem; }
.section-intro.light { color: white; }
.section-intro.light > p:last-child { color: #d7e3df; }
.section-intro.compact { margin-bottom: 30px; }
.app-preview { max-width: var(--max); margin: 0 auto; }
.app-preview img { width: 100%; border: 1px solid #c9d2cf; box-shadow: 0 26px 65px rgba(27,54,47,.16); }
.app-preview figcaption { margin: 12px 0 0; color: var(--muted); text-align: right; font-size: .75rem; }
.product-points { max-width: var(--max); margin: 28px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.product-points span { min-height: 98px; padding: 24px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: .86rem; text-align: center; }
.product-points span + span { border-left: 1px solid var(--line); }
.product-points strong { color: var(--ink); }
.product-points svg { color: var(--red); width: 22px; height: 22px; }

.outcomes { padding: 104px 20px; background: var(--forest); }
.outcome-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.2); border-left: 1px solid rgba(255,255,255,.2); }
.outcome-grid article { min-height: 285px; padding: 34px; color: white; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.outcome-grid article > svg { width: 28px; height: 28px; color: var(--yellow); margin-bottom: 44px; }
.outcome-grid h3 { font-size: 1.12rem; margin-bottom: 14px; }
.outcome-grid p { color: #d3dfdb; line-height: 1.68; font-size: .9rem; margin: 0; }

.steps { padding: 108px 20px; }
.step-list { max-width: 960px; margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.step-list li { display: grid; grid-template-columns: 90px 1fr; gap: 25px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.step-list > li > span { color: var(--red); font-family: "Source Serif 4", Georgia, serif; font-size: 1.7rem; }
.step-list h3 { margin: 0 0 8px; font-size: 1.13rem; }
.step-list p { margin: 0; color: var(--muted); line-height: 1.6; }

.security-band { padding: 80px max(20px, calc((100vw - var(--max)) / 2)); background: #e7eef2; display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; }
.security-copy .eyebrow { color: var(--blue); }
.security-copy h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
.security-copy > p:last-child { color: var(--muted); line-height: 1.7; }
.security-facts { display: grid; }
.security-facts span { min-height: 90px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid #bdcbd1; color: var(--muted); }
.security-facts span:first-child { border-top: 1px solid #bdcbd1; }
.security-facts svg { color: var(--blue); width: 24px; height: 24px; }
.security-facts strong { color: var(--ink); }

.pricing { padding: 110px 20px; background: #f7f8f7; }
.pricing-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price-card { position: relative; padding: 38px; background: white; border: 1px solid var(--line); border-radius: 6px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--forest); }
.price-badge { position: absolute; right: 18px; top: 18px; padding: 6px 10px; background: var(--yellow); color: var(--ink); border-radius: 3px; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.plan-name { color: var(--forest-2); font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.price-card h3 { margin: 0; font-size: 3rem; }
.price-card h3 span { font-size: 1.3rem; vertical-align: top; line-height: 2; }
.price-period { color: var(--muted); }
.price-card ul { margin: 28px 0 32px; padding: 25px 0 0; list-style: none; border-top: 1px solid var(--line); display: grid; gap: 15px; flex: 1; }
.price-card li { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .88rem; }
.price-card li svg { color: var(--forest-2); margin-top: 2px; }
.pricing-note { margin: 25px auto 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .82rem; text-align: center; }

.faq { padding: 110px 20px; }
.faq-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 76px; padding: 20px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { color: var(--forest-2); transition: transform .2s ease; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { margin: -4px 50px 26px 4px; color: var(--muted); line-height: 1.75; }

.final-cta { padding: 72px max(20px, calc((100vw - var(--max)) / 2)); background: var(--red); color: white; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.final-cta > div { max-width: 720px; }
.final-cta .eyebrow { color: white; opacity: .78; }
.final-cta h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.final-cta .button { flex: 0 0 auto; }

.site-footer { padding: 48px max(20px, calc((100vw - var(--max)) / 2)); background: #111816; color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 25px 40px; align-items: end; }
.footer-brand small, .site-footer p, .site-footer > small { color: #aebbb7; }
.site-footer p { margin: 0; text-align: right; font-size: .85rem; }
.site-footer nav { display: flex; gap: 25px; font-size: .82rem; }
.site-footer nav a { color: #dbe4e1; }
.site-footer > small { text-align: right; }

.legal-page { min-height: 100vh; background: var(--mist); }
.legal-header { position: static; }
.legal-main { max-width: 820px; margin: 0 auto; padding: 80px 20px 110px; }
.legal-main h1 { font-size: clamp(2.8rem, 7vw, 5rem); margin-bottom: 16px; }
.legal-main h2 { margin: 42px 0 12px; font-family: Manrope, Arial, sans-serif; font-size: 1.15rem; }
.legal-main p, .legal-main li { color: var(--muted); line-height: 1.75; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { position: absolute; top: 72px; left: 0; right: 0; padding: 20px; background: white; border-bottom: 1px solid var(--line); display: none; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 18px 30px rgba(15,35,29,.12); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 8px; }
  .main-nav .button { margin-top: 8px; }
  .nav-login { border-left: 0; border-top: 1px solid var(--line); padding-left: 8px; }
  .outcome-grid { grid-template-columns: repeat(2, 1fr); }
  .security-band { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 680px) {
  h2 { font-size: 2.25rem; }
  .hero { min-height: calc(78svh - 72px); background-position: 64% center; align-items: flex-end; }
  .hero-shade { background: rgba(13, 28, 24, .7); }
  .hero-content { padding: 56px 0 38px; }
  .hero h1 { font-size: clamp(3.7rem, 21vw, 5.4rem); }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-trust { gap: 12px 20px; }
  .product-band, .outcomes, .steps, .pricing, .faq { padding-top: 78px; }
  .product-points { grid-template-columns: 1fr; padding: 16px 0; }
  .product-points span { min-height: 64px; justify-content: flex-start; padding: 12px; text-align: left; }
  .product-points span + span { border-left: 0; }
  .outcome-grid { grid-template-columns: 1fr; }
  .outcome-grid article { min-height: auto; padding: 28px; }
  .outcome-grid article > svg { margin-bottom: 30px; }
  .step-list li { grid-template-columns: 55px 1fr; gap: 12px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { padding: 28px; }
  .final-cta { align-items: stretch; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer p, .site-footer > small { text-align: left; }
  .site-footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
