/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0b140d;           /* near-black green */
  --bg-alt: #101c13;       /* dark green */
  --card: #16271a;
  --text: #eafaef;
  --muted: #c2ddca;
  --accent: #2fe878;       /* vibrant green */
  --accent-2: #19b85c;     /* emerald */
  --accent-ink: #042a13;   /* dark text on green */
  --border: #214a2f;
  --radius: 16px;
  --maxw: 1160px;
  --grad: linear-gradient(90deg, #2fe878, #19b85c);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1.0625rem;   /* ~17px base — easier to read for all ages */
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.12; }
h1 { font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.2rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

.accent {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: .76rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; }

/* ======================= BUTTONS ======================= */
.btn {
  display: inline-block; padding: 15px 32px; border-radius: 999px;
  font-weight: 600; font-size: 1.05rem; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  min-height: 54px; line-height: 1.3;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn-primary { background: var(--grad); color: var(--accent-ink); box-shadow: 0 8px 24px rgba(47,232,120,.25); }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(47,232,120,.4); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ======================= HEADER ======================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,20,13,.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-weight: 800; font-size: 1.3rem; letter-spacing: 1px; line-height: 1; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 24px; }
.nav a { font-weight: 500; font-size: .94rem; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a:focus-visible { color: var(--text); }
.header-cta { padding: 10px 20px; font-size: .82rem; min-height: 40px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--text); transition: .3s; display: block; }

/* ======================== HERO ======================== */
.hero {
  position: relative; min-height: 86vh; display: flex; align-items: center;
  background: #0b140d url("images/hero.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,15,10,.5) 0%, rgba(8,15,10,.78) 100%);
}
.hero-content { position: relative; max-width: 780px; margin: 0 auto; text-align: center; padding: 60px 0 70px; color: #fff; }
.hero h1 { font-size: clamp(2.3rem, 6.5vw, 4.3rem); }
.hero .eyebrow { color: #4bf093; }
.hero .hero-sub { color: rgba(255,255,255,.9); margin-left: auto; margin-right: auto; }
.hero-stats span { color: rgba(255,255,255,.8); }
.hero-actions { justify-content: center; }
.hero .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.12); }
.hero-stats { justify-content: center; }
.hero h1 { font-size: clamp(2.2rem, 6.5vw, 4.3rem); }
.hero-sub { color: var(--muted); font-size: 1.12rem; margin: 22px 0 32px; max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 42px; list-style: none; margin-top: 52px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 2.2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stats span { color: var(--muted); font-size: .9rem; }

/* ==================== GEO QUICK FACTS ================= */
.quickfacts { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.qf-lead { color: var(--muted); padding: 22px 0; font-size: 1.02rem; }
.qf-lead strong { color: var(--text); }
.qf-lead a { color: var(--accent); text-decoration: underline; }

/* ====================== TRUST BAR ===================== */
.trust-bar { background: var(--grad); color: var(--accent-ink); }
.trust-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 16px 20px; }
.trust-item { font-weight: 600; font-size: .94rem; }
.trust-item span { font-weight: 800; }

/* ======================= SECTIONS ===================== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-note { color: var(--muted); margin-top: 10px; }

/* ====================== TWO COLUMN ==================== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.two-col-text p { color: var(--muted); margin: 16px 0; }
.two-col-text h2 { color: var(--text); }
.check-list { list-style: none; margin-top: 22px; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--text); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.media-card {
  aspect-ratio: 4/3; border-radius: var(--radius);
  background: linear-gradient(135deg, #16271a, #214a2f); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 7rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  overflow: hidden;
}
.media-card-img { padding: 0; }
.media-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius); }

/* ======================== CARDS ======================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 16px 40px rgba(47,232,120,.15); }
.card-icon { font-size: 2.4rem; margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }

/* Photo cards (clase) */
.card-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-photo img { width: 100%; height: 220px; object-fit: cover; display: block; }
.card-photo .card-body { padding: 26px; }
.card-photo:hover img { transform: none; }

.program-card {
  background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: 12px; padding: 26px; transition: transform .2s ease;
}
.program-card:hover { transform: translateX(5px); }
.program-card h3 { margin-bottom: 8px; }
.program-card p { color: var(--muted); font-size: .95rem; }

/* ======================== ORAR ======================== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); }
.schedule { width: 100%; border-collapse: collapse; min-width: 640px; }
.schedule th, .schedule td { padding: 28px 14px; text-align: center; border-bottom: 1px solid var(--border); font-size: .92rem; height: 84px; vertical-align: middle; }
.schedule thead th { background: var(--card); color: var(--text); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; font-size: .8rem; }
.schedule tbody th { background: var(--card); color: var(--accent); font-weight: 700; white-space: nowrap; }
.schedule td { color: var(--muted); }
.schedule tbody tr:last-child th, .schedule tbody tr:last-child td { border-bottom: 0; }

.chip { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: #fff; line-height: 1.3; }
.chip-pilates { background: #19b85c; }
.chip-step { background: #0f9d8a; }
.chip-zumba { background: #d64bb0; }

/* ======================= PRICING ====================== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pricing-4 { grid-template-columns: repeat(4, 1fr); }
.price-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; text-align: center; display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border-color: var(--accent); transform: scale(1.03); padding-top: 48px; }
.badge { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: var(--accent-ink); font-size: .72rem; font-weight: 700; padding: 6px 16px; border-radius: 999px; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.price { font-size: 1.3rem; color: var(--muted); margin: 16px 0 20px; font-weight: 600; }
.price span { font-size: 3rem; font-weight: 800; color: var(--accent); }
.price-card ul { list-style: none; text-align: left; margin-bottom: 26px; flex: 1; }
.price-card li { padding: 8px 0 8px 26px; position: relative; color: var(--text); font-size: .95rem; border-bottom: 1px solid var(--border); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ======================= SIGN-UP FORM ================= */
.signup-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; }
.form-title { margin-bottom: 14px; font-size: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.signup-form label { display: block; margin-bottom: 11px; font-weight: 500; font-size: .92rem; }
.signup-form input, .signup-form select, .signup-form textarea {
  width: 100%; margin-top: 5px; padding: 11px 14px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: inherit; font-size: 17px; /* >=16px prevents iOS zoom */
}
.signup-form input:focus, .signup-form select:focus, .signup-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,232,120,.15); }
.signup-form input.invalid, .signup-form select.invalid { border-color: #ff5d5d; }
/* Custom dropdown arrow (shared by form + modal), with comfortable spacing */
.signup-form select, .modal form select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 22px) center, calc(100% - 16px) center;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
  padding-right: 46px;
}
/* Style the open dropdown list so options aren't white */
.signup-form select option, .modal form select option {
  background-color: var(--bg-alt);
  color: var(--text);
}

