/* ═══════════════════════════════════════════════════
   VARIABLES GLOBALES (en sync con header.php)
═══════════════════════════════════════════════════ */
:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface2: #1a1a26;
  --surface3: #22223a;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(200,169,110,0.2);
  --accent: #c8a96e;
  --accent2: #7b6ef6;
  --accent-glow: rgba(200,169,110,0.25);
  --text: #e8e8f0;
  --muted: #8888aa;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1280px;
}

:root {
    --bg: #0a0a0f;
    --surface: #12121a;
    --surface2: #1a1a26;
    --border: rgba(255,255,255,0.07);
    --accent: #c8a96e;
    --accent2: #7b6ef6;
    --text: #e8e8f0;
    --muted: #8888aa;
    --glow: rgba(200,169,110,0.15);
    --radius: 12px;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    background: var(--bg);
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    min-height: 200vh;
  }

  /* ── GRAIN OVERLAY ── */
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
  }

  /* ── TOP BAR ── */
  .topbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--muted);
    letter-spacing: 0.04em;
    position: relative;
    overflow: hidden;
    z-index: 1000;
  }
  .topbar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
  }
  .topbar-left { display: flex; gap: 1.5rem; }
  .topbar-left a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
  .topbar-left a:hover { color: var(--accent); }
  .topbar-right { display: flex; gap: 1rem; align-items: center; }
  .topbar-right a { color: var(--muted); text-decoration: none; font-size: 11px; transition: color 0.2s; }
  .topbar-right a:hover { color: var(--text); }
  .top-social { display: flex; gap: 0.6rem; }
  .top-social a {
    width: 22px; height: 22px;
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted);
    text-decoration: none;
    font-size: 10px;
    transition: all 0.2s;
  }
  .top-social a:hover { border-color: var(--accent); color: var(--accent); }
  .separator { width: 1px; height: 16px; background: var(--border); }

  /* ── MAIN HEADER ── */
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s var(--transition), background 0.3s;
  }
  .header.scrolled {
    box-shadow: 0 4px 40px rgba(0,0,0,0.6);
    background: rgba(10,10,15,0.97);
  }
  .header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  /* ── LOGO ── */
  .logo {
    display: flex; align-items: center; gap: 0.75rem;
    text-decoration: none; flex-shrink: 0;
    position: relative;
  }
  .logo-mark {
    width: 42px; height: 42px;
    position: relative;
  }
  .logo-mark svg { width: 100%; height: 100%; }
  .logo-ring {
    animation: logoSpin 12s linear infinite;
    transform-origin: center;
  }
  @keyframes logoSpin {
    to { transform: rotate(360deg); }
  }
  .logo-text { line-height: 1; }
  .logo-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #e8e8f0, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
  }
  .logo-tag {
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--muted);
    text-transform: uppercase;
    display: block;
    margin-top: -2px;
  }
  .logo::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 8px;
    background: radial-gradient(ellipse at center, var(--glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .logo:hover::after { opacity: 1; }
  .logo:hover .logo-ring { animation-duration: 3s; }

  /* ── NAV ── */
  .nav { flex: 1; display: flex; align-items: center; }
  .nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
  }

  /* ── NAV ITEMS ── */
  .nav-item { position: relative; }
  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    letter-spacing: 0.01em;
    position: relative;
  }
  .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: left 0.3s var(--transition), right 0.3s var(--transition);
  }
  .nav-link:hover, .nav-item.open > .nav-link {
    color: var(--text);
    background: rgba(255,255,255,0.05);
  }
  .nav-link:hover::before, .nav-item.open > .nav-link::before {
    left: 12px; right: 12px;
  }
  .nav-link.active { color: var(--accent); }
  .nav-link.active::before { left: 12px; right: 12px; background: var(--accent); }

  /* Chevron */
  .chevron {
    width: 14px; height: 14px;
    transition: transform 0.3s var(--transition);
    flex-shrink: 0;
    opacity: 0.6;
  }
  .nav-item.open > .nav-link .chevron { transform: rotate(180deg); }

  /* ── DROPDOWN ── */
  .dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top left;
    transition: opacity 0.25s var(--transition), transform 0.25s var(--transition), visibility 0.25s;
    z-index: 100;
  }
  .dropdown::before {
    content: '';
    position: absolute;
    top: -5px; left: 20px;
    width: 10px; height: 10px;
    background: var(--surface);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: rotate(45deg);
  }
  .nav-item.open > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  /* Mega dropdown */
  .dropdown.mega {
    min-width: 600px;
    left: -100px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    padding: 1rem;
  }
  .dropdown.mega::before { left: 120px; }

  .mega-section { padding: 0.5rem; }
  .mega-section-title {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0 0.5rem 0.5rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid var(--border);
  }

  /* Dropdown items */
  .dropdown-item {
    position: relative;
    border-radius: 8px;
    overflow: visible;
  }
  .dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
    width: 100%;
    background: none;
    border: none;
    font-family: inherit;
    text-align: left;
  }
  .dropdown-link:hover, .dropdown-item.open > .dropdown-link {
    color: var(--text);
    background: rgba(255,255,255,0.06);
  }
  .dropdown-icon {
    width: 28px; height: 28px;
    background: var(--surface2);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: background 0.2s;
  }
  .dropdown-link:hover .dropdown-icon { background: rgba(200,169,110,0.15); }
  .dropdown-link-text { flex: 1; }
  .dropdown-link-label { display: block; font-weight: 500; font-size: 13px; }
  .dropdown-link-desc { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; line-height: 1.3; }
  .dropdown-item.open > .dropdown-link .dropdown-link-desc { color: var(--accent); }

  /* Chevron right for sub */
  .chevron-r {
    width: 12px; height: 12px;
    opacity: 0.4;
    transition: transform 0.2s, opacity 0.2s;
    flex-shrink: 0;
  }
  .dropdown-item.open > .dropdown-link .chevron-r {
    transform: rotate(90deg);
    opacity: 0.8;
  }

  /* ── SUB-DROPDOWN (level 3) ── */
  .sub-dropdown {
    position: absolute;
    top: 0;
    left: calc(100% + 8px);
    min-width: 220px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    box-shadow: 20px 0 60px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: opacity 0.2s var(--transition), transform 0.2s var(--transition), visibility 0.2s;
    z-index: 101;
  }
  .dropdown-item.open > .sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  .sub-dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 12.5px;
    color: var(--muted);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s;
  }
  .sub-dropdown-link:hover {
    color: var(--text);
    background: rgba(255,255,255,0.06);
  }
  .sub-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.2s;
  }
  .sub-dropdown-link:hover .sub-dot { opacity: 1; transform: scale(1.4); }

  /* ── DIVIDER in dropdown ── */
  .dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.35rem 0;
  }

  /* ── BADGE ── */
  .badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 1px 5px;
    border-radius: 4px;
    text-transform: uppercase;
    background: var(--accent2);
    color: #fff;
    flex-shrink: 0;
  }
  .badge.new { background: #2ea87e; }
  .badge.hot { background: #e05c5c; }

  /* ── HEADER RIGHT ── */
  .header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-left: auto;
  }

  /* Search */
  .search-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: none;
    border: 1px solid var(--border);
    color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 15px;
  }
  .search-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--glow); }

  /* Search overlay */
  .search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }
  .search-overlay.open { opacity: 1; visibility: visible; }
  .search-box {
    width: min(680px, 90vw);
    transform: translateY(-20px);
    transition: transform 0.3s;
  }
  .search-overlay.open .search-box { transform: translateY(0); }
  .search-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--surface);
    border: 1px solid rgba(200,169,110,0.3);
    border-radius: var(--radius);
    padding: 0 1rem;
    box-shadow: 0 0 0 4px rgba(200,169,110,0.1), 0 20px 60px rgba(0,0,0,0.5);
  }
  .search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 18px;
    padding: 1.1rem 0;
    font-family: 'DM Sans', sans-serif;
  }
  .search-input::placeholder { color: var(--muted); }
  .search-close {
    background: none; border: none;
    color: var(--muted); cursor: pointer;
    font-size: 20px; padding: 0.5rem;
    transition: color 0.2s;
  }
  .search-close:hover { color: var(--text); }
  .search-hints {
    margin-top: 1rem;
    display: flex; gap: 0.5rem; flex-wrap: wrap;
  }
  .search-hint {
    padding: 0.35rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
  }
  .search-hint:hover { border-color: var(--accent); color: var(--accent); }

  /* Notification */
  .notif-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: none;
    border: 1px solid var(--border);
    color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 15px;
    position: relative;
  }
  .notif-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--glow); }
  .notif-dot {
    position: absolute;
    top: 6px; right: 7px;
    width: 7px; height: 7px;
    background: #e05c5c;
    border-radius: 50%;
    border: 2px solid var(--bg);
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.8; }
  }

  /* Login button */
  .btn-login {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    font-size: 13px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s var(--transition);
    white-space: nowrap;
  }
  .btn-login:hover { color: var(--text); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); }

  /* CTA button */
  .btn-cta {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.55rem 1.2rem;
    background: var(--accent);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #0a0a0f;
    font-size: 13px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
    display: none; 
  }
  .btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.2s;
  }
  .btn-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(200,169,110,0.4); }
  .btn-cta:hover::before { opacity: 1; }
  .btn-cta:active { transform: translateY(0); }

  /* ── USER MENU ── */
  .user-menu { position: relative; }
  .user-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border: 2px solid transparent;
    background-clip: padding-box;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    color: #0a0a0f;
    transition: all 0.2s;
    position: relative;
  }
  .user-avatar::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    z-index: -1;
  }
  .user-avatar:hover { transform: scale(1.08); }

  .user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top right;
    transition: opacity 0.25s var(--transition), transform 0.25s var(--transition), visibility 0.25s;
    z-index: 200;
  }
  .user-menu.open .user-dropdown {
    opacity: 1; visibility: visible;
    transform: translateY(0) scale(1);
  }
  .user-info {
    padding: 0.5rem 0.75rem 0.75rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.5rem;
  }
  .user-name { font-size: 14px; font-weight: 600; color: var(--text); }
  .user-email { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
  .user-link {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s;
  }
  .user-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }
  .user-link.danger:hover { color: #e05c5c; background: rgba(224,92,92,0.08); }

  /* ── MOBILE TOGGLE ── */
  .mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    cursor: pointer;
    flex-direction: column; gap: 5px; padding: 10px;
    transition: all 0.2s;
  }
  .mobile-toggle span {
    display: block;
    width: 100%; height: 1.5px;
    background: var(--text);
    border-radius: 1px;
    transition: all 0.3s var(--transition);
  }
  .mobile-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .mobile-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .mobile-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* ── MOBILE DRAWER ── */
  .mobile-drawer {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 90vw);
    background: var(--surface);
    border-left: 1px solid var(--border);
    padding: 1.5rem 1rem;
    z-index: 999;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s var(--transition);
    box-shadow: -20px 0 60px rgba(0,0,0,0.5);
  }
  .mobile-drawer.open { transform: translateX(0); }
  .mobile-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.35s;
  }
  .mobile-overlay.open { opacity: 1; }

  /* Scrollbar */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

  /* ── PROGRESS BAR ── */
  .progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent2), var(--accent));
    z-index: 9998;
    width: 0%;
    transition: width 0.1s;
    box-shadow: 0 0 8px var(--accent);
  }

  /* ── ANNOUNCE BANNER ── */
  .announce {
    background: linear-gradient(90deg, #1a0d2e, #0d1a2e, #1a0d2e);
    background-size: 200% 100%;
    animation: bannerScroll 8s linear infinite;
    text-align: center;
    padding: 0.5rem;
    font-size: 12px;
    color: var(--text);
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    z-index: 1000;
  }
  @keyframes bannerScroll {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }
  .announce span { color: var(--accent); font-weight: 600; }
  .announce-close {
    position: absolute;
    right: 1rem; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    color: var(--muted); cursor: pointer;
    font-size: 16px; line-height: 1;
    transition: color 0.2s;
  }
  .announce-close:hover { color: var(--text); }

  /* ── DEMO CONTENT ── */
  .hero {
    max-width: 1440px;
    margin: 0 auto;
    padding: 6rem 2rem;
    text-align: center;
  }
  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 7vw, 80px);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text), var(--muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero p { color: var(--muted); font-size: 16px; max-width: 500px; margin: 0 auto; line-height: 1.7; }

  /* ── MOBILE ACCORDION ── */
  .mob-nav { list-style: none; }

  /* Level 1 item */
  .mob-l1 { border-bottom: 1px solid var(--border); }
  .mob-l1:last-child { border-bottom: none; }

  .mob-l1-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: .85rem 0;
    cursor: pointer;
    user-select: none;
  }
  .mob-l1-title {
    display: flex; align-items: center; gap: .55rem;
    font-size: 14.5px; font-weight: 600;
    color: var(--text);
    text-decoration: none;
    flex: 1;
  }
  .mob-l1-title .mob-icon { font-size: 16px; }
  .mob-toggle-btn {
    width: 28px; height: 28px;
    border-radius: 6px;
    background: var(--surface2);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background .2s, border-color .2s;
  }
  .mob-toggle-btn svg { transition: transform .3s var(--transition); }
  .mob-l1.open .mob-toggle-btn { background: rgba(200,169,110,0.12); border-color: rgba(200,169,110,0.3); }
  .mob-l1.open .mob-toggle-btn svg { transform: rotate(180deg); }
  .mob-l1.open .mob-l1-title { color: var(--accent); }

  /* Level 1 panel */
  .mob-l1-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s var(--transition);
  }
  .mob-l1.open .mob-l1-panel { max-height: 1200px; }

  /* Section label inside panel */
  .mob-section-label {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    padding: .6rem 0 .3rem .5rem;
    margin-top: .3rem;
    display: block;
  }

  /* Level 2 item */
  .mob-l2-list { list-style: none; padding-bottom: .4rem; }
  .mob-l2 { border-radius: 8px; overflow: hidden; }

  .mob-l2-header {
    display: flex; align-items: center; gap: .6rem;
    padding: .55rem .6rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background .2s;
  }
  .mob-l2-header:hover { background: rgba(255,255,255,0.05); }
  .mob-l2.open > .mob-l2-header { background: rgba(200,169,110,0.08); }

  .mob-l2-icon {
    width: 30px; height: 30px;
    border-radius: 7px;
    background: var(--surface2);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: background .2s;
  }
  .mob-l2.open > .mob-l2-header .mob-l2-icon { background: rgba(200,169,110,0.15); }

  .mob-l2-text { flex: 1; }
  .mob-l2-label { font-size: 13px; font-weight: 500; color: var(--text); display: block; }
  .mob-l2-desc { font-size: 11px; color: var(--muted); display: block; margin-top: 1px; line-height: 1.3; }

  .mob-l2-arrow {
    flex-shrink: 0; opacity: .4;
    transition: transform .3s var(--transition), opacity .2s;
  }
  .mob-l2.open > .mob-l2-header .mob-l2-arrow { transform: rotate(90deg); opacity: .8; }
  /* If no children, hide arrow */
  .mob-l2.no-sub .mob-l2-arrow { display: none; }
  .mob-l2.no-sub > .mob-l2-header { cursor: default; }
  .mob-l2.no-sub > .mob-l2-header:hover { background: rgba(255,255,255,0.03); }

  /* Badge inside mobile */
  .mob-badge {
    font-size: 9px; font-weight: 700;
    letter-spacing: .04em;
    padding: 1px 5px; border-radius: 4px;
    text-transform: uppercase;
    flex-shrink: 0;
  }
  .mob-badge.new { background: #2ea87e; color: #fff; }
  .mob-badge.hot { background: #e05c5c; color: #fff; }
  .mob-badge.pro { background: var(--accent2); color: #fff; }

  /* Level 2 panel */
  .mob-l2-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s var(--transition);
  }
  .mob-l2.open .mob-l2-panel { max-height: 600px; }

  /* Level 3 links */
  .mob-l3-list { list-style: none; padding: .25rem 0 .5rem 1.6rem; }
  .mob-l3-link {
    display: flex; align-items: center; gap: .5rem;
    padding: .45rem .5rem;
    font-size: 12.5px;
    color: var(--muted);
    text-decoration: none;
    border-radius: 6px;
    transition: all .15s;
    position: relative;
  }
  .mob-l3-link::before {
    content: '';
    position: absolute;
    left: -12px; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transition: opacity .2s, transform .2s;
  }
  .mob-l3-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
  .mob-l3-link:hover::before { opacity: 1; transform: translateY(-50%) scale(1.3); }

  /* Simple direct links (no sub) */
  .mob-direct-link {
    display: flex; align-items: center; gap: .6rem;
    padding: .7rem 0;
    font-size: 14.5px; font-weight: 600;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: color .2s;
  }
  .mob-direct-link:hover { color: var(--accent); }
  .mob-direct-link:last-child { border-bottom: none; }

  /* Status dot */
  .mob-status { color: #2ea87e; font-size: 11px; }

  /* ── RESPONSIVE ── */
  @media (max-width: 1024px) {
    .nav { display: none; }
    .mobile-toggle { display: flex; }
    .mobile-drawer { display: block; }
    .mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  
  /* --- AÑADE ESTAS DOS LÍNEAS --- */
  visibility: hidden; 
  pointer-events: none; 
  
  /* --- ACTUALIZA LA TRANSICIÓN --- */
  transition: opacity 0.35s, visibility 0.35s; 
}

.mobile-overlay.open { 
  opacity: 1; 
  
  /* --- AÑADE ESTAS DOS LÍNEAS --- */
  visibility: visible; 
  pointer-events: auto; 
}
    .btn-login { display: none; }
    .btn-cta { display: none; }
  }
  @media (max-width: 480px) {
    .topbar { display: none; }
    .btn-cta { display: none; }
    .announce { font-size: 11px; padding: 0.4rem 2rem; }
  }

  /* Animations entrance */
  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .header { animation: fadeDown 0.5s var(--transition) both; }








  

/* ═══════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

section { position: relative; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ═══════════════════════════════════════════════════
   BOTONES GLOBALES
═══════════════════════════════════════════════════ */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  background: linear-gradient(135deg, #c8a96e, #a8844e);
  color: #0a0a0f;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, filter .2s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
  opacity: 0;
  transition: opacity .2s;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(200,169,110,.35); filter: brightness(1.05); }
.btn-gold:hover::after { opacity: 1; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  background: transparent;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--accent); background: rgba(200,169,110,.05); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  transition: gap .2s, opacity .2s;
}
.btn-ghost:hover { gap: .7rem; opacity: .85; }

/* ═══════════════════════════════════════════════════
   SECTION LABELS
═══════════════════════════════════════════════════ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: .04em;
  line-height: 1.05;
  color: var(--text);
}
.section-title .accent { color: var(--accent); }
.section-title .italic { font-family: 'Playfair Display', serif; font-style: italic; }

.section-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 540px;
}


/* ═══════════════════════════════════════════════════
   §1  HERO
═══════════════════════════════════════════════════ */
#hero {
  min-height: calc(100vh - 108px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 0 4rem;
}

/* canvas background */
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Gradient mesh */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 40%, rgba(123,110,246,.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(200,169,110,.06) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-page-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  gap: 4rem;
  align-items: center;
}

/* LEFT */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem 1rem .4rem .5rem;
  background: rgba(200,169,110,.08);
  border: 1px solid rgba(200,169,110,.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.5rem;
  animation: fadeUp .7s var(--transition) both;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}

.hero-h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 1.25rem;
  animation: fadeUp .7s .1s var(--transition) both;
}
.hero-h1 .line2 {
  background: linear-gradient(135deg, var(--accent), #fff 60%, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
  animation: fadeUp .7s .2s var(--transition) both;
}

.hero-page-h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 1.25rem;
  animation: fadeUp .7s .1s var(--transition) both;
}
.hero-page-h1 .line2 {
  background: linear-gradient(135deg, var(--accent), #fff 60%, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-page-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  animation: fadeUp .7s .2s var(--transition) both;
}
.hero-desc strong { color: var(--text); font-weight: 500; }

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  animation: fadeUp .7s .3s var(--transition) both;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  animation: fadeUp .7s .4s var(--transition) both;
}
.hero-avatars {
  display: flex;
}
.hero-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--surface3);
  margin-right: -8px;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.hero-trust-text { font-size: 13px; color: var(--muted); }
