:root {
  --bg: #f7f3eb;
  --surface: #fffdf8;
  --surface-strong: #111111;
  --surface-muted: #e8e0d2;
  --text: #171717;
  --text-soft: #5e564b;
  --line: rgba(23, 23, 23, 0.1);
  --brand: #b8860b;
  --brand-strong: #8b6914;
  --brand-light: #e8d5a0;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top left, rgba(184, 134, 11, 0.12), transparent 30%),
    linear-gradient(180deg, #faf7f0 0%, #f0e9da 100%);
  color: var(--text);
}

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

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 40;
  padding: 12px 16px;
  border-radius: 14px;
  background: #171411;
  color: var(--white);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(247, 243, 235, 0.9);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.header-panel,
.locale-bar,
.footer-grid,
.hero-grid,
.manufacturing-feature,
.two-col,
.audience-grid,
.faq-grid,
.card-grid,
.documents-grid,
.trust-strip,
.form-grid {
  display: grid;
  gap: 24px;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.4vw, 36px);
  padding: 12px 0;
}

.header-panel {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  flex: 1;
  justify-content: flex-end;
  padding: 0;
}

.header-cta {
  flex-wrap: nowrap;
}

.header-cta .button {
  white-space: nowrap;
  padding: 12px 20px;
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1a1a, #544123);
  color: var(--white);
  font-weight: 700;
}

