/* =========================================================
   DOMÓTICA SUR — STYLE.CSS LIMPIO Y TERMINADO
   Sin reglas duplicadas, sin "logo-canva" y sin !important
   ========================================================= */

:root {
  --navy: #020812;
  --navy-2: #081a2b;
  --navy-3: #102b46;
  --green: #00b8ff;
  --green-light: #38d6ff;
  --white: #ffffff;
  --text: #0e1b2e;
  --muted: #69758a;
  --line: #e1e7ef;
  --shadow: 0 24px 65px rgba(5, 18, 34, 0.12);
  --radius: 18px;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #f7f9fc;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(2, 8, 18, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    height 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.scrolled {
  height: 72px;
  background: rgba(2, 8, 18, 0.99);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

/* Logo: usa solamente img/logo.png */
.brand {
  width: 150px;
  min-width: 150px;
  height: 100%;
  display: flex;
  align-items: center;
}

.brand img {
  width: 150px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
}

.nav-menu {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-menu > a:not(.nav-whatsapp) {
  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 0.22s ease;
}

.nav-menu > a:not(.nav-whatsapp)::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.22s ease;
}

.nav-menu > a:hover,
.nav-menu > a.active {
  color: var(--green-light);
}

.nav-menu > a:hover::after,
.nav-menu > a.active::after {
  transform: scaleX(1);
}

.nav-whatsapp {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-left: 14px;
  padding: 0 20px;
  border-radius: 12px;
  color: #031421;
  background: var(--green);
  font-weight: 800;
  transition:
    transform 0.22s ease,
    background 0.22s ease;
}

.nav-whatsapp:hover {
  transform: translateY(-2px);
  background: var(--green-light);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: transparent;
}

.menu-button span {
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: white;
}

/* =========================================================
   BOTONES
   ========================================================= */

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 0;
  border-radius: 11px;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #031421;
  background: var(--green);
}

.button-primary:hover {
  background: var(--green-light);
}

.button-outline {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(2, 8, 18, 0.28);
}

.button-outline:hover {
  border-color: white;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 690px;
  padding-top: var(--header-height);
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 184, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #020812 0%, #081a2b 58%, #020812 100%);
}

.hero-shade {
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(180deg, transparent, rgba(2, 8, 18, 0.94));
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  align-items: center;
  gap: 48px;
  padding-block: 42px;
}

.hero-copy {
  width: 100%;
  padding-top: 0;
}

.eyebrow {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  padding: 9px 18px;
  border: 1px solid rgba(0, 184, 255, 0.75);
  border-radius: 999px;
  color: var(--green-light);
  background: rgba(2, 8, 18, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eyebrow i {
  font-size: 0.48rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.75rem, 4.15vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
}

.hero h1 em {
  color: var(--green);
  font-style: normal;
}

.hero-copy > p {
  max-width: 550px;
  margin: 24px 0 28px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-video {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: #020812;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

.hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video::after {
  position: absolute;
  content: "";
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 8, 18, 0.02), rgba(2, 8, 18, 0.18));
}

/* =========================================================
   MARCAS
   ========================================================= */

.brands-panel {
  position: relative;
  z-index: 5;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px 16px 0 0;
  background: rgba(7, 18, 31, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brands-panel > span {
  flex: 0 0 245px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brands {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
}

.brands img {
  width: 100%;
  height: 48px;
  padding: 6px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  object-fit: contain;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.brands img:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* =========================================================
   BENEFICIOS RÁPIDOS
   ========================================================= */

.quick-services {
  padding: 22px 0 18px;
  background: white;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.quick-card {
  min-height: 178px;
  padding: 25px 17px;
  text-align: center;
  border: 1px solid #e6ebf1;
  border-radius: 15px;
  background: white;
  box-shadow: 0 10px 27px rgba(12, 29, 48, 0.07);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.quick-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(12, 29, 48, 0.11);
}

.quick-card > i {
  color: #149fd1;
  font-size: 2.45rem;
}

.quick-card h3 {
  margin: 17px 0 8px;
  font-size: 0.98rem;
}

.quick-card p {
  margin: 0;
  color: #46556d;
  font-size: 0.8rem;
  line-height: 1.55;
}

/* =========================================================
   ESTADÍSTICAS
   ========================================================= */

.stats-section {
  padding: 0 0 50px;
  background: white;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px;
  border-radius: 16px;
  color: white;
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 184, 255, 0.13), transparent 35%),
    linear-gradient(100deg, #081b2c, #0b2b46);
}

.stat {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat:last-child {
  border-right: 0;
}

.stat > i {
  color: var(--green);
  font-size: 2.35rem;
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  font-size: 1.65rem;
}

.stat span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

/* =========================================================
   TÍTULOS DE SECCIÓN
   ========================================================= */

.section-heading {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-heading > span,
.section-label {
  color: #0b91c4;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin: 12px 0 15px;
  color: #0b1a2d;
  font-size: clamp(2.2rem, 4vw, 3.55rem);
  line-height: 1.07;
  letter-spacing: -0.045em;
}

.section-heading p,
.about-copy p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.7;
}

/* =========================================================
   SERVICIOS
   ========================================================= */

.services {
  background: #f7f9fc;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  min-height: 335px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid #e1e7ef;
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 72px rgba(5, 18, 34, 0.16);
}

.icon-wrap {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--green);
  background: rgba(0, 184, 255, 0.1);
  font-size: 1.35rem;
}

.service-card h3 {
  margin: 24px 0 12px;
  color: #0a1728;
  font-size: 1.08rem;
}

.service-card p {
  margin: 0 0 26px;
  color: var(--muted);
  line-height: 1.65;
}

.service-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0b91c4;
  font-weight: 800;
}

.service-card a i {
  transition: transform 0.22s ease;
}

.service-card a:hover i {
  transform: translateX(4px);
}

/* =========================================================
   NOSOTROS
   ========================================================= */

.about {
  color: white;
  background:
    radial-gradient(circle at 80% 15%, rgba(0, 184, 255, 0.1), transparent 32%),
    #071522;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 68px;
  align-items: center;
}

.about-card {
  min-height: 350px;
  display: grid;
  align-content: center;
  padding: 45px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 12%, rgba(0, 184, 255, 0.22), transparent 38%),
    linear-gradient(145deg, #0d2334, #07111e);
}

.about-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #031421;
  background: var(--green);
  font-size: 1.75rem;
}

.about-card h3 {
  margin: 28px 0 7px;
  font-size: 1.95rem;
}

.about-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.about-copy h2 {
  color: white;
}

.about-copy p {
  color: rgba(255, 255, 255, 0.7);
}

.about-copy ul {
  display: grid;
  gap: 15px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.about-copy li {
  font-weight: 600;
}

.about-copy li i {
  margin-right: 11px;
  color: var(--green);
}

/* =========================================================
   PROYECTOS
   ========================================================= */

.projects {
  background: #f5f7fb;
}

.project-grid-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  color: white;
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 184, 255, 0.18), transparent 35%),
    linear-gradient(145deg, #0b2238, #102b46);
  box-shadow: 0 24px 58px rgba(3, 12, 22, 0.14);
  transition:
    transform 0.26s ease,
    border-color 0.26s ease,
    box-shadow 0.26s ease;
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 184, 255, 0.35);
  box-shadow: 0 30px 70px rgba(3, 12, 22, 0.21);
}

.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 43px;
}

.project-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #031421;
  background: var(--green);
  font-size: 1.4rem;
}

.project-tag {
  padding: 7px 11px;
  border: 1px solid rgba(0, 184, 255, 0.25);
  border-radius: 999px;
  color: var(--green-light);
  background: rgba(0, 184, 255, 0.08);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0 0 14px;
  font-size: 1.33rem;
  line-height: 1.25;
}

.project-card p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.project-card > a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-light);
  font-weight: 800;
}

.project-card > a i {
  transition: transform 0.22s ease;
}

.project-card > a:hover i {
  transform: translateX(4px);
}

.projects-cta {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 18px 45px rgba(10, 27, 47, 0.08);
}

.projects-cta > div {
  display: grid;
  gap: 5px;
}

.projects-cta span {
  color: #0b91c4;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.projects-cta strong {
  font-size: 1.12rem;
}

/* =========================================================
   CONTACTO
   ========================================================= */

.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(0, 184, 255, 0.08), transparent 30%),
    #f7f9fc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 68px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.contact-list > a,
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(12, 30, 50, 0.05);
}

.contact-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  flex: 0 0 45px;
  border-radius: 12px;
  color: #031421;
  background: var(--green);
}

.contact-list small,
.contact-list strong {
  display: block;
}

.contact-list small {
  margin-bottom: 4px;
  color: #718096;
  font-size: 0.72rem;
}

.contact-list strong {
  color: #0c1a2d;
  font-size: 0.88rem;
}

.contact-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: #0b91c4;
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 28px 70px rgba(12, 30, 50, 0.12);
}

.form-heading {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.form-heading span {
  display: block;
  color: #0b1a2d;
  font-size: 1.42rem;
  font-weight: 800;
}

.form-heading p {
  margin: 6px 0 0;
  color: #718096;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #17263b;
  font-size: 0.8rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #d9e1eb;
  border-radius: 11px;
  outline: none;
  background: #fbfcfe;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 184, 255, 0.1);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

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

.form-privacy {
  color: #8792a3;
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: center;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  padding: 0;
  color: white;
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 184, 255, 0.11), transparent 30%),
    #020812;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 1fr 1.25fr;
  gap: 48px;
  padding-top: 58px;
  padding-bottom: 45px;
}