.hero-trust-text strong { color: var(--text); }

/* RIGHT - Code card */
.hero-visual {
  position: relative;
  animation: fadeIn .9s .3s var(--transition) both;
}

.code-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.03);
  position: relative;
}
.code-window-bar {
  padding: .75rem 1rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .8rem;
}
.cw-dots { display: flex; gap: .4rem; }
.cw-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.cw-dot:nth-child(1) { background: #ff5f56; }
.cw-dot:nth-child(2) { background: #ffbd2e; }
.cw-dot:nth-child(3) { background: #27c93f; }
.cw-tab {
  padding: .2rem .75rem;
  background: var(--surface);
  border-radius: 6px;
  font-size: 11px;
  color: var(--muted);
}
.cw-tab.active { color: var(--accent); border: 1px solid rgba(200,169,110,.2); }
.code-body {
  padding: 1.25rem 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.8;
  counter-reset: line;
}
.code-line {
  display: flex;
  gap: 1rem;
  opacity: 0;
  animation: codeLine .15s ease forwards;
}
.code-line:nth-child(1)  { animation-delay:.5s; }
.code-line:nth-child(2)  { animation-delay:.65s; }
.code-line:nth-child(3)  { animation-delay:.8s; }
.code-line:nth-child(4)  { animation-delay:.95s; }
.code-line:nth-child(5)  { animation-delay:1.1s; }
.code-line:nth-child(6)  { animation-delay:1.25s; }
.code-line:nth-child(7)  { animation-delay:1.4s; }
.code-line:nth-child(8)  { animation-delay:1.55s; }
.code-line:nth-child(9)  { animation-delay:1.7s; }
.code-line:nth-child(10) { animation-delay:1.85s; }
.code-line:nth-child(11) { animation-delay:2s; }
.code-line:nth-child(12) { animation-delay:2.15s; }

@keyframes codeLine {
  to { opacity: 1; }
}
.ln { color: #333355; font-size: 11px; min-width: 20px; user-select: none; }
.kw  { color: #7b6ef6; }
.fn  { color: #c8a96e; }
.str { color: #2ea87e; }
.cmt { color: #444466; font-style: italic; }
.op  { color: #8888aa; }
.nu  { color: #e05c5c; }

.code-cursor {
  display: inline-block;
  width: 2px; height: 14px;
  background: var(--accent);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}
@keyframes blink { 50% { opacity: 0; } }

/* Floating badges over code window */
.float-badge {
  position: absolute;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .6rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  animation: floatBadge 4s ease infinite;
}
.float-badge.top-right {
  top: -20px; right: -20px;
  animation-delay: 0s;
}
.float-badge.bot-left {
  bottom: -20px; left: -20px;
  animation-delay: 2s;
  border-color: rgba(123,110,246,.3);
}
@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.fb-icon { font-size: 16px; }
.fb-val { color: var(--accent); font-family: 'Bebas Neue', sans-serif; font-size: 16px; letter-spacing: .05em; }


/* ═══════════════════════════════════════════════════
   §2  STATS BAR
═══════════════════════════════════════════════════ */
#stats {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
}

.stat-item {
  background: var(--surface);
  padding: 1.5rem 2rem;
  text-align: center;
  position: relative;
  transition: background .2s;
}
.stat-item:hover { background: var(--surface2); }
.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.stat-item:hover::after { opacity: 1; }

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  letter-spacing: .04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.stat-label {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .04em;
  margin-top: .35rem;
  display: block;
}


/* ═══════════════════════════════════════════════════
   §3  SERVICIOS / PLANTILLAS
═══════════════════════════════════════════════════ */
#services {
  padding: 7rem 0;
  overflow: hidden;
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}
.services-header .section-label { justify-content: center; }
.services-header .section-label::before { display: none; }
.services-header .section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.services-header .section-desc { margin: 1rem auto 0; text-align: center; }

.services-tabs {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.stab {
  padding: .45rem 1.1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.stab.active, .stab:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200,169,110,.07);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--transition), border-color .3s, box-shadow .3s;
  position: relative;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200,169,110,.3);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(200,169,110,.1);
}
.service-card.featured {
  border-color: rgba(200,169,110,.35);
  background: linear-gradient(135deg, var(--surface) 60%, rgba(200,169,110,.04));
}
.service-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--accent);
  color: #0a0a0f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 2px 8px;
  border-radius: 100px;
}

.sc-preview {
  height: 160px;
  overflow: hidden;
  position: relative;
  background: var(--surface2);
}
.sc-mockup {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: .75rem;
  gap: .4rem;
}
.scm-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--surface3);
}
.scm-bar.w80 { width: 80%; background: rgba(200,169,110,.3); }
.scm-bar.w60 { width: 60%; }
.scm-bar.w45 { width: 45%; }
.scm-bar.w30 { width: 30%; }
.scm-row {
  display: flex;
  gap: .4rem;
  flex: 1;
}
.scm-col {
  flex: 1;
  background: var(--surface3);
  border-radius: 6px;
}
.scm-col.side { flex: 0 0 70px; }
.scm-img {
  width: 100%;
  height: 55px;
  background: var(--surface3);
  border-radius: 6px;
  margin-top: .3rem;
}

/* custom mockup colours per card type */
.sc-preview.blog .scm-bar.w80 { background: rgba(123,110,246,.4); }
.sc-preview.forum .scm-bar.w80 { background: rgba(46,168,126,.4); }
.sc-preview.shop .scm-bar.w80 { background: rgba(224,92,92,.4); }
.sc-preview.admin .scm-bar.w80 { background: rgba(200,169,110,.4); }
.sc-preview.app .scm-bar.w80 { background: rgba(100,180,255,.4); }

.sc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--surface), transparent);
}

