/* ============================================================
   XYTHERON STORE — Dark Theme (Identidad de Marca)
   Paleta: #0f172a base · #3b82f6 acento · Orbitron + DM Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&family=Rajdhani:wght@500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  /* ── Fondos dark ── */
  --bg:          #0b1120;
  --bg-card:     #0f172a;
  --bg-muted:    #162032;
  --bg-elevated: #1e2d45;
  --border:      rgba(59,130,246,.14);
  --border-med:  rgba(59,130,246,.26);

  /* ── Azules de marca ── */
  --blue-50:     #eff6ff;
  --blue-100:    #dbeafe;
  --blue-400:    #60a5fa;
  --blue-500:    #3b82f6;
  --blue-600:    #2563eb;
  --blue-700:    #1d4ed8;
  --blue-800:    #1e40af;
  --blue-glow:   rgba(59,130,246,.35);

  /* ── Texto ── */
  --text:        #e2e8f0;
  --text-2:      #94a3b8;
  --text-muted:  #64748b;
  --text-light:  #334155;

  /* ── Colores funcionales ── */
  --green:       #22c55e;
  --green-bg:    rgba(34,197,94,.12);
  --red:         #f87171;
  --red-bg:      rgba(248,113,113,.12);
  --yellow:      #fbbf24;
  --yellow-bg:   rgba(251,191,36,.12);

  /* ── Espaciados y forma ── */
  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
  --radius-xl:   22px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
  --shadow:      0 4px 16px rgba(0,0,0,.5), 0 1px 4px rgba(0,0,0,.3);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.6), 0 4px 12px rgba(0,0,0,.3);
  --shadow-blue: 0 4px 20px rgba(37,99,235,.45);
  --header-h:    68px;

  /* ── Tipografías de marca ── */
  --font-body:   'DM Sans', sans-serif;
  --font-title:  'Orbitron', sans-serif;
  --font-tag:    'Rajdhani', sans-serif;

  /* ── Colores especiales ── */
  --rose-50:   #1a0a0f;
  --rose-100:  #2d1219;
  --rose-400:  #fb7185;
  --rose-500:  #f43f5e;
  --rose-600:  #e11d48;
  --rose-700:  #be123c;
  --purple-50: #130a1f;
  --purple-100:#1f1235;
  --purple-400:#c084fc;
  --purple-500:#a855f7;
  --purple-600:#9333ea;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 15px; line-height: 1.6;
  min-height: 100vh; -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-400); text-decoration: none; }
a:hover { color: #93c5fd; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
input, select, textarea, button { font-family: var(--font-body); font-size: 14px; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue-800); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-600); }

/* ══ HEADER ══ */
.main-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(11,17,32,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(59,130,246,.08), var(--shadow-sm);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }

/* Logo SVG en el header — 42×42 */
.brand-logo {
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.brand-logo svg { width: 42px; height: 42px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-title); font-size: 16px; font-weight: 900;
  color: #fff; letter-spacing: 1.5px;
  background: linear-gradient(90deg, #bfdbfe 0%, #60a5fa 50%, #1d4ed8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand-tagline { font-family: var(--font-tag); font-size: 10px; font-weight: 500; color: var(--text-muted); letter-spacing: 1px; }

.header-left { display: flex; align-items: center; }
.header-right { display: flex; align-items: center; gap: 10px; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-icon {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-muted); border: 1px solid var(--border);
  border-radius: var(--radius); cursor: pointer; font-size: 16px;
  transition: background .2s, border-color .2s, transform .15s;
}
.header-icon:hover { background: rgba(59,130,246,.15); border-color: var(--blue-500); transform: translateY(-1px); }
.admin-header { background: rgba(11,17,32,.97); }
.admin-user-pill {
  font-family: var(--font-tag); font-size: 12px; font-weight: 600; color: var(--blue-400);
  background: rgba(59,130,246,.1); border: 1px solid var(--border-med);
  border-radius: 20px; padding: 4px 12px;
}

/* ══ BUTTONS ══ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; background: var(--blue-600); color: #fff;
  font-weight: 600; font-size: 14px; border: none;
  border-radius: var(--radius); cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none; white-space: nowrap;
}
.btn-primary:hover { background: var(--blue-700); color: #fff; box-shadow: var(--shadow-blue); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; background: transparent; color: var(--blue-400);
  font-weight: 500; font-size: 14px; border: 1.5px solid var(--border-med);
  border-radius: var(--radius); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  text-decoration: none; white-space: nowrap;
}
.btn-secondary:hover { background: rgba(59,130,246,.1); color: #93c5fd; border-color: var(--blue-500); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; background: transparent; color: var(--text-muted);
  font-size: 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); cursor: pointer;
  transition: color .2s, border-color .2s, background .2s; white-space: nowrap;
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-med); background: var(--bg-muted); }

.btn-danger {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; background: var(--red-bg); color: var(--red);
  font-size: 12px; font-weight: 500; border: 1px solid rgba(248,113,113,.25);
  border-radius: var(--radius-sm); cursor: pointer; transition: background .2s;
}
.btn-danger:hover { background: rgba(248,113,113,.2); }

.btn-edit {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; background: rgba(59,130,246,.08); color: var(--blue-400);
  font-size: 12px; font-weight: 500; border: 1px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer; transition: background .2s;
}
.btn-edit:hover { background: rgba(59,130,246,.16); }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; background: #25D366; color: #fff;
  font-weight: 600; font-size: 14px; border: none;
  border-radius: var(--radius); cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  text-decoration: none; white-space: nowrap;
}
.btn-whatsapp:hover { background: #1ebe5d; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,.4); }
.btn-whatsapp svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

.admin-logout-btn { color: var(--text-muted); border-color: var(--border); font-size: 13px; padding: 7px 14px; }
.admin-logout-btn:hover { color: var(--red); border-color: rgba(248,113,113,.4); background: var(--red-bg); }

/* ══ FOOTER ══ */
.main-footer {
  border-top: 1px solid var(--border); padding: 22px 32px;
  text-align: center; color: var(--text-muted); font-size: 13px;
  background: var(--bg-card); margin-top: auto;
}

/* ══ HERO ══ */
.hero {
  background: linear-gradient(135deg, #060d22 0%, #0d1d48 45%, #1a3a8a 100%);
  padding: 64px 32px 56px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -80px; top: -60px;
  width: 480px; height: 480px; border-radius: 50%;
  background: rgba(59,130,246,.07); pointer-events: none;
}
.hero::before {
  content: ''; position: absolute; right: 120px; bottom: -100px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(59,130,246,.05); pointer-events: none;
}
.hero-content { position: relative; max-width: 640px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59,130,246,.15); border: 1px solid rgba(59,130,246,.3);
  border-radius: 20px; padding: 5px 14px; font-size: 12px; font-weight: 500;
  color: var(--blue-400); margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-title); font-size: clamp(26px, 4vw, 46px);
  font-weight: 900; line-height: 1.08; color: #fff; margin-bottom: 16px;
  letter-spacing: 1px;
}
.hero p {
  font-size: 16px; color: rgba(255,255,255,.72); max-width: 480px;
  margin-bottom: 28px; font-weight: 300; line-height: 1.75;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.25); border-radius: 20px;
  font-size: 13px; color: rgba(255,255,255,.9); font-weight: 500;
}

