/* =================================================================
   SEGURMA ALARMAS — Design System
   Colors: #FF6800 (naranja) + blanco + gris
   Inspired: Securitas Direct layout  |  Brand: Segurma
   ================================================================= */

:root {
  --orange: #ff6800;
  --orange-dark: #e55d00;
  --orange-light: #fff2e6;
  --black: #0a0a0a;
  --gray-900: #1a1a1a;
  --gray-700: #4a4a4a;
  --gray-500: #7a7a7a;
  --gray-300: #d4d4d4;
  --gray-100: #f5f5f5;
  --gray-50: #fafafa;
  --white: #ffffff;
  --green: #16a34a;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --container: 1200px;
  --header-h: 78px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #fff; }
html, body { overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-h);
}

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

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  z-index: 100;
  height: var(--header-h);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: 32px;
}
.logo {
  display: inline-flex; flex-direction: column; align-items: center;
  flex-shrink: 0; gap: 6px; text-decoration: none; line-height: 1;
}
.logo img, .logo svg { height: 38px; width: auto; display: block; }
.logo-sub {
  display: inline-flex; align-items: center;
  background: #000;
  color: #fff;
  font-size: 8.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1;
}
@media (max-width: 768px) {
  .logo img, .logo svg { height: 32px; }
  .logo-sub { font-size: 7.5px; padding: 3px 8px; letter-spacing: 0.1em; }
}

.nav { display: flex; align-items: center; justify-content: center; }
.nav-list {
  display: flex; list-style: none; gap: 4px;
  align-items: center;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  color: var(--gray-900);
  font-weight: 600;
  font-size: 14.5px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  transition: all .18s;
  white-space: nowrap;
}
.nav-list > li > a:hover { background: var(--orange-light); color: var(--orange); }

.dropdown-toggle::after {
  content: ""; display: inline-block; margin-left: 8px;
  width: 0; height: 0;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
  transition: transform .2s;
}
.nav-list > li:hover .dropdown-toggle::after { transform: translateY(2px) rotate(180deg); }

.submenu {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  background: var(--white); box-shadow: var(--shadow-lg);
  border-radius: var(--radius); padding: 8px; min-width: 260px;
  list-style: none;
  border: 1px solid var(--gray-100);
}
.nav-list > li:hover > .submenu,
.nav-list > li:focus-within > .submenu { display: block; }
.submenu a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--gray-900);
}
.submenu a:hover { background: var(--orange-light); color: var(--orange); }

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

.phone-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--orange); font-size: 15px;
  padding: 8px 12px; border-radius: 8px;
  transition: background .18s;
}
.phone-link:hover { background: var(--orange-light); }
.phone-link svg { width: 18px; height: 18px; fill: var(--orange); flex-shrink: 0; }