.footer-brand {
  width: 105px;
  display: flex;
}

.footer-brand img {
  width: 105px;
  height: 62px;
  object-fit: contain;
}

.footer-brand-block p {
  max-width: 330px;
  margin: 18px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.65;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: white;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.footer-social a:hover {
  color: #031421;
  border-color: var(--green);
  background: var(--green);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-column strong {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-column a,
.footer-column span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.45;
}

.footer-column a:hover {
  color: var(--green-light);
}

.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact i {
  width: 14px;
  margin-top: 2px;
  color: var(--green);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
}

/* =========================================================
   WHATSAPP FLOTANTE
   ========================================================= */

.floating-whatsapp {
  position: fixed;
  z-index: 1100;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 17px;
  border-radius: 999px;
  color: #031421;
  background: var(--green);
  box-shadow: 0 16px 45px rgba(0, 184, 255, 0.35);
  font-size: 0.84rem;
  font-weight: 800;
}

.floating-whatsapp i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #04281d;
  font-size: 1.2rem;
}

/* =========================================================
   ANIMACIONES
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {
  .container {
    width: min(100% - 36px, 1120px);
  }

  .nav-menu > a:not(.nav-whatsapp) {
    padding-inline: 10px;
    font-size: 0.76rem;
  }

  .nav-menu > a:not(.nav-whatsapp) i {
    display: none;
  }

  .nav-whatsapp {
    padding-inline: 15px;
  }

  .hero-copy {
    width: 50%;
  }

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

  .service-grid,
  .project-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .site-header,
  .site-header.scrolled {
    height: var(--header-height);
  }

  .brand {
    width: 124px;
    min-width: 124px;
  }

  .brand img {
    width: 124px;
    height: 60px;
  }

  .menu-button {
    display: grid;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    height: auto;
    display: grid;
    gap: 0;
    padding: 12px 20px 22px;
    background: rgba(2, 8, 18, 0.99);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
    transform: translateY(-140%);
    transition: transform 0.25s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-menu > a:not(.nav-whatsapp) {
    height: 50px;
    padding: 0;
  }

  .nav-menu > a:not(.nav-whatsapp)::after {
    right: 0;
    left: 0;
  }

  .nav-menu > a:not(.nav-whatsapp) i {
    display: inline-block;
  }

  .nav-whatsapp {
    margin: 10px 0 0;
  }

  .hero {
    min-height: auto;
    padding-top: var(--header-height);
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 52px 38px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-video {
    height: 540px;
  }

  .brands-panel {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 15px;
  }

  .brands-panel > span {
    flex-basis: auto;
  }

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

  .brands img {
    height: 56px;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stats-panel,
  .about-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    justify-content: flex-start;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .contact-copy {
    position: static;
  }

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

@media (max-width: 650px) {
  .container {
    width: min(100% - 28px, 1240px);
  }

  .section {
    padding: 78px 0;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .quick-grid,
  .service-grid,
  .project-grid-four,
  .contact-form,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  .form-heading,
  .full {
    grid-column: auto;
  }

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

  .projects-cta .button {
    width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    padding: 6px;
  }
}

@media (max-width: 430px) {
  .brand {
    width: 110px;
    min-width: 110px;
  }

  .brand img {
    width: 110px;
    height: 54px;
  }

  .eyebrow {
    font-size: 0.66rem;
  }

  .hero-copy > p {
    font-size: 0.92rem;
  }
}


/* =========================================================
   LOGOS OFICIALES DE MARCAS
   ========================================================= */

.brands-panel {
  gap: 20px;
}

.brands-panel > span {
  flex: 0 0 205px;
}

.brands {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.brands img {
  width: 100%;
  height: 55px;
  padding: 7px 11px;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.brands img:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

@media (max-width: 1180px) {
  .brands-panel {
    gap: 15px;
  }

  .brands-panel > span {
    flex-basis: 175px;
    font-size: 0.66rem;
  }

  .brands img {
    height: 50px;
    padding-inline: 7px;
  }
}

@media (max-width: 900px) {
  .brands {
    width: 100%;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: 7px;
  }

  .brands img {
    width: 150px;
    min-width: 150px;
    height: 62px;
    padding: 8px 17px;
    border-left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 0;
    scroll-snap-align: start;
  }

  .brands img:first-child {
    border-left: 0;
  }
}

@media (max-width: 650px) {
  .brands-panel {
    padding: 20px 18px;
  }

  .brands img {
    width: 135px;
    min-width: 135px;
    height: 58px;
  }
}


/* =========================================================
   PORTAFOLIO REAL
   ========================================================= */

.portfolio-section {
  background:
    radial-gradient(circle at 85% 10%, rgba(0, 184, 255, 0.07), transparent 30%),
    #f5f7fb;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: -18px 0 36px;
}

.portfolio-filter {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid #dce3ec;
  border-radius: 999px;
  color: #45536a;
  background: white;
  font-size: 0.78rem;
  font-weight: 800;
  transition:
    color 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease;
}

.portfolio-filter:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 184, 255, 0.55);
}

.portfolio-filter.active {
  color: #031421;
  border-color: var(--green);
  background: var(--green);
}

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

.portfolio-card {
  overflow: hidden;
  border: 1px solid #dfe6ee;
  border-radius: 20px;
  background: white;
  box-shadow: 0 20px 50px rgba(10, 27, 47, 0.1);
  transition:
    transform 0.26s ease,
    box-shadow 0.26s ease,
    opacity 0.25s ease;
}

.portfolio-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 65px rgba(10, 27, 47, 0.16);
}

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

.portfolio-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #0b2238;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.35s ease;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.055);
  filter: brightness(0.82);
}

.portfolio-zoom {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: #031421;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  transform: translateY(8px);
  opacity: 0;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.portfolio-card:hover .portfolio-zoom,
.portfolio-image:focus-visible .portfolio-zoom {
  transform: none;
  opacity: 1;
}

.portfolio-content {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  padding: 25px;
}

.portfolio-label {
  width: fit-content;
  margin-bottom: 10px;
  color: #0b91c4;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portfolio-content h3 {
  margin: 0 0 11px;
  color: #0b1a2d;
  font-size: 1.18rem;
  line-height: 1.3;
}

.portfolio-content p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.portfolio-content a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b91c4;
  font-size: 0.82rem;
  font-weight: 800;
}

.portfolio-content a i {
  transition: transform 0.22s ease;
}

.portfolio-content a:hover i {
  transform: translateX(4px);
}

/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  align-items: center;
  padding: 55px 30px 30px;
  color: white;
  background: rgba(0, 5, 12, 0.95);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-figure {
  width: min(1060px, 100%);
  margin: auto;
}

.lightbox-image {
  width: 100%;
  max-height: 76vh;
  border-radius: 15px;
  object-fit: contain;
  background: #071522;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.lightbox-figure figcaption {
  display: grid;
  gap: 5px;
  margin-top: 17px;
  text-align: center;
}

.lightbox-title {
  font-size: 1.05rem;
}

.lightbox-description {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.15rem;
}

.lightbox-nav {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.05rem;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.lightbox-nav:hover,
.lightbox-close:hover {
  color: #031421;
  border-color: var(--green);
  background: var(--green);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 1000px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .portfolio-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 7px;
    scroll-snap-type: x mandatory;
  }

  .portfolio-filter {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .portfolio-content {
    min-height: auto;
  }

  .portfolio-zoom {
    opacity: 1;
    transform: none;
  }

  .lightbox {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    padding-inline: 8px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
  }
}


/* Ajustes finales del Hero con video */
@media (max-width: 600px) {
  .hero-layout {
    gap: 24px;
    padding-block: 38px 28px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.25rem);
  }

  .hero-video {
    height: 500px;
    border-radius: 20px;
  }
}
/* =========================================================
   CÓMO TRABAJAMOS
   ========================================================= */

.work-process {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(0, 184, 255, 0.08),
      transparent 30%
    ),
    #ffffff;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.process-grid::before {
  position: absolute;
  content: "";
  top: 54px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 184, 255, 0.45),
    transparent
  );
}

.process-card {
  position: relative;
  z-index: 2;
  min-height: 325px;
  padding: 30px;
  border: 1px solid #e1e7ef;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(5, 18, 34, 0.09);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.process-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 184, 255, 0.4);
  box-shadow: 0 30px 70px rgba(5, 18, 34, 0.14);
}

.process-number {
  position: absolute;
  top: 25px;
  right: 25px;
  color: rgba(0, 184, 255, 0.16);
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
}

.process-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 16px;
  color: #031421;
  background: var(--green);
  box-shadow: 0 14px 30px rgba(0, 184, 255, 0.22);
  font-size: 1.35rem;
}

.process-card h3 {
  margin: 0 0 13px;
  color: #0b1a2d;
  font-size: 1.08rem;
  line-height: 1.35;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.process-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 35px;
  padding: 27px 30px;
  border: 1px solid #dfe6ee;
  border-radius: 18px;
  background:
    radial-gradient(
      circle at 95% 5%,
      rgba(0, 184, 255, 0.13),
      transparent 35%
    ),
    #071321;
  box-shadow: 0 20px 55px rgba(5, 18, 34, 0.14);
}

.process-cta > div {
  display: grid;
  gap: 6px;
}

