

:root {
  /* Brand */
  --accent: #0b6ec5;
  --accent-hover: #095a9e;
  --accent-soft: rgba(11, 110, 197, 0.15);
  --accent-glow: rgba(11, 110, 197, 0.35);
  --accent-light: #7dd3fc;
  --accent-pale: #bfdbfe;

  /* Surfaces */
  --bg: #0b1220;
  --bg-alt: #111827;
  --bg-dark: #060a12;
  --bg-elevated: #1a2332;

  /* Text */
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --primary: #f1f5f9;
  --white: #ffffff;

  /* Borders & shadows */
  --border: #1e293b;
  --border-light: #1a2332;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 20px 56px rgba(0, 0, 0, 0.5);

  /* Radius */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.25, 0.64, 1);
  --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Status */
  --success: #22c55e;
  --success-soft: rgba(34, 197, 94, 0.15);
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.15);
  --warning: #f59e0b;

  /* Gradients */
  --gradient-brand: linear-gradient(145deg, #062c52 0%, #064276 55%, #05365e 100%);
}


*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: env(safe-area-inset-bottom);
  max-width: 100%;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
  cursor: pointer;
}

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: 16px;
  max-height: 100%;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="search"],
input[type="password"],
textarea,
select {
  font-size: 16px !important;
}

/* Focus visible – accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 639px) {
  .container { padding: 0 16px; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.22;
  color: var(--primary);
  letter-spacing: -0.16px;
}
h1 { font-size: clamp(1.9rem, 5.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 4.2vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 3vw, 1.35rem); }

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.28px;
  color: var(--accent);
  margin-bottom: 0.6rem;

}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header .section-desc {
  max-width: 520px;
  margin: 0.6rem auto 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}
@media (max-width: 639px) {
  .section-header { margin-bottom: 1.85rem; }
}

/* ---------- Buttons (unified) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition:
    transform 0.28s var(--ease-spring),
    box-shadow 0.3s var(--ease-out),
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  min-height: 48px;
  text-decoration: none;
  line-height: 1.2;
}
.btn:active { transform: scale(0.97); }
.btn:disabled,
.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Primary */
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 18px var(--accent-glow);
}
.btn-primary:hover:not(:disabled),
.btn-primary:active:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--accent-glow);
}

/* Outline (for dark / brand backgrounds) */
.btn-outline {
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline:hover:not(:disabled),
.btn-outline:active:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
}

/* Outline dark (for light/dark content areas) */
.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline-dark:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Large */
.btn-lg {
  padding: 1.05rem 1.85rem;
  font-size: 1.02rem;
  min-height: 54px;
}

/* Google reviews */
.btn-google-reviews {
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.btn-google-reviews:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-md);
}

/* Submit (forms) */
.btn-submit {
  width: 100%;
  padding: 1.05rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition:
    transform 0.28s var(--ease-spring),
    box-shadow 0.3s var(--ease-out),
    background-color 0.25s ease;
  cursor: pointer;
  min-height: 54px;
  box-shadow: 0 4px 18px var(--accent-glow);
}
.btn-submit:hover:not(:disabled),
.btn-submit:active:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--accent-glow);
}

/* Cookie buttons */
.cb-btn {
  padding: 0.75rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.88rem;
  min-height: 46px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.cb-accept {
  background: var(--accent);
  color: var(--white);
}
.cb-accept:hover { background: var(--accent-hover); }
.cb-reject {
  background: var(--border);
  color: var(--text);
}
.cb-settings {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ---------- Cards ---------- */
.testimonial-card,
.form-card,
.contact-form-card,
.hours-widget,
.contact-item,
.pillar-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    border-color 0.3s ease;
}

.service-card,
.why-card {
  background: var(--bg-dark);
  border: 1px solid var(--bg-alt);
  border-radius: var(--radius-lg);
  color: var(--text);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    border-color 0.3s ease;
}

.service-card:hover,
.why-card:hover,
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.service-card h3,
.why-card h3,
.form-card h3,
.contact-form-card h3,
.hours-widget h3,
.legal-card h2,
.legal-card h3,
.pillar-card h3 {
  color: var(--primary);
}

.service-card p,
.why-card p,
.testimonial-text,
.form-header p,
.form-subtitle,
.pillar-card p,
.legal-card p,
.section-desc {
  color: var(--text-muted);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.97);
  transition:
    background-color 0.4s var(--ease-soft),
    box-shadow 0.4s var(--ease-soft);
}
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
}