.sc-body { padding: 1.5rem; }
.sc-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 1rem;
  transition: background .2s;
}
.service-card:hover .sc-icon { background: rgba(200,169,110,.12); }

.sc-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: .06em;
  margin-bottom: .35rem;
}
.sc-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.sc-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.sc-tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .04em;
}
.sc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.sc-price {
  display: flex;
  align-items: baseline;
  gap: .3rem;
}
.sc-price-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: .04em;
  line-height: 1;
}
.sc-price-cur { font-size: 12px; color: var(--muted); }
.sc-price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.sc-buy {
  padding: .5rem 1.1rem;
  background: rgba(200,169,110,.1);
  border: 1px solid rgba(200,169,110,.3);
  color: var(--accent);
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
}
.sc-buy:hover { background: var(--accent); color: #0a0a0f; }


/* ═══════════════════════════════════════════════════
   §4  ABOUT / EXPERIENCIA
═══════════════════════════════════════════════════ */
#about {
  padding: 7rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* LEFT: visual */
.about-visual { position: relative; }

.exp-circle {
  width: 280px; height: 280px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0deg 54deg, var(--accent2) 54deg 108deg, #2ea87e 108deg 180deg, var(--surface3) 180deg);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  margin: 0 auto 2rem;
  box-shadow: 0 0 60px rgba(200,169,110,.15);
}
.exp-circle-inner {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.exp-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  letter-spacing: .05em;
  line-height: 1;
  color: var(--accent);
}
.exp-sub { font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

.skills-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.skill-row { display: flex; flex-direction: column; gap: .35rem; }
.skill-info { display: flex; justify-content: space-between; align-items: center; }
.skill-name { font-size: 13px; font-weight: 500; }
.skill-pct { font-size: 12px; color: var(--accent); font-weight: 600; }
.skill-bar {
  height: 4px;
  background: var(--surface3);
  border-radius: 2px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  transform-origin: left;
  animation: skillFill 1.5s ease forwards;
  transform: scaleX(0);
}
@keyframes skillFill { to { transform: scaleX(1); } }

/* RIGHT: text */
.about-content .section-title { margin-bottom: 1rem; }

.about-features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.af-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.af-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.af-text strong { font-size: 14px; font-weight: 600; display: block; margin-bottom: .2rem; }
.af-text span { font-size: 13px; color: var(--muted); line-height: 1.5; }

.about-cta { margin-top: 2.5rem; display: flex; gap: 1rem; }


/* ═══════════════════════════════════════════════════
   §5  TECNOLOGÍAS
═══════════════════════════════════════════════════ */
#tech {
  padding: 7rem 0;
  overflow: hidden;
}

.tech-header { text-align: center; margin-bottom: 4rem; }
.tech-header .section-label { justify-content: center; }
.tech-header .section-label::before { display: none; }
.tech-header .section-label::after { content: ''; width: 24px; height: 1px; background: var(--accent); }

.tech-marquee-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.tech-marquee-wrap::before,
.tech-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
}
.tech-marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.tech-marquee-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.tech-marquee {
  display: flex;
  gap: 1rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.tech-marquee.rev { animation-direction: reverse; animation-duration: 25s; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color .2s, color .2s;
  cursor: default;
}
.tech-pill:hover { border-color: var(--accent); color: var(--text); }
.tech-pill .ti { font-size: 16px; }

.tech-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.tech-cat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color .3s, transform .3s;
}
.tech-cat:hover { border-color: rgba(200,169,110,.25); transform: translateY(-4px); }
.tc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.tc-items { display: flex; flex-direction: column; gap: .5rem; }
.tc-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 13px;
  color: var(--muted);
  padding: .4rem .6rem;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.tc-item:hover { background: var(--surface2); color: var(--text); }