.lang-switch {
  display: inline-flex; gap: 2px; align-items: center;
  background: var(--gray-100); border-radius: 999px; padding: 3px;
}
.lang-switch a {
  font-size: 12px; font-weight: 700; color: var(--gray-700);
  padding: 5px 10px; border-radius: 999px; line-height: 1;
  letter-spacing: 0.04em;
}
.lang-switch a.active { background: var(--white); color: var(--orange); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.lang-switch a:hover:not(.active) { color: var(--orange); }

.burger {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 10px; border-radius: 8px; transition: background .18s;
}
.burger:hover { background: var(--gray-100); }
.burger span {
  display: block; width: 22px; height: 2px; background: var(--gray-900);
  margin: 5px 0; border-radius: 2px; transition: .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-phone {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--orange);
  color: var(--white); text-decoration: none;
}
.mobile-phone svg { width: 18px; height: 18px; fill: var(--white); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: all .2s;
  text-align: center; white-space: nowrap;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: var(--white); }
.btn-white { background: var(--white); color: var(--orange); }
.btn-white:hover { background: var(--gray-100); color: var(--orange); }
.btn-ghost { color: var(--gray-900); }
.btn-ghost:hover { color: var(--orange); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

.lang-switch { display: flex; gap: 4px; margin-left: 8px; }
.lang-switch a {
  font-size: 13px; font-weight: 600; color: var(--gray-500);
  padding: 4px 8px; border-radius: 6px;
}
.lang-switch a.active { background: var(--orange-light); color: var(--orange); }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span {
  display: block; width: 24px; height: 2px; background: var(--gray-900);
  margin: 5px 0; border-radius: 2px; transition: .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #fff8f0 0%, #ffede0 100%);
  padding: 64px 0 80px;
  position: relative; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 20px;
}
.hero h1 .highlight { color: var(--orange); }
.hero .lead { font-size: 19px; color: var(--gray-700); margin-bottom: 28px; max-width: 540px; }
.hero-trust {
  display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 28px;
  font-size: 14px; color: var(--gray-700); font-weight: 500;
}
.hero-trust span::before {
  content: "✓"; color: var(--orange); font-weight: 900; margin-right: 6px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-lg);
}
.hero-form h3 { font-size: 22px; margin-bottom: 6px; }
.hero-form .form-sub { color: var(--gray-500); font-size: 14px; margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--gray-700); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--gray-300);
  border-radius: var(--radius); font-size: 15px; font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 0; border-color: var(--orange);
}
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--gray-700);
  line-height: 1.45; margin: 18px 0 8px;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1.5px solid var(--gray-300); border-radius: 5px;
  background: var(--white); cursor: pointer;
  position: relative; margin: 0; margin-top: 1px;
  transition: all .15s;
}
.form-check input[type="checkbox"]:hover { border-color: var(--orange); }
.form-check input[type="checkbox"]:checked {
  background: var(--orange); border-color: var(--orange);
}
.form-check input[type="checkbox"]:checked::after {
  content: ""; position: absolute;
  left: 50%; top: 48%;
  width: 5px; height: 10px;
  border: solid var(--white);
  border-width: 0 2.5px 2.5px 0;
  transform: translate(-50%, -55%) rotate(45deg);
}
.form-check input[type="checkbox"]:focus { outline: 2px solid var(--orange-light); outline-offset: 2px; }
.form-check label {
  margin: 0; font-weight: 400; color: var(--gray-700);
  font-size: 13px; cursor: pointer; flex: 1;
}
.form-check label a { color: var(--orange); font-weight: 600; text-decoration: underline; }