.brand-mark-image {
  overflow: hidden;
  padding: 0;
  background: linear-gradient(135deg, #c49a3c, #e2c87a);
  box-shadow: 0 2px 12px rgba(157, 122, 58, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.brand-mark-image img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-wordmark {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
}

.brand-tagline {
  display: none;
}

.brand-copy small,
.lead,
.site-footer p,
.card p,
.reason-box,
.faq-item,
.trust-item,
.hero-card p {
  color: var(--text-soft);
}

.main-nav {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(10px, 1.1vw, 16px);
  font-size: 0.92rem;
  white-space: nowrap;
}

.main-nav a[aria-current="page"] {
  color: var(--brand-strong);
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--brand);
}

.button:hover,
button.button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.button-ghost:hover {
  background: rgba(23, 23, 23, 0.04);
  transform: translateY(-1px);
}

.locale-link:hover {
  color: var(--brand);
}

.footer-grid a:hover {
  color: var(--text);
}

.text-link:hover {
  text-decoration: underline;
}

.header-cta,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.locale-bar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.locale-link {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.locale-link.active {
  color: var(--brand-strong);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.locale-notice {
  background: #1f1b15;
  color: #efe8dc;
  font-size: 0.9rem;
  padding: 10px 0;
}

.compliance-bar {
  background: linear-gradient(90deg, #b8860b, #8b6914);
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  padding: 12px 0;
}

.compliance-bar .container {
  font-weight: 700;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: var(--white);
  box-shadow: var(--shadow);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button:active,
button.button:active {
  transform: translateY(0);
}

.lead-form .button-row {
  margin-top: 8px;
}

.lead-form .button {
  padding: 16px 32px;
  font-size: 1rem;
}

.button-ghost,
.button.button-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.button-ghost:hover {
  background: rgba(23, 23, 23, 0.04);
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero {
  padding: 72px 0 48px;
}

.hero-small {
  padding-top: 56px;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.hero-copy h1,
.narrow h1 {
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 0.97;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  max-width: 15ch;
}

.manufacturing-copy h2,
.section-heading h2,
.two-col h2,
.faq-grid h2 {
  font-size: clamp(1.85rem, 2.6vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  max-width: 26ch;
}

.hero-small .hero-copy h1 {
  font-size: clamp(2rem, 3vw, 3.6rem);
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  color: var(--brand-strong);
}

.lead {
  font-size: 1.16rem;
  line-height: 1.7;
  max-width: 60ch;
}

.hero-panel,
.hero-card,
.card,
.reason-box,
.audience-card,
.faq-item,
.trust-item,
.lead-form {
  border-radius: var(--radius);
}

.hero-card,
.card,
.reason-box,
.audience-card,
.faq-item,
.trust-item,
.lead-form {
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow);
}

.hero-card {
  min-height: 360px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(160deg, rgba(17, 17, 17, 0.92), rgba(58, 44, 19, 0.9)),
    linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
  color: var(--white);
}

.hero-card-brand {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 8, 5, 0.55) 0%, rgba(10, 8, 5, 0.68) 45%, rgba(10, 8, 5, 0.92) 100%),
    url("../img/defender/defender-01.webp") center/cover no-repeat;
}

.hero-card-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(184, 134, 11, 0.25), transparent 40%),
    linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}

.hero-card-brand > * {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 220px;
  max-width: 70%;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.38));
}

.hero-card span {
  color: #d7c099;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
}

.hero-card strong {
  font-size: 2rem;
  line-height: 1.05;
  margin: 10px 0 12px;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.76);
}

.hero-card-side {
  min-height: 320px;
  background:
    radial-gradient(circle at top left, rgba(199, 161, 96, 0.18), transparent 28%),
    linear-gradient(160deg, rgba(17, 17, 17, 0.78), rgba(43, 34, 20, 0.88)),
    url("../img/hero-side-texture.jpg") center/cover no-repeat;
}

.product-hero-card {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.product-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(199, 161, 96, 0.16), transparent 26%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}

.product-hero-card > * {
  position: relative;
  z-index: 1;
}

.product-theme-defender {
  background:
    linear-gradient(160deg, rgba(17, 17, 17, 0.9), rgba(58, 44, 19, 0.92)),
    radial-gradient(circle at top right, rgba(198, 160, 91, 0.14), transparent 28%);
}

.product-theme-defender-plus {
  background:
    linear-gradient(160deg, rgba(12, 12, 12, 0.94), rgba(73, 49, 14, 0.92)),
    radial-gradient(circle at top right, rgba(216, 183, 114, 0.2), transparent 30%);
}

.product-theme-defender-domotic {
  background:
    linear-gradient(160deg, rgba(11, 18, 22, 0.94), rgba(33, 55, 63, 0.92)),
    radial-gradient(circle at top right, rgba(125, 186, 197, 0.18), transparent 30%);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.hero-metrics small {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.section {
  padding: 28px 0 52px;
}

.section-dark {
  background: linear-gradient(180deg, #1a1510 0%, #1f1b14 100%);
  color: #f5efe5;
}

.section-dark .card,
.section-dark .product-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.section-dark p,
.section-dark li,
.section-dark .text-link {
  color: rgba(245, 239, 229, 0.84);
}

.section-dark .text-link {
  color: #e2c894;
}

.section-dark .button-ghost {
  color: #f5efe5;
  border-color: rgba(245, 239, 229, 0.38);
}

.section-dark .button-ghost:hover {
  background: rgba(245, 239, 229, 0.12);
}

.section-muted {
  background: rgba(255, 255, 255, 0.34);
}

.section-contrast {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(246, 239, 229, 0.92));
}

.section-gallery-band {
  padding-top: 8px;
}

.manufacturing-feature {
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
}

.manufacturing-copy {
  max-width: 58ch;
}

.manufacturing-copy h2 {
  max-width: 14ch;
}

.manufacturing-video-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  background: #111111;
  border: 1px solid rgba(23, 23, 23, 0.12);
  box-shadow: var(--shadow);
}

.manufacturing-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111111;
}

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

.document-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow);
}

.document-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  background: #ffffff;
}

.document-card-placeholder {
  min-height: 240px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(160deg, rgba(17, 17, 17, 0.92), rgba(58, 44, 19, 0.9)),
    radial-gradient(circle at top right, rgba(199, 161, 96, 0.2), transparent 30%);
  color: var(--white);
}

.document-card-placeholder span {
  color: #d7c099;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
}

.document-card-placeholder strong {
  margin-top: 12px;
  font-size: 1.7rem;
  line-height: 1.08;
}