.header-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.logo img {
  height: 58px;
  margin-top: 4px;
  width: auto;
  transition: height 0.35s var(--ease-out);
}
.site-header.scrolled .logo img { height: 53px; }

.main-nav { display: none; }
@media (min-width: 992px) {
  .main-nav { display: block; }
}

.nav-list {
  display: flex;
  gap: 0.15rem;
}

.nav-link {
  padding: 0.5rem 0.95rem;
  font-weight: 500;
  font-size: 0.92rem;
  color: #ffffff;
  border-radius: var(--radius-sm);
  transition: color 0.25s ease, background-color 0.25s var(--ease-out);
}
.nav-link.active {
  color: var(--accent-light);
  background: rgba(11, 110, 197, 0.22);
}
.nav-link:hover { color: var(--accent-light); }

.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switcher {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
}
.lang-btn {
  padding: 0.28rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
  color: #ffffff;
  transition: 0.25s var(--ease-out);
}
.lang-btn.active {
  background: var(--accent);
  color: #ffffff;
}
.lang-btn:hover { color: var(--accent-light); }

.header-cta { display: none; margin-left: 0.6rem; }
@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
    padding: 0.65rem 1.15rem;
    font-size: 0.88rem;
  }
}

/* Hamburger */
.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  font-size: 1.55rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  transition: 0.25s var(--ease-out);
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.hamburger i {
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1;
  pointer-events: none;
}
.hamburger[aria-expanded="true"] {
  background: rgba(11, 110, 197, 0.45);
}
.hamburger:hover,
.hamburger:active {
  background: rgba(11, 110, 197, 0.5);
}
@media (min-width: 992px) {
  .hamburger { display: none; }
}

/* Cursor helpers */
a, button, .btn, .nav-link, .lang-btn, .hamburger,
.service-card, .why-card, .gallery-item, .gallery-arrow,
.modal-arrow, .close-modal, .floating-btn, .cb-btn,
.contact-card-link, .contact-item, .footer-social a,
.footer-links a, .footer-contact a, .hours-status,
.back-button, .process-step-item, label.cb-switch {
  cursor: pointer;
}
button:disabled { cursor: not-allowed; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100%;
  height: 100dvh;
  background: var(--bg-alt);
  padding: 88px 20px 32px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out), visibility 0.4s;
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.22);
  z-index: 999;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-soft), visibility 0.35s;
}
.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.mobile-nav-list .nav-link {
  color: var(--text);
  padding: 0.95rem 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 12px;
  display: block;
  background: transparent;
}
.mobile-nav-list .nav-link:hover,
.mobile-nav-list .nav-link.active {
  background: var(--accent-soft);
  color: var(--accent);
}
.mobile-nav-list .nav-cta {
  margin-top: 1.25rem;
  background: var(--accent);
  color: #ffffff;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.mobile-lang {
  margin-top: 1.75rem;
  justify-content: center;
  background: var(--border);
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
}
.mobile-lang .lang-btn {
  color: var(--text-muted);
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
}
.mobile-lang .lang-btn.active,
.mobile-lang .lang-btn:hover {
  background: var(--accent);
  color: #ffffff;
}

/* Mobile header layout */
@media (max-width: 991px) {
  .header-container {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    gap: 0.5rem;
  }
  .logo {
    grid-column: 2;
    justify-self: center;
    display: flex;
    justify-content: center;
  }
  .logo img {
    height: 55px;
    margin-top: 0;
  }
  .header-right {
    grid-column: 3;
    justify-self: end;
  }
  .desktop-lang { display: none; }
  .main-nav { display: none; }
  .header-container::before {
    content: '';
    grid-column: 1;
    width: 48px;
  }
}