.tc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .4; flex-shrink: 0; }


/* ═══════════════════════════════════════════════════
   §6  PROCESO DE TRABAJO
═══════════════════════════════════════════════════ */
#process {
  padding: 7rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-header { text-align: center; margin-bottom: 4rem; }
.process-header .section-label { justify-content: center; }
.process-header .section-label::before { display: none; }
.process-header .section-label::after { content: ''; width: 24px; height: 1px; background: var(--accent); }
.process-header .section-desc { text-align: center; margin: 1rem auto 0; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), var(--accent), transparent);
  opacity: .3;
}

.ps-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  cursor: default;
  transition: transform .3s;
}
.ps-item:hover { transform: translateY(-4px); }

.ps-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 2;
  margin-bottom: 1.25rem;
  transition: border-color .3s, background .3s;
  font-size: 24px;
}
.ps-item:hover .ps-num {
  border-color: var(--accent);
  background: rgba(200,169,110,.08);
  box-shadow: 0 0 20px rgba(200,169,110,.2);
}

.ps-idx {
  position: absolute;
  top: -4px; right: -4px;
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
  color: #0a0a0f;
  display: flex; align-items: center; justify-content: center;
}

.ps-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: .07em;
  margin-bottom: .35rem;
}
.ps-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; }


/* ═══════════════════════════════════════════════════
   §7  PORTAFOLIO
═══════════════════════════════════════════════════ */
#portfolio {
  padding: 7rem 0;
}