.form-status {
  font-size: 13px; margin-top: 12px; padding: 10px 12px;
  border-radius: 8px; display: none; font-weight: 500;
}
.form-status.ok { display: block; background: #dcfce7; color: #166534; }
.form-status.err { display: block; background: #fee2e2; color: #991b1b; }

/* ===== SECTIONS ===== */
section { padding: 72px 0; }
section.alt { background: var(--gray-50); }
section.dark { background: var(--gray-900); color: var(--white); }
section.dark h2, section.dark h3 { color: var(--white); }

.section-title { text-align: center; margin-bottom: 48px; }
.section-title .eyebrow {
  display: inline-block; background: var(--orange-light); color: var(--orange);
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 12px;
}
.section-title h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.section-title p { color: var(--gray-700); font-size: 17px; margin-top: 12px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ===== PILARES (3 columnas) ===== */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: var(--white); border: 1px solid var(--gray-100);
  padding: 32px; border-radius: var(--radius-lg); text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar .icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: var(--orange-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.pillar h3 { font-size: 20px; margin-bottom: 10px; }
.pillar p { color: var(--gray-700); font-size: 15px; }

/* ===== SEGMENTACIÓN POR PERFIL ===== */
.profiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.profile-card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 28px 24px; transition: all .25s;
  display: flex; flex-direction: column;
}
.profile-card:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-2px); }
.profile-card .icon { font-size: 36px; margin-bottom: 12px; }
.profile-card h3 { font-size: 18px; margin-bottom: 8px; }
.profile-card p { color: var(--gray-700); font-size: 14px; margin-bottom: 16px; flex: 1; }
.profile-card .link { color: var(--orange); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.profile-card .link::after { content: "→"; transition: transform .2s; }
.profile-card:hover .link::after { transform: translateX(4px); }

/* ===== EQUIPOS / DISPOSITIVOS ===== */
.equipment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.equipment {
  background: var(--white); border-radius: var(--radius-lg); padding: 24px;
  border: 1px solid var(--gray-100); text-align: center;
}
.equipment img, .equipment .placeholder-img {
  width: 100%; aspect-ratio: 1/1; object-fit: contain;
  background: var(--gray-50); border-radius: var(--radius); margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--orange);
}
.equipment h4 { font-size: 16px; margin-bottom: 4px; }
.equipment .desc { font-size: 13px; color: var(--gray-500); }

/* ===== PRECIOS / TARIFAS ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }

/* Battery Externa standalone section */
.battery-card-wrap {
  display: flex;
  justify-content: center;
}
.battery-card-wrap .price-card {
  max-width: 440px;
  width: 100%;
}
.battery-card-wrap .price-card .kit-img {
  height: 200px;
  background: linear-gradient(180deg, #ffffff 0%, var(--gray-50) 100%);
}
.battery-section { padding-top: 40px; padding-bottom: 72px; }
.price-card {
  background: var(--white); border: 2px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; position: relative;
  transition: all .25s;
}
.price-card.featured { border-color: var(--orange); transform: scale(1.02); box-shadow: var(--shadow-lg); }
.price-card:hover:not(.featured) { border-color: var(--orange); transform: translateY(-4px); }

.price-card .kit-img {
  width: 100%;
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--gray-50) 0%, #ffffff 100%);
  border-radius: var(--radius);
  margin-bottom: 20px;
  padding: 12px;
  overflow: hidden;
}
.price-card .kit-img img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
  transition: transform 0.3s ease;
}
.price-card:hover .kit-img img { transform: scale(1.04); }

@media (max-width: 768px) {
  .price-card .kit-img { height: 140px; }
}
.price-card .badge-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white); font-size: 12px; font-weight: 700;
  padding: 6px 16px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.08em;
}
.price-card h3 { font-size: 24px; margin-bottom: 6px; }
.price-card .price-type { font-size: 13px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; margin-bottom: 20px; }
.price-card .price { font-size: 44px; font-weight: 800; color: var(--orange); line-height: 1; }
.price-card .price-old { font-size: 18px; color: var(--gray-500); text-decoration: line-through; margin-left: 8px; font-weight: 500; }
.price-card .price-unit { font-size: 15px; color: var(--gray-500); font-weight: 500; }
.price-card .price-note { font-size: 13px; color: var(--gray-500); margin-top: 6px; margin-bottom: 24px; }
.price-card .features { list-style: none; margin-bottom: 28px; flex: 1; }
.price-card .features li {
  padding: 8px 0; font-size: 14.5px; display: flex; align-items: flex-start; gap: 10px;
}
.price-card .features li::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.price-tiny { font-size: 12px; color: var(--gray-500); margin-top: 16px; text-align: center; }

