/* ==========================================================================
   REFORMAS Y ELECTRICIDAD ROSALES — PRECISION TECHNICAL & CRAFT THEME
   Paleta: Blancos azulados (#F2F7FD / #E4EEF9) y gama de azules (#0E294B / #1F6FEB)
   ========================================================================== */

:root {
  /* Superficies en blancos azulados y azules */
  --bg-page: #F2F7FD;
  --bg-alt: #E4EEF9;
  --bg-card: #FAFDFE;
  --bg-dark: #0E294B;
  --bg-dark-elevated: #153762;

  /* Acentos en gama de azules */
  --accent: #1F6FEB;
  --accent-hover: #1557C0;
  --accent-light: #6CB4FF;
  --accent-soft: rgba(31, 111, 235, 0.11);
  --tech-blue: #2C7BE5;

  /* Textos */
  --text-main: #0B1F3A;
  --text-body: #345073;
  --text-muted: #5E7B9E;
  --text-on-dark: #F2F7FD;
  --text-on-dark-muted: #A8C5E6;

  /* Bordes y sombras */
  --border: rgba(14, 41, 75, 0.12);
  --border-strong: rgba(14, 41, 75, 0.24);
  --border-dark: rgba(190, 220, 255, 0.18);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 14px rgba(14, 41, 75, 0.06);
  --shadow-md: 0 14px 36px rgba(14, 41, 75, 0.10);
  --shadow-lg: 0 22px 54px rgba(11, 31, 58, 0.18);

  /* Tipografía */
  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --container: 1280px;
  --gutter: clamp(18px, 4vw, 44px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ====== Reset & Base ====== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
}

[id] {
  scroll-margin-top: 86px;
}

h1, h2, h3, h4,
.font-display {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ====== Layout Helpers ====== */
.wrap {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  padding-block: clamp(64px, 7.5vw, 108px);
}

.section--alt {
  background-color: var(--bg-alt);
}

.section--dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background-color: currentColor;
}

.section--dark .kicker {
  color: var(--accent-light);
}

.heading-lg {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 600;
}

.heading-md {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 600;
}

.lead-copy {
  margin: 12px 0 0;
  color: var(--text-body);
  font-size: 1.02rem;
  max-width: 56ch;
}

.section--dark .lead-copy {
  color: var(--text-on-dark-muted);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

/* Reveal Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: calc(var(--i, 0) * 75ms);
}

[data-reveal].is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--accent {
  background-color: var(--accent);
  color: #FFFFFF;
}

.btn--accent:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 8px 22px rgba(31, 111, 235, 0.30);
}

.btn--whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
}

.btn--whatsapp:hover {
  background-color: #20ba5a;
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}

.btn--dark {
  background-color: var(--bg-dark);
  color: #FAFDFE;
}

.btn--dark:hover {
  background-color: #173E6E;
  box-shadow: var(--shadow-sm);
}

.btn--outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--accent);
  background-color: var(--accent-soft);
}

.btn--light {
  background-color: #FAFDFE;
  color: var(--text-main);
}

.btn--light:hover {
  background-color: #DCE9F8;
}

.btn--outline-light {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

/* ====== Top Utility Strip + Sticky Header ====== */
.topbar {
  background-color: var(--bg-dark);
  color: var(--text-on-dark-muted);
  font-size: 0.78rem;
  border-bottom: 1px solid var(--border-dark);
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 8px;
}

.topbar__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-on-dark);
  font-weight: 500;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: #36C275;
  box-shadow: 0 0 0 3px rgba(54, 194, 117, 0.22);
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar__links a:hover {
  color: #FFFFFF;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 70;
  background-color: rgba(242, 247, 253, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}

.navbar.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(0);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.brand__sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu__list {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.7vw, 26px);
}

.nav-menu__list a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  padding-block: 6px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-menu__list a:hover {
  color: var(--text-main);
  border-bottom-color: var(--accent);
}

.nav-menu__mobile-phone {
  display: none;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-main);
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  background: var(--bg-card);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.navbar__phone:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.navbar__cta-short {
  display: none;
}

.navbar__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.navbar__toggle span[aria-hidden] {
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.navbar__toggle[aria-expanded="true"] span[aria-hidden]:first-of-type {
  transform: translateY(3.5px) rotate(45deg);
}

.navbar__toggle[aria-expanded="true"] span[aria-hidden]:last-of-type {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ====== Hero: Full-Bleed Dynamic Background ====== */
.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 800px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(56px, 8vh, 96px) clamp(36px, 5vw, 60px);
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(14, 41, 75, 0.54) 0%, rgba(14, 41, 75, 0.32) 40%, rgba(11, 31, 58, 0.88) 100%),
    linear-gradient(90deg, rgba(11, 31, 58, 0.84) 0%, rgba(14, 41, 75, 0.44) 58%, rgba(14, 41, 75, 0.16) 100%);
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 7s ease-out;
  z-index: 0;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transform: none;
    transition: opacity 0.3s ease;
  }
}

.hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.12fr auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: flex-end;
}

.hero__grid > *,
.page-hero__inner > *,
.explorer__grid > *,
.compare-layout > *,
.pladur-details > *,
.contact-layout > *,
.faq-layout > *,
.works-grid > * {
  min-width: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  background: rgba(31, 111, 235, 0.24);
  border: 1px solid rgba(108, 180, 255, 0.48);
  color: #CFE6FF;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(1.85rem, 4.3vw, 3.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #FAFDFE;
  margin-bottom: 18px;
  max-width: 18ch;
}

.hero__title em {
  font-style: normal;
  color: var(--accent-light);
}

.hero__desc {
  margin: 0 0 26px;
  font-size: clamp(0.95rem, 1.25vw, 1.06rem);
  color: rgba(242, 247, 253, 0.9);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero .btn--outline {
  color: #FAFDFE;
  border-color: rgba(210, 232, 255, 0.38);
  background: rgba(14, 41, 75, 0.42);
}

.hero .btn--outline:hover {
  border-color: #FAFDFE;
  background: rgba(210, 232, 255, 0.16);
}

.hero__zones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(210, 232, 255, 0.2);
}

.zone-chip {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: var(--radius-xs);
  background: rgba(14, 41, 75, 0.56);
  border: 1px solid rgba(210, 232, 255, 0.24);
  color: rgba(242, 247, 253, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.zone-chip:hover {
  border-color: var(--accent-light);
  color: #FFFFFF;
  background: rgba(31, 111, 235, 0.32);
}

.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.hero__dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  background: rgba(14, 41, 75, 0.68);
  border: 1px solid rgba(210, 232, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__dot {
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: rgba(210, 232, 255, 0.36);
  transition: background-color 0.25s ease, width 0.25s ease;
}

.hero__dot.is-active {
  width: 34px;
  background: var(--accent-light);
}

.hero__caption-card {
  width: min(340px, 100%);
  background: rgba(14, 41, 75, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(210, 232, 255, 0.24);
  border-radius: var(--radius-sm);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.25s var(--ease), border-color 0.25s ease;
}

.hero__caption-card:hover {
  transform: translateY(-3px);
  border-color: rgba(108, 180, 255, 0.65);
}

.hero__caption-thumb {
  width: 84px;
  height: 68px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  flex-shrink: 0;
}

.hero__caption-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__caption-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__caption-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-light);
  font-weight: 600;
}

.hero__caption-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.25;
}

.hero__caption-link {
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
  margin-top: 2px;
}

/* ====== Spec Strip (4 Key Capabilities) ====== */
.spec-strip {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.spec-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.spec-item {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec-item:last-child {
  border-right: 0;
}

.spec-item__val {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.spec-item__label {
  font-size: 0.76rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 600;
}

.spec-item__desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.45;
}

/* ====== Interactive Specialty Explorer (Esquema / Instalaciones) ====== */
.explorer__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}

.explorer__tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exp-tab {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.exp-tab:hover {
  border-color: var(--border-strong);
}

.exp-tab.is-active {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  background: #FFFFFF;
}

.exp-tab__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.exp-tab__num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}

.exp-tab.is-active .exp-tab__num {
  color: var(--accent);
}

.exp-tab__title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 4px 0 0;
}

.exp-tab__body {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--text-body);
  display: none;
}

.exp-tab.is-active .exp-tab__body {
  display: block;
}

.explorer__stage {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 96px;
}

.stage-frame {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--bg-dark);
}

.stage-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.stage-photo.is-active {
  opacity: 1;
}

.stage-blueprint {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #0E294B;
  clip-path: inset(var(--bp-top, 100%) 0 0 0);
  transition: clip-path 0.6s var(--ease);
  pointer-events: none;
}