.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}
.portfolio-header .section-desc { margin: 0; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .3s var(--transition), border-color .3s, box-shadow .3s;
}
.portfolio-card:hover {
  transform: scale(1.02);
  border-color: rgba(200,169,110,.25);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.portfolio-card.large {
  grid-column: span 2;
}
.pc-img {
  height: 200px;
  background: var(--surface2);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.portfolio-card.large .pc-img { height: 260px; }
.pc-mockup {
  width: 90%;
  height: 90%;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.pc-mock-top {
  height: 28px;
  background: var(--surface2);
  display: flex; align-items: center; padding: 0 8px; gap: 4px;
}
.pc-mock-dot { width: 7px; height: 7px; border-radius: 50%; }
.pc-mock-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 6px;
}
.pc-mock-line {
  height: 7px;
  border-radius: 4px;
  background: var(--surface3);
}
.pc-mock-line.accent { background: rgba(200,169,110,.3); width: 70%; }
.pc-mock-line.accent2 { background: rgba(123,110,246,.3); width: 55%; }
.pc-mock-row {
  display: flex; gap: 6px; flex: 1;
}
.pc-mock-block { flex: 1; background: var(--surface3); border-radius: 4px; }
.pc-mock-block.accent { background: rgba(200,169,110,.1); }

.pc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,15,.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.portfolio-card:hover .pc-overlay { opacity: 1; }
.pc-view {
  padding: .5rem 1.25rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transform: translateY(10px);
  transition: transform .3s;
}
.portfolio-card:hover .pc-view { transform: translateY(0); }

.pc-body { padding: 1.25rem; }
.pc-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .4rem;
}
.pc-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: .05em;
  margin-bottom: .35rem;
}
.pc-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.pc-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.pc-tag {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 100px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
}