.process-cta span {
  color: var(--green-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process-cta strong {
  color: #ffffff;
  font-size: 1.08rem;
}

@media (max-width: 1050px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid::before {
    display: none;
  }
}

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

  .process-card {
    min-height: auto;
    padding: 26px;
  }

  .process-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }

  .process-cta .button {
    width: 100%;
  }
}
/* =========================================================
   PREGUNTAS FRECUENTES
   ========================================================= */

.faq-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(0, 184, 255, 0.1),
      transparent 30%
    ),
    #f5f7fb;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  align-items: start;
}

.faq-copy {
  position: sticky;
  top: 115px;
}

.faq-copy h2 {
  margin: 12px 0 18px;
  color: #0b1a2d;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.07;
  letter-spacing: -0.045em;
}

.faq-copy p {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 15px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #dfe6ee;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(5, 18, 34, 0.07);
  transition:
    border-color 0.23s ease,
    box-shadow 0.23s ease;
}

.faq-item.open {
  border-color: rgba(0, 184, 255, 0.45);
  box-shadow: 0 20px 45px rgba(5, 18, 34, 0.11);
}

.faq-question {
  width: 100%;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 23px;
  border: 0;
  color: #0b1a2d;
  background: transparent;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 800;
}

.faq-question i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 50%;
  color: #031421;
  background: var(--green);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 23px 23px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-copy {
    position: static;
  }
}

@media (max-width: 600px) {
  .faq-question {
    min-height: 70px;
    padding: 18px;
  }

  .faq-answer p {
    padding: 0 18px 20px;
  }
}
/* =========================================================
   SOLUCIONES POR TIPO DE CLIENTE
   ========================================================= */

.client-solutions {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(0, 184, 255, 0.12),
      transparent 28%
    ),
    #071522;
}

.client-solutions .section-heading h2 {
  color: #ffffff;
}

.client-solutions .section-heading p {
  color: rgba(255, 255, 255, 0.67);
}

.client-solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.client-solution-card {
  min-height: 455px;
  display: flex;
  flex-direction: column;
  padding: 29px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 21px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 95% 5%,
      rgba(0, 184, 255, 0.14),
      transparent 35%
    ),
    rgba(12, 31, 47, 0.88);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.client-solution-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 184, 255, 0.48);
  background:
    radial-gradient(
      circle at 95% 5%,
      rgba(0, 184, 255, 0.21),
      transparent 38%
    ),
    rgba(12, 31, 47, 0.98);
}

.client-solution-icon {
  width: 59px;
  height: 59px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 16px;
  color: #031421;
  background: var(--green);
  box-shadow: 0 15px 32px rgba(0, 184, 255, 0.22);
  font-size: 1.4rem;
}

.client-solution-label {
  color: var(--green-light);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.client-solution-card h3 {
  margin: 11px 0 14px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.client-solution-card p {
  margin: 0 0 21px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  line-height: 1.68;
}

.client-solution-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 27px;
  padding: 0;
  list-style: none;
}

.client-solution-card li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.45;
}

.client-solution-card li i {
  margin-right: 8px;
  color: var(--green);
}

.client-solution-card > a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-light);
  font-size: 0.84rem;
  font-weight: 800;
}

.client-solution-card > a i {
  transition: transform 0.22s ease;
}

.client-solution-card > a:hover i {
  transform: translateX(5px);
}

@media (max-width: 1100px) {
  .client-solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-solution-card {
    min-height: 405px;
  }
}

@media (max-width: 650px) {
  .client-solutions-grid {
    grid-template-columns: 1fr;
  }

  .client-solution-card {
    min-height: auto;
  }
}
/* =========================================================
   TESTIMONIOS
   ========================================================= */

.testimonials-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 90% 15%,
      rgba(0, 184, 255, 0.1),
      transparent 28%
    ),
    #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-card {
  min-height: 315px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(5, 18, 34, 0.09);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 184, 255, 0.4);
  box-shadow: 0 30px 70px rgba(5, 18, 34, 0.14);
}

.testimonial-stars {
  display: flex;
  gap: 5px;
  margin-bottom: 24px;
  color: #f4b400;
  font-size: 0.92rem;
}

.testimonial-card blockquote {
  margin: 0 0 28px;
  color: #243248;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.75;
}

.testimonial-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  border-radius: 50%;
  color: #031421;
  background: var(--green);
}

.testimonial-author strong,
.testimonial-author span {
  display: block;
}

.testimonial-author strong {
  color: #0b1a2d;
  font-size: 0.9rem;
}

.testimonial-author span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

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

  .testimonial-card {
    min-height: auto;
  }
} /* =========================================================
   POR QUÉ ELEGIR DOMÓTICA SUR
   ========================================================= */

.why-us-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(0, 184, 255, 0.1),
      transparent 28%
    ),
    #ffffff;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.why-us-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(5, 18, 34, 0.09);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.why-us-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 184, 255, 0.42);
  box-shadow: 0 30px 70px rgba(5, 18, 34, 0.14);
}

.why-us-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 27px;
  border-radius: 16px;
  color: #031421;
  background: var(--green);
  box-shadow: 0 14px 30px rgba(0, 184, 255, 0.22);
  font-size: 1.35rem;
}

.why-us-number {
  position: absolute;
  top: 25px;
  right: 25px;
  color: rgba(0, 184, 255, 0.14);
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
}

.why-us-card h3 {
  margin: 0 0 14px;
  color: #0b1a2d;
  font-size: 1.1rem;
  line-height: 1.35;
}

.why-us-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.72;
}

.why-us-highlight {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 35px;
  padding: 27px 30px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 95% 5%,
      rgba(0, 184, 255, 0.18),
      transparent 35%
    ),
    #071321;
  box-shadow: 0 24px 60px rgba(5, 18, 34, 0.17);
}

.why-us-highlight-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  flex: 0 0 60px;
  border-radius: 17px;
  color: #031421;
  background: var(--green);
  font-size: 1.45rem;
}

.why-us-highlight-copy {
  display: grid;
  gap: 6px;
}

.why-us-highlight-copy span {
  color: var(--green-light);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.why-us-highlight-copy strong {
  font-size: 1.06rem;
  line-height: 1.4;
}

.why-us-highlight-copy p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.82rem;
  line-height: 1.6;
}

@media (max-width: 1050px) {
  .why-us-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 750px) {
  .why-us-highlight {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .why-us-highlight .button {
    width: 100%;
  }
}

@media (max-width: 650px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .why-us-card {
    min-height: auto;
    padding: 26px;
  }

  .why-us-highlight {
    padding: 24px;
  }
}
.contact-form .button[type="submit"] {
  margin-top: 5px;
  min-height: 58px;
  box-shadow: 0 15px 35px rgba(0, 184, 255, 0.22);
}
/* =========================================================
   COBERTURA LOCAL
   ========================================================= */

.local-coverage {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 5% 85%,
      rgba(0, 184, 255, 0.1),
      transparent 30%
    ),
    #f6f8fb;
}

.local-coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.local-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(5, 18, 34, 0.08);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.local-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 184, 255, 0.42);
  box-shadow: 0 28px 65px rgba(5, 18, 34, 0.13);
}

.local-card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 17px;
  color: #031421;
  background: var(--green);
  font-size: 1.3rem;
  box-shadow: 0 14px 30px rgba(0, 184, 255, 0.2);
}

.local-card h3 {
  margin: 0 0 14px;
  color: #0b1a2d;
  font-size: 1.12rem;
  line-height: 1.35;
}

.local-card p {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.72;
}

.local-card a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: auto;
  color: #0b91c4;
  font-size: 0.83rem;
  font-weight: 800;
  text-decoration: none;
}

.local-card a i {
  transition: transform 0.2s ease;
}

.local-card a:hover i {
  transform: translateX(5px);
}

.local-coverage-note {
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 0.83rem;
  text-align: center;
}

@media (max-width: 900px) {
  .local-coverage-grid {
    grid-template-columns: 1fr;
  }

  .local-card {
    min-height: auto;
  }
} /* =========================================================
   REDES SOCIALES DEL FOOTER
   ========================================================= */

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);

  text-decoration: none;
  font-size: 1rem;

  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.footer-social a:hover {
  transform: translateY(-4px);
  color: #031421;
  background: var(--green);
  border-color: var(--green);
}

.footer-social a:focus-visible {
  outline: 3px solid rgba(0, 184, 255, 0.35);
  outline-offset: 3px;
}

/* =========================================================
   NOSOTROS — VIDEO TECNOLÓGICO VOLCÁN VILLARRICA
   Bloque consolidado: reemplaza las versiones anteriores.
   ========================================================= */

.about-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(42px, 6vw, 82px);
}

.about-volcano-card {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(0, 184, 255, 0.38);
  border-radius: 28px;
  background: #081a2b;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.025),
    0 0 36px rgba(0, 184, 255, 0.08);
  transition:
    transform 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.about-volcano-card:hover {
  transform: translateY(-7px);
  border-color: rgba(56, 214, 255, 0.8);
  box-shadow:
    0 42px 95px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 184, 255, 0.11),
    0 0 48px rgba(0, 184, 255, 0.18);
}

.about-volcano-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.72) contrast(1.08) saturate(1.06);
  transform: scale(1.02);
  transition:
    transform 1.1s ease,
    filter 1.1s ease;
}

.about-volcano-card:hover .about-volcano-video {
  transform: scale(1.065);
  filter: brightness(0.88) contrast(1.1) saturate(1.12);
}