/* Checkbox rows — force checkbox to sit to the LEFT of the text (beats form/modal label rules) */
.checkbox-row { font-size: .88rem; color: var(--muted); }
.signup-form .checkbox-row, .modal .checkbox-row {
  display: flex; align-items: flex-start; gap: 10px;
}
.signup-form .checkbox-row input, .modal .checkbox-row input {
  width: auto; margin-top: 3px; flex-shrink: 0;
}
.checkbox-row span { flex: 1; }
.signup-form .btn { width: 100%; margin-top: 4px; }
.form-note { margin-top: 14px; font-weight: 600; text-align: center; }
.form-note.ok { color: var(--accent); }
.form-note.err { color: #ff7b7b; }
/* Honeypot: hidden from real users, visible to bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ========================= FAQ ======================== */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 4px 20px; margin-bottom: 14px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; color: var(--accent); font-size: 1.4rem; font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 0 18px; }

/* ======================= CONTACT ====================== */
.contact-list { list-style: none; margin: 24px 0; }
.contact-list li { padding: 10px 0; display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.contact-list a { color: var(--accent); }

/* ======================= FOOTER ======================= */
.site-footer { background: #081009; border-top: 1px solid var(--border); padding: 54px 0 30px; text-align: center; }
.footer-inner .logo { display: inline-block; margin-bottom: 14px; }
.site-footer p { color: var(--muted); max-width: 520px; margin: 0 auto 20px; }
.footer-nav { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-nav a { color: var(--muted); font-weight: 500; }
.footer-nav a:hover { color: var(--accent); }
.copyright { font-size: .85rem; color: var(--muted); }

/* ==================== LEGAL PAGES ===================== */
.legal { max-width: 820px; margin: 0 auto; padding: 60px 0; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 12px; color: var(--accent); }
.legal h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--accent); text-decoration: underline; }
.legal strong { color: var(--text); }
.legal .back { display: inline-block; margin-bottom: 20px; font-weight: 600; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .9rem; }
.legal th, .legal td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; color: var(--muted); vertical-align: top; }
.legal th { color: var(--text); background: var(--card); }
.legal .note-box { background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 10px; padding: 16px 18px; margin: 18px 0; }
.legal .note-box p { margin: 0; }

