/* ==========================================================================
   ATHEI — Full Stylesheet (Public + Admin)
   
   STRUCTURE:
   1. Tokens & Reset
   2. Layout Utilities
   3. Typography & Buttons
   4. Navigation (topbar + navbar + mobile)
   5. Hero Sections
   6. Cards & Features
   7. Congress / Event Cards
   8. Team Grid
   9. FAQ Accordion
   10. Shop / Products
   11. Contact Form
   12. CTA Sections
   13. Footer
   14. WhatsApp Float
   15. Modal & Cart
   16. Cookie Banner
   17. Animations
   18. Admin Panel
   19. Responsive
   ========================================================================== */

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

/* ==========================================================================
   SISTEMA DE TEMAS
   ==========================================================================
   Para elegir el tema activo, cambiá data-theme en el <html> de cualquier
   página — includes.js lo aplica automáticamente a todas desde S.settings.theme

       <html data-theme="athei">   ← Tema ATHEI  (navy/teal/gold, diseño nuevo)
       <html data-theme="wp">      ← Tema WordPress (azul Kadence, colores originales)
       <html data-theme="clean">   ← Tema Claro (blanco puro, sombras mínimas)

   O cambialo desde el Admin → Configuración → Tema visual.
   ========================================================================== */

/* ── TEMA A: ATHEI — diseño nuevo ──────────────────────── */
:root,
[data-theme="athei"] {
  --navy:       #0d2b45;
  --teal:       #1a6b72;
  --teal2:      #24919a;
  --teal-light: rgba(26,107,114,.08);
  --gold:       #c8a45a;
  --gold-light: rgba(200,164,90,.12);
  --cream:      #f7f3ee;
  --white:      #fff;
  --text:       #1c2b38;
  --muted:      #5e7080;
  --border:     #dde4eb;
  --danger:     #c0392b;
  --success:    #27ae60;
  --warn:       #e67e22;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --r:          8px;
  --r-lg:       14px;
  --shadow:     0 4px 24px rgba(13,43,69,.10);
  --shadow-lg:  0 12px 48px rgba(13,43,69,.16);
}

/* ── TEMA B: WORDPRESS / KADENCE — colores originales ──── */
/*   Paleta medida en athei.org.ar/athei-dev con DevTools:
     palette1 #2B6CB0  palette2 #215387  palette3 #1A202C
     palette4 #2D3748  palette6 #718096  palette7 #EDF2F7
     palette15 #f5a524                                      */
[data-theme="wp"] {
  --navy:       #1A202C;
  --teal:       #2B6CB0;
  --teal2:      #215387;
  --teal-light: rgba(43,108,176,.08);
  --gold:       #f5a524;
  --gold-light: rgba(245,165,36,.12);
  --cream:      #EDF2F7;
  --white:      #ffffff;
  --text:       #2D3748;
  --muted:      #718096;
  --border:     #e2e8f0;
  --danger:     #b82105;
  --success:    #13612e;
  --warn:       #f7630c;
  --serif:      Georgia, 'Times New Roman', serif;
  --sans:       'Roboto', system-ui, sans-serif;
  --r:          4px;
  --r-lg:       8px;
  --shadow:     0 2px 12px rgba(26,32,44,.08);
  --shadow-lg:  0 8px 32px rgba(26,32,44,.15);
}

/* ── TEMA C: CLEAN / CLARO — basado en captura del sitio ── */
/*   Navbar blanca pura (#ffffff), dropdown #215386 medido
     en captura. Sombras mínimas, bordes casi invisibles,
     estética "médica" limpia y clara.                       */
[data-theme="clean"] {
  --navy:       #215386;
  --teal:       #2B6CB0;
  --teal2:      #3a7fd4;
  --teal-light: rgba(43,108,176,.06);
  --gold:       #f5a524;
  --gold-light: rgba(245,165,36,.10);
  --cream:      #f0f4f8;
  --white:      #ffffff;
  --text:       #1a202c;
  --muted:      #718096;
  --border:     #e8edf3;
  --danger:     #b82105;
  --success:    #13612e;
  --warn:       #f7630c;
  --serif:      Georgia, 'Times New Roman', serif;
  --sans:       'Roboto', system-ui, sans-serif;
  --r:          6px;
  --r-lg:       10px;
  --shadow:     0 1px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 4px 16px rgba(0,0,0,.09);
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--sans); }
input, select, textarea { font-family: var(--sans); }