.volcano-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(2, 10, 20, 0.17) 0%,
      rgba(2, 10, 20, 0.03) 35%,
      rgba(2, 10, 20, 0.18) 58%,
      rgba(2, 10, 20, 0.93) 100%
    ),
    linear-gradient(
      90deg,
      rgba(2, 10, 20, 0.28),
      transparent 38%,
      transparent 68%,
      rgba(2, 10, 20, 0.18)
    );
  box-shadow: inset 0 -130px 130px rgba(0, 0, 0, 0.34);
}

.volcano-ambient-glow {
  position: absolute;
  top: 21%;
  left: 45%;
  z-index: 2;
  width: 230px;
  height: 230px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(56, 214, 255, 0.19),
    rgba(0, 184, 255, 0.07) 40%,
    transparent 72%
  );
  filter: blur(22px);
  transform: translateX(-50%);
  animation: volcanoAmbientPulse 5s ease-in-out infinite;
}

.volcano-smoke {
  position: absolute;
  top: 48px;
  left: 42%;
  z-index: 3;
  width: 190px;
  height: 190px;
  pointer-events: none;
  transform: translateX(-50%);
}

.volcano-smoke span {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(202, 231, 225, 0.22),
    rgba(91, 174, 157, 0.08) 48%,
    transparent 72%
  );
  filter: blur(24px);
  opacity: 0;
  animation: volcanoSmokeRise 9s ease-in-out infinite;
}

.volcano-smoke span:nth-child(1) {
  left: 38px;
  bottom: 10px;
}

.volcano-smoke span:nth-child(2) {
  left: 64px;
  bottom: 28px;
  animation-delay: 3s;
}

.volcano-smoke span:nth-child(3) {
  left: 20px;
  bottom: 18px;
  animation-delay: 6s;
}

.volcano-particles {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.volcano-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8de7ff;
  box-shadow:
    0 0 7px rgba(120, 224, 255, 0.95),
    0 0 14px rgba(0, 184, 255, 0.52);
  animation: volcanoParticleFloat 5s ease-in-out infinite;
}

.volcano-particles span:nth-child(1) {
  top: 16%;
  left: 12%;
}

.volcano-particles span:nth-child(2) {
  top: 25%;
  left: 78%;
  animation-delay: 0.8s;
}

.volcano-particles span:nth-child(3) {
  top: 12%;
  left: 58%;
  animation-delay: 1.6s;
}

.volcano-particles span:nth-child(4) {
  top: 38%;
  left: 89%;
  animation-delay: 2.4s;
}

.volcano-particles span:nth-child(5) {
  top: 32%;
  left: 23%;
  animation-delay: 3.2s;
}

.volcano-particles span:nth-child(6) {
  top: 19%;
  left: 43%;
  animation-delay: 4s;
}

.volcano-hud {
  position: absolute;
  z-index: 7;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.volcano-hud-top {
  top: 22px;
  left: 22px;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(0, 184, 255, 0.32);
  border-radius: 999px;
  background: rgba(3, 17, 30, 0.52);
}

.hud-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38d6ff;
  box-shadow:
    0 0 0 5px rgba(56, 214, 255, 0.09),
    0 0 12px rgba(56, 214, 255, 0.8);
  animation: hudStatusPulse 2.2s ease-in-out infinite;
}

.volcano-hud-bottom {
  left: 22px;
  bottom: 22px;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(3, 15, 28, 0.65);
}

.volcano-hud-bottom span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.volcano-hud-bottom i {
  color: #00b8ff;
  font-size: 0.7rem;
}

.volcano-corner {
  position: absolute;
  z-index: 6;
  width: 34px;
  height: 34px;
  pointer-events: none;
  opacity: 0.62;
  transition:
    width 0.35s ease,
    height 0.35s ease,
    opacity 0.35s ease;
}

.volcano-corner-top-left {
  top: 15px;
  left: 15px;
  border-top: 2px solid rgba(0, 184, 255, 0.72);
  border-left: 2px solid rgba(0, 184, 255, 0.72);
  border-top-left-radius: 9px;
}

.volcano-corner-top-right {
  top: 15px;
  right: 15px;
  border-top: 2px solid rgba(0, 184, 255, 0.72);
  border-right: 2px solid rgba(0, 184, 255, 0.72);
  border-top-right-radius: 9px;
}

.volcano-corner-bottom-left {
  bottom: 15px;
  left: 15px;
  border-bottom: 2px solid rgba(0, 184, 255, 0.72);
  border-left: 2px solid rgba(0, 184, 255, 0.72);
  border-bottom-left-radius: 9px;
}

.volcano-corner-bottom-right {
  right: 15px;
  bottom: 15px;
  border-right: 2px solid rgba(0, 184, 255, 0.72);
  border-bottom: 2px solid rgba(0, 184, 255, 0.72);
  border-bottom-right-radius: 9px;
}

.about-volcano-card:hover .volcano-corner {
  width: 47px;
  height: 47px;
  opacity: 1;
}

.volcano-location {
  position: absolute;
  right: 22px;
  bottom: 72px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 270px;
  padding: 13px 15px;
  border: 1px solid rgba(0, 184, 255, 0.52);
  border-radius: 17px;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      rgba(5, 24, 39, 0.94),
      rgba(3, 15, 28, 0.84)
    );
  backdrop-filter: blur(17px);
  -webkit-backdrop-filter: blur(17px);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.42),
    0 0 26px rgba(0, 184, 255, 0.1);
  text-decoration: none;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.volcano-location:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 214, 255, 0.94);
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.5),
    0 0 36px rgba(0, 184, 255, 0.2);
}

.volcano-location-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #03141c;
  background: #00b8ff;
  font-size: 1.05rem;
  box-shadow: 0 8px 22px rgba(0, 184, 255, 0.25);
}

.volcano-location-text {
  flex: 1;
  display: grid;
  gap: 3px;
}

.volcano-location-text strong {
  color: #ffffff;
  font-size: 0.94rem;
  line-height: 1.2;
}

.volcano-location-text small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  line-height: 1.25;
}

.volcano-location-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 9px;
  color: #00b8ff;
  background: rgba(0, 184, 255, 0.09);
  font-size: 0.72rem;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.volcano-location:hover .volcano-location-arrow {
  transform: translateX(3px);
  background: rgba(0, 184, 255, 0.17);
}

@keyframes volcanoAmbientPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: translateX(-50%) scale(0.9);
  }

  50% {
    opacity: 0.88;
    transform: translateX(-50%) scale(1.1);
  }
}

@keyframes volcanoSmokeRise {
  0% {
    opacity: 0;
    transform: translateY(35px) scale(0.65);
  }

  35% {
    opacity: 0.26;
  }

  75% {
    opacity: 0.12;
  }

  100% {
    opacity: 0;
    transform: translateY(-80px) translateX(22px) scale(1.45);
  }
}

@keyframes volcanoParticleFloat {
  0%,
  100% {
    opacity: 0.18;
    transform: translateY(0) scale(0.7);
  }

  50% {
    opacity: 0.95;
    transform: translateY(-12px) scale(1.3);
  }
}

@keyframes hudStatusPulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.85);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-volcano-card {
    height: 470px;
  }

  .volcano-location {
    bottom: 76px;
  }
}

@media (max-width: 600px) {
  .about-volcano-card {
    height: 420px;
    border-radius: 22px;
  }

  .volcano-hud-top {
    top: 15px;
    left: 15px;
  }

  .volcano-location {
    right: 14px;
    bottom: 68px;
    left: 14px;
    min-width: 0;
    padding: 11px 12px;
  }

  .volcano-location-icon {
    width: 40px;
    height: 40px;
  }

  .volcano-location-text strong {
    font-size: 0.88rem;
  }

  .volcano-location-text small {
    font-size: 0.68rem;
  }

  .volcano-location-arrow {
    width: 28px;
    height: 28px;
  }

  .volcano-hud-bottom {
    right: 14px;
    bottom: 14px;
    left: 14px;
    justify-content: space-between;
  }

  .volcano-hud-bottom span {
    padding: 6px;
    font-size: 0.55rem;
  }

  .volcano-smoke {
    left: 46%;
    transform: translateX(-50%) scale(0.8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-volcano-card,
  .about-volcano-video,
  .volcano-location,
  .volcano-location-arrow,
  .volcano-corner {
    transition: none;
  }

  .volcano-ambient-glow,
  .volcano-smoke span,
  .volcano-particles span,
  .hud-status-dot {
    animation: none;
  }
}

/* =========================================================
   IDENTIDAD VISUAL — VIVO EN EL FUTURO
   ========================================================= */
.site-header {
  background: linear-gradient(180deg, rgba(2, 8, 18, 0.99), rgba(5, 18, 32, 0.97));
}

.brand img,
.footer-brand img {
  filter:
    drop-shadow(0 0 9px rgba(0, 184, 255, 0.28))
    drop-shadow(0 0 22px rgba(56, 214, 255, 0.10));
}

.hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 184, 255, 0.18), transparent 31%),
    radial-gradient(circle at 15% 75%, rgba(56, 214, 255, 0.08), transparent 28%),
    linear-gradient(135deg, #020812 0%, #081a2b 58%, #03101d 100%);
}

.hero-video {
  border-color: rgba(0, 184, 255, 0.25);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.44),
    0 0 38px rgba(0, 184, 255, 0.09);
}

.hero-video::after {
  background:
    linear-gradient(180deg, rgba(2, 8, 18, 0.04), rgba(0, 184, 255, 0.10)),
    linear-gradient(90deg, rgba(2, 8, 18, 0.18), transparent 55%);
}