/* =================== COOKIE BANNER ==================== */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 760px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 20px; box-shadow: 0 16px 40px rgba(0,0,0,.45);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { color: var(--muted); font-size: .9rem; margin: 0; flex: 1; min-width: 240px; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-sm { padding: 9px 20px; font-size: .85rem; min-height: 40px; }

/* ==================== POPUP MODAL ===================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(5, 12, 7, .78); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 20px;
  max-width: 460px; width: 100%; padding: 30px 30px 28px; position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.6); text-align: center;
  max-height: 90vh; overflow-y: auto;
  scrollbar-width: none;            /* Firefox: hide scrollbar (seamless) */
  -ms-overflow-style: none;         /* old Edge */
}
.modal::-webkit-scrollbar { width: 0; height: 0; display: none; }  /* Chrome/Safari */

.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; padding: 0;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, transform .15s;
}
.modal-close:hover { background: var(--accent); color: var(--accent-ink); transform: rotate(90deg); }
.modal-close:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.modal-badge {
  display: inline-block; background: var(--grad); color: var(--accent-ink);
  font-weight: 700; font-size: .82rem; padding: 6px 16px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
}
.modal h2 { font-size: 1.55rem; line-height: 1.2; margin-bottom: 8px; }
.modal h2 .accent { display: inline; }
.modal-sub { color: var(--muted); margin-bottom: 20px; font-size: 1rem; line-height: 1.5; }
.modal form label { display: block; text-align: left; margin-bottom: 13px; font-weight: 500; font-size: .95rem; }
.modal form input, .modal form select {
  width: 100%; margin-top: 6px; padding: 13px 15px; font-size: 17px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: inherit;
}
.modal form input:focus, .modal form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,232,120,.15); }
.modal .checkbox-row { text-align: left; margin-bottom: 16px; }
.modal .btn { width: 100%; margin-top: 2px; }
.modal-note { margin-top: 14px; font-weight: 600; }
.modal-note.ok { color: var(--accent); }
.modal-note.err { color: #ff7b7b; }
.modal-fineprint { margin-top: 14px; font-size: .8rem; color: var(--muted); }
.modal-fineprint a { color: var(--accent); text-decoration: underline; }

/* =================== ADMIN DASHBOARD ================== */
.admin-wrap { max-width: 1100px; margin: 0 auto; padding: 50px 0; }
.admin-login { max-width: 420px; margin: 40px auto; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; }
.admin-login h1 { font-size: 1.5rem; margin-bottom: 8px; }
.admin-login p { color: var(--muted); margin-bottom: 20px; }
.admin-login input { width: 100%; padding: 14px 16px; font-size: 17px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-family: inherit; margin-bottom: 14px; }
.admin-login input:focus { outline: none; border-color: var(--accent); }
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-bar h1 { font-size: 1.6rem; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-count { color: var(--muted); }
.admin-msg { margin: 16px 0; font-weight: 500; }
.admin-msg.err { color: #ff7b7b; }
.admin-msg.ok { color: var(--accent); }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .94rem; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.admin-table th { background: var(--card); color: var(--text); position: sticky; top: 0; white-space: nowrap; }
.admin-table td { color: var(--muted); }
.admin-table tr:hover td { background: rgba(47,232,120,.04); }
.admin-table .tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--card); color: var(--accent); white-space: nowrap; }
.admin-table .tag-ok { background: rgba(47,232,120,.15); color: #2fe878; }
.admin-table .tag-no { background: rgba(255,123,123,.15); color: #ff7b7b; }
.admin-empty { text-align: center; color: var(--muted); padding: 40px; }

/* tabs */
.admin-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-bottom: 24px; flex-wrap: wrap; }
.admin-tab {
  background: none; border: 0; color: var(--muted); font-family: inherit; font-size: 1rem; font-weight: 600;
  padding: 12px 18px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.admin-tab:hover { color: var(--text); }
.admin-tab.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.admin-panel[hidden] { display: none; }
.admin-subbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 8px 0 16px; }
.admin-h2 { font-size: 1.3rem; }
.admin-h3 { font-size: 1.1rem; margin: 28px 0 12px; }
.admin-hint { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.admin-hint code { background: var(--card); padding: 2px 7px; border-radius: 5px; color: var(--accent); }

/* stat cards */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 26px; }
.stat-box { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat-label { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.stat-sub { color: var(--text); font-size: .82rem; margin-top: 2px; opacity: .8; }

/* orar editor */
.orar-editor { display: flex; flex-direction: column; gap: 10px; }
.orar-row { display: grid; grid-template-columns: 1.2fr 0.9fr 1.8fr 1.2fr 44px; gap: 10px; align-items: center; }
.orar-row.orar-head { font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 600; }
.orar-row.orar-head div { padding-left: 4px; }
.orar-row select, .orar-row input {
  width: 100%; padding: 11px 12px; font-size: 16px; font-family: inherit;
  background: var(--bg); border: 1px solid var(--border); border-radius: 9px; color: var(--text);
}
.orar-row select:focus, .orar-row input:focus { outline: none; border-color: var(--accent); }
.or-del {
  width: 44px; height: 44px; border-radius: 9px; border: 1px solid var(--border);
  background: var(--card); color: #ff7b7b; font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.or-del:hover { background: rgba(255,123,123,.12); border-color: #ff7b7b; }

/* categorii */
.cat-editor { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.cat-row { display: grid; grid-template-columns: 1fr 58px 44px; gap: 10px; align-items: center; }
.cat-row .cat-name {
  width: 100%; padding: 11px 12px; font-size: 16px; font-family: inherit;
  background: var(--bg); border: 1px solid var(--border); border-radius: 9px; color: var(--text);
}
.cat-row .cat-name:focus { outline: none; border-color: var(--accent); }
.cat-row .cat-color {
  width: 58px; height: 44px; padding: 4px; cursor: pointer;
  background: var(--bg); border: 1px solid var(--border); border-radius: 9px;
}

/* consent bar */
.consent-bar-wrap { margin: 10px 0 20px; }
.consent-bar { display: flex; height: 26px; border-radius: 999px; overflow: hidden; background: var(--card); border: 1px solid var(--border); }
.consent-acc { background: #2fe878; }
.consent-rej { background: #ff7b7b; }
.consent-bar-legend { display: flex; gap: 20px; margin-top: 10px; color: var(--muted); font-size: .88rem; }
.consent-bar-legend .dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; margin-right: 6px; }

/* ====================== RESPONSIVE ==================== */
@media (max-width: 880px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg-alt); padding: 18px 20px; gap: 6px; border-bottom: 1px solid var(--border);
  }
  .nav.open a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .two-col { grid-template-columns: 1fr; gap: 34px; }
  .cards, .cards-3, .pricing { grid-template-columns: 1fr; }
  .pricing-4 { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
  .hero-stats { gap: 26px; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .pricing-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero-stats strong { font-size: 1.8rem; }
  .hero { min-height: 86vh; }
  .hero-content { padding: 36px 0 52px; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3rem); }
  .section { padding: 54px 0; }
  .signup-form { padding: 24px 20px; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }
  .modal { padding: 30px 22px; }
  .modal h2 { font-size: 1.45rem; }
  .orar-row { grid-template-columns: 1fr 1fr; gap: 8px; position: relative; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
  .orar-row .or-name { grid-column: 1 / -1; }
  .orar-row.orar-head { display: none; }
  .or-del { width: 100%; height: 40px; }
}

/* ============== Accessibility / motion ============== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