.stage-frame[data-mode="blueprint"] .stage-blueprint {
  --bp-top: 0%;
}

.stage-blueprint svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
}

.stage-bar__caption {
  font-size: 0.88rem;
  color: var(--text-body);
  margin: 0;
}

.pill-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.52rem 0.95rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-strong);
  background: var(--bg-page);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-main);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pill-toggle:hover,
.pill-toggle.is-active {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: #FFFFFF;
}

/* ====== Services Catalog Grid ====== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-body);
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 18px;
}

.srv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}

.srv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.srv-card.is-hidden {
  display: none;
}

.srv-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  overflow: hidden;
}

.srv-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.srv-card:hover .srv-card__media img {
  transform: scale(1.03);
}

.srv-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: rgba(14, 41, 75, 0.84);
  color: #FAFDFE;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.srv-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.srv-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
}

.srv-card__desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* Hover / click compare for reform cards */
.srv-card__media--compare {
  cursor: pointer;
}

.srv-card__media--compare .thumb-after {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.srv-card__media--compare.is-after .thumb-after {
  opacity: 1;
}

.compare-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: var(--radius-xs);
  background: rgba(14, 41, 75, 0.86);
  color: #FAFDFE;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.compare-pill--after {
  opacity: 0;
  background: var(--accent);
}

.srv-card__media--compare.is-after .compare-pill--before {
  opacity: 0;
}

.srv-card__media--compare.is-after .compare-pill--after {
  opacity: 1;
}

@media (hover: hover) {
  .srv-card:hover .srv-card__media--compare .thumb-after {
    opacity: 1;
  }

  .srv-card:hover .compare-pill--before {
    opacity: 0;
  }

  .srv-card:hover .compare-pill--after {
    opacity: 1;
  }
}

/* ====== Before / After Renovation Comparison ====== */
.compare-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 4.5vw, 52px);
  align-items: center;
}

.compare-panel__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.compare-panel__caption {
  margin: 18px 0 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-size: 0.92rem;
  color: var(--text-body);
}

.compare-panel__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compare-stage {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-dark);
  box-shadow: var(--shadow-lg);
  user-select: none;
  touch-action: pan-y;
}

.compare-stage__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.compare-stage__after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--split, 50%));
  pointer-events: none;
}

.compare-stage__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
}

.compare-stage__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-stage__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}

.compare-stage__label {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  background: rgba(14, 41, 75, 0.84);
  color: #FAFDFE;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  pointer-events: none;
}

.compare-stage__label--left { left: 12px; }
.compare-stage__label--right { right: 12px; background: var(--accent); }

/* ====== Pladur Specialty Section ====== */
.pladur-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.pladur-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
}

.pladur-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.pladur-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-dark);
  overflow: hidden;
}

.pladur-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.pladur-card:hover .pladur-card__media img {
  transform: scale(1.03);
}

.pladur-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: rgba(14, 41, 75, 0.86);
  color: #FAFDFE;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pladur-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.pladur-card__title {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-main);
}

.pladur-card__desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.55;
}

.pladur-details {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 20px;
  align-items: start;
}

.pladur-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.pladur-spec {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pladur-spec__code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.pladur-spec__title {
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--text-main);
}

.pladur-spec__desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.52;
}

.pladur-process {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-md);
}

.pladur-process__title {
  font-size: 1.24rem;
  font-weight: 600;
  color: #FFFFFF;
}

.pladur-process__lead {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  line-height: 1.5;
}

.pladur-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-dark);
  padding-top: 16px;
}

.pladur-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.pladur-step__num {
  width: 36px;
  height: 28px;
  border-radius: var(--radius-xs);
  background: rgba(31, 111, 235, 0.25);
  border: 1px solid rgba(108, 180, 255, 0.45);
  color: var(--accent-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pladur-step__title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.pladur-step__desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-on-dark-muted);
  line-height: 1.48;
}

.pladur-process__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-dark);
}

.pladur-process__badges span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark);
  color: #CFE6FF;
}