/* ===== TABLA QUÉ INCLUYE ===== */
.features-table { max-width: 800px; margin: 0 auto; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.features-table .row {
  display: grid; grid-template-columns: 1fr 100px; padding: 16px 24px;
  border-bottom: 1px solid var(--gray-100); align-items: center;
}
.features-table .row:last-child { border-bottom: 0; }
.features-table .row.head { background: var(--orange); color: var(--white); font-weight: 700; }
.features-table .check { color: var(--green); font-weight: 900; font-size: 22px; text-align: center; }

/* ===== TESTIMONIOS ===== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial .stars { color: var(--orange); font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial p { font-size: 15px; color: var(--gray-700); margin-bottom: 16px; font-style: italic; }
.testimonial .author { font-weight: 700; font-size: 14px; }
.testimonial .author span { color: var(--gray-500); font-weight: 400; }

.trust-bar {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  padding: 20px 0; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100);
  background: var(--white);
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--gray-700); }
.trust-item strong { color: var(--orange); font-size: 20px; }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
.faq-question {
  padding: 20px 24px; font-weight: 700; font-size: 16px;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .2s;
}
.faq-question::after {
  content: "+"; font-size: 26px; color: var(--orange); font-weight: 400;
  transition: transform .3s;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-item.open .faq-question { color: var(--orange); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 500px; padding: 0 24px 20px; }
.faq-answer p { color: var(--gray-700); font-size: 15px; }

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white); padding: 60px 0; text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; color: var(--white); font-weight: 800; }
.cta-band p { font-size: 18px; opacity: 0.95; margin-bottom: 28px; }
.cta-band .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-white { box-shadow: var(--shadow); }

/* ===== LOCALIDADES ===== */
.localities-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px;
}
.localities-grid a {
  padding: 10px 14px; background: var(--white); border: 1px solid var(--gray-100);
  border-radius: 8px; color: var(--gray-900); font-size: 14px; font-weight: 500;
  transition: all .2s;
}
.localities-grid a:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900); color: var(--gray-300); padding: 60px 0 24px;
  font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; font-weight: 700; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: var(--gray-300); }
.footer ul a:hover { color: var(--orange); }
.footer .logo-footer svg { height: 28px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-contact p { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--gray-500);
}
.footer-bottom a { color: var(--gray-500); }
.footer-bottom .legal-line { font-size: 11px; opacity: 0.8; }

/* ===== FLOATING CTAs (split: phone left / whatsapp right) ===== */
.float-btn {
  position: fixed; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 16px;
  font-weight: 700; font-size: 15px; color: var(--white);
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.2s;
  line-height: 1;
  backdrop-filter: saturate(1.2);
}
.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22), 0 3px 8px rgba(0, 0, 0, 0.1);
  color: var(--white);
  filter: brightness(1.05);
}
.float-btn:active { transform: translateY(-1px); }
.float-btn svg {
  width: 20px; height: 20px; fill: var(--white); flex-shrink: 0;
}
.float-label { letter-spacing: 0.01em; }

.float-phone {
  left: 22px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
}
.float-wa {
  right: 22px;
  background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
}


@media (max-width: 600px) {
  .float-btn {
    bottom: 16px;
    padding: 14px;
    width: 52px; height: 52px;
    justify-content: center;
    border-radius: 14px;
    gap: 0;
  }
  .float-label { display: none; }
  .float-btn svg { width: 22px; height: 22px; }
  .float-phone { left: 16px; }
  .float-wa { right: 16px; }
}

/* ===== SKIP LINK (a11y, hidden until focus) ===== */
.skip-link {
  position: fixed !important;
  top: -100px !important;
  left: 10px;
  background: var(--orange); color: var(--white);
  padding: 10px 16px; border-radius: 8px;
  font-weight: 700; font-size: 14px;
  z-index: 200;
  transition: top .2s;
}
.skip-link:focus { top: 10px !important; }

/* Global focus-visible for a11y */
*:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== RELATED LINKS GRID ===== */
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.related-link {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px; background: var(--white);
  border: 1px solid var(--gray-100); border-radius: var(--radius);
  color: var(--gray-900); font-weight: 600; font-size: 15px;
  transition: all .2s;
}
.related-link:hover {
  border-color: var(--orange); color: var(--orange);
  transform: translateY(-2px); box-shadow: var(--shadow);
}
.related-link span { font-size: 20px; }

/* ===== LANDING PAGE (/alarmas-hogar/) ===== */
body.landing-no-header { padding-top: 0; }

