/* ==========================================================================
   Cerrajero Pilar — Premium Stylesheet
   ========================================================================== */

:root {
  --color-bg: #fafaf8;
  --color-bg-alt: #f3f4f6;
  --color-white: #ffffff;
  --color-navy: #0f2744;
  --color-navy-light: #1a3a5c;
  --color-navy-muted: #4a6278;
  --color-orange: #c4510a;
  --color-orange-hover: #a34409;
  --color-orange-light: #fef3eb;
  --color-whatsapp: #128C43;
  --color-whatsapp-hover: #0f7437;
  --color-whatsapp-light: #e8faf0;
  --color-border: #e2e6ea;
  --color-text: #2c3e50;
  --color-text-muted: #5a6b7d;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --shadow-sm: 0 1px 3px rgba(15, 39, 68, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 39, 68, 0.08);
  --shadow-lg: 0 8px 32px rgba(15, 39, 68, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --header-height: 64px;
  --mobile-float-size: 58px;
  --transition: 0.2s ease;
  --container-max: 1200px;
  --container-narrow: 800px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

body.menu-open,
body.cookie-modal-open {
  overflow: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--color-navy-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-orange); }

:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container--narrow { max-width: var(--container-narrow); }

/* Typography */
h1, h2, h3, h4 {
  color: var(--color-navy);
  line-height: 1.25;
  margin-top: 0;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; font-weight: 600; }

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  margin-bottom: 0.5rem;
}

.section-header { margin-bottom: 2.5rem; }
.section-header p { color: var(--color-text-muted); max-width: 640px; margin: 0.75rem 0 0; }

section { padding: 4.5rem 0; }
.section-block--alt { background: var(--color-white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  min-height: 48px;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--call,
.btn--whatsapp {
  border-radius: 9999px;
}

.btn--call {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(232, 101, 26, 0.3);
}
.btn--call:hover { background: var(--color-orange-hover); color: var(--color-white); }

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}
.btn--whatsapp:hover { background: var(--color-whatsapp-hover); color: var(--color-white); }

.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-border);
}
.btn--outline:hover { border-color: var(--color-navy); color: var(--color-navy); }

.btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 767px) {
  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn--call,
  .btn-group .btn--whatsapp {
    width: 100%;
    justify-content: center;
  }

  .cta-banner-inner .btn-group {
    width: 100%;
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
  overflow: visible;
}

.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 0.75rem;
  overflow: visible;
}

@media (max-width: 767px) {
  :root { --header-height: 72px; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-navy);
  text-decoration: none;
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 3.25rem);
  overflow: visible;
}
.logo:hover { color: var(--color-navy); }

.logo picture {
  display: block;
  flex: 0 0 auto;
  height: 44px;
  width: auto;
  aspect-ratio: 584 / 501;
  line-height: 0;
  overflow: visible;
}

.logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 0.125rem;
  min-width: 0;
}

.logo-line {
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.logo-line--top {
  font-size: 0.625rem;
  color: var(--color-navy);
}

.logo-line--bottom {
  font-size: 0.6875rem;
  color: var(--color-orange);
  letter-spacing: 0.035em;
}

@media (max-width: 359px) {
  .logo picture { height: 38px; }
  .logo-line--top { font-size: 0.5625rem; }
  .logo-line--bottom { font-size: 0.625rem; letter-spacing: 0.02em; }
  .logo { gap: 0.375rem; }
}

@media (min-width: 480px) {
  .logo picture { height: 48px; }
  .logo-line--top { font-size: 0.6875rem; }
  .logo-line--bottom { font-size: 0.75rem; }
}

@media (min-width: 768px) {
  .logo {
    gap: 0.625rem;
    flex: 0 1 auto;
    max-width: none;
  }
  .logo picture { height: 52px; }
  .logo-line--top { font-size: 0.75rem; letter-spacing: 0.06em; }
  .logo-line--bottom { font-size: 0.875rem; }
}

@media (min-width: 1024px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, auto) 1fr auto;
    gap: 1rem 1.5rem;
  }

  .logo { grid-column: 1; }
  .nav-desktop {
    grid-column: 2;
    justify-self: center;
  }
  .header-actions {
    grid-column: 3;
    justify-self: end;
  }

  .logo picture { height: 56px; }
  .logo-line--top { font-size: 0.8125rem; }
  .logo-line--bottom { font-size: 0.9375rem; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-desktop { display: none; }

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
}
.nav-desktop a:hover { color: var(--color-orange); background: var(--color-orange-light); }

