/* =========================================================
   Cierres Moya — Hoja de estilos (HTML + CSS puro)
   Marca: navy #0F206C · naranja #FF6D2D
   ========================================================= */

:root {
  --navy: #0f206c;
  --navy-90: rgba(15, 32, 108, 0.9);
  --navy-75: rgba(15, 32, 108, 0.75);
  --navy-60: rgba(15, 32, 108, 0.6);
  --navy-40: rgba(15, 32, 108, 0.4);
  --navy-05: rgba(15, 32, 108, 0.05);
  --orange: #ff6d2d;
  --orange-dark: #e85d1f;
  --white: #ffffff;
  --background: #ffffff;
  --foreground: #131b3a;
  --muted: #f4f5f9;
  --muted-foreground: #6b7280;
  --secondary: #f4f6fb;
  --border: #e6e8f0;
  --radius: 0.75rem;
  --shadow-soft: 0 4px 24px -8px rgba(15, 32, 108, 0.18);
  --shadow-card: 0 12px 40px -16px rgba(15, 32, 108, 0.28);
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --maxw: 80rem;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }

.text-orange { color: var(--orange); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  transition: all 0.2s ease;
  text-align: center;
}
.btn-orange {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-orange:hover {
  filter: brightness(1.08);
  box-shadow: var(--shadow-card);
}
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.2); }
.btn-navy-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-block { width: 100%; }

/* =========================================================
   NAVBAR
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: #fff;
  transition: box-shadow 0.3s, background 0.3s;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}
.logo img {
  height: 2.5rem;
  width: auto;
}
@media (min-width: 768px) {
  .logo img { height: 3rem; }
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1280px) {
  .nav-desktop { display: flex; }
}
.nav-link {
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-75);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.nav-link:hover {
  background: var(--navy-05);
  color: var(--navy);
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  font-family: inherit;
}
.nav-dropdown-btn .chevron { transition: transform 0.2s; }
.nav-dropdown.open .chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  width: 16rem;
  max-height: 70vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-card);
  padding-block: 0.25rem;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: var(--navy-75);
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown-menu a:hover {
  background: rgba(255, 109, 45, 0.1);
  color: var(--orange);
}
.nav-cta {
  margin-left: 0.5rem;
  background: var(--orange);
  color: #fff;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s;
}
.nav-cta:hover { filter: brightness(1.1); box-shadow: var(--shadow-card); }

.nav-burger {
  display: inline-flex;
  background: none;
  border: none;
  color: var(--navy);
  padding: 0.5rem;
  cursor: pointer;
}
@media (min-width: 1280px) {
  .nav-burger { display: none; }
}

/* Mobile drawer */
.drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
}
.drawer.open { display: block; }
.drawer-overlay {
  position: absolute;
  inset: 0;
  background: var(--navy-60);
}
.drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 88%;
  max-width: 24rem;
  overflow-y: auto;
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.drawer-head img { height: 2.5rem; }
.drawer-close {
  background: none;
  border: none;
  color: var(--navy);
  padding: 0.5rem;
  cursor: pointer;
}
.drawer-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.drawer-nav a {
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
}
.drawer-nav a:hover { background: var(--navy-05); }
.drawer-section {
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
}
.drawer-section-title {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}
.drawer-section a { font-size: 0.875rem; padding: 0.5rem 1rem; color: var(--navy-75); }
.drawer .btn { margin-top: 1rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-90), var(--navy-75) 50%, var(--navy-40));
}
.hero-inner {
  padding-block: 5rem;
  color: #fff;
  max-width: 42rem;
}
@media (min-width: 1024px) {
  .hero-inner { padding-block: 8rem; }
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}
.hero h1 {
  margin-top: 1.5rem;
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero p.lead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}
.hero-trust > div { display: flex; align-items: center; gap: 0.5rem; }
.stars { display: inline-flex; }
.star { width: 1rem; height: 1rem; fill: var(--orange); stroke: var(--orange); }
.star.half { fill: rgba(255, 109, 45, 0.6); }

/* =========================================================
   SECCIONES
   ========================================================= */