.logo-strip {
  background: #000;
  padding: 22px 20px;
  text-align: center;
  line-height: 0;
}
.logo-strip-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity .15s;
}
.logo-strip-link:hover { opacity: 0.85; }
.logo-strip img {
  height: 44px; width: auto; display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}
@media (max-width: 600px) {
  .logo-strip { padding: 18px 16px; }
  .logo-strip img { height: 36px; }
}

.hero-bullets { list-style: none; margin: 18px 0 26px; padding: 0; }
.hero-bullets li {
  font-size: 16px; color: var(--gray-700); padding: 6px 0 6px 32px;
  position: relative; font-weight: 500;
}
.hero-bullets li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 22px; height: 22px;
  background: var(--orange);
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}

.price-big {
  display: inline-block; font-size: clamp(48px, 8vw, 88px);
  font-weight: 900; color: var(--orange); line-height: 1;
  letter-spacing: -0.03em; margin: 6px 0;
}
.price-big .unit { font-size: 0.35em; color: var(--gray-500); font-weight: 600; letter-spacing: 0; }
.price-was { color: var(--gray-500); text-decoration: line-through; font-weight: 500; margin-right: 10px; font-size: 22px; }

.urgency-bar {
  background: var(--gray-900);
  color: var(--white);
  padding: 9px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.urgency-bar strong { color: var(--orange); font-weight: 700; }
.urgency-bar .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}
.urgency-bar .sep {
  opacity: 0.4;
  margin: 0 2px;
}
@media (max-width: 600px) {
  .urgency-bar { font-size: 12px; padding: 8px 12px; }
  .urgency-bar .sep-hide-mobile { display: none; }
  .urgency-bar .hide-mobile-text { display: none; }
}

.emotional {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
  padding: 72px 0;
}
.emotional h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.01em; text-align: center;
  max-width: 820px; margin: 0 auto 20px;
}
.emotional h2 strong { color: var(--orange); }
.emotional p {
  font-size: 18px; color: var(--gray-700); text-align: center;
  max-width: 720px; margin: 0 auto 14px;
}