/* ── 2. LAYOUT UTILITIES ───────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--cream); }
.section--dark { background: var(--navy); color: var(--white); }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── 3. TYPOGRAPHY & BUTTONS ───────────────────────────── */
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal2); margin-bottom: 12px; }
.section--dark .tag { color: var(--gold); }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 600px; margin-top: 14px; line-height: 1.75; }
.section--dark .lead { color: rgba(255,255,255,.6); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: var(--r); font-size: 14px; font-weight: 600; letter-spacing: .02em; transition: all .25s; border: 2px solid transparent; text-decoration: none; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,107,114,.3); }
.btn-outline { background: transparent; border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d4b06e; transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); border-color: transparent; }
.btn-danger:hover { opacity: .85; }
.btn-success { background: var(--success); color: var(--white); }
.btn-icon { padding: 8px; border-radius: var(--r); background: var(--cream); color: var(--text); border: 1px solid var(--border); }
.btn-icon:hover { background: var(--border); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; letter-spacing: .05em; }
.badge-teal { background: var(--teal-light); color: var(--teal); }
.badge-gold { background: var(--gold-light); color: #8a6a20; }
.badge-danger { background: rgba(192,57,43,.1); color: var(--danger); }
.badge-success { background: rgba(39,174,96,.1); color: var(--success); }

/* ── 4. NAVIGATION ─────────────────────────────────────── */
.topbar { background: var(--navy); padding: 8px 0; font-size: 13px; color: rgba(255,255,255,.7); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: rgba(255,255,255,.85); transition: color .2s; }
.topbar a:hover { color: var(--gold); }

.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.navbar__logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 42px; height: 42px; background: var(--teal); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark svg { width: 24px; height: 24px; fill: none; stroke: white; stroke-width: 2; stroke-linecap: round; }
.logo-text { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.logo-sub { font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > li { position: relative; }
.nav-links a { display: block; padding: 8px 13px; font-size: 14px; font-weight: 500; color: var(--text); border-radius: var(--r); transition: all .18s; }
.nav-links a:hover, .nav-links a.active { background: var(--cream); color: var(--teal); }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 10px 6px 6px; z-index: 200; }
.dropdown:hover .dropdown-menu { display: block; animation: fadeIn .15s ease; }
/* Bridge invisible: cubre el hueco entre nav-item y dropdown para que el hover no se pierda */
.dropdown::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 10px; }
.dropdown-menu a { display: block; padding: 9px 13px; font-size: 13.5px; border-radius: 4px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; background: none; border: none; padding: 8px; font-size: 20px; color: var(--text); display: flex; align-items: center; }
.cart-count { position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.hamburger { display: none; background: none; border: none; padding: 8px; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .3s; }

/* Mobile menu */
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 999; background: var(--white); padding: 24px; overflow-y: auto; animation: fadeIn .2s ease; }
.mobile-menu.open { display: block; }
.mobile-menu__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mobile-close { background: none; border: none; font-size: 28px; color: var(--text); }
.mobile-menu nav a { display: block; padding: 14px 0; font-size: 18px; font-family: var(--serif); font-weight: 600; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-menu nav a:hover { color: var(--teal); }
.mobile-actions { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }

/* ── 5. HERO ───────────────────────────────────────────── */
.hero { background: var(--navy); position: relative; overflow: hidden; padding: 96px 0 80px; min-height: 540px; display: flex; align-items: center; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(26,107,114,.35) 0%, transparent 60%), radial-gradient(ellipse 40% 60% at -10% 80%, rgba(200,164,90,.12) 0%, transparent 55%); }
.hero__grid { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: center; }
.hero__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero__eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--white); font-weight: 700; line-height: 1.12; margin-bottom: 18px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero__desc { color: rgba(255,255,255,.65); font-size: 1rem; max-width: 480px; margin-bottom: 32px; line-height: 1.7; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 28px; backdrop-filter: blur(8px); opacity: 0; animation: fadeUp .8s .3s ease forwards; }
.hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.stat { text-align: center; padding: 14px; background: rgba(255,255,255,.05); border-radius: 8px; }
.stat__num { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat__label { font-size: 10.5px; color: rgba(255,255,255,.45); margin-top: 3px; text-transform: uppercase; letter-spacing: .07em; }

/* Page hero (inner pages) */
.hero--page { min-height: 320px; padding: 100px 0 60px; }
.hero--page .hero__grid { grid-template-columns: 1fr; text-align: center; }
.hero--page .hero__eyebrow { justify-content: center; }
.hero--page .hero__desc { margin: 0 auto 32px; text-align: center; }

/* ── 6. CARDS & FEATURES ──────────────────────────────── */
.benefit-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 28px; transition: all .25s; }
.benefit-card:hover { border-color: var(--teal2); box-shadow: var(--shadow); transform: translateY(-3px); }
.benefit-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-light); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.benefit-icon svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.benefit-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.benefit-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ── 7. CONGRESS / EVENT CARDS ─────────────────────────── */
.event-card { background: var(--white); border-radius: 10px; overflow: hidden; border: 1px solid var(--border); transition: all .25s; }
.event-card--dashed { border: 2px dashed var(--border); background: var(--cream); }
.event-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.event-card__img { height: 170px; background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.event-card__img.light { background: linear-gradient(135deg, #dde4eb, #c8c8c8); }
.event-card__img.rose { background: linear-gradient(135deg, #b78a7f 0%, var(--navy) 100%); }
.event-card__img.has-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-card__img.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,43,69,.08) 0%, rgba(13,43,69,.18) 100%); }
.event-card__img.gold { background: linear-gradient(135deg, var(--gold) 0%, var(--navy) 100%); }

.event-card__date-badge { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; padding: 4px 12px; border-radius: 4px; }
.event-card__body { padding: 22px; }
.event-card__type { font-size: 11px; font-weight: 600; color: var(--teal2); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 7px; }
.event-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.event-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.event-card__footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 14px; }
.event-card__meta { font-size: 12.5px; color: var(--muted); }

/* ── 8. TEAM GRID ──────────────────────────────────────── */
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 20px; text-align: center; transition: all .25s; }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--teal2); }
.team-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal2)); margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.5rem; color: white; font-weight: 700; overflow: hidden; }
.team-avatar img { width: 64px; height: 64px; object-fit: cover; display: block; }
.team-avatar__fallback { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.2rem; color: white; font-weight: 700; }
.team-role { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal2); margin-bottom: 5px; }
.team-card h3 { font-size: .95rem; font-weight: 600; }
.team-card p { font-size: 12.5px; color: var(--muted); }