/* ---------- Page header / hero banners ---------- */
.page-header,
.page-hero {
  background: var(--gradient-brand);
  color: var(--white);
  padding: 7.5rem 0 3.4rem;
  text-align: center;
}
.page-header .section-tag,
.page-hero .section-label {
  color: var(--accent-pale);
}
.page-header h1,
.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.55rem;
}
.page-header p,
.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin: 0 auto;
  font-size: 1rem;
}
@media (max-width: 639px) {
  .page-header,
  .page-hero { padding: 6.5rem 0 2.8rem; }
  .page-header p,
  .page-hero p { font-size: 0.95rem; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: var(--text-muted);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .footer-grid { grid-template-columns: 1.8fr 1fr 1fr; }
}

.footer-brand h3 {
  color: var(--white);
  margin-bottom: 0.85rem;
  font-size: 1.25rem;
}
.footer-brand p {
  margin-bottom: 1.3rem;
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--white);
  font-size: 1.1rem;
  transition: 0.28s var(--ease-out);
}
.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.1rem;
  font-size: 1rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-contact a,
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
}
.footer-contact a:hover { color: var(--accent-light); }
.footer-contact i {
  margin-top: 0.15rem;
  color: var(--accent);
  width: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-links a { font-size: 0.92rem; }
.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.35rem 0;
  text-align: center;
  font-size: 0.85rem;
}
@media (max-width: 639px) {
  .footer { padding-top: 2.8rem; }
  .footer-grid { gap: 1.8rem; }
}

/* ---------- Floating buttons ---------- */
.floating-btn {
  position: fixed;
  right: 0;
  width: 56px;
  height: 56px;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: var(--white);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  z-index: 900;
  transition:
    transform 0.3s var(--ease-spring),
    box-shadow 0.3s var(--ease-out),
    opacity 0.35s var(--ease-out),
    visibility 0.35s var(--ease-out);
  border: none;
  line-height: 1;
}
.floating-btn:hover { transform: translateY(-3px) scale(1.05); }
.floating-btn:active { transform: scale(0.93); }

.floating-btn.top-btn {
  bottom: calc(135px + env(safe-area-inset-bottom));
  background: #64748b;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.floating-btn.top-btn:hover { background: var(--accent); }
.floating-btn.top-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.floating-btn.whatsapp {
  bottom: calc(76px + env(safe-area-inset-bottom));
  background: var(--accent);
  font-size: 2rem;
}
.floating-btn.whatsapp:hover {
  background: #16a34a;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
}

.floating-btn.call {
  bottom: calc(18px + env(safe-area-inset-bottom));
  background: var(--accent);
}
.floating-btn.call:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 26px var(--accent-glow);
}

@media (max-width: 639px) {
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.375rem;
    right: 5px;
    border-radius: 14px;
  }
  .floating-btn.whatsapp {
    bottom: calc(72px + env(safe-area-inset-bottom));
    font-size: 1.75rem;
  }
  .floating-btn.call {
    bottom: calc(14px + env(safe-area-inset-bottom));
  }
  .floating-btn.top-btn {
    bottom: calc(130px + env(safe-area-inset-bottom));
    width: 50px;
    height: 50px;
    font-size: 1rem;
    background: #475569;
  }
}

/* ---------- Cookie banner ---------- */
.cb-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-alt);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.14);
  z-index: 2000;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform 0.4s var(--ease-out);
  border-top: 1px solid var(--border);
}
.cb-banner.visible { transform: translateY(0); }

.cb-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: stretch;
}
.cb-text h4 {
  margin: 0 0 0.35rem 0;
  font-size: 1rem;
  color: var(--primary);
}
.cb-text p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.cb-text a {
  color: var(--accent);
  text-decoration: underline;
}
.cb-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.cb-buttons .cb-settings { grid-column: 1 / -1; }
.cb-btn { width: 100%; }

@media (min-width: 768px) {
  .cb-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
  .cb-text { flex: 1; min-width: 0; }
  .cb-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    flex-shrink: 0;
  }
  .cb-buttons .cb-settings { grid-column: auto; }
  .cb-btn {
    width: auto;
    white-space: nowrap;
    padding: 0.75rem 1.15rem;
  }
}