.header-call {
  display: none;
  border-radius: 9999px;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  color: var(--color-navy);
}

.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile Nav */
.nav-mobile {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: 999;
  background: var(--color-white);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 1.5rem 1.25rem 2rem;
}

.nav-mobile.is-open { transform: translateX(0); }

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile li { border-bottom: 1px solid var(--color-border); }

.nav-mobile a:not(.btn) {
  display: block;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-navy);
}

.nav-mobile .btn {
  display: flex;
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 9999px;
  font-size: 1rem;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  color: var(--color-white);
}

.nav-mobile .btn:hover {
  color: var(--color-white);
}

.nav-overlay {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: 998;
  background: rgba(15, 39, 68, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.is-visible { opacity: 1; visibility: visible; }

@media (min-width: 1024px) {
  .nav-desktop { display: block; }
  .header-call { display: inline-flex; }
  .menu-toggle { display: none; }
  .nav-mobile, .nav-overlay { display: none; }
}

/* Legal and error pages: always show call button */
.legal-page .header-call,
body:has(.error-page) .header-call {
  display: inline-flex;
}

/* Hero */
.hero {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4rem;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg) 100%);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-content .section-label {
  margin-bottom: 0.75rem;
  color: #000000;
}

.hero-highlight {
  color: var(--color-orange);
}

@media (max-width: 767px) {
  .hero {
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 3rem;
  }

  .hero-content h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
  }
}

.hero-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
}

.hero-phone a { color: inherit; }
.hero-phone a:hover { color: var(--color-orange); }
.hero-phone svg { width: 22px; height: 22px; color: var(--color-orange); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-orange);
  flex-shrink: 0;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
}

@media (max-width: 767px) {
  .hero-image { display: none; }
}

.hero-image picture,
.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-image picture img {
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: calc(var(--header-height) + 4rem); }
}

/* Services */
.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  padding: 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  background: var(--color-orange-light);
  border-radius: var(--radius-sm);
  color: var(--color-navy);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { margin: 0; font-size: 0.9375rem; color: var(--color-text-muted); }

/* CTA Banner */
.cta-banner {
  padding: 3rem 0;
  background: var(--color-navy);
  color: var(--color-white);
}

.cta-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.cta-banner h2 { color: var(--color-white); margin: 0; }
.cta-banner p { color: rgba(255,255,255,0.85); margin: 0; max-width: 520px; }

@media (min-width: 768px) {
  .cta-banner-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}

/* Why Us */
.why-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) { .why-grid { grid-template-columns: 1fr 1fr; } }

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.why-list li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.why-list svg {
  width: 22px;
  height: 22px;
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.why-list strong { display: block; color: var(--color-navy); margin-bottom: 0.15rem; }
.why-list span { font-size: 0.9375rem; color: var(--color-text-muted); }

/* Brands */
.brands-strip {
  padding: 3rem 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.brands-strip h2 {
  text-align: center;
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  margin-bottom: 0.75rem;
}

.brands-strip > .container > p {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.brands-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.brands-list li {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy-muted);
  letter-spacing: 0.02em;
  opacity: 0.85;
}

/* Zones */
.zones-section { background: var(--color-white); }

.zones-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .zones-layout { grid-template-columns: 1fr 1.2fr; align-items: start; }
}

.zones-main {
  padding: 2rem;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-lg);
}

.zones-main h3 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.zones-main p { color: rgba(255,255,255,0.85); margin: 0; }

.zones-list {
  columns: 2;
  column-gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.zones-list li {
  break-inside: avoid;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-border);
  font-weight: 500;
  color: var(--color-navy);
}

.zones-types {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.zones-types h3 { margin-bottom: 0.75rem; }

.zones-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.zone-tag {
  padding: 0.375rem 0.875rem;
  background: var(--color-bg-alt);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Reviews */
.reviews-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

.review-card {
  padding: 1.75rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  position: relative;
}

.review-card::before {
  content: "\201C";
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 3rem;
  line-height: 1;
  color: var(--color-orange-light);
  font-family: var(--font-display);
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
  color: #f5a623;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.review-text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
  font-style: italic;
}

.review-author {
  font-weight: 600;
  color: var(--color-navy);
  font-size: 0.875rem;
  margin: 0;
}

/* Process */
.process-steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

@media (min-width: 768px) { .process-steps { grid-template-columns: repeat(3, 1fr); } }

.process-step {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  counter-increment: step;
}

.process-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 50%;
}

.process-step h3 { margin-bottom: 0.5rem; }
.process-step p { margin: 0; font-size: 0.9375rem; color: var(--color-text-muted); }

/* FAQ */
.faq-list { display: grid; gap: 0.5rem; }

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.125rem 1.25rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.is-open .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.125rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.faq-item.is-open .faq-answer { display: block; }

/* Contact */
.contact-section { background: var(--color-bg-alt); }

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-info-phone {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-navy);
  margin: 1rem 0;
}