.document-card-copy {
  padding: 24px;
}

.document-card-copy h3 {
  margin: 0 0 12px;
}

.document-card-copy p {
  color: var(--text-soft);
  line-height: 1.7;
}

/* ── Documento privado / blur ──────────────────────────────────────────── */
.document-card-placeholder-blurred {
  filter: blur(12px) grayscale(0.4);
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
}

.blurred-notice {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(151, 52, 52, 0.08);
  border: 1px solid rgba(151, 52, 52, 0.18);
  color: #8b3a3a;
  font-size: 0.88rem;
  text-align: center;
}

/* ── Cookie banner ─────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(23, 20, 17, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  transition: transform 0.3s ease;
}

.cookie-banner[hidden] {
  transform: translateY(100%);
  display: block;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner-inner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  margin: 0;
  max-width: 600px;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cookie-banner-actions a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  text-decoration: underline;
}

.cookie-banner-actions a:hover {
  color: var(--brand);
}

.cookie-banner .button {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.cookie-banner .button.button-ghost {
  background: transparent;
  color: #f5efe6;
  border: 1px solid rgba(245, 239, 230, 0.45);
  box-shadow: none;
}

.cookie-banner .button.button-ghost:hover {
  background: rgba(245, 239, 230, 0.12);
}

/* ── Breadcrumbs ────────────────────────────────────────────────────────── */
.breadcrumbs {
  padding: 18px 0 0;
  font-size: 0.85rem;
}

.breadcrumbs .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumbs a {
  color: var(--text-soft);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--brand);
}

.breadcrumb-sep {
  margin: 0 2px;
  color: rgba(23, 23, 23, 0.35);
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 600;
}

/* ── WhatsApp float ─────────────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ── Google Maps ─────────────────────────────────────────────────────────── */
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.trust-strip {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.showcase-tile {
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.showcase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.04), rgba(10, 10, 10, 0.76)),
    radial-gradient(circle at top right, rgba(199, 161, 96, 0.2), transparent 30%);
}

.showcase-tile-lg {
  min-height: 340px;
}

.showcase-copy {
  position: absolute;
  inset: auto 24px 24px 24px;
  z-index: 2;
  color: var(--white);
}

.showcase-copy h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2.3rem);
  line-height: 1.08;
  max-width: 18ch;
}

.showcase-copy .eyebrow {
  color: #dfc48d;
}

.trust-item,
.reason-box,
.faq-item,
.card,
.audience-card {
  padding: 24px;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-insight-grid,
.product-channel-grid,
.product-fit-grid,
.product-ladder-grid,
.product-gallery-grid,
.hardware-grid {
  grid-template-columns: repeat(3, 1fr);
}

.two-col,
.faq-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.stack {
  display: grid;
  gap: 16px;
}

.feature-list {
  margin: 20px 0;
  padding-left: 18px;
  line-height: 1.7;
}

.compact-list {
  margin: 14px 0 0;
}

.trust-item strong,
.reason-box strong,
.faq-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.02rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 700;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover {
  color: var(--brand-strong);
}

.text-link:hover::after {
  transform: translateX(4px);
}

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

.form-wrap {
  max-width: 920px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.contact-highlight-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-aside {
  display: grid;
  gap: 16px;
}

.contact-aside article {
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.9), rgba(245, 240, 232, 0.7));
  border: 1px solid rgba(157, 122, 58, 0.12);
}

.contact-aside article strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.05rem;
  color: var(--brand-strong);
}

.contact-aside ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.contact-aside li {
  color: var(--text-soft);
  line-height: 1.6;
  padding-left: 4px;
}

.contact-aside li::marker {
  color: var(--brand);
}

.process-card {
  position: relative;
  overflow: hidden;
}

.proof-card {
  min-height: 100%;
}

.product-section-copy {
  max-width: 54ch;
}

.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow);
}

.product-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #111111;
}

.product-gallery-item div {
  padding: 22px;
}

.product-gallery-item h3 {
  margin: 0 0 10px;
}