/* Cookie modal */
.cb-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  z-index: 2100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-soft), visibility 0.35s;
}
@media (min-width: 640px) {
  .cb-modal {
    align-items: center;
    padding: 1rem;
  }
}
.cb-modal.open {
  opacity: 1;
  visibility: visible;
}
.cb-modal-box {
  background: var(--bg-alt);
  border-radius: 22px 22px 0 0;
  width: 100%;
  max-width: 460px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-hover);
}
@media (min-width: 640px) {
  .cb-modal-box { border-radius: 20px; }
}
.cb-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.35rem;
  border-bottom: 1px solid var(--border);
}
.cb-close {
  font-size: 1.6rem;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}
.cb-modal-body { padding: 1.35rem; }
.cb-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}
.cb-option:last-child { border-bottom: none; }
.cb-option-info strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}
.cb-option-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.cb-switch {
  position: relative;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}
.cb-switch input { opacity: 0; width: 0; height: 0; }
.cb-slider {
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  border-radius: 999px;
  transition: background-color 0.25s ease;
  cursor: pointer;
}
.cb-slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: var(--bg-alt);
  border-radius: 50%;
  transition: transform 0.3s var(--ease-spring);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.cb-switch input:checked + .cb-slider { background: var(--accent); }
.cb-switch input:checked + .cb-slider::before { transform: translateX(22px); }
.cb-switch input:disabled + .cb-slider {
  opacity: 0.55;
  cursor: not-allowed;
}
.cb-modal-footer { padding: 1rem 1.35rem 1.5rem; }
.cb-modal-footer .cb-btn { width: 100%; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 1rem; }
.form-group:last-child { margin-bottom: 0; }

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  transition:
    border-color 0.25s ease,
    box-shadow 0.3s var(--ease-out),
    background-color 0.25s ease;
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
}
.form-group input[type="date"] {
  min-height: 48px;
  color-scheme: dark;
  position: relative;
}
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.35rem;
  filter: invert(0.72) sepia(0.4) saturate(4) hue-rotate(175deg);
}
.form-group input[type="date"]::-webkit-datetime-edit {
  color: var(--text);
}
.form-group input[type="date"]::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-alt);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 0.75rem 1.25rem;
}
.form-success .success-icon,
.form-success > i {
  font-size: 3.5rem;
  color: var(--success);
  margin-bottom: 1rem;
  display: block;
}
.form-success h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: var(--primary);
}
.form-success p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.success-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
}
.success-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 50px;
  padding: 0.9rem 1.25rem;
  border-radius: 13px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-sizing: border-box;
}
.success-actions .btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
}
.success-actions .btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}
.success-actions .btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}
.success-actions .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-soft);
}
@media (min-width: 480px) {
  .success-actions {
    flex-direction: row;
    max-width: 420px;
  }
  .success-actions .btn {
    flex: 1;
    width: auto;
  }
}

/* ---------- CTA banners ---------- */
.cta-banner,
.appointment-banner {
  background: var(--gradient-brand);
  padding: 4.25rem 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2,
.appointment-banner h2 {
  color: var(--white);
  margin-bottom: 0.65rem;
}
.cta-banner p,
.appointment-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.85rem;
  font-size: 1.05rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .section-tag,
.appointment-banner .section-tag {
  color: var(--accent-pale);
}
.cta-banner .btn-outline,
.appointment-banner .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.cta-banner .btn-outline:hover,
.appointment-banner .btn-outline:hover {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
}
.cta-buttons,
.cta-banner .cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 320px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .cta-buttons,
  .cta-banner .cta-buttons {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }
}
@media (max-width: 479px) {
  .cta-banner,
  .appointment-banner { padding: 3.2rem 0; }
  .cta-banner h2,
  .appointment-banner h2 { font-size: 1.4rem; }
  .cta-buttons .btn,
  .appointment-banner .btn { width: 100%; }
}


/* ---------- Section backgrounds ---------- */
.services,
.nuestro-taller,
.services-more,
.legal-content,
.process-section,
.why-us {
  background: var(--bg-alt);
}

.about-section,
.map-section,
.appointment-section,
.testimonials-section {
  background: var(--bg);
}

.trust-bar,
.stats-section {
  background: var(--bg-dark);
}

.trust-item,
.stat-item {
  color: var(--text);
}