/* ====== Working Process (Dark Band) ====== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-step {
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-step__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-light);
}

.process-step__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFFFFF;
}

.process-step__desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
  line-height: 1.55;
}

/* ====== Portfolio Gallery (Asymmetric 6-Card Grid) ====== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.work-item {
  grid-column: span 4;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.work-item--wide {
  grid-column: span 6;
}

.work-item--full {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.work-item--full .work-item__media {
  aspect-ratio: 16 / 9;
  height: 100%;
}

.work-item--full .work-item__body {
  padding: 26px 28px;
  flex-direction: column;
  justify-content: space-between;
}

.work-item__desc {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.55;
}

.work-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.work-item__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-dark);
}

.work-item--wide .work-item__media {
  aspect-ratio: 16 / 9;
}

.work-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.work-item:hover .work-item__media img {
  transform: scale(1.04);
}

.work-item__body {
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.work-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.work-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: var(--bg-alt);
  color: var(--text-body);
}

.work-tag--loc {
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-weight: 600;
}

.work-item__title {
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

.work-item__arrow {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-main);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.work-item:hover .work-item__arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

/* ====== Zones Directory ====== */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.zone-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease;
}

.zone-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.zone-card__title {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-main);
}

.zone-card__sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

.zone-card__link {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.zones-localities {
  margin-top: 24px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zones-localities__title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.zones-localities__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zones-localities__list span,
.zones-localities__list a {
  font-size: 0.82rem;
  color: var(--text-body);
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 5px 10px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.zones-localities__list a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.zones-localities__list a.is-current {
  border-color: var(--accent);
  background: var(--accent);
  color: #0E294B;
  font-weight: 600;
}

/* ====== Client Reviews (3-Column Grid) ====== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.review-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.review-card__stars {
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.review-card__date {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.review-card__quote {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.6;
}

.review-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.review-card__thumb {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  flex-shrink: 0;
}

.review-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card__author {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
}

.review-card__work {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ====== Contact & Quote Form ====== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.contact-box {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: var(--radius-md);
  padding: clamp(26px, 4vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-box__lead {
  margin: 0;
  color: var(--text-on-dark-muted);
  font-size: 0.96rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-dark);
}

.contact-row {
  padding: 15px 0;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-row__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
}

.contact-row__val {
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 2.6vw, 1.15rem);
  font-weight: 500;
  color: #FAFDFE;
  overflow-wrap: anywhere;
}

.contact-row__val:hover {
  color: var(--accent-light);
}

.contact-box__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3.8vw, 38px);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.field {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-body);
  display: flex;
  align-items: flex-end;
  min-height: 1.35rem;
  line-height: 1.3;
  margin: 0;
}

.field input,
.field select,
.field textarea,
.field .input-with-action {
  width: 100%;
  margin-top: auto;
}

.field input,
.field select {
  height: 48px;
  min-height: 48px;
  padding: 0 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  font: inherit;
  font-size: 1rem;
  background: var(--bg-page);
  color: var(--text-main);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field textarea {
  min-height: 110px;
  padding: 0.82rem 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  font: inherit;
  font-size: 1rem;
  background: var(--bg-page);
  color: var(--text-main);
  transition: border-color 0.2s ease, background-color 0.2s ease;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #FFFFFF;
}

/* Selector de dirección con mapa en formulario */
.field__header-with-action {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  min-height: 1.35rem;
  margin: 0;
}

.field__map-trigger {
  display: none !important;
}

.input-with-action {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.input-with-action input,
#localidad {
  cursor: pointer;
  padding-right: 42px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23EA4335' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.input-with-action input:hover,
#localidad:hover {
  border-color: var(--accent);
}

.input-action-btn {
  display: none !important;
}

/* ==========================================================================
   POPUP MODAL DE GOOGLE MAP / SELECTOR DE DIRECCIÓN
   ========================================================================== */
.map-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.map-modal[hidden] {
  display: none !important;
  opacity: 0;
  visibility: hidden;
}

.map-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 52, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.map-modal__dialog {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  color: var(--text-main);
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(10, 28, 52, 0.32), 0 0 0 1px rgba(14, 41, 75, 0.08);
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.map-modal__header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: #FAFDFE;
}

.map-modal__title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.map-modal__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  background: rgba(234, 67, 53, 0.12);
  color: #EA4335;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.map-modal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.map-modal__subtitle {
  margin: 3px 0 0;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.4;
}

.map-modal__close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.map-modal__close:hover {
  color: var(--text-main);
  background: rgba(14, 41, 75, 0.08);
}

.map-modal__body {
  padding: 16px 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Barra de herramientas: buscador y botón GPS */
.map-modal__toolbar {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.map-search-form {
  display: flex;
  gap: 8px;
  flex: 1;
}

.map-search-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.map-search-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  pointer-events: none;
}

.map-search-input {
  width: 100%;
  padding: 0.65rem 2.2rem 0.65rem 2.3rem !important;
  font-size: 0.92rem !important;
  background: var(--bg-page) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: var(--radius-xs) !important;
  color: var(--text-main) !important;
}

.map-search-input:focus {
  border-color: var(--accent) !important;
  background: #FFFFFF !important;
}

.map-search-clear {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
}

.map-search-clear[hidden] {
  display: none !important;
}

.map-search-clear:hover {
  color: var(--text-main);
}

.map-btn-search {
  padding: 0.65rem 1.1rem !important;
  font-size: 0.85rem !important;
  white-space: nowrap;
}

.map-btn-gps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1rem;
  background: var(--bg-page);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.map-btn-gps:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.map-btn-gps.is-locating svg {
  animation: gpsPulse 1s infinite alternate;
}

@keyframes gpsPulse {
  from { transform: scale(1); }
  to { transform: scale(1.25); color: #EA4335; }
}

/* Resultados de búsqueda */
.map-search-results {
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-md);
  max-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.map-search-results[hidden] {
  display: none !important;
}

.map-search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.88rem;
  color: var(--text-main);
  cursor: pointer;
  transition: background-color 0.15s ease;
  width: 100%;
}

.map-search-item:last-child {
  border-bottom: none;
}

.map-search-item:hover {
  background: var(--bg-page);
  color: var(--accent);
}

.map-search-item svg {
  color: #EA4335;
  flex-shrink: 0;
}

.map-search-empty {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* Contenedor del mapa */
.map-canvas-wrapper {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #E8ECEF;
}

.map-canvas {
  width: 100%;
  height: 330px;
  background: #E8ECEF;
}

.map-loading {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(14, 41, 75, 0.92);
  color: #FFFFFF;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  pointer-events: none;
}

.map-loading.is-visible {
  display: inline-flex !important;
}

.map-loading[hidden] {
  display: none !important;
}

.map-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.map-help-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 990;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  color: var(--text-main);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  pointer-events: none;
  white-space: nowrap;
}

/* Pin del mapa */
.map-custom-marker {
  background: transparent;
  border: none;
}

.map-marker-pin {
  display: block;
  transform-origin: 17px 40px;
  animation: pinBounce 0.3s ease-out;
}

@keyframes pinBounce {
  0% { transform: translateY(-14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Panel de dirección seleccionada */
.map-address-panel {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-address-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.map-address-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.map-address-text {
  font-size: 0.94rem;
  color: var(--text-main);
  line-height: 1.45;
  min-height: 22px;
}

.map-address-extra {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.map-address-extra label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-body);
  text-transform: uppercase;
}

.map-address-extra input {
  padding: 0.55rem 0.8rem !important;
  font-size: 0.88rem !important;
  background: #FFFFFF !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: var(--radius-xs) !important;
}

/* Footer del modal */
.map-modal__footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  background: #FAFDFE;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.map-link-google {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: #1A73E8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.map-link-google:hover {
  color: #1557C0;
  text-decoration: underline;
}

.map-modal__footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-modal__footer-actions .btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
}

@media (max-width: 640px) {
  .map-modal {
    padding: 0;
  }

  .map-modal__dialog {
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
  }

  .map-modal__body {
    padding: 12px 16px;
  }

  .map-modal__toolbar {
    flex-direction: column;
  }

  .map-canvas {
    height: 240px;
  }

  .map-modal__footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .map-modal__footer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .map-link-google {
    justify-content: center;
    padding-top: 4px;
  }

  .map-help-hint {
    display: none;
  }
}

.form-footer {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.form-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-status {
  margin: 14px 0 0;
  font-size: 0.92rem;
  color: var(--accent-hover);
  display: none;
  line-height: 1.5;
}

.form-status.is-visible {
  display: block;
}

.recaptcha-wrapper {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.g-recaptcha {
  display: inline-block;
  max-width: 100%;
}

@media (max-width: 360px) {
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: 0 0;
  }
}

.form-status.is-success {
  display: block;
  color: #0F766E;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  font-weight: 500;
}

.form-status.is-warning {
  display: block;
  color: #92400E;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  font-weight: 500;
}

.form-status.is-error {
  display: block;
  color: #B91C1C;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  font-weight: 500;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

/* ====== FAQs (2-Column Split) ====== */
.faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--border-strong);
}

.faq-item {
  border-bottom: 1px solid var(--border-strong);
}

.faq-q {
  list-style: none;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.1vw, 1.12rem);
  font-weight: 600;
  cursor: pointer;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-plus {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.6px;
  background: var(--text-main);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-a {
  margin: 0 0 20px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 62ch;
}

/* ====== Footer ====== */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 56px 0 32px;
  border-top: 3px solid var(--accent);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-dark);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__brand img {
  height: 54px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__claim {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: #FFFFFF;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-dark);
}

.footer__heading {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
}

.footer__cols ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__cols a,
.footer__cols span {
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.footer__cols a:hover {
  color: #FFFFFF;
}

/* ====== Estado activo en navegación ====== */
.nav-menu__list a.is-active {
  color: var(--accent-light);
  font-weight: 600;
  position: relative;
}

.nav-menu__list a.is-active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-light);
  border-radius: var(--radius-pill);
}

/* ====== Page Hero para Subpáginas ====== */
.page-hero {
  position: relative;
  background: #0B1F3A;
  color: #FFFFFF;
  padding-block: clamp(40px, 7vw, 72px) clamp(36px, 6vw, 64px);
  border-bottom: 1px solid var(--border-dark);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.16;
  filter: saturate(1.2);
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(11, 31, 58, 0.96) 0%, rgba(11, 31, 58, 0.88) 52%, rgba(11, 31, 58, 0.72) 100%),
    linear-gradient(180deg, rgba(11, 31, 58, 0.45) 0%, rgba(11, 31, 58, 0.94) 100%);
  pointer-events: none;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  opacity: 0.6;
}

.page-hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: flex-end;
}

.page-hero__content {
  min-width: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 18px;
}

.breadcrumbs a {
  color: var(--text-on-dark-muted);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.breadcrumbs__sep {
  opacity: 0.45;
}

.breadcrumbs__current {
  color: var(--accent-light);
  font-weight: 600;
}

.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(31, 111, 235, 0.18);
  border: 1px solid rgba(108, 180, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.page-hero__title {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.page-hero__title em {
  font-style: normal;
  color: var(--accent-light);
}

.page-hero__desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-on-dark-muted);
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 720px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ====== Tarjetas Resumen Hub en Index ====== */
.hub-intro {
  margin-bottom: 32px;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hub-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s ease;
}

.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 111, 235, 0.35);
}

.hub-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0E294B;
}

.hub-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.hub-card:hover .hub-card__media img {
  transform: scale(1.04);
}

.hub-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-xs);
  background: rgba(14, 41, 75, 0.88);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-light);
  border: 1px solid var(--border-dark);
}