.product-gallery-item p {
  color: var(--text-soft);
  line-height: 1.7;
}

.hardware-grid {
  display: grid;
  gap: 20px;
}

.hardware-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow);
}

.hardware-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ffffff;
}

.hardware-card div {
  padding: 22px;
}

.hardware-card h3 {
  margin: 0 0 10px;
}

.hardware-card p {
  color: var(--text-soft);
  line-height: 1.7;
}

.product-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 8px;
}

.product-card-metric {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-card-metric strong,
.product-channel-card strong,
.product-fit-card strong,
.product-ladder-card strong {
  display: block;
  margin-bottom: 6px;
}

.product-card-metric small {
  color: rgba(245, 239, 229, 0.72);
  line-height: 1.5;
}

.product-channel-card,
.product-fit-card,
.product-ladder-card {
  display: flex;
  flex-direction: column;
}

.product-channel-card strong {
  font-size: 1.35rem;
  line-height: 1;
}

.product-ladder-card {
  position: relative;
  min-height: 100%;
}

.product-ladder-card.current {
  border: 1px solid rgba(157, 122, 58, 0.38);
  box-shadow: 0 18px 40px rgba(157, 122, 58, 0.14);
}

.product-current-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(157, 122, 58, 0.12);
  color: var(--brand-strong);
  font-weight: 700;
}

.process-step {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand-strong);
  font-size: 0.84rem;
  letter-spacing: 0.16em;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-panel-light {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 23, 23, 0.08);
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  margin: 0;
  max-width: 16ch;
}

.lead-form {
  position: relative;
  padding: 28px;
}

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

.form-grid label {
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

.form-grid label:focus-within {
  color: var(--brand-strong);
}

.form-grid label.full {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  background: rgba(255, 255, 255, 0.8);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(157, 122, 58, 0.18);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-consent {
  gap: 12px;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-consent small {
  color: var(--text-soft);
  line-height: 1.6;
}

.flash {
  margin-bottom: 16px;
  padding: 14px 18px;
  border-radius: 16px;
}

.flash-success {
  background: rgba(42, 118, 74, 0.12);
  border: 1px solid rgba(42, 118, 74, 0.24);
}

.flash-error {
  background: rgba(151, 52, 52, 0.12);
  border: 1px solid rgba(151, 52, 52, 0.24);
}

.flash-warning {
  background: rgba(200, 154, 30, 0.12);
  border: 1px solid rgba(200, 154, 30, 0.24);
}

.site-footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr 0.8fr;
}

.footer-grid h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
  color: var(--text-soft);
}

.narrow {
  max-width: 720px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  gap: 32px;
}

.article-body,
.article-aside {
  display: grid;
  gap: 20px;
}

.article-body {
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.article-intro {
  font-size: 1.12rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin: 0;
}

.article-section h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1.05;
}

.article-section p {
  color: var(--text-soft);
  line-height: 1.8;
}

.article-card h3 {
  margin-top: 0;
}

/* ── Bloque visual 2026-10 ─────────────────────────────────────────────── */

/* Foto en tarjetas de modelo */
.product-card {
  display: flex;
  flex-direction: column;
}

.product-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) - 6px);
  margin-bottom: 18px;
  background: #111111;
}

.product-card .text-link,
.product-card .button {
  margin-top: auto;
}

/* Hero de ficha de producto: foto protagonista */
.product-hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #111111;
}

.product-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Ficha técnica */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.spec-item {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

.spec-item dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-strong);
  margin-bottom: 5px;
}

.spec-item dd {
  margin: 0;
  font-weight: 650;
  line-height: 1.35;
}

/* Selector de idioma compacto */
.locale-menu {
  position: relative;
  justify-self: end;
}

.locale-menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-soft);
  white-space: nowrap;
}

.locale-menu summary::-webkit-details-marker {
  display: none;
}

.locale-menu[open] summary {
  background: rgba(255, 255, 255, 0.9);
}