/* ═══════════════════════════════════════════════════
   §8  TESTIMONIOS
═══════════════════════════════════════════════════ */
#testimonials {
  padding: 7rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.testi-header { text-align: center; margin-bottom: 4rem; }
.testi-header .section-label { justify-content: center; }
.testi-header .section-label::before { display: none; }
.testi-header .section-label::after { content: ''; width: 24px; height: 1px; background: var(--accent); }

.testi-slider-wrap { position: relative; overflow: hidden; }
.testi-slider {
  display: flex;
  gap: 1.5rem;
  transition: transform .5s var(--transition);
}
.testi-card {
  flex: 0 0 calc(33.33% - 1rem);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color .3s;
}
.testi-card:hover { border-color: rgba(200,169,110,.25); }

.testi-stars { display: flex; gap: .2rem; margin-bottom: 1rem; }
.testi-star { color: var(--accent); font-size: 14px; }

.testi-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.5rem;
  quotes: "\201C" "\201D";
}
.testi-quote::before { content: open-quote; color: var(--accent); font-size: 1.5em; vertical-align: -0.3em; }

.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 600; }
.testi-role { font-size: 12px; color: var(--muted); }

.testi-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 2rem;
}
.tdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}
.tdot.active { background: var(--accent); transform: scale(1.3); }