/* ── 9. FAQ ACCORDION ──────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--text); }
.faq-q:hover { color: var(--teal); }
.faq-arrow { font-size: 18px; color: var(--teal); transition: transform .25s; flex-shrink: 0; }
.faq-a { display: none; padding-bottom: 18px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* ── 10. SHOP / PRODUCTS ───────────────────────────────── */
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 24px; transition: all .25s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow); border-color: var(--teal2); }
.product-card__cat { font-size: 11px; font-weight: 600; color: var(--teal2); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.product-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.product-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.product-card__price { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.product-card__price small { font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--muted); }

/* ── 11. CONTACT FORM ──────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 13px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea { padding: 11px 13px; border: 1.5px solid var(--border); border-radius: var(--r); font-size: 14px; color: var(--text); background: var(--white); outline: none; transition: border-color .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,107,114,.1); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-privacy { font-size: 12px; color: var(--muted); }
.form-privacy a { color: var(--teal); text-decoration: underline; }
.form-success { display: none; padding: 14px; background: rgba(39,174,96,.1); border-radius: var(--r); color: var(--success); font-size: 14px; text-align: center; }

/* Contact info items */
.contact-item { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.contact-icon { width: 42px; height: 42px; flex-shrink: 0; background: var(--teal-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 18px; height: 18px; stroke: var(--teal); fill: none; stroke-width: 2; stroke-linecap: round; }
.contact-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 2px; }
.contact-val { font-size: 14.5px; color: var(--text); }
.contact-val a:hover { color: var(--teal); }

/* ── 12. CTA ───────────────────────────────────────────── */
.cta-section { background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%); padding: 80px 0; position: relative; overflow: hidden; text-align: center; }
.cta-section::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); top: -200px; right: -150px; }
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { color: var(--white); margin-bottom: 14px; }
.cta-inner p { color: rgba(255,255,255,.65); max-width: 500px; margin: 0 auto 32px; font-size: 1rem; }
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── 13. FOOTER ────────────────────────────────────────── */
footer { background: var(--navy); padding: 64px 0 0; color: rgba(255,255,255,.6); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { font-size: 13.5px; line-height: 1.7; margin-top: 14px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); transition: all .25s; }
.footer__social a:hover { background: rgba(255,255,255,.1); border-color: var(--gold); }
.footer__social svg { width: 16px; height: 16px; }
.footer__col h4 { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--white); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col a { display: block; padding: 5px 0; font-size: 13.5px; transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding: 20px 0; display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 8px; }
.footer__bottom a { color: rgba(255,255,255,.4); }
.footer__bottom a:hover { color: var(--gold); }

