/* ============================================================
   ICH Soluciones — Design System
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  /* CRM Colors — paleta oliva/beige alineada con estate-light-main */
  --primary: hsl(86, 20%, 40%);       /* Verde oliva */
  --primary-light: hsl(118, 18%, 71%); /* Verde menta suave */
  --primary-dark: hsl(83, 19%, 30%);  /* Verde oscuro */
  --accent: hsl(142, 71%, 45%);       /* Verde éxito CRM */
  --accent-light: hsl(142, 71%, 60%);
  --accent-glow: hsla(142, 71%, 45%, 0.15);
  --accent-subtle: hsla(142, 71%, 45%, 0.08); /* overlay muy suave */

  --text: hsl(86, 20%, 15%);
  --text-secondary: hsl(86, 10%, 40%);
  --text-inverse: #ffffff; /* blanco puro → mejor contraste WCAG en fondos oscuros */

  --bg: hsl(52, 24%, 95%);
  --bg-white: #FFFFFF;
  --bg-surface: hsl(52, 24%, 88%); /* Beige claro del CRM */
  --bg-dark: hsl(86, 20%, 15%);
  --bg-dark-surface: hsl(86, 20%, 25%);

  --border: hsl(86, 15%, 75%);
  --border-light: hsl(86, 15%, 85%);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 30px var(--accent-glow); /* usa variable, no hardcoded */

  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 100px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
  --header-h: 88px; /* aumentado para acomodar logo de 65px con margen cómodo */
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
/* Excepciones: imágenes inline (logo en cabecera) */
.logo img { display: inline-block; vertical-align: middle; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
p { max-width: 65ch; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 100px 0; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header h2 { color: var(--primary); margin-bottom: 1rem; }
.section-header p { color: var(--text-secondary); margin: 0 auto; font-size: 1.125rem; }

/* ── Header ────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.15em;
}

.logo-ich { color: var(--primary); }
.logo-rest { color: var(--text-secondary); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: transparent;
  border: none;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--text-inverse);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--text-inverse);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--text-inverse);
}

.btn-nav {
  background: var(--accent);
  color: var(--primary-dark);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.btn-nav:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn-nav::after { display: none !important; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--text-inverse);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, var(--accent-glow) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, var(--accent-subtle) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: var(--header-h);
}

.hero-text { max-width: 640px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-glow); /* usa variable */
  color: var(--accent-light);     /* más claro para contraste sobre hero oscuro */
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--accent-glow);
  margin-bottom: 1.75rem;
  animation: fadeInDown 0.6s ease-out;
}

.hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s ease-out 0.1s both;
}

.hero > .container > .hero-text > p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.7s ease-out 0.2s both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease-out 0.3s both;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.card-icon svg,
.card-icon i { width: 28px; height: 28px; }

.card h3 { color: var(--primary); margin-bottom: 0.75rem; }
.card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ── Dark Section ──────────────────────────────────────────── */
.section-dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.section-dark h2 { color: var(--text-inverse); }
.section-dark p { color: rgba(255,255,255,0.7); }
.section-dark .section-label { color: var(--accent); }

/* ── Split Layout (text + image/stat) ──────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 560px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}

.floating-stat {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.floating-stat .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.floating-stat .stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* ── Benefit List ──────────────────────────────────────────── */
.benefit-list { display: flex; flex-direction: column; gap: 1.75rem; }

.benefit-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.benefit-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-glow); /* usa variable */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.benefit-icon svg { width: 20px; height: 20px; }

.benefit-item strong { color: var(--text-inverse); display: block; margin-bottom: 0.25rem; }
.benefit-item p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin: 0; }

/* ── Glass Container (B2B Section) ─────────────────────────── */
.section-surface { background: var(--bg-surface); }

.glass-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.glass-card h2 { color: var(--primary); margin-bottom: 1rem; }
.glass-card p { color: var(--text-secondary); font-size: 1.05rem; }

.glass-card .btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  margin-top: 1.5rem;
  transition: gap var(--transition);
}