.locale-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  min-width: 160px;
  display: grid;
  gap: 2px;
  padding: 8px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.locale-list .locale-link {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
}

.locale-list .locale-link:hover,
.locale-list .locale-link.active {
  background: #f3ecdd;
}

/* Tabla comparativa de modelos */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.95);
  border: 1px solid rgba(157, 122, 58, 0.14);
  box-shadow: var(--shadow);
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.compare-table thead th {
  background: #1d1a16;
  color: #f5efe6;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  vertical-align: top;
}

.compare-table tbody th {
  color: var(--brand-strong);
  font-weight: 700;
  white-space: nowrap;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Chips de uso recomendado */
.chip-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
}

.chip-row li {
  background: rgba(255, 253, 248, 0.95);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* ── Fase 1: hero premium, proyectos, ensayo, CTA móvil ───────────────── */

.hero-premium {
  background: #12100c;
  color: #f5efe6;
}

.hero-premium-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 64px 0;
}

.hero-premium-copy {
  padding: 0;
  max-width: 620px;
}

.hero-premium-copy h1 {
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.hero-premium-copy h1 em {
  font-style: italic;
  color: #d9bd85;
}

.hero-premium-copy .lead {
  color: rgba(245, 239, 230, 0.78);
  max-width: 48ch;
}

.hero-premium-copy .eyebrow {
  color: #d9bd85;
}

.hero-premium-copy .button-ghost {
  color: #f5efe6;
  border-color: rgba(245, 239, 230, 0.4);
}

.hero-note {
  margin-top: 22px;
  font-size: 0.9rem;
  color: rgba(245, 239, 230, 0.6);
}

.hero-premium-media {
  position: relative;
  margin: 0;
}

.hero-premium-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 18px;
  display: block;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

/* Proyectos reales */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-tile {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-tile:hover img {
  transform: scale(1.04);
}

.project-tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 20px;
  color: #ffffff;
  font-size: 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

/* Ensayo RC3 */
.test-certificate {
  margin: 0;
}

.test-certificate img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #0f0d0a;
  display: block;
}

.test-certificate figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(245, 239, 230, 0.6);
}

.test-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.test-strip img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  opacity: 0.92;
}

.test-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.test-badge {
  border: 1px solid rgba(217, 189, 133, 0.5);
  color: #d9bd85;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* Menú colapsado antes de que la navegación se salga del ancho */
@media (max-width: 1180px) {
  .header-bar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .js-ready .header-panel {
    display: none;
  }

  .js-ready .header-panel.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 16px;
    padding: 4px 0 16px;
  }

  .main-nav {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 12px;
    white-space: normal;
  }

  .header-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .locale-menu {
    align-self: flex-start;
  }

  .locale-list {
    left: 0;
    right: auto;
  }
}

/* Fase 3 — particulares, profesionales y guías */
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.step-card {
  background: #fffdf8;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.step-num {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: #b08a4a;
  margin-bottom: 10px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.step-card p {
  margin: 0;
  font-size: 0.93rem;
  color: #55504a;
}

.product-mini {
  display: flex;
  flex-direction: column;
  background: #fffdf8;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-mini img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.product-mini-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-mini h3 {
  margin: 0;
}

.mini-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mini-metrics li {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.06);
  color: #3a352e;
}

.product-mini-body p {
  margin: 0;
  font-size: 0.93rem;
  color: #55504a;
}

.product-mini-body .text-link {
  margin-top: auto;
}

.article-toc {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
}

/* Reseñas */
.review-score {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -6px 0 22px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.review-score strong {
  font-size: 1.3rem;
  color: var(--text);
}

.review-stars {
  color: #d4a13a;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 26px;
  background: #fffdf8;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-card p {
  margin: 0;
  font-size: 0.98rem;
  color: #3f3a33;
}

.review-card footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 8px;
}

.review-card footer strong {
  font-size: 0.95rem;
}

.review-card footer span {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}