.button-primary {
  color: #031421;
  background: linear-gradient(135deg, #00b8ff, #38d6ff);
  box-shadow: 0 12px 30px rgba(0, 184, 255, 0.18);
}

.button-primary:hover {
  background: linear-gradient(135deg, #38d6ff, #74e6ff);
}

.nav-menu > a:hover,
.nav-menu > a.active {
  color: #38d6ff;
}

.nav-menu > a:not(.nav-whatsapp)::after {
  background: linear-gradient(90deg, #00b8ff, #38d6ff);
}

.icon-wrap,
.process-icon,
.client-solution-icon,
.why-us-icon,
.local-card-icon,
.contact-icon,
.about-icon,
.project-icon,
.volcano-location-icon {
  color: #031421;
  background: linear-gradient(135deg, #00b8ff, #38d6ff);
}

.footer {
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 184, 255, 0.13), transparent 30%),
    #020812;
}

/* WhatsApp conserva su color oficial */
.nav-whatsapp,
.floating-whatsapp {
  color: #03130d;
  background: #25d366;
}

.nav-whatsapp:hover {
  background: #38e879;
}

.floating-whatsapp {
  box-shadow: 0 16px 45px rgba(37, 211, 102, 0.34);
}

.floating-whatsapp i {
  color: #25d366;
  background: #06391f;
}

/* =========================================================
   AJUSTE FINAL DE MARCA — VIVO EN EL FUTURO
   Logo sin caja, header premium y hero más limpio
   ========================================================= */

/* Header con profundidad sutil */
.site-header {
  background:
    radial-gradient(circle at 12% 50%, rgba(0, 184, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #020812 0%, #061525 100%);
  border-bottom: 1px solid rgba(0, 184, 255, 0.13);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

/* Logo limpio, sin aspecto de botón */
.brand {
  width: 220px;
  min-width: 220px;
  height: 74px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  filter:
    brightness(1.22)
    contrast(1.12)
    saturate(1.18)
    drop-shadow(0 0 8px rgba(0, 184, 255, 0.32));
}

/* Más aire en navegación */
.navbar {
  min-height: 88px;
}

.nav-menu {
  gap: 24px;
}

/* Hero con fondo de marca más refinado */
.hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 184, 255, 0.16), transparent 30%),
    radial-gradient(circle at 12% 75%, rgba(56, 214, 255, 0.07), transparent 27%),
    linear-gradient(135deg, #020812 0%, #071827 52%, #0a243a 100%);
}

/* Solo "proteger" queda como acento principal */
.hero h1 em {
  color: inherit;
}

.hero h1 span:first-of-type em {
  color: #00b8ff;
}

/* La última línea vuelve a blanco para no sobrecargar */
.hero h1 span:last-of-type em {
  color: #f4fbff;
}

/* Video con halo tecnológico */
.hero-video {
  position: relative;
  border: 1px solid rgba(0, 184, 255, 0.26);
  box-shadow:
    0 34px 82px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(56, 214, 255, 0.035),
    0 0 48px rgba(0, 184, 255, 0.12);
}

.hero-video::before {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(
    circle at center,
    rgba(0, 184, 255, 0.16),
    transparent 68%
  );
  filter: blur(22px);
}

/* Menú más elegante */
.nav-menu > a {
  transition:
    color 0.22s ease,
    transform 0.22s ease;
}

.nav-menu > a:not(.nav-whatsapp):hover {
  transform: translateY(-1px);
}

/* Botón principal */
.button-primary {
  background: linear-gradient(135deg, #00b8ff, #38d6ff);
  box-shadow:
    0 14px 34px rgba(0, 184, 255, 0.21),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.button-primary:hover {
  background: linear-gradient(135deg, #38d6ff, #78e8ff);
}

/* Responsive */
@media (max-width: 1050px) {
  .brand {
    width: 185px;
    min-width: 185px;
    height: 66px;
  }

  .nav-menu {
    gap: 16px;
  }
}

@media (max-width: 850px) {
  .brand {
    width: 168px;
    min-width: 168px;
    height: 62px;
  }

  .navbar {
    min-height: 76px;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 145px;
    min-width: 145px;
    height: 56px;
  }
}

/* =========================================================
   CORRECCIÓN SELECTS — FORMULARIO DE CONTACTO
   Evita opciones blancas/invisibles en Ciudad, propiedad y servicio
   ========================================================= */

.contact-form select {
  color: #071321 !important;
  background-color: #ffffff !important;
  border-color: rgba(7, 19, 33, 0.18) !important;
  -webkit-text-fill-color: #071321;
  color-scheme: light;
}

.contact-form select option {
  color: #071321 !important;
  background: #ffffff !important;
}

.contact-form select option:checked,
.contact-form select option:hover,
.contact-form select option:focus {
  color: #071321 !important;
  background: #dff5ff !important;
}

.contact-form select:invalid {
  color: #7b8794 !important;
  -webkit-text-fill-color: #7b8794;
}

.contact-form select:focus {
  color: #071321 !important;
  background-color: #ffffff !important;
  border-color: #00b8ff !important;
  box-shadow: 0 0 0 4px rgba(0, 184, 255, 0.12) !important;
  outline: none;
}

/* Compatibilidad con listas nativas en Windows/Edge/Chrome */
.contact-form select::-ms-expand {
  color: #071321;
}

/* Si el navegador aplica modo oscuro a los controles */
@media (prefers-color-scheme: dark) {
  .contact-form select,
  .contact-form select option {
    color: #071321 !important;
    background-color: #ffffff !important;
  }
}

/* =========================================================
   SERVICIO DESTACADO — BOTÓN DE EMERGENCIA CON VOZ
   ========================================================= */

.service-card-emergency {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  border-color: rgba(0, 184, 255, 0.48);
  background:
    radial-gradient(circle at 86% 24%, rgba(56, 214, 255, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(10, 39, 64, 0.99), rgba(5, 20, 36, 0.99));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.32),
    0 0 38px rgba(0, 184, 255, 0.09);
}

.service-card-emergency::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #38d6ff, #00b8ff);
  box-shadow: 0 0 20px rgba(0, 184, 255, 0.5);
}

.service-card-emergency:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 214, 255, 0.78);
  background:
    radial-gradient(circle at 86% 24%, rgba(56, 214, 255, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(13, 49, 78, 0.99), rgba(7, 26, 45, 0.99));
}

.emergency-service-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.emergency-icon {
  width: 68px;
  height: 68px;
  font-size: 1.5rem;
  box-shadow:
    0 14px 32px rgba(0, 184, 255, 0.24),
    0 0 26px rgba(56, 214, 255, 0.14);
}

.emergency-service-copy h3 {
  max-width: 760px;
  margin: 10px 0 12px;
  color: #f4fbff;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.08;
}

.emergency-service-copy > p {
  max-width: 850px;
  margin: 0;
  color: #b8ccda;
  line-height: 1.7;
}

.emergency-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(56, 214, 255, 0.38);
  border-radius: 999px;
  color: #76e5ff;
  background: rgba(0, 184, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.emergency-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 22px;
  margin-top: 22px;
}

.emergency-features span {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #d9e8f1;
  font-size: 0.88rem;
  line-height: 1.45;
}

.emergency-features i {
  margin-top: 3px;
  color: #38d6ff;
}

.emergency-service-action {
  display: grid;
  justify-items: start;
  gap: 16px;
  width: min(300px, 100%);
  padding: 22px;
  border: 1px solid rgba(56, 214, 255, 0.18);
  border-radius: 20px;
  background: rgba(2, 12, 22, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.emergency-service-action > span {
  color: #9db4c4;
  font-size: 0.8rem;
  line-height: 1.55;
}

.emergency-service-action a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #031421;
  padding: 13px 17px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00b8ff, #38d6ff);
  box-shadow: 0 12px 28px rgba(0, 184, 255, 0.19);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.emergency-service-action a:hover {
  color: #031421;
  background: linear-gradient(135deg, #38d6ff, #78e8ff);
}

.emergency-service-action a i {
  transition: transform 0.22s ease;
}

.emergency-service-action a:hover i {
  transform: translateX(4px);
}

@media (max-width: 920px) {
  .service-card-emergency {
    grid-template-columns: 1fr;
  }

  .emergency-service-action {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .emergency-service-main {
    grid-template-columns: 1fr;
  }

  .emergency-features {
    grid-template-columns: 1fr;
  }

  .emergency-icon {
    width: 58px;
    height: 58px;
  }

  .emergency-service-action a {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   HERO — ENLACE A VEEF GUARDIAN
   ========================================================= */

.hero-guardian-link {
  width: min(540px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 16px;
  margin-top: 24px;
  padding: 15px 17px;
  border: 1px solid rgba(56, 214, 255, 0.23);
  border-radius: 15px;
  background: rgba(0, 184, 255, 0.055);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

.hero-guardian-link:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 214, 255, 0.52);
  background: rgba(0, 184, 255, 0.1);
}

.hero-guardian-label {
  color: #38d6ff;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-guardian-link strong {
  color: #f4fbff;
  font-size: 0.87rem;
  line-height: 1.4;
}

.hero-guardian-link > i {
  grid-column: 2;
  grid-row: 1 / 3;
  color: #38d6ff;
  animation: guardianArrow 1.8s ease-in-out infinite;
}

.nav-guardian {
  color: #38d6ff !important;
}

/* =========================================================
   VEEF GUARDIAN — SECCIÓN PRINCIPAL
   ========================================================= */

.guardian-section {
  position: relative;
  overflow: hidden;
  padding: clamp(95px, 10vw, 145px) 0;
  color: #f4fbff;
  background:
    radial-gradient(circle at 76% 14%, rgba(0, 184, 255, 0.18), transparent 25%),
    radial-gradient(circle at 14% 86%, rgba(56, 214, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #020812 0%, #061522 48%, #071a2b 100%);
}

.guardian-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.65;
}

.guardian-background span {
  position: absolute;
  border: 1px solid rgba(56, 214, 255, 0.08);
  border-radius: 50%;
}

.guardian-background span:nth-child(1) {
  top: -260px;
  right: -170px;
  width: 620px;
  height: 620px;
}

.guardian-background span:nth-child(2) {
  top: -145px;
  right: -55px;
  width: 390px;
  height: 390px;
}

.guardian-background span:nth-child(3) {
  bottom: -300px;
  left: -230px;
  width: 590px;
  height: 590px;
}

.guardian-container {
  position: relative;
  z-index: 2;
}

.guardian-heading {
  max-width: 920px;
  margin: 0 auto 65px;
  text-align: center;
}

.guardian-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 9px 14px;
  border: 1px solid rgba(56, 214, 255, 0.3);
  border-radius: 999px;
  color: #9cecff;
  background: rgba(0, 184, 255, 0.065);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.guardian-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38d6ff;
  box-shadow:
    0 0 0 6px rgba(56, 214, 255, 0.08),
    0 0 16px rgba(56, 214, 255, 0.7);
  animation: guardianStatus 2.1s ease-in-out infinite;
}

.guardian-product-name {
  display: block;
  margin-bottom: 12px;
  color: #00b8ff;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.guardian-heading h2 {
  margin: 0;
  color: #f4fbff;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.guardian-heading h2 span {
  display: block;
  color: #38d6ff;
}

.guardian-heading > p {
  max-width: 790px;
  margin: 27px auto 0;
  color: #aac2d1;
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  line-height: 1.75;
}

.guardian-heading-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 31px;
}

.guardian-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  margin-bottom: 35px;
}

.guardian-device-panel,
.guardian-voice-panel {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(56, 214, 255, 0.21);
  border-radius: 28px;
  background:
    radial-gradient(circle at 75% 18%, rgba(0, 184, 255, 0.13), transparent 30%),
    linear-gradient(145deg, rgba(13, 42, 67, 0.97), rgba(4, 17, 31, 0.99));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.guardian-device-panel {
  display: grid;
  place-items: center;
  padding: 34px;
}

.guardian-device-top {
  position: absolute;
  top: 25px;
  right: 28px;
  left: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #8faabb;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guardian-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8be9ff;
}

.guardian-status i {
  color: #38d6ff;
  font-size: 0.5rem;
  filter: drop-shadow(0 0 6px rgba(56, 214, 255, 0.8));
}

.guardian-button-visual {
  position: relative;
  width: 250px;
  height: 250px;
  display: grid;
  place-items: center;
}

.guardian-button-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(56, 214, 255, 0.23);
  border-radius: 50%;
  animation: guardianRing 3.2s ease-out infinite;
}

.guardian-ring-two {
  animation-delay: 1.6s;
}

.guardian-button-core {
  position: relative;
  z-index: 2;
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 8px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #031421;
  background:
    radial-gradient(circle at 35% 28%, #9cecff, #38d6ff 35%, #00a9eb 70%);
  box-shadow:
    0 25px 55px rgba(0, 0, 0, 0.38),
    0 0 48px rgba(0, 184, 255, 0.25),
    inset 0 4px 10px rgba(255, 255, 255, 0.42);
  animation: guardianButtonPulse 3s ease-in-out infinite;
}

.guardian-button-core i {
  font-size: 1.55rem;
}

.guardian-button-core strong {
  font-size: 2.25rem;
  line-height: 1;
}

.guardian-button-core small {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guardian-location-chip {
  position: absolute;
  right: 24px;
  bottom: 23px;
  left: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(56, 214, 255, 0.16);
  border-radius: 13px;
  color: #b8d3e2;
  background: rgba(2, 12, 22, 0.54);
  font-size: 0.79rem;
  font-weight: 700;
}

.guardian-location-chip i {
  color: #38d6ff;
}

.guardian-voice-panel {
  display: grid;
  place-items: center;
  align-content: center;
  padding: 50px;
  text-align: center;
}

.guardian-speaker {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 22px;
  color: #031421;
  background: linear-gradient(135deg, #00b8ff, #7ae8ff);
  box-shadow: 0 18px 42px rgba(0, 184, 255, 0.22);
  font-size: 1.75rem;
}

.guardian-voice-panel > span {
  color: #38d6ff;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guardian-voice-panel blockquote {
  max-width: 650px;
  margin: 18px 0 20px;
  color: #f4fbff;
  font-size: clamp(1.75rem, 3.3vw, 3.2rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.guardian-wave {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 23px;
}

.guardian-wave span {
  width: 4px;
  height: 12px;
  border-radius: 999px;
  background: #38d6ff;
  box-shadow: 0 0 8px rgba(56, 214, 255, 0.45);
  animation: guardianWave 1.2s ease-in-out infinite;
}

.guardian-wave span:nth-child(2),
.guardian-wave span:nth-child(6) {
  animation-delay: 0.15s;
}

.guardian-wave span:nth-child(3),
.guardian-wave span:nth-child(5) {
  animation-delay: 0.3s;
}

.guardian-wave span:nth-child(4) {
  animation-delay: 0.45s;
}

.guardian-voice-panel small {
  max-width: 540px;
  color: #8fa9ba;
  font-size: 0.77rem;
  line-height: 1.6;
}

.guardian-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.guardian-flow::before {
  content: "";
  position: absolute;
  top: 57px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 214, 255, 0.4), transparent);
}

.guardian-step {
  position: relative;
  z-index: 2;
  min-height: 305px;
  padding: 27px;
  border: 1px solid rgba(56, 214, 255, 0.16);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(12, 36, 58, 0.96), rgba(5, 19, 34, 0.98));
  box-shadow: 0 19px 45px rgba(0, 0, 0, 0.21);
}

.guardian-step-number {
  position: absolute;
  top: 23px;
  right: 23px;
  color: rgba(56, 214, 255, 0.13);
  font-size: 2.5rem;
  font-weight: 800;
}

.guardian-step-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 16px;
  color: #031421;
  background: linear-gradient(135deg, #00b8ff, #38d6ff);
  font-size: 1.3rem;
  box-shadow: 0 13px 28px rgba(0, 184, 255, 0.18);
}

.guardian-step h3 {
  margin: 0 0 12px;
  color: #f4fbff;
  font-size: 1.08rem;
}

.guardian-step p {
  margin: 0;
  color: #9eb5c4;
  font-size: 0.85rem;
  line-height: 1.68;
}

.guardian-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 20px;
  margin-top: 35px;
}

.guardian-comparison-column {
  padding: clamp(28px, 4vw, 42px);
  border-radius: 24px;
}

.guardian-comparison-column > span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.guardian-comparison-column h3 {
  margin: 12px 0 24px;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.22;
}

.guardian-comparison-column ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guardian-comparison-column li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.guardian-traditional {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.guardian-traditional > span,
.guardian-traditional li i {
  color: #8397a6;
}

.guardian-traditional h3,
.guardian-traditional li {
  color: #b1c1cb;
}

.guardian-smart {
  border: 1px solid rgba(56, 214, 255, 0.3);
  background:
    radial-gradient(circle at 90% 10%, rgba(56, 214, 255, 0.13), transparent 28%),
    rgba(0, 184, 255, 0.065);
  box-shadow: 0 22px 60px rgba(0, 184, 255, 0.08);
}

.guardian-smart > span,
.guardian-smart li i {
  color: #38d6ff;
}

.guardian-smart h3,
.guardian-smart li {
  color: #eaf8ff;
}

.guardian-versus {
  align-self: center;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(56, 214, 255, 0.24);
  border-radius: 50%;
  color: #38d6ff;
  background: #071726;
  font-size: 0.72rem;
  font-weight: 800;
}

.guardian-audiences {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-top: 34px;
  padding: 26px;
  border: 1px solid rgba(56, 214, 255, 0.12);
  border-radius: 20px;
  background: rgba(2, 12, 22, 0.4);
}

.guardian-audiences > span {
  color: #8ea8b9;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.guardian-audiences > div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.guardian-audiences strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid rgba(56, 214, 255, 0.14);
  border-radius: 999px;
  color: #d7e9f2;
  background: rgba(0, 184, 255, 0.045);
  font-size: 0.79rem;
}

.guardian-audiences i {
  color: #38d6ff;
}

@keyframes guardianStatus {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.82);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes guardianRing {
  0% {
    opacity: 0.65;
    transform: scale(0.55);
  }

  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@keyframes guardianButtonPulse {
  0%,
  100% {
    transform: scale(0.98);
  }

  50% {
    transform: scale(1.025);
  }
}

@keyframes guardianWave {
  0%,
  100% {
    height: 9px;
    opacity: 0.45;
  }

  50% {
    height: 34px;
    opacity: 1;
  }
}

@keyframes guardianArrow {
  0%,
  100% {
    transform: translateY(-2px);
  }

  50% {
    transform: translateY(4px);
  }
}

@media (max-width: 1050px) {
  .guardian-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guardian-flow::before {
    display: none;
  }
}

@media (max-width: 850px) {
  .guardian-showcase,
  .guardian-comparison {
    grid-template-columns: 1fr;
  }

  .guardian-versus {
    justify-self: center;
  }

  .guardian-device-panel,
  .guardian-voice-panel {
    min-height: 430px;
  }
}

@media (max-width: 620px) {
  .guardian-section {
    padding-block: 85px;
  }

  .guardian-heading h2 {
    font-size: clamp(3rem, 16vw, 4.55rem);
  }

  .guardian-heading-actions {
    display: grid;
  }

  .guardian-showcase {
    gap: 16px;
  }

  .guardian-device-panel,
  .guardian-voice-panel {
    min-height: 390px;
    padding: 25px 18px;
    border-radius: 21px;
  }

  .guardian-device-top {
    right: 18px;
    left: 18px;
    font-size: 0.59rem;
  }

  .guardian-button-visual {
    width: 215px;
    height: 215px;
  }

  .guardian-button-core {
    width: 137px;
    height: 137px;
  }

  .guardian-flow {
    grid-template-columns: 1fr;
  }

  .guardian-step {
    min-height: auto;
  }

  .guardian-comparison-column {
    padding: 26px 22px;
  }

  .guardian-audiences {
    justify-items: start;
  }

  .guardian-audiences > div {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guardian-live-dot,
  .guardian-button-ring,
  .guardian-button-core,
  .guardian-wave span,
  .hero-guardian-link > i {
    animation: none;
  }
}

/* =========================================================
   CORRECCIÓN DE ANCLA Y ESPACIADO — VEEF GUARDIAN
   Evita que el header y la franja de marcas oculten el título
   ========================================================= */

/* Compensa correctamente el encabezado fijo al navegar por anclas */
section[id] {
  scroll-margin-top: calc(var(--header-height, 88px) + 28px);
}

/* Guardian necesita un poco más de separación visual desde el Hero */
.guardian-section {
  padding-top: clamp(135px, 12vw, 175px);
}

/* Asegura que la franja de marcas quede dentro del Hero y no compita */
.hero .brands-panel {
  margin-bottom: 0;
  z-index: 3;
}

/* La nueva sección siempre queda por encima visualmente de elementos previos */
.guardian-section {
  z-index: 1;
}

.guardian-heading {
  position: relative;
  z-index: 2;
}

/* Al llegar desde el menú, deja el título completamente visible */
#guardian {
  scroll-margin-top: calc(var(--header-height, 88px) + 42px);
}

#guardian-funcionamiento {
  scroll-margin-top: calc(var(--header-height, 88px) + 30px);
}

@media (max-width: 850px) {
  section[id] {
    scroll-margin-top: 100px;
  }

  #guardian {
    scroll-margin-top: 112px;
  }

  .guardian-section {
    padding-top: 125px;
  }
}

@media (max-width: 520px) {
  section[id] {
    scroll-margin-top: 88px;
  }

  #guardian {
    scroll-margin-top: 96px;
  }

  .guardian-section {
    padding-top: 105px;
  }
}

/* =========================================================
   ACENTOS DE EMERGENCIA — VEEF GUARDIAN
   Naranjo para llamadas de atención y rojo solo para SOS
   ========================================================= */

:root {
  --guardian-orange: #ff8a00;
  --guardian-orange-strong: #ff5a00;
  --guardian-orange-light: #ffb347;

  --guardian-red: #ef2d2d;
  --guardian-red-dark: #bf1717;
  --guardian-red-light: #ff6262;
}

/* Botón principal del Hero: Conocer VEEF Guardian */

.hero-actions .button-primary[href="#guardian"] {
  color: #241000;
  border-color: rgba(255, 138, 0, 0.72);
  background:
    linear-gradient(
      135deg,
      var(--guardian-orange),
      var(--guardian-orange-strong)
    );
  box-shadow:
    0 15px 36px rgba(255, 90, 0, 0.27),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.hero-actions .button-primary[href="#guardian"]:hover {
  color: #1c0b00;
  border-color: rgba(255, 179, 71, 0.92);
  background:
    linear-gradient(
      135deg,
      var(--guardian-orange-light),
      var(--guardian-orange)
    );
  box-shadow:
    0 19px 44px rgba(255, 90, 0, 0.38),
    0 0 26px rgba(255, 138, 0, 0.18);
}

/* Tarjeta inferior del Hero */

.hero-guardian-link {
  border-color: rgba(255, 138, 0, 0.28);
  background:
    linear-gradient(
      135deg,
      rgba(255, 138, 0, 0.09),
      rgba(255, 90, 0, 0.035)
    );
}

.hero-guardian-link:hover {
  border-color: rgba(255, 138, 0, 0.62);
  background:
    linear-gradient(
      135deg,
      rgba(255, 138, 0, 0.16),
      rgba(255, 90, 0, 0.075)
    );
  box-shadow:
    0 15px 38px rgba(255, 90, 0, 0.1);
}

.hero-guardian-label,
.hero-guardian-link > i {
  color: var(--guardian-orange-light);
}

/* Guardian en el menú */

.nav-guardian {
  color: var(--guardian-orange-light) !important;
}

.nav-guardian::after {
  background:
    linear-gradient(
      90deg,
      var(--guardian-orange),
      var(--guardian-orange-light)
    ) !important;
}

/* Identidad de producto */

.guardian-kicker {
  color: #ffd09a;
  border-color: rgba(255, 138, 0, 0.34);
  background: rgba(255, 138, 0, 0.075);
}

.guardian-live-dot {
  background: var(--guardian-orange);
  box-shadow:
    0 0 0 6px rgba(255, 138, 0, 0.1),
    0 0 17px rgba(255, 90, 0, 0.78);
}

.guardian-product-name {
  color: var(--guardian-orange);
}

/* Solo “con un botón” queda naranjo */

.guardian-heading h2 span {
  color: var(--guardian-orange);
  text-shadow: 0 0 34px rgba(255, 90, 0, 0.13);
}

/* Botón Solicitar demostración */

.guardian-heading-actions .button-primary {
  color: #241000;
  border-color: rgba(255, 138, 0, 0.68);
  background:
    linear-gradient(
      135deg,
      var(--guardian-orange),
      var(--guardian-orange-strong)
    );
  box-shadow:
    0 15px 36px rgba(255, 90, 0, 0.25);
}

.guardian-heading-actions .button-primary:hover {
  color: #1c0b00;
  background:
    linear-gradient(
      135deg,
      var(--guardian-orange-light),
      var(--guardian-orange)
    );
  box-shadow:
    0 20px 45px rgba(255, 90, 0, 0.36);
}

/* Botón SOS industrial: rojo reservado para emergencia */

.guardian-button-core {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(
      circle at 34% 26%,
      var(--guardian-red-light),
      var(--guardian-red) 42%,
      var(--guardian-red-dark) 78%
    );
  box-shadow:
    0 26px 58px rgba(0, 0, 0, 0.42),
    0 0 50px rgba(239, 45, 45, 0.38),
    inset 0 4px 10px rgba(255, 255, 255, 0.32),
    inset 0 -8px 18px rgba(84, 0, 0, 0.28);
}

.guardian-button-core i,
.guardian-button-core strong,
.guardian-button-core small {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(75, 0, 0, 0.42);
}

.guardian-button-ring {
  border-color: rgba(239, 45, 45, 0.42);
  box-shadow: 0 0 20px rgba(239, 45, 45, 0.12);
}

/* Estado del panel de emergencia */

.guardian-device-panel {
  border-color: rgba(255, 138, 0, 0.22);
  background:
    radial-gradient(
      circle at 50% 52%,
      rgba(239, 45, 45, 0.1),
      transparent 27%
    ),
    radial-gradient(
      circle at 78% 18%,
      rgba(255, 138, 0, 0.1),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      rgba(13, 42, 67, 0.97),
      rgba(4, 17, 31, 0.99)
    );
}

/* Mantener "sistema disponible" azul/cian para indicar normalidad */

.guardian-status,
.guardian-status i {
  color: #38d6ff;
}

/* Pasos: primer paso en naranjo para iniciar el flujo */

.guardian-step:first-child {
  border-color: rgba(255, 138, 0, 0.34);
  background:
    radial-gradient(
      circle at 82% 14%,
      rgba(255, 138, 0, 0.1),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      rgba(34, 35, 44, 0.97),
      rgba(12, 22, 33, 0.99)
    );
}

.guardian-step:first-child .guardian-step-icon {
  color: #241000;
  background:
    linear-gradient(
      135deg,
      var(--guardian-orange),
      var(--guardian-orange-light)
    );
  box-shadow:
    0 14px 30px rgba(255, 90, 0, 0.21);
}

/* Comparación: Guardian conserva azul con pequeños acentos naranjos */

.guardian-smart > span {
  color: var(--guardian-orange-light);
}

.guardian-smart li i {
  color: #38d6ff;
}

/* Tarjeta del servicio dentro de Servicios */

.service-card-emergency {
  border-color: rgba(255, 138, 0, 0.42);
  background:
    radial-gradient(
      circle at 86% 24%,
      rgba(255, 138, 0, 0.14),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      rgba(10, 39, 64, 0.99),
      rgba(5, 20, 36, 0.99)
    );
}

.service-card-emergency::before {
  background:
    linear-gradient(
      180deg,
      var(--guardian-orange-light),
      var(--guardian-orange-strong)
    );
  box-shadow: 0 0 22px rgba(255, 90, 0, 0.46);
}

.emergency-badge {
  color: #ffd09a;
  border-color: rgba(255, 138, 0, 0.38);
  background: rgba(255, 138, 0, 0.09);
}

.emergency-service-action a {
  color: #241000;
  background:
    linear-gradient(
      135deg,
      var(--guardian-orange),
      var(--guardian-orange-strong)
    );
  box-shadow:
    0 13px 30px rgba(255, 90, 0, 0.22);
}

.emergency-service-action a:hover {
  color: #1c0b00;
  background:
    linear-gradient(
      135deg,
      var(--guardian-orange-light),
      var(--guardian-orange)
    );
}

/* Accesibilidad de foco */

.hero-actions .button-primary[href="#guardian"]:focus-visible,
.guardian-heading-actions .button-primary:focus-visible,
.emergency-service-action a:focus-visible {
  outline: 3px solid rgba(255, 179, 71, 0.9);
  outline-offset: 4px;
}

/* Movimiento más expresivo, pero sutil */

@keyframes guardianEmergencyPulse {
  0%,
  100% {
    box-shadow:
      0 26px 58px rgba(0, 0, 0, 0.42),
      0 0 42px rgba(239, 45, 45, 0.26),
      inset 0 4px 10px rgba(255, 255, 255, 0.32);
  }

  50% {
    box-shadow:
      0 26px 58px rgba(0, 0, 0, 0.42),
      0 0 64px rgba(239, 45, 45, 0.5),
      inset 0 4px 10px rgba(255, 255, 255, 0.36);
  }
}

.guardian-button-core {
  animation:
    guardianButtonPulse 3s ease-in-out infinite,
    guardianEmergencyPulse 2.2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .guardian-button-core {
    animation: none;
  }
}

/* =========================================================
   CORRECCIÓN FINAL — ANCLAS, ESPACIOS Y RESPONSIVE MÓVIL
   ========================================================= */

/* El navegador ya no calcula el salto con márgenes excesivos */
html {
  scroll-padding-top: 96px;
}

/* Todas las secciones con ancla quedan visibles bajo el header */
section[id] {
  scroll-margin-top: 96px !important;
}

/* Neutraliza compensaciones anteriores demasiado grandes */
#guardian,
#guardian-funcionamiento,
#servicios,
#nosotros,
#proyectos,
#cobertura,
#contacto,
#preguntas,
#soluciones,
#proceso,
#por-que-elegirnos {
  scroll-margin-top: 96px !important;
}

/* Evita grandes vacíos al aterrizar en una sección */
.section,
.guardian-section,
.quick-services,
.stats-section {
  min-height: 0;
}

.about,
.services,
.projects,
.contact,
.local-coverage,
.why-us-section,
.client-solutions,
.faq-section,
.work-process {
  padding-top: clamp(72px, 7vw, 105px);
  padding-bottom: clamp(72px, 7vw, 105px);
}

/* La sección Nosotros no necesita un vacío superior adicional */
.about {
  display: block;
}

.about-layout {
  align-items: center;
}

/* Guardian mantiene presencia, pero sin empujar el contenido demasiado */
.guardian-section {
  padding-top: clamp(92px, 8vw, 125px) !important;
  padding-bottom: clamp(88px, 8vw, 125px);
}

/* Header fijo estable */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  min-height: 78px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {
  html {
    scroll-padding-top: 88px;
  }

  section[id],
  #guardian,
  #guardian-funcionamiento,
  #servicios,
  #nosotros,
  #proyectos,
  #cobertura,
  #contacto {
    scroll-margin-top: 88px !important;
  }

  .navbar {
    min-height: 74px;
  }

  .hero-layout,
  .about-layout,
  .faq-layout,
  .contact-layout {
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(3rem, 6vw, 4.9rem);
  }

  .service-grid,
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 850px) {
  html {
    scroll-padding-top: 78px;
  }

  section[id],
  #guardian,
  #guardian-funcionamiento,
  #servicios,
  #nosotros,
  #proyectos,
  #cobertura,
  #contacto {
    scroll-margin-top: 78px !important;
  }

  body {
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 30px, var(--container));
  }

  .site-header {
    overflow: visible;
  }

  .navbar {
    min-height: 72px;
  }

  .menu-button {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(56, 214, 255, 0.22);
    border-radius: 12px;
    background: rgba(0, 184, 255, 0.06);
  }

  .menu-button span {
    width: 100%;
    height: 2px;
    border-radius: 99px;
    background: #f4fbff;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .menu-button.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 15px;
    left: 15px;
    z-index: 1200;
    display: none;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 14px;
    border: 1px solid rgba(56, 214, 255, 0.2);
    border-radius: 18px;
    background: rgba(3, 13, 24, 0.98);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .nav-menu.open {
    display: grid;
    gap: 6px;
  }

  .nav-menu > a {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding: 11px 13px;
    border-radius: 11px;
  }

  .nav-menu > a:not(.nav-whatsapp)::after {
    display: none;
  }

  .nav-menu > a.active {
    background: rgba(0, 184, 255, 0.09);
  }

  .nav-whatsapp {
    justify-content: center !important;
    margin-top: 4px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 12vw, 4.2rem);
    line-height: 0.98;
  }

  .hero-copy > p {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .hero-guardian-link {
    width: 100%;
  }

  .hero-video {
    min-height: 340px;
  }

  .brands-panel {
    overflow-x: auto;
    padding: 18px;
  }

  .brands {
    min-width: 760px;
  }

  .quick-grid,
  .service-grid,
  .process-grid,
  .client-solutions-grid,
  .why-us-grid,
  .local-coverage-grid,
  .portfolio-grid,
  .stats-panel {
    grid-template-columns: 1fr;
  }

  .quick-card,
  .service-card,
  .process-card,
  .client-solution-card,
  .why-us-card,
  .local-card,
  .portfolio-card {
    min-width: 0;
  }

  .about-layout,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-copy,
  .faq-copy,
  .contact-copy {
    text-align: left;
  }

  .about-volcano-card {
    height: 420px;
  }

  .contact-form {
    padding: 24px 18px;
  }

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

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }

  .guardian-heading {
    margin-bottom: 42px;
  }

  .guardian-heading h2 {
    font-size: clamp(2.9rem, 15vw, 4.7rem);
  }

  .guardian-heading-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .guardian-heading-actions .button {
    width: 100%;
    justify-content: center;
  }

  .guardian-showcase,
  .guardian-comparison,
  .guardian-flow {
    grid-template-columns: 1fr;
  }

  .guardian-device-panel,
  .guardian-voice-panel {
    min-height: 390px;
  }

  .guardian-comparison {
    gap: 14px;
  }

  .guardian-versus {
    margin: -4px auto;
  }
}

@media (max-width: 520px) {
  html {
    scroll-padding-top: 70px;
  }

  section[id],
  #guardian,
  #guardian-funcionamiento,
  #servicios,
  #nosotros,
  #proyectos,
  #cobertura,
  #contacto {
    scroll-margin-top: 70px !important;
  }

  .container {
    width: min(100% - 22px, var(--container));
  }

  .navbar {
    min-height: 66px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.45rem);
  }

  .eyebrow {
    font-size: 0.65rem;
    line-height: 1.35;
  }

  .hero-video {
    min-height: 300px;
    border-radius: 22px;
  }

  .section,
  .guardian-section,
  .quick-services,
  .stats-section {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .section-heading h2,
  .about-copy h2,
  .faq-copy h2,
  .contact-copy h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .about-volcano-card {
    height: 360px;
  }

  .volcano-location {
    right: 12px;
    bottom: 62px;
    left: 12px;
  }

  .volcano-hud-bottom {
    overflow-x: auto;
  }

  .guardian-device-panel,
  .guardian-voice-panel {
    min-height: 350px;
  }

  .guardian-button-visual {
    width: 195px;
    height: 195px;
  }

  .guardian-button-core {
    width: 124px;
    height: 124px;
  }

  .guardian-voice-panel blockquote {
    font-size: 1.65rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
}


/* =========================================================
   REPRODUCCIÓN DE VIDEO Y ANIMACIONES EN MÓVIL
   ========================================================= */

.hero-video,
.about-volcano-card {
  position: relative;
}

.video-play-fallback {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(2, 12, 22, 0.82);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.45),
    0 0 26px rgba(0, 184, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translate(-50%, -50%);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.video-play-fallback.is-visible {
  display: inline-flex;
}

.video-play-fallback i {
  color: #38d6ff;
}

.video-awaiting-play video {
  filter: brightness(0.72) saturate(0.9);
}

.reveal {
  will-change: opacity, transform;
}

/* En móviles usamos animaciones más cortas para evitar saltos y bloqueos */
@media (max-width: 850px) {
  .reveal {
    transition-duration: 0.48s !important;
    transform: translateY(18px);
  }

  .reveal.visible {
    transform: translateY(0);
  }

  .hero-video video,
  .about-volcano-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .video-play-fallback {
    max-width: calc(100% - 32px);
    white-space: nowrap;
  }
}

/* En ahorro de movimiento, mostramos todo de inmediato sin ocultar contenido */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .guardian-live-dot,
  .guardian-button-ring,
  .guardian-button-core,
  .guardian-wave span,
  .hero-guardian-link > i,
  .volcano-ambient-glow,
  .volcano-smoke span,
  .volcano-particles span,
  .hud-status-dot {
    animation: none !important;
  }
}