.kit-sell {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1100px; margin: 0 auto;
}
.kit-sell-item {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 26px; transition: all .2s;
}
.kit-sell-item:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-3px); }
.kit-sell-item .icon {
  width: 56px; height: 56px; background: var(--orange-light);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 14px;
}
.kit-sell-item h3 { font-size: 18px; margin-bottom: 8px; }
.kit-sell-item p { font-size: 15px; color: var(--gray-700); line-height: 1.55; }
@media (max-width: 900px) { .kit-sell { grid-template-columns: 1fr; } }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  counter-reset: step;
}
.step-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 32px 26px; text-align: center;
  position: relative; counter-increment: step;
}
.step-card::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white);
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px; letter-spacing: 0.04em;
  box-shadow: var(--shadow);
}
.step-card h3 { font-size: 20px; margin: 20px 0 10px; }
.step-card p { color: var(--gray-700); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.benefit {
  display: flex; gap: 16px; padding: 22px;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
}
.benefit-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
  background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.benefit h3 { font-size: 16px; margin-bottom: 4px; }
.benefit p { font-size: 14px; color: var(--gray-700); }
@media (max-width: 900px) { .benefits-grid { grid-template-columns: 1fr; } }

.compare-table {
  max-width: 780px; margin: 0 auto; background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100);
}
.compare-table .row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  padding: 16px 22px; border-bottom: 1px solid var(--gray-100); align-items: center;
  font-size: 15px;
}
.compare-table .row.head {
  background: var(--gray-900); color: var(--white); font-weight: 800; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.compare-table .row.head .segurma-col { color: var(--orange); }
.compare-table .row:last-child { border-bottom: 0; }
.compare-table .cell-feat { font-weight: 600; }
.compare-table .yes { color: #16a34a; font-weight: 900; text-align: center; }
.compare-table .no { color: #94a3b8; font-weight: 700; text-align: center; }
.compare-table .cell-value { text-align: center; font-size: 14px; }
@media (max-width: 700px) {
  .compare-table .row { grid-template-columns: 1.3fr .8fr .8fr; padding: 12px 14px; font-size: 13px; }
}

.breadcrumbs {
  padding: 16px 0; font-size: 13px; color: var(--gray-500);
  background: var(--gray-50); border-bottom: 1px solid var(--gray-100);
}
.breadcrumbs a { color: var(--gray-500); }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs .sep { margin: 0 8px; color: var(--gray-300); }

/* ===== PROSE / CONTENT ===== */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 32px; margin: 40px 0 16px; font-weight: 800; letter-spacing: -0.01em; }
.prose h3 { font-size: 22px; margin: 32px 0 12px; font-weight: 700; }
.prose p { margin-bottom: 16px; color: var(--gray-700); font-size: 17px; line-height: 1.7; }
.prose ul, .prose ol { margin: 16px 0 20px 24px; }
.prose ul li, .prose ol li { margin-bottom: 8px; color: var(--gray-700); font-size: 17px; }
.prose strong { color: var(--gray-900); }

/* ===== BADGES ===== */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; background: var(--orange-light); color: var(--orange);
  border-radius: 999px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-dark { background: var(--gray-900); color: var(--white); }

/* ===== PROMO BAR ===== */
.promo-bar {
  background: var(--gray-900); color: var(--white); text-align: center;
  padding: 10px 16px; font-size: 14px; font-weight: 600;
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
}
.promo-bar strong { color: var(--orange); }
body.has-promo { padding-top: calc(var(--header-h) + 40px); }
body.has-promo .header { top: 40px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .header-inner { gap: 20px; }
  .nav-list > li > a { padding: 10px 12px; font-size: 14px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .pillars, .profiles, .equipment-grid, .pricing-grid, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Mobile header: flex layout, logo left, burger right */
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .nav {
    display: none;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 24px 20px; overflow-y: auto; border-top: 1px solid var(--gray-100);
    justify-content: flex-start;
  }
  .nav.open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; width: 100%; margin-bottom: 20px; }
  .nav-list > li { border-bottom: 1px solid var(--gray-100); width: 100%; }
  .nav-list > li > a { padding: 16px 4px; font-size: 17px; display: block; border-radius: 0; width: 100%; }
  .nav-list > li > a:hover { background: transparent; color: var(--orange); }
  .submenu { position: static; box-shadow: none; padding: 0 0 12px 16px; display: block; min-width: 0; border: 0; }
  .submenu a { padding: 10px 0; }
  .nav-cta {
    flex-direction: column; align-items: stretch; gap: 16px;
    padding-top: 8px; width: 100%;
  }
  .nav-cta .btn { width: 100%; justify-content: center; padding: 16px; font-size: 16px; }
  .nav-cta .lang-switch { align-self: center; }
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    width: 44px; height: 44px;
    padding: 0;
  }
  .burger span { margin: 3px 0; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .logo img, .logo svg { height: 32px; }
  .hero { padding: 40px 0 56px; }
  .hero-form { padding: 22px; }
  section { padding: 48px 0; }
  .pillars, .profiles, .equipment-grid, .pricing-grid, .testimonials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .fab.phone { display: flex; }
  .trust-bar { gap: 20px; padding: 16px 0; }
  .trust-bar > div { flex-direction: column; gap: 14px !important; align-items: flex-start !important; }
  .trust-item { font-size: 13px; }
  .localities-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .floating-cta { right: 16px; bottom: 16px; }
  .hero-ctas .btn { flex: 1; min-width: 140px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .hero .lead { font-size: 16px; }
  .section-title h2 { font-size: 26px; }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.hide-mobile { }
.hide-desktop { display: none; }
@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .hide-desktop { display: block; }
}