/* ══ FILTERS BAR ══ */
.filters-bar {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px;
  padding: 18px 32px; background: var(--bg-card);
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.filter-item { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 160px; }
.filter-item label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.filter-item input, .filter-item select {
  padding: 9px 12px; background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); color: var(--text); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.filter-item input:focus, .filter-item select:focus {
  border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.filter-item select option { background: var(--bg-card); color: var(--text); }
.filter-item-button { flex: 0 0 auto; min-width: unset; }

/* ══ CATALOG LAYOUT ══ */
.catalog-layout {
  display: grid; grid-template-columns: 260px 1fr;
  min-height: calc(100vh - var(--header-h) - 200px);
}
.catalog-sidebar {
  border-right: 1px solid var(--border); padding: 24px 20px;
  display: flex; flex-direction: column; gap: 14px; background: var(--bg-card);
}
.sidebar-card {
  padding: 18px; background: var(--bg-muted);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.sidebar-card h3 {
  font-family: var(--font-title); font-size: 11px; font-weight: 700;
  color: var(--blue-400); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px;
}
.sidebar-text { font-size: 13px; color: var(--text-2); line-height: 1.7; }
.sidebar-list { display: flex; flex-direction: column; gap: 8px; }
.sidebar-list li {
  font-size: 13px; color: var(--text-2);
  padding-left: 18px; position: relative; line-height: 1.5;
}
.sidebar-list li::before { content: '✓'; position: absolute; left: 0; color: var(--blue-500); font-size: 11px; top: 1px; }
.sidebar-highlight { color: var(--blue-400); font-weight: 600; }

.catalog-main { padding: 28px 32px; background: var(--bg); }
.catalog-header { margin-bottom: 22px; }
.catalog-header h2 { font-family: var(--font-title); font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 3px; letter-spacing: 0.5px; }
.catalog-subtitle { font-size: 13px; color: var(--text-muted); }

/* ══ PRODUCT GRID ══ */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--border-med); }
.product-card.agotado { opacity: .6; }

.product-card-img {
  position: relative; aspect-ratio: 4/3;
  overflow: hidden; background: var(--bg-muted);
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-img .no-img {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; font-size: 44px; color: var(--border-med);
}

.product-badge-group { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; }
.product-badge { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 20px; display: inline-block; }
.badge-nuevo      { background: var(--blue-600);  color: #fff; }
.badge-usado      { background: var(--yellow);     color: #0b1120; }
.badge-disponible { background: var(--green);      color: #0b1120; }
.badge-agotado    { background: var(--red);        color: #fff; }

.product-card-body {
  padding: 16px 16px 12px; display: flex; flex-direction: column; gap: 5px; flex: 1;
}
.product-card-category { font-family: var(--font-tag); font-size: 11px; font-weight: 600; color: var(--blue-400); text-transform: uppercase; letter-spacing: 0.5px; }
.product-card-name { font-family: var(--font-title); font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.35; letter-spacing: 0.3px; }
.product-card-price { font-family: var(--font-title); font-size: 18px; font-weight: 900; color: var(--blue-400); margin-top: 2px; }
.product-card-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.meta-tag {
  font-size: 11px; font-weight: 500; padding: 2px 8px;
  border-radius: 20px; background: var(--bg-muted);
  color: var(--text-muted); border: 1px solid var(--border);
}

.product-card-footer {
  padding: 12px 14px; border-top: 1px solid var(--border);
  display: flex; gap: 8px; background: var(--bg-muted);
}
.product-card-footer .btn-whatsapp { flex: 1; justify-content: center; font-size: 13px; padding: 9px 10px; }
.product-card-footer .btn-secondary { flex: 1; justify-content: center; font-size: 13px; padding: 9px 10px; }

.catalog-status { grid-column: 1/-1; padding: 64px 24px; text-align: center; color: var(--text-muted); }
.catalog-status .status-icon { font-size: 52px; margin-bottom: 14px; display: block; }
.catalog-status h3 { font-family: var(--font-title); font-size: 16px; color: var(--text); margin-bottom: 8px; font-weight: 700; }
.catalog-status p { font-size: 14px; }

.loading-dots { display: inline-flex; gap: 5px; }
.loading-dots span {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-500); animation: blink 1.2s infinite;
}
.loading-dots span:nth-child(2) { animation-delay: .2s; }
.loading-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes blink {
  0%, 80%, 100% { opacity: .2; transform: scale(.8); }
  40%           { opacity: 1;  transform: scale(1); }
}

/* ══ PRODUCT DETAIL ══ */
.detail-wrap { max-width: 1120px; margin: 0 auto; padding: 40px 32px; }
.detail-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-muted); margin-bottom: 32px; transition: color .2s;
}
.detail-back:hover { color: var(--blue-400); }
.detail-back::before { content: '←'; font-size: 16px; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.detail-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.gallery-main {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-muted); border: 1px solid var(--border);
  position: relative; margin-bottom: 12px; box-shadow: var(--shadow);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.gallery-main .no-img-big {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; color: var(--border-med); font-size: 64px;
}
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; justify-content: space-between; width: 100%; padding: 0 12px; pointer-events: none;
}
.gallery-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(15,23,42,.85); border: 1px solid var(--border); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; pointer-events: all; font-size: 18px; box-shadow: var(--shadow);
  transition: border-color .2s, background .2s;
}
.gallery-arrow:hover { border-color: var(--blue-500); color: var(--blue-400); }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumb {
  width: 68px; height: 52px; border-radius: var(--radius-sm);
  overflow: hidden; border: 2px solid var(--border); cursor: pointer; transition: border-color .2s;
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--blue-500); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-category { font-family: var(--font-tag); font-size: 12px; font-weight: 600; color: var(--blue-400); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.detail-title { font-family: var(--font-title); font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; color: var(--text); line-height: 1.15; margin-bottom: 14px; letter-spacing: 0.5px; }
.detail-status-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.detail-price { font-family: var(--font-title); font-size: 36px; font-weight: 900; color: var(--blue-400); letter-spacing: -1px; margin-bottom: 20px; line-height: 1; }
.detail-price small { font-size: 15px; color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.detail-divider { height: 1px; background: var(--border); margin: 20px 0; }

.detail-benefits { display: flex; flex-direction: column; gap: 12px; }
.benefit-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-2); }
.benefit-icon {
  width: 32px; height: 32px; background: rgba(59,130,246,.1); border: 1px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}

.detail-description { font-size: 14px; color: var(--text-2); line-height: 1.85; margin-bottom: 20px; }
.detail-description p { margin-bottom: 4px; }

.detail-specs {
  background: var(--bg-muted); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px;
}
.detail-specs-title {
  font-family: var(--font-tag); font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--text-muted); padding: 12px 16px; background: var(--bg-elevated); border-bottom: 1px solid var(--border);
}
.detail-spec-row { display: flex; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: 13px; }
.detail-spec-row:last-child { border-bottom: none; }
.spec-key { color: var(--text-muted); }
.spec-val { color: var(--text); font-weight: 500; }

.detail-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.detail-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; font-size: 12px; font-weight: 500;
  color: var(--text-muted); background: var(--bg-muted);
  border: 1px solid var(--border); border-radius: 20px;
}