.section { padding-block: 5rem; }
.section-secondary { background: var(--secondary); }
.section-navy { background: var(--navy); color: #fff; }

.eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
}
.section-title {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 800;
}
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
.section-head { max-width: 42rem; margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1rem; color: var(--muted-foreground); }
.section-navy .section-title,
.section-navy h2,
.section-navy h3 { color: #fff; }

/* Trust strip */
.trust-strip {
  border-block: 1px solid var(--border);
  background: var(--secondary);
}
.trust-grid {
  display: grid;
  gap: 1.5rem;
  padding-block: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.icon-box {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background: rgba(255, 109, 45, 0.1);
  color: var(--orange);
}
.trust-item p:first-child { font-weight: 700; color: var(--navy); }
.trust-item p:last-child { font-size: 0.875rem; color: var(--muted-foreground); }

/* Sobre nosotros */
.two-col {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .two-col { grid-template-columns: repeat(2, 1fr); align-items: center; }
}
.about-text p { margin-top: 1.25rem; color: var(--muted-foreground); }
.about-text strong { color: var(--navy); }
.about-badges {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .about-badges { grid-template-columns: repeat(2, 1fr); } }
.about-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(244, 246, 251, 0.5);
  border-radius: 0.75rem;
  padding: 1rem;
}
.about-badge span { font-weight: 600; color: var(--navy); }
.about-badge svg { color: var(--orange); }
.about-media { position: relative; }
.about-media .frame {
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-card);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-rating {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--orange);
  color: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  display: none;
}
@media (min-width: 640px) { .about-rating { display: block; } }
.about-rating .num { font-size: 1.875rem; font-weight: 800; }
.about-rating .lbl { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 500; }

/* Servicios */
.cards-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.service-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover .service-media img { transform: scale(1.1); }
.service-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-card);
}
.service-body { padding: 1.5rem; }
.service-body h3 { font-size: 1.125rem; font-weight: 700; }
.service-body p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.link-arrow {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  transition: gap 0.2s;
}
.link-arrow:hover { gap: 0.625rem; }

/* Decoración */
.deco { margin-top: 4rem; }
.deco-head {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.deco-head h3 { margin-top: 0.5rem; font-size: 1.5rem; font-weight: 800; }
@media (min-width: 640px) { .deco-head h3 { font-size: 1.875rem; } }
.deco-link { font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.deco-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.deco-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .deco-grid { grid-template-columns: repeat(3, 1fr); } }
.deco-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
}
.deco-card .frame { aspect-ratio: 4 / 5; overflow: hidden; }
.deco-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.deco-card:hover img { transform: scale(1.1); }
.deco-card .caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, var(--navy-90), var(--navy-60) 50%, transparent);
}
.deco-card .caption h4 { font-size: 1.125rem; font-weight: 700; color: #fff; }

/* Prueba social */
.social-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) { .social-grid { grid-template-columns: 1fr 2fr; } }
.rating-big { margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem; }
.rating-big .num { font-size: 3.75rem; font-weight: 800; }
.rating-big .lbl { margin-top: 0.25rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }
.star-lg { width: 1.25rem; height: 1.25rem; fill: var(--orange); stroke: var(--orange); }
.maps-link {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
}
.maps-link:hover { background: rgba(255, 255, 255, 0.2); }
.reviews {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
.review {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}
.review p.txt { margin-top: 1rem; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.review p.name { margin-top: 1rem; font-size: 0.875rem; font-weight: 600; }
.review .stars { gap: 0.125rem; }

/* =========================================================
   GALERÍA
   ========================================================= */
.gallery-head { text-align: center; margin-bottom: 2rem; }
.gallery-head p { margin-inline: auto; max-width: 42rem; }
.filters {
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.filter-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--secondary);
  color: var(--navy-75);
  transition: background 0.2s, color 0.2s;
}
.filter-btn:hover { background: var(--navy-05); }
.filter-btn.active {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0.75rem;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--muted);
}
.gallery-item:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, var(--navy-90), rgba(15, 32, 108, 0.2) 40%, transparent);
}
.gallery-item .overlay .cat { display: block; font-size: 0.875rem; font-weight: 700; color: #fff; text-align: left; }
.gallery-item .overlay .sub { display: block; font-size: 0.75rem; font-weight: 500; color: rgba(255, 255, 255, 0.8); text-align: left; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--navy-90);
  backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; }
.lightbox img {
  margin-inline: auto;
  max-height: 78vh;
  width: auto;
  border-radius: 0.5rem;
  object-fit: contain;
}
.lightbox figcaption { margin-top: 0.75rem; text-align: center; font-size: 0.875rem; color: #fff; }
.lightbox figcaption .count { margin-left: 0.5rem; color: rgba(255, 255, 255, 0.5); }
.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: none;
  cursor: pointer;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.2); }
.lb-close { top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; }
.lb-prev { left: 0.5rem; }
.lb-next { right: 0.5rem; }
@media (min-width: 640px) {
  .lb-prev { left: 1.5rem; }
  .lb-next { right: 1.5rem; }
}

/* =========================================================
   CONTACTO
   ========================================================= */