/* ═══════════════════════════════════════════════════
   §9  PRECIOS
═══════════════════════════════════════════════════ */
#pricing {
  padding: 7rem 0;
}

.pricing-header { text-align: center; margin-bottom: 1rem; }
.pricing-header .section-label { justify-content: center; }
.pricing-header .section-label::before { display: none; }
.pricing-header .section-label::after { content: ''; width: 24px; height: 1px; background: var(--accent); }

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto 3.5rem;
  font-size: 14px;
  color: var(--muted);
}
.toggle-pill {
  width: 44px; height: 24px;
  background: var(--surface2);
  border-radius: 100px;
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  transition: background .2s;
}
.toggle-pill.on { background: var(--accent); border-color: var(--accent); }
.toggle-pill::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  transition: transform .2s;
}
.toggle-pill.on::after { transform: translateX(20px); }
.saving-badge {
  background: rgba(46,168,126,.15);
  border: 1px solid rgba(46,168,126,.3);
  color: #2ea87e;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: transform .3s var(--transition), border-color .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(200,169,110,.2); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.price-card.recommended {
  border-color: rgba(200,169,110,.5);
  background: linear-gradient(135deg, var(--surface), rgba(200,169,110,.04));
  box-shadow: 0 0 0 1px rgba(200,169,110,.15), 0 20px 60px rgba(0,0,0,.4);
}
.pc-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #c8a96e, #a8844e);
  color: #0a0a0f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.pc-plan { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.pc-price {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  margin: 1rem 0;
}
.pc-eur { font-size: 1.2rem; color: var(--accent); font-weight: 600; margin-top: 4px; }
.pc-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  letter-spacing: .04em;
  line-height: 1;
  color: var(--text);
}
.pc-period { font-size: 13px; color: var(--muted); }