/* ── 14. WHATSAPP FLOAT ────────────────────────────────── */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 90; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: all .3s; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }
.whatsapp-float::before { content: attr(data-tooltip); position: absolute; right: 68px; background: var(--navy); color: var(--white); padding: 8px 14px; border-radius: var(--r); font-size: 12px; white-space: nowrap; opacity: 0; visibility: hidden; transition: all .25s; pointer-events: none; }
.whatsapp-float:hover::before { opacity: 1; visibility: visible; }

/* ── 15. MODAL & CART ──────────────────────────────────── */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.open { display: flex; animation: fadeIn .2s ease; }
.modal { background: var(--white); border-radius: var(--r-lg); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal-header h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; }
.modal-close { background: none; border: none; font-size: 22px; color: var(--muted); padding: 4px; }
.modal-close:hover { color: var(--text); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

/* Cart sidebar */
.cart-overlay { display: none; position: fixed; inset: 0; z-index: 998; background: rgba(0,0,0,.4); }
.cart-overlay.open { display: block; }
.cart-sidebar { position: fixed; top: 0; right: -400px; width: 380px; max-width: 90vw; height: 100vh; background: var(--white); z-index: 999; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; transition: right .3s; }
.cart-sidebar.open { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.cart-header h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; }
.cart-close { background: none; border: none; font-size: 22px; color: var(--muted); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-item__info h4 { font-size: 14px; font-weight: 500; }
.cart-item__info p { font-size: 12px; color: var(--muted); }
.cart-item__remove { background: none; border: none; color: var(--danger); font-size: 14px; padding: 4px; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); }

/* ── 16. COOKIE BANNER ─────────────────────────────────── */
.cookie-banner { position: fixed; bottom: 24px; left: 24px; right: 24px; max-width: 500px; z-index: 95; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 24px; box-shadow: var(--shadow-lg); display: flex; gap: 16px; align-items: flex-start; }
.cookie-banner.hidden { display: none; }
.cookie-banner p { font-size: 13.5px; color: var(--muted); }
.cookie-banner a { color: var(--teal); text-decoration: underline; }
.cookie-actions { display: flex; gap: 9px; margin-top: 10px; flex-wrap: wrap; }

/* Scroll top */
#scroll-top { position: fixed; bottom: 94px; right: 28px; width: 42px; height: 42px; background: var(--teal); color: white; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); transition: all .3s; z-index: 89; font-size: 18px; }
#scroll-top.visible { opacity: 1; transform: translateY(0); }
#scroll-top:hover { background: var(--navy); }

/* ── 17. ANIMATIONS ────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.anim { opacity: 0; }
.anim.visible { animation: fadeUp .55s ease forwards; }
.anim-d1.visible { animation-delay: .07s; }
.anim-d2.visible { animation-delay: .14s; }
.anim-d3.visible { animation-delay: .21s; }
.anim-d4.visible { animation-delay: .28s; }
.anim-d5.visible { animation-delay: .35s; }

/* ── 18. ADMIN PANEL ───────────────────────────────────── */
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy), var(--teal)); }
.admin-login__box { background: var(--white); border-radius: var(--r-lg); padding: 44px; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); animation: fadeUp .4s ease; }
.admin-login__logo { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.admin-login__sub { font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.admin-login__error { display: none; padding: 10px 14px; background: rgba(192,57,43,.1); color: var(--danger); border-radius: var(--r); font-size: 13.5px; margin-bottom: 14px; }

.admin-shell { display: flex; min-height: 100vh; background: #f0f2f5; }
.admin-sidebar { width: 240px; background: var(--navy); flex-shrink: 0; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-sidebar__logo { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-sidebar__logo-text { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--white); }
.admin-sidebar__logo-sub { font-size: 11px; color: rgba(255,255,255,.35); letter-spacing: .07em; margin-top: 2px; }
.admin-nav { padding: 12px; flex: 1; }
.admin-nav__label { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.25); padding: 8px 10px 4px; }
.admin-nav a { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: var(--r); font-size: 13.5px; color: rgba(255,255,255,.6); transition: all .18s; cursor: pointer; background: none; border: none; width: 100%; text-align: left; }
.admin-nav a:hover { background: rgba(255,255,255,.07); color: var(--white); }
.admin-nav a.active { background: rgba(255,255,255,.1); color: var(--white); }
.admin-sidebar__footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.08); }
.admin-sidebar__footer a { font-size: 13px; color: rgba(255,255,255,.4); display: block; margin-bottom: 6px; cursor: pointer; }
.admin-sidebar__footer a:hover { color: var(--gold); }

.admin-main { flex: 1; overflow-x: hidden; }
.admin-topbar { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 32px; display: flex; align-items: center; justify-content: space-between; height: 60px; position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.admin-topbar h2 { font-family: var(--sans); font-size: 16px; font-weight: 600; }
.admin-topbar__actions { display: flex; align-items: center; gap: 10px; }
.admin-content { padding: 28px 32px; }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--white); border-radius: 10px; padding: 20px 22px; border: 1px solid var(--border); }
.stat-card__num { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-card__label { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.stat-card__icon { font-size: 24px; margin-bottom: 8px; }

.admin-card { background: var(--white); border-radius: 10px; border: 1px solid var(--border); overflow: hidden; margin-bottom: 20px; }
.admin-card__header { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.admin-card__header h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 11px 16px; font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: #fafafa; border-bottom: 1px solid var(--border); }
.admin-table td { padding: 13px 16px; font-size: 13.5px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafbfc; }
.admin-table .actions { display: flex; gap: 6px; }

.admin-form { display: flex; flex-direction: column; gap: 16px; }
.admin-form .form-group label { font-size: 13px; font-weight: 500; color: var(--text); }
.admin-form input, .admin-form select, .admin-form textarea { padding: 10px 13px; border: 1.5px solid var(--border); border-radius: var(--r); font-size: 14px; color: var(--text); outline: none; transition: border-color .2s; width: 100%; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,107,114,.08); }
.admin-form textarea { resize: vertical; min-height: 80px; }
.admin-form .hint { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; }
.checkbox-row input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--teal); }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.submission-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin-bottom: 12px; }
.submission-card__header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.submission-card__meta { font-size: 12px; color: var(--muted); }
.submission-card__body { font-size: 14px; color: var(--text); line-height: 1.65; }