.contact-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-info p.intro { margin-top: 1rem; color: var(--muted-foreground); }
.contact-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-row { display: flex; align-items: flex-start; gap: 1rem; }
.contact-row .label {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--navy-75);
}
.contact-row .value { margin-top: 0.125rem; font-size: 1rem; font-weight: 600; color: var(--navy); }
a.value:hover { color: var(--orange); }

.contact-form {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}
@media (min-width: 640px) { .contact-form { padding: 2rem; } }
.contact-form h3 { font-size: 1.25rem; font-weight: 700; }
.contact-form .sub { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); }
.form-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}
.field input,
.field textarea {
  margin-top: 0.375rem;
  width: 100%;
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(255, 109, 45, 0.2);
}
.field textarea { resize: vertical; }
.field-full { grid-column: 1 / -1; }
.form-note { margin-top: 0.75rem; text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }
.form-note a:hover { color: var(--orange); }
.form-status {
  margin-top: 1rem;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: #e7f6ec; color: #1a7a3f; border: 1px solid #b6e3c5; }
.form-status.err { background: #fdeaea; color: #b42318; border: 1px solid #f5c2c0; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy); color: #fff; }
.footer-grid {
  padding-block: 3.5rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-logo {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1rem;
  display: inline-block;
}
.footer-logo img { height: 3rem; }
.footer-col p { margin-top: 1rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }
.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
}
.footer-col ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); }
.footer-col ul li { display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-col a:hover { color: var(--orange); }
.footer-col svg { color: var(--orange); margin-top: 0.125rem; }
.footer-eu { margin-top: 1rem; font-size: 0.75rem; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
.footer-tags { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-tag {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.footer-bottom {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom .links { display: flex; gap: 1rem; }
.footer-bottom a:hover { color: var(--orange); }

/* =========================================================
   BOTONES FLOTANTES
   ========================================================= */
.fab {
  position: fixed;
  bottom: 1.25rem;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  color: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s;
}
.fab:hover { transform: scale(1.1); }
.fab-wa { right: 1.25rem; background: #25d366; }
.fab-tel { right: 5.25rem; background: var(--orange); }
.fab-wa .ping {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 0.75rem;
  height: 0.75rem;
}
.fab-wa .ping::before,
.fab-wa .ping::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: #25d366;
}
.fab-wa .ping::before { animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

/* =========================================================
   PÁGINAS LEGALES
   ========================================================= */
.legal-header { border-bottom: 1px solid var(--border); background: #fff; }
.legal-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 56rem;
  margin-inline: auto;
  padding-block: 0.75rem;
}
.legal-header img { height: 2.5rem; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.2s;
}
.back-link:hover { background: var(--navy-05); }
.legal-main { max-width: 56rem; margin-inline: auto; padding-block: 3rem; }
.legal-main h1 { font-size: 1.875rem; font-weight: 800; }
@media (min-width: 640px) { .legal-main h1 { font-size: 2.25rem; } }
.legal-updated { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.legal-body { margin-top: 2rem; line-height: 1.7; color: rgba(19, 27, 58, 0.9); }
.legal-body h2 { margin-top: 2.5rem; font-size: 1.25rem; font-weight: 700; }
.legal-body p { margin-top: 1rem; }
.legal-body ul { margin-top: 1rem; list-style: disc; padding-left: 1.5rem; }
.legal-body ul li { margin-top: 0.25rem; }
.legal-footer {
  border-top: 1px solid var(--border);
  padding-block: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ====== Tabla y botón de la política de cookies ====== */
.legal-body table {
  width: 100%;
  margin-top: 1.25rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.legal-body th,
.legal-body td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.legal-body th { background: var(--secondary); color: var(--navy); font-weight: 700; }
.legal-cookie-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.legal-cookie-btn:hover { background: #0c1a59; }

/* ============ BANNER DE COOKIES ============ */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2000;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  animation: cookieUp 0.35s ease;
}
@keyframes cookieUp {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  max-width: var(--maxw);
  margin-inline: auto;
}
.cookie-text strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.cookie-text p { font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.55; }
.cookie-text a { color: var(--orange); font-weight: 600; text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-btn {
  flex: 1;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.cookie-accept { border: none; background: var(--orange); color: var(--white); }
.cookie-accept:hover { background: var(--orange-dark); }
.cookie-reject { border: 1px solid var(--border); background: var(--white); color: var(--navy); }
.cookie-reject:hover { border-color: var(--navy-40); }

@media (min-width: 720px) {
  .cookie-banner { left: auto; right: 1.5rem; bottom: 1.5rem; max-width: 30rem; }
  .cookie-actions { justify-content: flex-end; }
  .cookie-btn { flex: 0 0 auto; }
}
