:root {
    --bg: #F7F5F0;
    --bg2: #EDEAE3;
    --surface: #FFFFFF;
    --ink: #1A1714;
    --ink2: #3D3730;
    --muted: #8C8479;
    --gold: #C8820A;
    --gold-light: #F5A623;
    --gold-bg: #FEF3DC;
    --teal: #0B7A75;
    --teal-bg: #E0F4F3;
    --border: rgba(26,23,20,0.1);
    --border-strong: rgba(26,23,20,0.18);
    --shadow: 0 2px 16px rgba(26,23,20,0.08);
    --shadow-lg: 0 8px 40px rgba(26,23,20,0.12);
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Bricolage Grotesque', sans-serif;
    overflow-x: hidden;
  }
  body::before {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 0; opacity: .6;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem 6%;
    background: rgba(247,245,240,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }
  .logo {
    font-family: 'DM Mono', monospace;
    font-size: 1.35rem; font-weight: 500; color: var(--ink);
    letter-spacing: -0.5px; text-decoration: none;
  }
  .logo span { color: var(--gold); }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    color: var(--muted); text-decoration: none; font-size: .88rem;
    font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    transition: color .2s;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta {
    background: var(--ink); color: var(--bg);
    padding: .6rem 1.4rem; border-radius: 100px;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: .85rem; font-weight: 700; cursor: pointer;
    text-decoration: none; transition: all .2s; letter-spacing: .02em;
    border: 2px solid var(--ink);
  }
  .nav-cta:hover { background: var(--gold); border-color: var(--gold); color: white; transform: translateY(-1px); }

  /* ── BREADCRUMB ── */
  .breadcrumb {
    padding: 5.5rem 6% 0;
    position: relative; z-index: 1;
  }
  .breadcrumb-inner {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: 'DM Mono', monospace; font-size: .72rem;
    color: var(--muted); letter-spacing: .04em;
  }
  .breadcrumb-inner a { color: var(--muted); text-decoration: none; transition: color .2s; }
  .breadcrumb-inner a:hover { color: var(--gold); }
  .breadcrumb-inner .sep { opacity: .4; }
  .breadcrumb-inner .current { color: var(--gold); }

  /* ── HERO ── */
  #hero {
    min-height: 88vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 3rem 6% 5rem;
    position: relative; overflow: hidden; gap: 3rem;
  }
  .hero-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(26,23,20,0.055) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 90% 70% at 65% 40%, black 30%, transparent 80%);
  }
  .hero-content { position: relative; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--teal-bg); border: 1px solid rgba(11,122,117,0.25);
    padding: .4rem 1rem; border-radius: 100px;
    font-family: 'DM Mono', monospace; font-size: .72rem; color: var(--teal);
    letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.8rem;
    animation: fadeUp .7s ease both;
  }
  .hero-badge::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: var(--teal); animation: pulse 2s infinite;
  }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
  h1 {
    font-size: clamp(2.4rem, 4.5vw, 4.2rem);
    font-weight: 800; line-height: 1.08;
    letter-spacing: -2px; color: var(--ink);
    animation: fadeUp .7s .1s ease both;
  }
  h1 .accent { color: var(--gold); }
  h1 .accent2 {
    color: var(--teal);
    text-decoration: underline;
    text-decoration-color: rgba(11,122,117,0.3);
    text-underline-offset: 6px;
  }
  .hero-sub {
    margin-top: 1.5rem; font-size: 1.08rem; color: var(--muted);
    max-width: 500px; line-height: 1.78; font-weight: 400;
    animation: fadeUp .7s .2s ease both;
  }
  .hero-actions {
    margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap;
    animation: fadeUp .7s .3s ease both;
  }
  .btn-primary {
    background: var(--ink); color: var(--bg);
    padding: .9rem 2.2rem; border-radius: 100px; border: 2px solid var(--ink);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1rem; font-weight: 700; cursor: pointer;
    text-decoration: none; display: inline-block; transition: all .2s;
  }
  .btn-primary:hover { background: var(--gold); border-color: var(--gold); color: white; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,130,10,0.25); }
  .btn-outline {
    background: transparent; color: var(--ink);
    padding: .9rem 2.2rem; border-radius: 100px;
    border: 2px solid var(--border-strong);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1rem; font-weight: 600; cursor: pointer;
    text-decoration: none; display: inline-block; transition: all .2s;
  }
  .btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }

  /* Hero trust pills */
  .hero-trust {
    margin-top: 2.5rem; display: flex; gap: .7rem; flex-wrap: wrap;
    animation: fadeUp .7s .4s ease both;
  }
  .trust-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--surface); border: 1.5px solid var(--border);
    padding: .4rem .9rem; border-radius: 100px;
    font-size: .8rem; font-weight: 600; color: var(--ink2);
  }
  .trust-pill .dot { font-size: .9rem; }

  /* ── HERO VISUAL: Browser mockup ── */
  .hero-visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    animation: fadeUp .9s .45s ease both;
  }
  .browser-wrap {
    width: 100%; max-width: 460px;
    filter: drop-shadow(0 20px 50px rgba(26,23,20,0.14));
  }
  /* Floating cards on browser */
  .float-card {
    position: absolute;
    background: white; border-radius: 12px;
    border: 1.5px solid var(--border);
    padding: .7rem 1rem;
    box-shadow: var(--shadow-lg);
    font-size: .78rem; font-weight: 600;
    display: flex; align-items: center; gap: .5rem;
  }
  .float-card.seo {
    top: 8%; left: -8%;
    animation: floatA 4s ease-in-out infinite;
    color: var(--teal);
  }
  .float-card.speed {
    bottom: 22%; right: -6%;
    animation: floatB 5s ease-in-out infinite;
    color: var(--gold);
  }
  .float-card.mobile {
    bottom: 4%; left: 0%;
    animation: floatA 6s ease-in-out infinite .5s;
    color: var(--ink2); font-size: .72rem;
  }
  @keyframes floatA {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  @keyframes floatB {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @media (max-width: 900px) {
    #hero { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
  }

  /* ── SECTIONS COMMON ── */
  section { padding: 5.5rem 6%; position: relative; }
  .section-tag {
    font-family: 'DM Mono', monospace; font-size: .72rem;
    color: var(--gold); letter-spacing: .18em; text-transform: uppercase;
    margin-bottom: .8rem; display: flex; align-items: center; gap: .5rem;
  }
  .section-tag::before { content: ''; width: 20px; height: 2px; background: var(--gold); display: inline-block; }
  h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800; letter-spacing: -1.5px; line-height: 1.12; color: var(--ink);
  }
  .section-sub { color: var(--muted); margin-top: .8rem; font-size: 1rem; line-height: 1.75; max-width: 520px; }

  /* ── WHAT'S INCLUDED ── */
  #incluye { background: var(--surface); }
  .incluye-header { margin-bottom: 3.5rem; max-width: 650px; }
  .incluye-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
  }
  .include-card {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 16px; padding: 2.2rem 2rem;
    transition: all .25s; position: relative; overflow: hidden;
  }
  .include-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--teal));
    opacity: 0; transition: opacity .3s;
  }
  .include-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
  .include-card:hover::after { opacity: 1; }
  .card-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1.4rem;
  }
  .card-icon.gold-icon { background: var(--gold-bg); border: 1px solid rgba(200,130,10,0.2); }
  .card-icon.teal-icon { background: var(--teal-bg); border: 1px solid rgba(11,122,117,0.2); }
  .include-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .7rem; }
  .include-card p { color: var(--muted); font-size: .9rem; line-height: 1.7; }
  .card-checklist { margin-top: 1.2rem; display: flex; flex-direction: column; gap: .45rem; }
  .card-checklist li {
    display: flex; align-items: flex-start; gap: .5rem;
    font-size: .85rem; color: var(--ink2); list-style: none;
  }
  .card-checklist li::before {
    content: '✓'; color: var(--teal); font-weight: 700; font-size: .8rem;
    flex-shrink: 0; margin-top: .05rem;
  }

  /* ── HOW IT WORKS ── */
  #como-funciona { background: var(--bg2); }
  .process-header { margin-bottom: 3.5rem; }
  .timeline {
    display: flex; flex-direction: column; gap: 0;
    max-width: 780px; margin: 0 auto;
  }
  .timeline-item {
    display: grid; grid-template-columns: 60px 1fr;
    gap: 1.5rem; position: relative;
  }
  .timeline-item:not(:last-child) .tl-line { display: block; }
  .tl-left { display: flex; flex-direction: column; align-items: center; }
  .tl-dot {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--surface); border: 2px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-family: 'DM Mono', monospace; font-size: .85rem; font-weight: 500;
    color: var(--gold); flex-shrink: 0; z-index: 1;
  }
  .tl-line {
    display: none; width: 2px; flex: 1;
    background: linear-gradient(to bottom, var(--gold), transparent);
    opacity: .25; margin: .3rem 0;
  }
  .tl-content {
    background: var(--surface); border: 1.5px solid var(--border);
    border-radius: 14px; padding: 1.8rem 2rem;
    margin-bottom: 1.2rem; transition: all .2s;
  }
  .tl-content:hover { box-shadow: var(--shadow); transform: translateX(4px); }
  .tl-content h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--ink); }
  .tl-content p { color: var(--muted); font-size: .88rem; line-height: 1.68; }
  .tl-tag {
    display: inline-block; margin-bottom: .7rem;
    font-family: 'DM Mono', monospace; font-size: .65rem;
    background: var(--gold-bg); color: var(--gold);
    border: 1px solid rgba(200,130,10,0.2);
    padding: .2rem .7rem; border-radius: 100px; letter-spacing: .06em; text-transform: uppercase;
  }

  /* ── PRICING ── */
  #planes { background: var(--surface); }
  .pricing-header { margin-bottom: 3.5rem; }
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; align-items: start;
  }
  .price-card {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 20px; padding: 2.5rem 2rem;
    position: relative; transition: all .25s;
  }
  .price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
  .price-card.featured {
    background: var(--ink); border-color: var(--ink);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
  }
  .price-card.featured:hover { transform: translateY(-12px); }
  .featured-label {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: white;
    font-family: 'DM Mono', monospace; font-size: .65rem;
    padding: .3rem .9rem; border-radius: 100px;
    letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  }
  .plan-name {
    font-size: .78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: var(--muted); margin-bottom: .8rem;
  }
  .price-card.featured .plan-name { color: rgba(255,255,255,0.5); }
  .price-amount {
    font-family: 'DM Mono', monospace; font-size: 2.8rem; font-weight: 500;
    color: var(--ink); line-height: 1; margin-bottom: .3rem;
  }
  .price-card.featured .price-amount { color: white; }
  .price-from { font-size: .78rem; color: var(--muted); margin-bottom: 1.5rem; }
  .price-card.featured .price-from { color: rgba(255,255,255,0.45); }
  .plan-desc { font-size: .9rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.5rem; }
  .price-card.featured .plan-desc { color: rgba(255,255,255,0.6); }
  .plan-features { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
  .plan-features li {
    display: flex; align-items: flex-start; gap: .55rem;
    font-size: .88rem; color: var(--ink2);
  }
  .price-card.featured .plan-features li { color: rgba(255,255,255,0.75); }
  .plan-features li .check { color: var(--teal); font-weight: 700; flex-shrink: 0; }
  .price-card.featured .plan-features li .check { color: var(--gold-light); }
  .plan-features li .cross { color: var(--muted); opacity: .5; flex-shrink: 0; }
  .btn-plan {
    display: block; text-align: center; width: 100%;
    padding: .85rem; border-radius: 100px; border: 2px solid var(--border-strong);
    font-family: 'Bricolage Grotesque', sans-serif; font-size: .95rem; font-weight: 700;
    cursor: pointer; text-decoration: none; transition: all .2s; color: var(--ink);
    background: transparent;
  }
  .btn-plan:hover { border-color: var(--ink); transform: translateY(-1px); }
  .price-card.featured .btn-plan {
    background: var(--gold); border-color: var(--gold); color: white;
  }
  .price-card.featured .btn-plan:hover { background: var(--gold-light); border-color: var(--gold-light); box-shadow: 0 8px 24px rgba(200,130,10,0.35); }

  /* ── FAQ ── */
  #faq { background: var(--bg2); }
  .faq-header { margin-bottom: 3rem; }
  .faq-list { max-width: 760px; display: flex; flex-direction: column; gap: .8rem; }
  .faq-item {
    background: var(--surface); border: 1.5px solid var(--border);
    border-radius: 14px; overflow: hidden; transition: border-color .2s;
  }
  .faq-item:hover { border-color: var(--border-strong); }
  .faq-q {
    width: 100%; padding: 1.4rem 1.8rem;
    display: flex; justify-content: space-between; align-items: center;
    background: none; border: none; cursor: pointer;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: .98rem; font-weight: 700; color: var(--ink); text-align: left;
    gap: 1rem;
  }
  .faq-arrow {
    font-size: 1.1rem; transition: transform .3s; flex-shrink: 0;
    color: var(--gold);
  }
  .faq-item.open .faq-arrow { transform: rotate(180deg); }
  .faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease, padding .3s ease;
    padding: 0 1.8rem;
    font-size: .9rem; color: var(--muted); line-height: 1.75;
  }
  .faq-item.open .faq-a { max-height: 300px; padding: 0 1.8rem 1.4rem; }

  /* ── CONTACT ── */
  #contacto { background: var(--surface); }
  .contact-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
  }
  .contact-left h2 { margin-bottom: 1rem; }
  .contact-options { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
  .contact-option {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: var(--bg); border: 1.5px solid var(--border);
    border-radius: 12px; cursor: pointer; text-decoration: none; transition: all .25s;
  }
  .contact-option:hover { border-color: var(--gold); transform: translateX(5px); box-shadow: var(--shadow); }
  .option-icon {
    width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
    background: var(--gold-bg); display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
  }
  .option-title { font-weight: 700; font-size: .95rem; color: var(--ink); }
  .option-desc { color: var(--muted); font-size: .82rem; margin-top: .1rem; }
  .contact-form {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 16px; padding: 2.5rem; box-shadow: var(--shadow);
  }
  .form-title { font-size: 1.2rem; font-weight: 700; margin-bottom: .4rem; color: var(--ink); }
  .form-sub { color: var(--muted); font-size: .88rem; margin-bottom: 2rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-group { margin-bottom: 1.2rem; }
  label {
    display: block; font-size: .78rem; font-weight: 700;
    color: var(--ink2); margin-bottom: .45rem;
    text-transform: uppercase; letter-spacing: .07em;
  }
  input, select, textarea {
    width: 100%; background: white;
    border: 1.5px solid var(--border);
    border-radius: 8px; padding: .75rem 1rem;
    color: var(--ink); font-family: 'Bricolage Grotesque', sans-serif;
    font-size: .95rem; outline: none;
    transition: border-color .2s, box-shadow .2s; resize: vertical;
  }
  input::placeholder, textarea::placeholder { color: var(--muted); }
  input:focus, select:focus, textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,130,10,0.1);
  }
  select {
    appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238C8479' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
    background-color: white;
  }
  .btn-submit {
    width: 100%; background: var(--ink); color: white;
    padding: 1rem; border-radius: 100px; border: 2px solid var(--ink);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1rem; font-weight: 700; cursor: pointer;
    transition: all .2s; margin-top: .5rem;
  }
  .btn-submit:hover { background: var(--gold); border-color: var(--gold); box-shadow: 0 8px 24px rgba(200,130,10,0.25); transform: translateY(-1px); }
  .form-success { display: none; text-align: center; padding: 2.5rem 1rem; }
  .form-success .check { font-size: 3rem; margin-bottom: 1rem; }
  .form-success h3 { font-size: 1.3rem; color: var(--gold); margin-bottom: .5rem; }
  .form-success p { color: var(--muted); font-size: .9rem; }

  /* ── FOOTER ── */
  footer {
    background: var(--ink);
    padding: 3rem 6%;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1.5rem;
  }
  .footer-logo { font-family: 'DM Mono', monospace; font-size: 1.2rem; color: white; }
  .footer-logo span { color: var(--gold-light); }
  .footer-copy { font-size: .82rem; color: rgba(247,245,240,0.4); }
  .footer-links { display: flex; gap: 1.5rem; }
  .footer-links a { color: rgba(247,245,240,0.5); text-decoration: none; font-size: .82rem; transition: color .2s; }
  .footer-links a:hover { color: var(--gold-light); }

  /* ── WA FLOAT ── */
  .wa-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 999; }
  .wa-btn {
    width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    transition: all .25s; text-decoration: none;
    animation: waEntrance 1s 1s ease both;
  }
  .wa-btn:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.45); }
  .wa-btn svg { width: 28px; height: 28px; fill: white; }
  @keyframes waEntrance { from{opacity:0;transform:scale(0)} to{opacity:1;transform:scale(1)} }
  .wa-pulse { position: absolute; inset: -4px; border-radius: 50%; background: rgba(37,211,102,0.2); animation: waPulse 2s infinite; }
  @keyframes waPulse { 0%{transform:scale(1);opacity:.5} 100%{transform:scale(1.5);opacity:0} }
  .wa-tooltip {
    position: absolute; right: 75px; top: 50%; transform: translateY(-50%);
    background: var(--ink); color: white; font-size: .82rem; font-weight: 600;
    padding: .5rem 1rem; border-radius: 8px; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: opacity .2s; box-shadow: var(--shadow);
  }
  .wa-tooltip::after {
    content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
    border: 5px solid transparent; border-left-color: var(--ink);
  }
  .wa-float:hover .wa-tooltip { opacity: 1; }

  /* ── REVEAL ── */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ── MOBILE ── */
  @media (max-width: 768px) {
    nav { padding: 1rem 5%; }
    .nav-links { display: none; }
    section { padding: 4rem 5%; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
    .form-row { grid-template-columns: 1fr; }
    footer { flex-direction: column; text-align: center; }
    .breadcrumb { padding-top: 5rem; }
  }