/* ── 19. ERROR PAGES ───────────────────────────────────── */
.error-hero { min-height: 72vh; display: flex; align-items: center; }
.error-shell { display: grid; grid-template-columns: 1.35fr .75fr; gap: 28px; align-items: stretch; }
.error-panel,
.error-side {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 48px rgba(7,26,46,.15);
}
.error-panel {
  background: linear-gradient(135deg, rgba(8,63,92,.96), rgba(10,118,132,.92));
  color: var(--white);
  padding: 34px;
}
.error-panel h1 { color: var(--white); margin-bottom: 14px; }
.error-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; background: rgba(200,164,90,.18);
  color: #f1d08c; border: 1px solid rgba(241,208,140,.24);
  padding: 9px 14px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 18px;
}
.error-lead { font-size: 1.15rem; color: rgba(255,255,255,.96); margin-bottom: 10px; }
.error-detail { color: rgba(255,255,255,.78); max-width: 62ch; }
.error-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.error-side {
  background: rgba(255,255,255,.92);
  padding: 28px;
  display: flex; flex-direction: column; justify-content: center;
}
.error-side h3 { margin-bottom: 10px; }
.error-code {
  font-family: var(--serif); font-size: clamp(3rem, 8vw, 4.8rem);
  line-height: 1; color: var(--teal); margin-bottom: 10px;
}
.error-tips { margin: 18px 0 0; padding-left: 18px; color: var(--muted); }
.error-tips li + li { margin-top: 10px; }

/* ── 19. RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .settings-grid { grid-template-columns: 1fr; }
  .error-shell { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 60px; min-height: 420px; }
  .hero--page { min-height: 260px; padding: 80px 0 48px; }
  .admin-sidebar { width: 200px; }
  .admin-content { padding: 20px 16px; }
  .admin-topbar { padding: 0 16px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .topbar { display: none; }
  .error-panel, .error-side { padding: 22px; }
}

@media (max-width: 480px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: relative; }
  .admin-stats { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; left: 12px; right: 12px; }
  .hero h1 { font-size: 2rem; }
}