.detail-cta { display: flex; flex-direction: column; gap: 10px; }
.detail-cta .btn-whatsapp { width: 100%; justify-content: center; padding: 15px; font-size: 16px; border-radius: var(--radius-lg); }
.detail-cta .btn-secondary { width: 100%; justify-content: center; padding: 13px; border-radius: var(--radius-lg); }

/* ══ ADMIN ══ */
.admin-main { padding: 28px 32px; max-width: 1440px; margin: 0 auto; }
.admin-summary { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.admin-summary-item {
  display: flex; flex-direction: column; gap: 3px; padding: 16px 22px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); min-width: 160px; box-shadow: var(--shadow-sm);
}
.summary-label { font-family: var(--font-tag); font-size: 11px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.5px; text-transform: uppercase; }
.summary-value { font-family: var(--font-title); font-size: 24px; font-weight: 700; color: var(--text); }

.admin-layout { display: grid; grid-template-columns: 400px 1fr; gap: 24px; align-items: start; }
.admin-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--border); background: var(--bg-muted);
}
.admin-card-header h2 { font-family: var(--font-title); font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: 0.5px; }
.admin-pill { font-family: var(--font-tag); font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 20px; background: rgba(59,130,246,.1); color: var(--blue-400); border: 1px solid var(--border-med); }
.admin-pill-neutral { background: var(--bg-muted); color: var(--text-muted); border-color: var(--border); }
.admin-pill-edit { background: var(--yellow-bg); color: var(--yellow); border-color: rgba(251,191,36,.3); }