.contact-info-phone a { color: inherit; }
.contact-info-phone a:hover { color: var(--color-orange); }

.contact-details {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-details li {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.contact-details svg { width: 20px; height: 20px; color: var(--color-orange); flex-shrink: 0; }

.contact-form {
  padding: 2rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-navy-light);
}

.form-group textarea { min-height: 100px; resize: vertical; }

.form-checkbox {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.form-checkbox input { margin-top: 0.2rem; flex-shrink: 0; width: auto; }

.form-notice {
  margin-top: 1rem;
  padding: 0.875rem;
  background: var(--color-orange-light);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.8);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.site-footer h3, .site-footer .footer-heading {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.site-footer .logo-line--top {
  color: var(--color-white);
}

.site-footer .logo-line--bottom {
  color: var(--color-orange);
}

.site-footer p { font-size: 0.9375rem; margin: 0 0 0.75rem; }

.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: var(--color-orange); }

.footer-nav ul, .footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li, .footer-legal li { margin-bottom: 0.5rem; }
.footer-nav a, .footer-legal a { font-size: 0.9375rem; }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* Mobile floating action buttons */
.mobile-float {
  position: fixed;
  bottom: 1.25rem;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 1.125rem;
  pointer-events: none;
}

.mobile-float-btn {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--mobile-float-size);
  height: var(--mobile-float-size);
  border-radius: 50%;
  color: var(--color-white);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(15, 39, 68, 0.22);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fab-bounce 2.2s ease-in-out infinite;
}

.mobile-float-btn svg {
  width: 26px;
  height: 26px;
}

.mobile-float-btn--whatsapp {
  background: var(--color-whatsapp);
  animation-delay: 0s;
}

.mobile-float-btn--call {
  background: var(--color-orange);
  animation-delay: 0.35s;
}

.mobile-float-btn:hover {
  color: var(--color-white);
  animation-play-state: paused;
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(15, 39, 68, 0.28);
}

.mobile-float-btn:active {
  transform: scale(0.96);
}

@keyframes fab-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-float-btn {
    animation: none;
  }
}

@media (min-width: 768px) {
  .mobile-float { display: none; }
}

body.has-mobile-float {
  padding-bottom: calc(var(--mobile-float-size) + 1.5rem);
}

@media (min-width: 768px) {
  body.has-mobile-float { padding-bottom: 0; }
}

/* Breadcrumbs */
.breadcrumbs {
  padding: calc(var(--header-height) + 1rem) 0 0;
  font-size: 0.8125rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li { display: flex; align-items: center; gap: 0.25rem; }
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: var(--color-text-muted);
  margin-left: 0.25rem;
}

.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-orange); }
.breadcrumbs [aria-current="page"] { color: var(--color-navy); font-weight: 500; }

/* Legal Pages */
.legal-page { padding-bottom: 4rem; }
.legal-page main { padding: 2rem 0 4rem; }
.legal-page h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.legal-page .legal-updated { color: var(--color-text-muted); font-size: 0.875rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.legal-page h3 { font-size: 1.0625rem; margin: 1.5rem 0 0.5rem; }
.legal-page p, .legal-page li { color: var(--color-text-muted); font-size: 0.9375rem; }
.legal-page ul, .legal-page ol { padding-left: 1.25rem; }

/* Cookie Banner (prepared, hidden by default) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  padding: 1rem;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(15, 39, 68, 0.12);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cookie-banner-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  body.has-mobile-float .cookie-banner { bottom: calc(var(--mobile-float-size) + 1.25rem); }
}

.cookie-banner p { margin: 0; font-size: 0.875rem; color: var(--color-text-muted); }

.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 39, 68, 0.5);
}

.cookie-modal.is-open { display: flex; }

.cookie-modal-content {
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.cookie-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 1rem;
}

/* 404 */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-page h1 { font-size: 4rem; margin-bottom: 0.5rem; color: var(--color-orange); }
.error-page p { color: var(--color-text-muted); margin-bottom: 2rem; }

/* About section */
.about-content p { color: var(--color-text-muted); margin-bottom: 1rem; }
.about-content p:last-child { margin-bottom: 0; }