.pc-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }

.pc-features { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2rem; }
.pcf {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 13px;
  color: var(--muted);
}
.pcf.yes { color: var(--text); }
.pcf-icon { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; }
.pcf.yes .pcf-icon { background: rgba(46,168,126,.15); color: #2ea87e; }
.pcf.no .pcf-icon  { background: var(--surface2); color: var(--muted); }

.pc-cta {
  width: 100%;
  padding: .8rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
}
.pc-cta:hover { border-color: var(--accent); color: var(--accent); background: rgba(200,169,110,.05); }
.price-card.recommended .pc-cta {
  background: linear-gradient(135deg, #c8a96e, #a8844e);
  border-color: transparent;
  color: #0a0a0f;
}
.price-card.recommended .pc-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }


/* ═══════════════════════════════════════════════════
   §10  FAQ
═══════════════════════════════════════════════════ */
#faq {
  padding: 7rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.faq-side .section-title { margin-bottom: 1rem; }
.faq-side .section-desc { margin-bottom: 2rem; }

.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item.open { border-color: rgba(200,169,110,.3); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  user-select: none;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-arrow {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
  transition: transform .3s var(--transition), background .2s;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); background: rgba(200,169,110,.15); color: var(--accent); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--transition), padding .3s;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}
.faq-a-inner { padding: 0 1.25rem 1.1rem; }
.faq-item.open .faq-a { max-height: 300px; }


/* ═══════════════════════════════════════════════════
   §11  CTA FINAL
═══════════════════════════════════════════════════ */
#cta-final {
  padding: 7rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(123,110,246,.07), transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 50%, rgba(200,169,110,.05), transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 50%, rgba(200,169,110,.05), transparent 70%);
}
.cta-border {
  position: absolute;
  inset: 2rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}
.cta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.cta-eyebrow::before,
.cta-eyebrow::after { content: '—'; color: var(--border); }

.cta-h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.cta-h2 .accent {
  background: linear-gradient(135deg, var(--accent), #fff 50%, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-sub { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 2.5rem; }

.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }

.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 12.5px;
  color: var(--muted);
}
.cta-trust-item { display: flex; align-items: center; gap: .4rem; }
.cta-trust-item span:first-child { color: var(--accent); }


/* ═══════════════════════════════════════════════════
   §12  FOOTER
═══════════════════════════════════════════════════ */
#footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: .08em;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: .5rem;
}
.footer-brand-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 260px;
  margin-bottom: 1.25rem;
}
.footer-socials { display: flex; gap: .5rem; }
.f-social {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: border-color .2s, color .2s, background .2s;
}
.f-social:hover { border-color: var(--accent); color: var(--accent); background: rgba(200,169,110,.06); }

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  display: flex; align-items: center; gap: .35rem;
}
.footer-links a:hover { color: var(--accent); }
.footer-links a::before { content: '›'; opacity: 0; transition: opacity .2s, transform .2s; transform: translateX(-4px); }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.footer-copy span { color: var(--accent); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--text); }


/* ═══════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--transition), transform .7s var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-card.large { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .hero-inner, .about-grid, .faq-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .portfolio-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .testi-card { flex: 0 0 calc(100% - 0px); }
}

@media (max-width: 640px) {
  .services-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .cta-trust { flex-wrap: wrap; gap: 1rem; }
}