.admin-form { padding: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field-full { grid-column: 1/-1; }
.form-field label { font-family: var(--font-tag); font-size: 12px; font-weight: 600; color: var(--text-muted); }
.form-field input, .form-field select, .form-field textarea {
  padding: 9px 12px; background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); color: var(--text); outline: none;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.form-field select option { background: var(--bg-card); color: var(--text); }
.field-hint { font-size: 11px; color: var(--text-light); margin-top: 3px; }

.form-field-inline { flex-direction: row; align-items: center; justify-content: space-between; }
.toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.toggle input { display: none; }
.toggle-slider {
  width: 44px; height: 24px; background: var(--bg-elevated);
  border-radius: 12px; position: relative; transition: background .2s; flex-shrink: 0;
  border: 1px solid var(--border);
}
.toggle-slider::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--text-muted); transition: transform .2s;
}
.toggle input:checked + .toggle-slider { background: var(--blue-600); border-color: var(--blue-500); }
.toggle input:checked + .toggle-slider::after { transform: translateX(20px); background: #fff; }
.toggle-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

.admin-form-actions { display: flex; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }

.admin-table-wrapper { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table thead tr { background: var(--bg-muted); }
.admin-table th {
  padding: 12px 16px; text-align: left; font-family: var(--font-tag); font-size: 11px; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.admin-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tbody tr:hover { background: rgba(59,130,246,.05); }
.admin-table tbody tr:last-child td { border-bottom: none; }
.table-id { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.table-name { font-weight: 600; color: var(--text); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-price { font-family: var(--font-title); font-weight: 700; color: var(--blue-400); }
.table-actions { display: flex; gap: 6px; }
.chip { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; }
.chip-nuevo   { background: rgba(59,130,246,.15);  color: var(--blue-400); }
.chip-usado   { background: var(--yellow-bg);       color: var(--yellow); }
.chip-green   { background: var(--green-bg);        color: var(--green); }
.chip-red     { background: var(--red-bg);          color: var(--red); }

/* ══ LOGIN ══ */
.login-body { display: flex; flex-direction: column; min-height: 100vh; background: var(--bg); }
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 20px; }
.auth-card {
  width: 100%; max-width: 420px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.auth-card-header {
  padding: 36px 36px 24px; text-align: center; border-bottom: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(59,130,246,.08) 0%, transparent 100%);
}
.auth-card-header h1 { font-family: var(--font-title); font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 6px; letter-spacing: 1px; }
.auth-card-header p { font-size: 14px; color: var(--text-muted); }
.auth-form { padding: 28px 36px; display: flex; flex-direction: column; gap: 18px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.auth-field input {
  padding: 11px 14px; background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); color: var(--text); outline: none;
  transition: border-color .2s, box-shadow .2s; font-size: 15px;
}
.auth-field input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
.auth-hint { font-size: 12px; color: var(--text-light); }
.auth-error { padding: 12px 14px; background: var(--red-bg); border: 1px solid rgba(248,113,113,.3); border-radius: var(--radius); color: var(--red); font-size: 13px; font-weight: 500; }
.auth-actions { padding-top: 4px; }
.auth-btn-primary { width: 100%; justify-content: center; padding: 13px; font-size: 15px; border-radius: var(--radius-lg); }
.auth-footer-text { padding: 18px 36px; text-align: center; border-top: 1px solid var(--border); background: var(--bg-muted); }
.auth-footer-text p { font-size: 12px; color: var(--text-light); }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) { .admin-layout { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid var(--border); padding: 16px; gap: 12px; }
  .sidebar-card { flex: 1; min-width: 180px; }
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .detail-gallery { position: static; }
}
@media (max-width: 640px) {
  .main-header { padding: 0 16px; }
  .hero { padding: 44px 16px 36px; }
  .filters-bar { padding: 14px 16px; }
  .catalog-main { padding: 20px 16px; }
  .admin-main { padding: 20px 16px; }
  .detail-wrap { padding: 24px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .brand-tagline { display: none; }
  .product-list { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
  .auth-card-header, .auth-form, .auth-footer-text { padding-left: 24px; padding-right: 24px; }
}

/* ══ NAVBAR ══ */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; font-size: 14px; font-weight: 500;
  color: var(--text-muted); border-radius: var(--radius);
  transition: color .2s, background .2s; text-decoration: none;
}
.nav-link:hover { color: var(--text); background: rgba(59,130,246,.08); }
.nav-link.active { color: var(--blue-400); background: rgba(59,130,246,.1); font-weight: 600; }
.nav-link .nav-icon { font-size: 15px; }
.nav-divider { width: 1px; height: 20px; background: var(--border); margin: 0 4px; }

/* ══ LANDING PAGE ══ */
.landing-hero {
  background: linear-gradient(135deg, #060d22 0%, #0d1d48 45%, #1a3a8a 100%);
  padding: 80px 48px 72px; position: relative; overflow: hidden; min-height: 520px; display: flex; align-items: center;
}
.landing-hero::before {
  content: ''; position: absolute; right: -120px; top: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: rgba(59,130,246,.06); pointer-events: none;
}
.landing-hero::after {
  content: ''; position: absolute; right: 200px; bottom: -150px;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(59,130,246,.04); pointer-events: none;
}
.landing-hero-inner {
  position: relative; max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.landing-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59,130,246,.15); border: 1px solid rgba(59,130,246,.3);
  border-radius: 20px; padding: 6px 16px; font-size: 12px; font-weight: 600;
  color: var(--blue-400); margin-bottom: 22px; letter-spacing: 0.5px;
}
.landing-hero h1 { font-family: var(--font-title); font-size: clamp(32px, 4vw, 52px); font-weight: 900; line-height: 1.06; color: #fff; margin-bottom: 20px; letter-spacing: 1px; }
.landing-hero h1 span { color: rgba(255,255,255,.55); }
.landing-hero p { font-size: 17px; color: rgba(255,255,255,.7); line-height: 1.75; margin-bottom: 36px; font-weight: 300; max-width: 440px; }
.landing-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; background: var(--blue-500); color: #fff;
  font-family: var(--font-title); font-weight: 700; font-size: 14px;
  border: none; border-radius: var(--radius-lg); cursor: pointer;
  text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: var(--shadow-blue); letter-spacing: 0.5px;
}
.btn-hero-primary:hover { transform: translateY(-2px); background: var(--blue-600); box-shadow: 0 8px 28px rgba(59,130,246,.5); color: #fff; }

.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; background: rgba(59,130,246,.1); color: var(--blue-400);
  font-weight: 600; font-size: 15px; border: 1.5px solid var(--border-med);
  border-radius: var(--radius-lg); cursor: pointer; text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn-hero-secondary:hover { background: rgba(59,130,246,.18); border-color: var(--blue-500); color: #93c5fd; transform: translateY(-2px); }

.landing-hero-stats { display: flex; flex-direction: column; gap: 16px; }
.hero-stat-card {
  background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.18);
  border-radius: var(--radius-lg); padding: 20px 24px;
  backdrop-filter: blur(8px); transition: background .2s, transform .2s;
}
.hero-stat-card:hover { background: rgba(59,130,246,.14); transform: translateX(4px); }
.hero-stat-icon { font-size: 28px; margin-bottom: 8px; }
.hero-stat-title { font-family: var(--font-title); font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; letter-spacing: 0.3px; }
.hero-stat-desc { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; }
.hero-stat-link {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 10px;
  font-size: 12px; font-weight: 600; color: var(--blue-400); text-decoration: none; transition: color .2s;
}
.hero-stat-link:hover { color: #93c5fd; }
.hero-stat-link::after { content: '→'; }

/* ══ LANDING SECTIONS ══ */
.landing-section { padding: 72px 48px; max-width: 1200px; margin: 0 auto; }
.section-label { font-family: var(--font-tag); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-400); margin-bottom: 10px; }
.section-title { font-family: var(--font-title); font-size: clamp(24px, 3vw, 36px); font-weight: 900; color: var(--text); line-height: 1.15; margin-bottom: 14px; letter-spacing: 0.5px; }
.section-subtitle { font-size: 16px; color: var(--text-muted); max-width: 560px; line-height: 1.7; margin-bottom: 48px; font-weight: 300; }
.section-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.section-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  overflow: hidden; transition: box-shadow .3s, transform .3s, border-color .3s; text-decoration: none; display: flex; flex-direction: column;
}
.section-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--border-med); }
.section-card-visual { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 64px; position: relative; overflow: hidden; }
.section-card-visual.tech-visual    { background: linear-gradient(135deg, rgba(59,130,246,.1) 0%, rgba(59,130,246,.2) 100%); }
.section-card-visual.crochet-visual { background: linear-gradient(135deg, rgba(244,63,94,.08) 0%, rgba(244,63,94,.16) 100%); }
.section-card-visual.web-visual     { background: linear-gradient(135deg, rgba(168,85,247,.08) 0%, rgba(168,85,247,.16) 100%); }
.section-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.section-card-tag { font-family: var(--font-tag); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; display: inline-block; width: fit-content; }
.tag-tech    { background: rgba(59,130,246,.1);  color: var(--blue-400); border: 1px solid var(--border); }
.tag-crochet { background: rgba(244,63,94,.1);   color: var(--rose-400); border: 1px solid rgba(244,63,94,.2); }
.tag-web     { background: rgba(168,85,247,.1);  color: var(--purple-400); border: 1px solid rgba(168,85,247,.2); }
.section-card-title { font-family: var(--font-title); font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: 0.3px; }
.section-card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; flex: 1; }
.section-card-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; margin-top: 8px; transition: gap .2s; }
.section-card-cta.blue   { color: var(--blue-400); }
.section-card-cta.rose   { color: var(--rose-400); }
.section-card-cta.purple { color: var(--purple-400); }
.section-card:hover .section-card-cta { gap: 10px; }