.hub-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hub-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.hub-card__desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}

.hub-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hub-card__features li {
  font-size: 0.84rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hub-card__features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

.hub-card__btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.72rem 1rem;
  border-radius: var(--radius-xs);
  background: var(--bg-alt);
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.hub-card:hover .hub-card__btn {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

@media (max-width: 1024px) {
  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }
}


.footer__bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
}

.footer__legal {
  display: flex;
  gap: 18px;
}

.footer__legal a:hover {
  color: #FFFFFF;
}

/* ====== Botón Flotante de WhatsApp ====== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background-color: #25D366;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s var(--ease), background-color 0.2s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.52), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

/* ====== Mobile Sticky Action Bar ====== */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 65;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(14, 41, 75, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-dark);
}

.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.72rem 0.5rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-display);
  font-size: clamp(0.74rem, 3.2vw, 0.84rem);
  font-weight: 600;
  white-space: nowrap;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.mobile-bar a:last-child {
  background: var(--accent);
  border-color: var(--accent);
}

/* ====== Responsive Breakpoints ====== */
@media (max-width: 1180px) {
  .navbar__phone {
    display: none;
  }

  .nav-menu__list {
    gap: 14px;
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    border-radius: var(--radius-md);
    background: var(--bg-dark);
    color: #FFFFFF;
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s var(--ease);
  }

  .nav-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-menu__list a {
    display: block;
    width: 100%;
    padding-block: 8px;
    color: var(--text-on-dark);
    font-size: 1.02rem;
  }

  .nav-menu__mobile-phone {
    display: inline-flex;
    justify-content: center;
    padding: 0.78rem 1rem;
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
  }

  .navbar__cta-full {
    display: none;
  }

  .navbar__cta-short {
    display: inline;
  }

  .navbar__toggle {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding-block: 44px 48px;
  }

  .hero__bg::after {
    background:
      linear-gradient(180deg, rgba(11, 31, 58, 0.72) 0%, rgba(14, 41, 75, 0.54) 45%, rgba(11, 31, 58, 0.90) 100%);
  }

  .hero__grid,
  .page-hero__inner,
  .explorer__grid,
  .compare-layout,
  .pladur-details,
  .contact-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    align-items: flex-start;
  }

  .explorer__stage {
    order: -1;
    position: static;
  }

  .spec-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-item:nth-child(2) {
    border-right: 0;
  }

  .spec-item:nth-child(1),
  .spec-item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .catalog-grid,
  .pladur-showcase,
  .process-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pladur-showcase .pladur-card:last-child:nth-child(3),
  .process-grid .process-step:last-child:nth-child(3),
  .reviews-grid .review-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .pladur-showcase .pladur-card:last-child:nth-child(3) .pladur-card__media {
    aspect-ratio: 21 / 9;
  }

  .work-item,
  .work-item--wide,
  .work-item--full {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
  }

  .work-item--full .work-item__media {
    height: auto;
  }

  .work-item--full .work-item__body {
    padding: 18px 20px;
    flex-direction: row;
  }

  .zones-grid,
  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .topbar__links {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 48px;
  }

  .section-header {
    gap: 16px;
    margin-bottom: 26px;
  }

  .topbar {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .topbar__inner {
    padding-block: 7px;
  }

  .navbar__inner {
    min-height: 64px;
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand__img {
    height: 34px;
  }

  .brand__name {
    font-size: 0.94rem;
  }

  .brand__sub {
    font-size: 0.66rem;
  }

  .navbar__actions {
    gap: 8px;
  }

  .navbar .btn {
    padding: 0.65rem 0.9rem;
    font-size: 0.8rem;
  }

  .navbar__toggle {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding-block: 32px 36px;
  }

  .hero__badge {
    font-size: 0.68rem;
    white-space: normal;
  }

  .hero__caption-card {
    width: 100%;
    padding: 10px;
    gap: 12px;
  }

  .hero__caption-thumb {
    width: 72px;
    height: 60px;
  }

  .spec-strip__grid,
  .catalog-grid,
  .pladur-showcase,
  .pladur-specs-grid,
  .process-grid,
  .reviews-grid,
  .zones-grid,
  .form-grid,
  .footer__cols {
    grid-template-columns: 1fr;
  }

  .pladur-showcase .pladur-card:last-child:nth-child(3),
  .process-grid .process-step:last-child:nth-child(3),
  .reviews-grid .review-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .pladur-showcase .pladur-card:last-child:nth-child(3) .pladur-card__media {
    aspect-ratio: 16 / 10;
  }

  .spec-item {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .spec-item:last-child {
    border-bottom: 0;
  }

  .explorer__stage {
    padding: 12px;
  }

  .exp-tab {
    padding: 14px 16px;
  }

  .filter-btn {
    padding: 0.48rem 0.78rem;
    font-size: 0.72rem;
  }

  .compare-stage__label {
    top: 8px;
    font-size: 0.64rem;
    padding: 4px 8px;
  }

  .compare-stage__label--left {
    left: 8px;
  }

  .compare-stage__label--right {
    right: 8px;
  }

  .compare-stage__handle {
    width: 38px;
    height: 38px;
  }

  .pladur-process {
    padding: 20px 18px;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-item,
  .work-item--wide,
  .work-item--full {
    grid-column: auto;
  }

  .footer__brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .mobile-bar {
    display: grid;
  }

  .whatsapp-float {
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.48), 0 2px 6px rgba(0, 0, 0, 0.25);
  }

  .whatsapp-float__text {
    display: none;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .footer {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
  }

  .navbar .btn {
    white-space: nowrap;
    padding: 0.56rem 0.72rem;
    font-size: 0.76rem;
    gap: 5px;
  }

  .brand {
    min-width: 0;
    flex-shrink: 1;
  }

  .brand__img {
    height: 30px;
  }

  .hero__actions .btn,
  .contact-box__btns .btn,
  .form-footer .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .brand__sub {
    display: none;
  }

  .navbar__toggle {
    width: 38px;
    height: 38px;
  }
}
