﻿  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --black: #0a0a0a;
    --dark: #1d1d1f;
    --card: #161617;
    --border: #2d2d2f;
    --white: #f5f5f7;
    --gray: #86868b;
    --green: #40e0d0;
    --green-dim: #20706a;
    --font: 'Inter', -apple-system, sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.5;
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(10,10,10,0.85);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
  }

  .nav-logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
  }
  .nav-logo span { color: var(--green); }
  .nav-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
  }

  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
  }
  .nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
    letter-spacing: 0.01em;
  }
  .nav-links a:hover { color: var(--white); }

  .nav-cart {
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--white);
    font-size: 20px;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s;
    display: flex;
    align-items: center;
  }
  .nav-cart:hover { background: rgba(255,255,255,0.08); }

  .cart-badge {
    position: absolute;
    top: 0; right: 0;
    background: var(--green);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    width: 16px; height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s;
  }
  .cart-badge.show { opacity: 1; transform: scale(1); }

  /* HERO */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 5% 60px;
    position: relative;
    overflow: hidden;
  }

  .hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

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

  .hero-logo {
    height: clamp(80px, 12vw, 140px);
    width: auto;
    object-fit: contain;
    margin-bottom: 28px;
  }

  .hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
    color: var(--white);
    margin-bottom: 24px;
  }

  .hero-title .accent { color: var(--green); }

  .hero-sub {
    font-size: clamp(17px, 2vw, 21px);
    font-weight: 300;
    color: var(--gray);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.6;
  }

  .btn-primary {
    display: inline-block;
    background: var(--green);
    color: #000;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 980px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    letter-spacing: -0.01em;
  }
  .btn-primary:hover { background: #5eead4; transform: scale(1.03); }

  .btn-ghost {
    display: inline-block;
    color: var(--green);
    font-weight: 500;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 980px;
    text-decoration: none;
    border: 1.5px solid var(--green);
    margin-left: 12px;
    transition: all 0.2s;
    cursor: pointer;
    background: none;
    letter-spacing: -0.01em;
  }
  .btn-ghost:hover { background: rgba(64,224,208,0.1); transform: scale(1.03); }

  /* SECTION HEADER */
  .section { padding: 96px 5%; }
  .section-alt { background: var(--dark); }

  .section-header {
    text-align: center;
    margin-bottom: 64px;
  }

  .section-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
  }

  .section-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 16px;
  }

  .section-desc {
    font-size: 17px;
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto;
    font-weight: 300;
  }

  /* PRODUCT GRID */
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 24px;
    transition: all 0.3s;
    cursor: default;
    position: relative;
    overflow: hidden;
  }
  .card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    opacity: 0;
    background: linear-gradient(135deg, rgba(64,224,208,0.06), transparent);
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .card:hover { transform: translateY(-4px); border-color: rgba(64,224,208,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
  .card:hover::before { opacity: 1; }

  .card-img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 16px;
    display: block;
    background: rgba(255,255,255,0.04);
    padding: 6px;
    box-sizing: border-box;
  }
  .card-img-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--dark);
    border-radius: 10px;
    margin-bottom: 12px;
  }

  .card-compat {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 8px;
  }

  .card-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .card-price-wrap { display:flex; flex-direction:column; gap:1px; }
  .card-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.03em;
  }
  .card-price small {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray);
    letter-spacing: 0;
  }
  .card-price-original {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray);
    text-decoration: line-through;
    letter-spacing: 0;
  }
  .card-price-original small { font-size: 11px; }
  .card-price-desc { color: var(--green); }
  .card-price-pct {
    display: inline-block;
    background: rgba(239,68,68,.15);
    color: #ef4444;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    align-self: flex-start;
  }

  .add-btn {
    background: var(--green);
    color: #000;
    border: none;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 980px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: -0.01em;
  }
  .add-btn:hover { background: #5eead4; transform: scale(1.05); }
  .add-btn:active { transform: scale(0.97); }

  /* PHONES SECTION */
  .phone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .phone-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s;
  }
  .phone-card:hover { transform: translateY(-6px); border-color: rgba(64,224,208,0.3); box-shadow: 0 24px 64px rgba(0,0,0,0.6); }

  .phone-image {
    background: linear-gradient(135deg, #1a1a1c 0%, #2d2d30 100%);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
  }

  .phone-info { padding: 24px; }

  .phone-badge {
    display: inline-block;
    background: rgba(64,224,208,0.12);
    color: var(--green);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 980px;
    margin-bottom: 12px;
  }

  .phone-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 6px;
  }

  .phone-specs {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 20px;
    font-weight: 300;
    line-height: 1.6;
  }

  .phone-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .phone-price-wrap { display:flex; flex-direction:column; gap:1px; }
  .phone-price {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--white);
  }
  .phone-price-original {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray);
    text-decoration: line-through;
    letter-spacing: 0;
  }
  .phone-price-original small { font-size: 11px; }
  .phone-price-desc { color: var(--green); font-size: 24px; }
  .phone-price-pct {
    display: inline-block;
    background: rgba(239,68,68,.15);
    color: #ef4444;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    align-self: flex-start;
  }

  /* CART SIDEBAR */
  .cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .cart-overlay.open { opacity: 1; pointer-events: all; }

  .cart-sidebar {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(420px, 100vw);
    background: var(--dark);
    border-left: 1px solid var(--border);
    z-index: 201;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  }
  .cart-sidebar.open { transform: translateX(0); }

  .cart-head {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .cart-head h2 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .cart-close {
    background: rgba(255,255,255,0.08);
    border: none;
    color: var(--white);
    font-size: 18px;
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }
  .cart-close:hover { background: rgba(255,255,255,0.15); }

  .cart-clear {
    display: none;
    align-items: center;
    gap: 5px;
    background: rgba(220,53,69,0.15);
    border: 1px solid rgba(220,53,69,0.4);
    color: #ff6b7a;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
  }
  .cart-clear:hover {
    background: rgba(220,53,69,0.3);
    border-color: rgba(220,53,69,0.7);
  }

  .cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
  }

  .cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
  }
  .cart-empty-icon { font-size: 48px; margin-bottom: 16px; display: block; }
  .cart-empty p { font-size: 15px; font-weight: 300; }

  .cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }


  .cart-item-info { flex: 1; min-width: 0; }

  .cart-item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
  }

  .cart-item-price {
    font-size: 13px;
    color: var(--green);
    font-weight: 600;
  }

  .cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .qty-btn {
    background: var(--border);
    border: none;
    color: var(--white);
    width: 26px; height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }
  .qty-btn:hover { background: var(--gray); }

  .qty-num {
    font-size: 14px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
  }

  .cart-foot {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
  }

  .cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
  }

  .cart-total-label { font-size: 15px; color: var(--gray); }

  .cart-total-price {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
  }

  .whatsapp-btn {
    width: 100%;
    background: #25D366;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 700;
    padding: 16px;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    letter-spacing: -0.01em;
  }
  .whatsapp-btn:hover { background: #20bc5a; transform: scale(1.02); }
  .whatsapp-btn:disabled { background: var(--border); color: var(--gray); cursor: not-allowed; transform: none; }

  .whatsapp-icon {
    width: 22px; height: 22px;
    fill: #fff;
  }

  /* TOAST */
  .toast {
    position: fixed;
    bottom: 30px; left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--green);
    color: #000;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 980px;
    z-index: 300;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    white-space: nowrap;
  }
  .toast.show { transform: translateX(-50%) translateY(0); }

  /* STATS BAR */
  .stats-bar {
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 5%;
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
  }
  .stat { text-align: center; }
  .stat-num {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--white);
    display: block;
    margin-bottom: 4px;
  }
  .stat-num span { color: var(--green); }
  .stat-label { font-size: 13px; color: var(--gray); font-weight: 400; }

  /* FOOTER */
  footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 40px 5%;
    text-align: center;
  }
  footer p { color: var(--gray); font-size: 13px; font-weight: 300; }
  footer strong { color: var(--white); }

  /* ── SEARCH BUTTON IN NAV ──────────────────────────────────────────────── */
  .nav-search-btn {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 7px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    margin-right: 4px;
  }
  .nav-search-btn:hover { background: rgba(255,255,255,0.08); }

  /* ── SEARCH OVERLAY ──────────────────────────────────────────────────────── */
  .search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 500;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    backdrop-filter: blur(4px);
  }
  .search-overlay.hidden { display: none; }

  .search-modal {
    width: min(620px, 96vw);
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
    animation: searchSlideIn 0.2s ease;
  }
  @keyframes searchSlideIn {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .search-bar-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
  }
  .search-bar-icon { color: var(--gray); flex-shrink: 0; }
  .search-bar-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-size: 16px;
    font-family: var(--font);
  }
  .search-bar-input::placeholder { color: var(--gray); }
  .search-close-btn {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 16px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
  }
  .search-close-btn:hover { color: var(--white); background: rgba(255,255,255,0.07); }

  .search-results-list { max-height: 400px; overflow-y: auto; }
  .search-loading, .search-empty {
    padding: 24px;
    text-align: center;
    color: var(--gray);
    font-size: 14px;
  }

  .search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s;
  }
  .search-result-item:hover { background: rgba(255,255,255,0.05); }
  .search-result-img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .search-result-img img { width: 100%; height: 100%; object-fit: cover; }
  .search-result-info { flex: 1; min-width: 0; }
  .search-result-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .search-result-compat { font-size: 12px; color: var(--gray); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .search-result-price { font-size: 13px; color: var(--green); margin-top: 4px; font-weight: 600; }
  .search-ver-todos {
    display: block;
    text-align: center;
    padding: 14px;
    font-size: 13px;
    color: var(--green);
    text-decoration: none;
    font-weight: 500;
  }
  .search-ver-todos:hover { text-decoration: underline; }

  /* ── SCROLL TO TOP ──────────────────────────────────────────────────────── */
  .back-to-top {
    position: fixed;
    bottom: 28px;
    left: 24px;
    z-index: 200;
    background: var(--dark);
    border: 1px solid var(--border);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s, transform 0.25s, background 0.2s;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  }
  .back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .back-to-top:hover { background: rgba(255,255,255,0.1); }

  /* ── RELATED PRODUCTS ──────────────────────────────────────────────────── */
  .relacionados-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 5%;
    border-top: 1px solid var(--border);
  }
  .relacionados-titulo {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
  }
  .relacionados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
  }
  .rel-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
  }
  .rel-card:hover { border-color: rgba(64,224,208,0.4); transform: translateY(-3px); }
  .rel-card-img {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .rel-card-img img { width: 100%; height: 100%; object-fit: cover; }
  .rel-card-icon { font-size: 40px; }
  .rel-card-name {
    padding: 10px 12px 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .rel-card-price {
    padding: 4px 12px 12px;
    font-size: 13px;
    color: var(--green);
    font-weight: 700;
  }

  /* RESPONSIVE */
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .stats-row { gap: 32px; }
    .stat-num { font-size: 32px; }
    .search-overlay { padding-top: 60px; }
    .back-to-top { bottom: 24px; left: 16px; }
  }

  /* SCROLL REVEAL */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
  }
  .reveal.visible { opacity: 1; transform: none; }

  /* HAMBURGER BUTTON */
  .menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
    transition: background 0.2s;
    flex-shrink: 0;
  }
  .menu-btn:hover { background: rgba(255,255,255,0.08); }
  .menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    transform-origin: center;
  }
  .menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* DRAWER OVERLAY */
  .drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .drawer-overlay.open { opacity: 1; pointer-events: all; }

  /* DRAWER PANEL */
  .drawer {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(320px, 85vw);
    background: var(--dark);
    border-right: 1px solid var(--border);
    z-index: 151;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
  }
  .drawer.open { transform: translateX(0); }

  /* DRAWER HEADER */
  .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }
  .drawer-head-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }
  .drawer-head-logo img,
  .drawer-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
  }
  .drawer-head-logo span {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
  }
  .drawer-close {
    background: rgba(255,255,255,0.08);
    border: none;
    color: var(--white);
    font-size: 18px;
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
  }
  .drawer-close:hover { background: rgba(255,255,255,0.15); }

  /* DRAWER SECTIONS */
  .drawer-section {
    border-bottom: 1px solid var(--border);
    padding: 18px 20px;
  }
  .drawer-section-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
  }
  a.drawer-section-title {
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: opacity 0.2s;
  }
  a.drawer-section-title:hover { opacity: 0.7; }
  .drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
  }
  .drawer-link:hover { background: rgba(255,255,255,0.07); }
  .drawer-link-icon {
    font-size: 20px;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
  }
  .drawer-link-text { flex: 1; }
  .drawer-link-arrow {
    font-size: 12px;
    color: var(--gray);
  }

  /* INFO PANELS (Quiénes somos, Ubicación, Contacto) */
  .info-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(6px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
  }
  .info-overlay.open { opacity: 1; pointer-events: all; }

  .info-panel {
    background: var(--dark);
    border-top: 1px solid var(--border);
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 28px 24px 40px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  }
  .info-overlay.open .info-panel { transform: translateY(0); }

  .info-panel-handle {
    width: 40px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 0 auto 24px;
  }

  .info-panel h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 8px;
  }

  .info-panel .info-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 6px;
    display: block;
  }

  .info-panel p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 16px;
  }

  .info-panel .info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }
  .info-card-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
  .info-card-body { flex: 1; }
  .info-card-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
  }
  .info-card-value {
    font-size: 14px;
    color: var(--white);
    font-weight: 400;
    line-height: 1.5;
  }
  .info-card-value a {
    color: var(--green);
    text-decoration: none;
  }

  .info-close-btn {
    width: 100%;
    margin-top: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
  }
  .info-close-btn:hover { background: rgba(255,255,255,0.12); }


  /* SÍGUENOS (after hero) */
  .social-follow {
    background: var(--dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 56px 5% 48px;
    text-align: center;
  }

  /* SOCIAL FOOTER SECTION */
  .social-footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 56px 5% 48px;
    text-align: center;
  }

  .social-footer .stats-bar {
    background: transparent;
    border: none;
    padding: 0 0 48px 0;
    flex-wrap: wrap;
  }

  .social-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 10px;
    display: block;
  }

  .social-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 8px;
  }

  .social-sub {
    font-size: 15px;
    color: var(--gray);
    font-weight: 300;
    margin-bottom: 36px;
  }

  .social-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
  }

  .social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 20px 24px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--dark);
    min-width: 110px;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
  }
  .social-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.25s;
    border-radius: 18px;
  }
  .social-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.15); }
  .social-card:hover::before { opacity: 1; }

  .social-card.instagram::before { background: linear-gradient(135deg,rgba(253,88,73,0.12),rgba(214,36,159,0.12),rgba(134,58,220,0.12)); }
  .social-card.tiktok::before   { background: linear-gradient(135deg,rgba(0,242,234,0.1),rgba(255,0,80,0.1)); }
  .social-card.facebook::before { background: linear-gradient(135deg,rgba(24,119,242,0.15),transparent); }
  .social-card.whatsapp::before { background: linear-gradient(135deg,rgba(37,211,102,0.15),transparent); }

  .social-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
  }
  .social-card-icon svg { width: 28px; height: 28px; }

  .instagram .social-card-icon { background: linear-gradient(135deg,#fd5829,#d6249f,#833ab4); }
  .tiktok    .social-card-icon { background: #000; }
  .facebook  .social-card-icon { background: #1877f2; }
  .whatsapp  .social-card-icon { background: #25d366; }

  .social-card-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
  }
  .social-card-handle {
    font-size: 11px;
    color: var(--gray);
    font-weight: 400;
    position: relative;
    z-index: 1;
  }

  .stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 36px 0 0;
    border-top: 1px solid var(--border);
  }
  .stat { text-align: center; }
  .stat-num {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--white);
    display: block;
    margin-bottom: 4px;
  }
  .stat-num span { color: var(--green); }
  .stat-label { font-size: 13px; color: var(--gray); font-weight: 400; }

  @media (max-width: 480px) {
    .social-grid { gap: 12px; }
    .social-card { min-width: 90px; padding: 16px 16px; }
    .stats-row { gap: 32px; }
    .stat-num { font-size: 32px; }
  }


  /* CAROUSEL */
  .carousel-wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
  }

  .carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 4px 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .carousel-track::-webkit-scrollbar { display: none; }

  .carousel-track > .card,
  .carousel-track > .phone-card {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: start;
  }
  .carousel-track > .phone-card { width: 320px; }

  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(29,29,31,0.9);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s;
  }
  .carousel-arrow:hover { background: var(--green); color: #000; border-color: var(--green); transform: translateY(-50%) scale(1.08); }
  .carousel-arrow:active { transform: translateY(-50%) scale(0.95); }
  .carousel-arrow.prev { left: -8px; }
  .carousel-arrow.next { right: -8px; }
  .carousel-arrow:disabled { opacity: 0.25; cursor: default; }
  .carousel-arrow:disabled:hover { background: rgba(29,29,31,0.9); color: var(--white); border-color: var(--border); transform: translateY(-50%); }
  .carousel-arrow.ir-categoria { background: var(--green); color: #000; border-color: var(--green); font-size: 18px; box-shadow: 0 0 14px rgba(64,224,208,.45); }
  .carousel-arrow.ir-categoria:hover { background: #5eead4; border-color: #5eead4; transform: translateY(-50%) scale(1.12); box-shadow: 0 0 22px rgba(64,224,208,.65); }

  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
  }
  .carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.25s;
  }
  .carousel-dot.active { background: var(--green); width: 18px; border-radius: 3px; }

  @media (max-width: 640px) {
    .carousel-arrow { width: 38px; height: 38px; font-size: 15px; }
    .carousel-arrow.prev { left: 0; }
    .carousel-arrow.next { right: 0; }
    .carousel-track > .card { width: 250px; }
    .carousel-track > .phone-card { width: 270px; }
  }