.glass-card .btn-text:hover { gap: 1rem; }

.glass-icons {
  display: flex;
  gap: 1.5rem;
  opacity: 0.08;
}

.glass-icons i, .glass-icons svg { width: 72px; height: 72px; }

/* ── Steps ─────────────────────────────────────────────────── */
.steps { counter-reset: step; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1.25rem;
  border: 2px solid var(--accent);
}

.step h3 { margin-bottom: 0.5rem; color: var(--primary); }
.step p { color: var(--text-secondary); font-size: 0.95rem; }

/* ── Trust Bar ─────────────────────────────────────────────── */
.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.trust-item i, .trust-item svg {
  color: var(--accent);
  width: 22px;
  height: 22px;
}

/* ── Contact Section ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { color: var(--primary); margin-bottom: 1rem; }

.contact-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.info-item i, .info-item svg {
  color: var(--accent);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ── Form ──────────────────────────────────────────────────── */
.form-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Validation: only show errors after the user has interacted with the field */
.form-group input:user-invalid,
.form-group textarea:user-invalid,
.form-group select:user-invalid {
  border-color: #e05252;
  box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.12);
}

.form-group input:user-invalid + .field-error,
.form-group textarea:user-invalid + .field-error,
.form-group select:user-invalid + .field-error {
  display: block;
}

.field-error {
  display: none;
  font-size: 0.78rem;
  color: #e05252;
  margin-top: 0.35rem;
  padding-left: 0.25rem;
}

.form-group textarea { min-height: 100px; resize: vertical; }


.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.form-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

/* ── Privacy Checkbox ───────────────────────────────────────── */
.form-group--checkbox {
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  background: var(--bg-white);
  cursor: pointer;
  margin-top: 2px;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}

.checkbox-label input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 6px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.checkbox-label:hover input[type="checkbox"]:not(:checked) {
  border-color: var(--accent);
}


/* ── Form Toast ────────────────────────────────────────────── */
.form-toast {
  margin-top: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

.form-toast.visible { opacity: 1; transform: translateY(0); }

.form-toast--success {
  background: rgba(116,198,157,0.12);
  color: var(--primary);
  border: 1px solid var(--accent-light);
}

.form-toast--error {
  background: rgba(239,68,68,0.08);
  color: #B91C1C;
  border: 1px solid rgba(239,68,68,0.2);
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }

.footer-social { display: flex; gap: 1.5rem; }
.footer-social a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-social a:hover { color: var(--accent); transform: translateY(-2px); }
.footer-social i, .footer-social svg { width: 24px; height: 24px; }

/* ── WhatsApp Float ────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  z-index: 999;
  transition: all var(--transition);
  animation: pulse-shadow 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(37,211,102,0.45);
}

.whatsapp-float svg, .whatsapp-float i { width: 20px; height: 20px; }

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-children.revealed > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-children.revealed > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-children.revealed > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal-children.revealed > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-children.revealed > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal-children.revealed > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.reveal-children.revealed > *:nth-child(7) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.reveal-children.revealed > *:nth-child(8) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }
.reveal-children.revealed > *:nth-child(n+9) { transition-delay: 0.8s; opacity: 1; transform: translateY(0); }

/* ── Keyframes ─────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-shadow {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 8px 32px rgba(37,211,102,0.55); }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 64px 0; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    visibility: hidden;
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open { 
    transform: translateY(0); 
    visibility: visible;
    opacity: 1;
  }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero h1 { font-size: 2rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-visual { min-height: 280px; }

  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .glass-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem;
  }

  .glass-icons { display: none; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }

  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 1rem; border-radius: 50%; }

  .trust-bar { gap: 1.5rem; }

}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.cookie-banner__text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
}

.cookie-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.cookie-btn--secondary {
  background: #fff;
  color: var(--text);
}

.cookie-btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.cookie-manage {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 1100;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

@media (max-width: 768px) {
  .cookie-banner { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .cookie-banner__actions { flex-direction: column; }
  .cookie-btn { width: 100%; }
  .cookie-manage { left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}