/* Trust strip */
.trust-strip { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 48px; }
.trust-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-icon { width: 46px; height: 46px; background: rgba(59,130,246,.1); border: 1px solid var(--border-med); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.trust-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.trust-text span { font-size: 12px; color: var(--text-muted); }

/* Landing CTA */
.landing-cta-section { background: linear-gradient(135deg, #060d22 0%, #0d1d48 50%, #1a3a8a 100%); border-top: 1px solid var(--border); padding: 72px 48px; text-align: center; }
.landing-cta-inner { max-width: 600px; margin: 0 auto; }
.landing-cta-section h2 { font-family: var(--font-title); font-size: clamp(22px, 3vw, 34px); font-weight: 900; color: #fff; margin-bottom: 14px; letter-spacing: 0.5px; }
.landing-cta-section p { font-size: 16px; color: rgba(255,255,255,.65); margin-bottom: 32px; line-height: 1.7; }
.landing-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ══ CROCHET PAGE ══ */
.crochet-hero { background: linear-gradient(135deg, #3b0a1e 0%, var(--rose-500) 55%, #fb7185 100%); padding: 64px 48px 56px; position: relative; overflow: hidden; }
.crochet-hero::before { content: ''; position: absolute; right: -80px; top: -80px; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,.05); pointer-events: none; }
.crochet-hero-content { position: relative; max-width: 640px; }
.crochet-hero h1 { font-family: var(--font-title); font-size: clamp(28px, 4vw, 46px); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 14px; letter-spacing: 0.5px; }
.crochet-hero p { font-size: 16px; color: rgba(255,255,255,.78); margin-bottom: 28px; font-weight: 300; line-height: 1.7; max-width: 480px; }
.btn-rose { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; background: rgba(255,255,255,.15); color: #fff; font-weight: 700; font-size: 14px; font-family: var(--font-title); border: 1.5px solid rgba(255,255,255,.3); border-radius: var(--radius-lg); cursor: pointer; text-decoration: none; transition: transform .2s, background .2s; }
.btn-rose:hover { transform: translateY(-2px); background: rgba(255,255,255,.22); color: #fff; }
.crochet-layout { max-width: 1200px; margin: 0 auto; padding: 48px; }
.crochet-section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.crochet-section-header h2 { font-family: var(--font-title); font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: 0.3px; }
.crochet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; margin-bottom: 64px; }
.crochet-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; transition: box-shadow .25s, transform .25s; display: flex; flex-direction: column; }
.crochet-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.crochet-card-img { aspect-ratio: 1/1; overflow: hidden; background: var(--rose-100); position: relative; }
.crochet-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.crochet-card:hover .crochet-card-img img { transform: scale(1.06); }
.crochet-card-img .no-img-crochet { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 52px; color: var(--rose-400); }
.crochet-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.crochet-card-category { font-family: var(--font-tag); font-size: 11px; font-weight: 700; color: var(--rose-400); text-transform: uppercase; letter-spacing: 0.5px; }
.crochet-card-name { font-family: var(--font-title); font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.3; letter-spacing: 0.3px; }
.crochet-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.crochet-card-price { font-family: var(--font-title); font-size: 17px; font-weight: 900; color: var(--rose-400); margin-top: 4px; }
.crochet-card-footer { padding: 12px 18px; border-top: 1px solid var(--border); background: var(--bg-muted); display: flex; flex-direction: row; gap: 8px; }
.crochet-card-footer .btn-whatsapp { width: 100%; justify-content: center; font-size: 13px; padding: 9px; }
.crochet-custom { background: linear-gradient(135deg, rgba(244,63,94,.06) 0%, rgba(168,85,247,.06) 100%); border: 1px solid rgba(244,63,94,.15); border-radius: var(--radius-xl); padding: 48px; text-align: center; margin-bottom: 48px; }
.crochet-custom-icon { font-size: 52px; margin-bottom: 16px; }
.crochet-custom h2 { font-family: var(--font-title); font-size: 24px; font-weight: 900; color: var(--text); margin-bottom: 12px; letter-spacing: 0.3px; }
.crochet-custom p { font-size: 15px; color: var(--text-muted); max-width: 480px; margin: 0 auto 28px; line-height: 1.7; }
.crochet-custom-options { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.custom-option-tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; background: var(--bg-card); border: 1px solid rgba(244,63,94,.2); border-radius: 20px; font-size: 13px; color: var(--text-2); font-weight: 500; }

/* ══ SERVICIOS PAGE ══ */
.services-hero { background: linear-gradient(135deg, #1a0a3d 0%, var(--purple-600) 55%, var(--purple-400) 100%); padding: 64px 48px 56px; position: relative; overflow: hidden; }
.services-hero::before { content: ''; position: absolute; right: -80px; top: -80px; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,.04); pointer-events: none; }
.services-hero-content { position: relative; max-width: 680px; }
.services-hero h1 { font-family: var(--font-title); font-size: clamp(28px, 4vw, 46px); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 14px; letter-spacing: 0.5px; }
.services-hero p { font-size: 16px; color: rgba(255,255,255,.75); margin-bottom: 28px; font-weight: 300; line-height: 1.7; max-width: 500px; }
.btn-purple { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; background: rgba(255,255,255,.12); color: #fff; font-weight: 700; font-size: 14px; font-family: var(--font-title); border: 1.5px solid rgba(255,255,255,.25); border-radius: var(--radius-lg); cursor: pointer; text-decoration: none; transition: transform .2s, background .2s; }
.btn-purple:hover { transform: translateY(-2px); background: rgba(255,255,255,.2); color: #fff; }
.services-layout { max-width: 1200px; margin: 0 auto; padding: 56px 48px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-bottom: 64px; }
.service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .25s, transform .25s, border-color .25s; }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(168,85,247,.3); }
.service-card-icon { width: 54px; height: 54px; background: rgba(168,85,247,.1); border: 1px solid rgba(168,85,247,.2); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.service-card-title { font-family: var(--font-title); font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: 0.3px; }
.service-card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; flex: 1; }
.service-card-features { display: flex; flex-direction: column; gap: 7px; }
.service-feature { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-2); }
.service-feature::before { content: '✓'; color: var(--purple-400); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.service-card-cta { margin-top: 4px; }
.services-process { margin-bottom: 64px; }
.services-process h2 { font-family: var(--font-title); font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 32px; letter-spacing: 0.3px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process-step { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); position: relative; }
.step-number { width: 36px; height: 36px; background: var(--purple-600); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-title); font-weight: 900; font-size: 14px; flex-shrink: 0; }
.step-title { font-family: var(--font-title); font-size: 14px; font-weight: 700; color: var(--text); }
.step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.services-contact { background: linear-gradient(135deg, #1a0a3d 0%, var(--purple-600) 100%); border: 1px solid rgba(168,85,247,.2); border-radius: var(--radius-xl); padding: 56px 48px; text-align: center; color: #fff; }
.services-contact h2 { font-family: var(--font-title); font-size: clamp(20px, 2.8vw, 30px); font-weight: 900; margin-bottom: 12px; letter-spacing: 0.5px; }
.services-contact p { font-size: 16px; color: rgba(255,255,255,.7); max-width: 480px; margin: 0 auto 32px; line-height: 1.7; }
.contact-options { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ══ SITE FOOTER ══ */
.site-footer { background: #060b18; color: rgba(255,255,255,.55); padding: 48px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-logo-icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-logo-icon svg { width: 38px; height: 38px; }
.footer-logo-name { font-family: var(--font-title); font-size: 15px; font-weight: 900; color: #fff; letter-spacing: 1.5px; background: linear-gradient(90deg, #bfdbfe 0%, #60a5fa 60%, #1d4ed8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-brand-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.4); max-width: 240px; }
.footer-col h4 { font-family: var(--font-title); font-size: 11px; font-weight: 700; color: rgba(255,255,255,.6); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li a { font-size: 13px; color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.footer-col li a:hover { color: var(--blue-400); }
.footer-bottom { max-width: 1200px; margin: 24px auto 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.25); flex-wrap: wrap; gap: 8px; }

/* ══ WHATSAPP FLOAT ══ */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.45), 0 2px 8px rgba(0,0,0,.3); transition: transform .2s, box-shadow .2s; text-decoration: none; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55), 0 4px 12px rgba(0,0,0,.2); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float::before { content: attr(data-tooltip); position: absolute; right: 68px; background: var(--bg-elevated); color: var(--text); border: 1px solid var(--border); font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; font-family: var(--font-body); }
.wa-float::after { content: ''; position: absolute; right: 62px; border: 5px solid transparent; border-left-color: var(--bg-elevated); opacity: 0; pointer-events: none; transition: opacity .2s; }
.wa-float:hover::before, .wa-float:hover::after { opacity: 1; }
@media (max-width: 480px) { .wa-float { bottom: 18px; right: 18px; width: 52px; height: 52px; } .wa-float svg { width: 26px; height: 26px; } .wa-float::before, .wa-float::after { display: none; } }

/* ══ HERO ILUSTRADO ══ */
.hero-illustrated { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 0; padding: 0 !important; overflow: hidden; min-height: 340px; }
.hero-illustrated .hero-content, .hero-illustrated .crochet-hero-content, .hero-illustrated .services-hero-content { padding: 52px 32px 52px 48px; max-width: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero-illustration { display: flex; align-items: center; justify-content: center; padding: 16px 24px 16px 8px; opacity: 0; transform: translateX(40px); animation: heroSlideIn .65s ease .15s forwards; }
@keyframes heroSlideIn { to { opacity: 1; transform: translateX(0); } }
.hero-svg { width: 100%; height: auto; max-height: 360px; filter: drop-shadow(0 8px 32px rgba(0,0,0,.4)); }
.hero.hero-illustrated, .crochet-hero.hero-illustrated, .services-hero.hero-illustrated { padding: 0 !important; }
@media (max-width: 960px) {
  .hero-illustrated { grid-template-columns: 1fr; }
  .hero-illustrated .hero-content, .hero-illustrated .crochet-hero-content, .hero-illustrated .services-hero-content { padding: 48px 32px 24px; }
  .hero-illustration { padding: 0 32px 40px; justify-content: flex-start; }
  .hero-svg { max-width: 480px; max-height: 240px; }
}
@media (max-width: 640px) {
  .hero-illustration { display: none; }
  .hero-illustrated .hero-content, .hero-illustrated .crochet-hero-content, .hero-illustrated .services-hero-content { padding: 40px 16px 36px; }
}

/* ══ RESPONSIVE ADICIONAL ══ */
@media (max-width: 1024px) { .landing-hero-inner { grid-template-columns: 1fr; gap: 40px; } .section-cards { grid-template-columns: 1fr 1fr; } .trust-inner { grid-template-columns: 1fr 1fr; } .footer-inner { grid-template-columns: 1fr 1fr; } .process-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .landing-hero, .crochet-hero, .services-hero { padding: 48px 24px 40px; } .landing-section, .crochet-layout, .services-layout { padding: 40px 24px; } .section-cards { grid-template-columns: 1fr; } .trust-strip, .landing-cta-section, .services-contact { padding: 40px 24px; } .trust-inner { grid-template-columns: 1fr; gap: 16px; } .crochet-custom { padding: 32px 24px; } .footer-inner { grid-template-columns: 1fr; gap: 28px; } .site-footer { padding: 36px 24px; } .process-steps { grid-template-columns: 1fr; } .nav-links { display: none; } }
@media (max-width: 480px) { .section-title { font-size: 22px; } .services-grid { grid-template-columns: 1fr; } .crochet-grid { grid-template-columns: 1fr; } }