.review-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  border-radius: var(--radius);
  background: #fffdf8;
  border: 1px solid rgba(23, 23, 23, 0.08);
  box-shadow: var(--shadow);
}

.review-panel strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.review-panel p {
  margin: 0;
  color: var(--text-soft);
}

/* Fase 2 — proceso de fabricación */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
}

.process-step {
  margin: 0;
  background: #fffdf8;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.process-step img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.process-step-body {
  padding: 20px 22px 24px;
}

.process-num {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: #b08a4a;
  margin-bottom: 8px;
}

.process-step-body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.process-step-body p {
  margin: 0;
  font-size: 0.94rem;
  color: #55504a;
}

/* Barra de datos clave del producto */
.spec-bar-strip {
  background: #12100c;
  color: #f5efe6;
}

.spec-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.spec-bar li {
  padding: 24px 10px 22px;
  border-top: 1px solid rgba(245, 239, 230, 0.16);
}

.spec-bar strong {
  display: block;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.spec-bar span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.62);
}

/* Construcción de la puerta */
.build-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.build-card {
  background: #fffdf8;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.build-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.build-card > div {
  padding: 18px 20px 22px;
}

.build-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.build-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #55504a;
}

/* CTA fijo en móvil */
.mobile-cta {
  display: none;
}

@media (max-width: 960px) {
  .hero-premium-inner {
    grid-template-columns: 1fr;
    padding: 48px 0 40px;
    gap: 28px;
  }

  .hero-premium-copy {
    max-width: none;
  }

  .hero-premium-media img {
    aspect-ratio: 4 / 3;
  }

  .header-bar {
    flex-wrap: wrap;
    gap: 12px;
  }

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

  .test-strip img {
    height: 180px;
  }
}

@media (max-width: 720px) {
  .mobile-cta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(18, 16, 12, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #f5efe6;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
  }

  .mobile-cta a.primary {
    background: #b8860b;
    border-color: #b8860b;
    color: #171310;
  }

  /* El aviso de cookies no debe quedar tapado por la barra fija de CTA */
  .cookie-banner {
    bottom: 78px;
    z-index: 90;
    padding: 16px 0;
    border-radius: 14px 14px 0 0;
    max-height: 58vh;
    overflow-y: auto;
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.35);
  }

  .cookie-banner[hidden] {
    transform: translateY(calc(100% + 90px));
  }

  .cookie-banner-inner {
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-inner p {
    font-size: 0.88rem;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
  }

  .cookie-banner .button {
    flex: 1 1 auto;
    text-align: center;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .whatsapp-float {
    display: none !important;
  }

  body {
    padding-bottom: 78px;
  }

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

/* ── Fin Fase 1 ───────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .hero-grid,
  .manufacturing-feature,
  .two-col,
  .faq-grid,
  .footer-grid,
  .article-layout,
  .cta-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .documents-grid,
  .trust-strip,
  .audience-grid,
  .form-grid,
  .hero-metrics,
  .showcase-grid,
  .contact-highlight-grid,
  .product-insight-grid,
  .product-channel-grid,
  .product-fit-grid,
  .product-ladder-grid,
  .product-gallery-grid,
  .hardware-grid,
  .product-card-metrics {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    display: grid;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .js-ready .header-panel {
    display: none;
  }

  .js-ready .header-panel.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 4px 0 16px;
  }

  .main-nav,
  .header-cta,
  .locale-bar {
    justify-content: start;
  }

  .locale-menu {
    justify-self: start;
  }

  .main-nav {
    flex-direction: column;
    gap: 14px;
  }

  .header-cta {
    flex-direction: column;
  }

  .locale-bar {
    gap: 10px 14px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 48px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-metrics strong {
    font-size: 1rem;
  }

  .hero-card strong {
    font-size: 1.6rem;
  }

  .button,
  button.button,
  .button-ghost {
    width: 100%;
  }

  .hero-copy h1,
  .manufacturing-copy h2,
  .section-heading h2,
  .two-col h2,
  .faq-grid h2,
  .narrow h1 {
    max-width: none;
  }
}
