/* =========================================================
   Servicios Integrales Genovés — estilos
   Paleta inspirada en el logo (azules + plata) y el catálogo (azul marino)
   ========================================================= */

/* Fuentes alojadas en el propio servidor (evita enviar la IP del visitante a Google) */
@font-face { font-family: "Montserrat"; src: url("../assets/fonts/montserrat.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../assets/fonts/cinzel.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }

:root {
  --c-navy-900: #050f24;
  --c-navy-800: #071733;
  --c-navy-700: #0d2350;
  --c-navy-600: #16326b;
  --c-blue-600: #1559c7;
  --c-blue-500: #1f7ae0;
  --c-blue-400: #3aa4ec;
  --c-blue-300: #7fcaf3;
  --c-silver-300: #d9dde3;
  --c-silver-400: #b7bec9;
  --c-silver-500: #8a93a1;
  --c-green: #3c9a3a;
  --c-red: #d93a3a;
  --c-orange: #e8742c;
  --c-wa: #25d366;
  --c-wa-dark: #1ebe5a;

  --c-bg: #ffffff;
  --c-bg-alt: #f3f6fb;
  --c-text: #1a2236;
  --c-text-muted: #5a6478;
  --c-border: #e2e7ef;

  --grad-logo: linear-gradient(135deg, var(--c-blue-600), var(--c-blue-400) 60%, var(--c-blue-300));
  --grad-silver: linear-gradient(180deg, #ffffff 0%, var(--c-silver-300) 45%, var(--c-silver-500) 100%);

  --f-display: "Montserrat", system-ui, sans-serif;
  --f-brand: "Cinzel", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(7, 23, 51, .25);
  --shadow-lg: 0 24px 60px -20px rgba(7, 23, 51, .45);
  --header-h: 76px;
  --container: 1180px;
}

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

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

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; margin: 0; }
p { margin: 0 0 1rem; }

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

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .7rem 1.25rem;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: .95rem 1.6rem; font-size: 1rem; }

.btn--wa { background: var(--c-wa); color: #fff; box-shadow: 0 8px 22px -8px rgba(37, 211, 102, .7); }
.btn--wa:hover { background: var(--c-wa-dark); }

.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn--light { background: #fff; color: var(--c-navy-800); }
.btn--light:hover { box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }

/* ---------- Textos de sección ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--f-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-blue-600);
  margin-bottom: .9rem;
}
.eyebrow--light { color: var(--c-blue-300); }

.section { padding: 96px 0; }
.section--alt { background: var(--c-bg-alt); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--c-navy-800);
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.section__head .section__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  margin: 18px auto 0;
  background: var(--grad-logo);
}
.section__sub { color: var(--c-text-muted); margin-top: 18px; }

/* ---------- Cabecera ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.header.is-scrolled {
  background: rgba(7, 23, 51, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px -10px rgba(0, 0, 0, .5);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand__logo { width: 44px; height: 44px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__top {
  font-family: var(--f-brand);
  font-size: .68rem;
  letter-spacing: .32em;
  color: var(--c-silver-400);
}
.brand__name {
  font-family: var(--f-brand);
  font-weight: 600;
  font-size: 1.05rem;
  background: var(--grad-silver);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
  position: relative;
  color: rgba(255, 255, 255, .85);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .88rem;
  transition: color .2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--c-blue-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100vh, 900px);
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 140px;
  color: #fff;
  background: var(--c-navy-800);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 78% 45%, rgba(31, 122, 224, .38), transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(58, 164, 236, .18), transparent 70%),
    linear-gradient(160deg, var(--c-navy-700) 0%, var(--c-navy-800) 50%, var(--c-navy-900) 100%);
}
/* Rejilla sutil que recuerda a la fachada de los edificios del logo */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 48px;
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: 1.02;
  margin-bottom: 1.4rem;
}
.hero__title span {
  display: block;
  background: linear-gradient(90deg, #fff 0%, var(--c-blue-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, .82);
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.5rem; }

.hero__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 12px 32px;
}
.hero__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  color: rgba(255, 255, 255, .85);
}
.hero__features .icon { color: var(--c-blue-400); }

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
}
.hero__ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid rgba(127, 202, 243, .25);
  box-shadow: inset 0 0 80px rgba(31, 122, 224, .25), 0 0 120px rgba(31, 122, 224, .25);
}
.hero__ring::before {
  content: "";
  position: absolute;
  inset: -9%;
  border-radius: 50%;
  border: 1px dashed rgba(183, 190, 201, .2);
  animation: spin 60s linear infinite;
}
.hero__logo {
  position: relative;
  width: 72%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .55));
  animation: float 6s ease-in-out infinite;
}

@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Cifras ---------- */
.stats { position: relative; z-index: 2; margin-top: -80px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0;
  overflow: hidden;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 16px;
  border-right: 1px solid var(--c-border);
}
.stat:last-child { border-right: 0; }
.stat__icon { width: 34px; height: 34px; color: var(--c-blue-600); margin-bottom: 12px; }
.stat__value {
  font-family: var(--f-display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-navy-800);
}
.stat__value--text { font-size: 1.5rem; line-height: 1.4; }
.stat__label {
  margin-top: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

/* ---------- Quiénes somos ---------- */
.about {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.about__text .section__title { margin-bottom: 1.5rem; }
.about__text p { color: var(--c-text-muted); font-size: 1.05rem; }
.about__text strong { color: var(--c-navy-700); }

.about__card {
  position: relative;
  padding: 48px 40px 40px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 30%, rgba(31, 122, 224, .35), transparent 60%),
    linear-gradient(160deg, var(--c-navy-700), var(--c-navy-900));
  color: #fff;
  box-shadow: var(--shadow-lg);
  text-align: center;
  overflow: hidden;
}
.about__card img { width: 180px; height: auto; margin: 0 auto 28px; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .5)); }
.about__card blockquote {
  margin: 0;
  font-family: var(--f-brand);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--c-silver-300);
}

/* ---------- Servicios ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service {
  --accent: var(--c-blue-600);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--accent);
  box-shadow: 0 2px 8px -4px rgba(7, 23, 51, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service { overflow: hidden; }
.service__media {
  margin: -32px -28px 24px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--c-navy-800);
}
.service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service:hover .service__media img { transform: scale(1.05); }
.service__title {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-navy-800);
  margin-bottom: .6rem;
}
.service__desc { color: var(--c-text-muted); font-size: .95rem; }
.service__list {
  list-style: none;
  padding: 16px 0 0;
  margin: auto 0 0;
  border-top: 1px dashed var(--c-border);
  display: grid;
  gap: 8px;
}
.service__list li {
  position: relative;
  padding-left: 18px;
  font-size: .92rem;
}
.service__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}

.service__note {
  margin: 16px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--c-text-muted);
  background: var(--c-bg-alt);
}

.service--cta {
  justify-content: center;
  color: #fff;
  border: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(58, 164, 236, .45), transparent 55%),
    linear-gradient(150deg, var(--c-navy-600), var(--c-navy-800));
}
.service--cta .service__title { color: #fff; font-size: 1.35rem; text-transform: none; }
.service--cta .service__desc { color: rgba(255, 255, 255, .8); margin-bottom: 1.5rem; }
.service--cta .btn { align-self: flex-start; }
/* Franja ancha bajo las tarjetas: texto a la izquierda, botón a la derecha */
.service--cta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 32px;
  align-items: center;
  padding: 36px 40px;
}
.service--cta .service__desc { grid-column: 1; margin-bottom: 0; }
.service--cta .btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
@media (max-width: 600px) {
  .service--cta { grid-template-columns: 1fr; padding: 28px 24px; }
  .service--cta .service__desc { margin-bottom: 1.5rem; }
  .service--cta .btn { grid-column: 1; grid-row: auto; justify-self: start; }
}

/* ---------- Sectores ---------- */
.sectors {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.sector {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--c-navy-800);
  text-align: left;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 6px 18px -10px rgba(7, 23, 51, .5);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sector img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.35) brightness(.8);
  transition: transform .6s ease, filter .3s ease;
}
/* Degradado azul marino para que el texto se lea sobre la foto */
.sector::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 23, 51, 0) 35%, rgba(7, 23, 51, .92) 100%);
}
.sector span { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; line-height: 1.3; }
.sector span::before {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin-bottom: 8px;
  border-radius: 3px;
  background: var(--c-silver-400);
  transition: width .3s ease, background-color .3s ease;
}
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sector:hover img { transform: scale(1.06); filter: none; }
.sector:focus-visible { outline: 3px solid var(--c-blue-400); outline-offset: 3px; }
.sector[aria-selected="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--c-blue-500), var(--shadow); }
.sector[aria-selected="true"] img { filter: none; }
.sector[aria-selected="true"]::before { background: linear-gradient(180deg, rgba(21, 89, 199, .1) 0%, rgba(7, 23, 51, .95) 100%); }
.sector[aria-selected="true"] span::before { width: 44px; background: var(--c-blue-400); }

.sector-panels { margin-top: 28px; }
.sector-panel {
  display: none;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
}
.sector-panel.is-active { display: grid; animation: fadeIn .4s ease; }
.no-js .sector-panel { display: grid; margin-bottom: 20px; }
.sector-panel h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: var(--c-navy-800);
  margin-bottom: 1rem;
}
.sector-panel__text p { color: var(--c-text-muted); }
.sector-panel__side {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 10px -4px rgba(7, 23, 51, .12);
}
.sector-panel__side h4 {
  margin: 0 0 14px;
  font-family: var(--f-display);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-blue-600);
}
.sector-panel__side ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.sector-panel__side li { position: relative; padding-left: 26px; font-size: .95rem; }
.sector-panel__side li::before {
  content: "";
  position: absolute;
  left: 0; top: .3em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grad-logo);
}
.sector-panel__side li::after {
  content: "";
  position: absolute;
  left: 5px; top: calc(.3em + 4px);
  width: 4px; height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.sector-panel__side .btn { width: 100%; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Por qué elegirnos ---------- */
.section--dark {
  color: #fff;
  background:
    radial-gradient(ellipse 50% 70% at 0% 0%, rgba(31, 122, 224, .3), transparent 70%),
    linear-gradient(180deg, var(--c-navy-800), var(--c-navy-900));
}
.section--dark .section__title { color: #fff; margin-bottom: 2rem; }

.why {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; color: rgba(255, 255, 255, .9); }
.checklist .icon { color: var(--c-blue-400); width: 1.4em; height: 1.4em; }

.advantages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.adv {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .25s ease, border-color .25s ease;
}
.adv:hover { background: rgba(255, 255, 255, .08); border-color: rgba(127, 202, 243, .4); }
.adv .icon { width: 32px; height: 32px; color: var(--c-blue-300); margin-bottom: 12px; }
.adv h3 { font-size: .95rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 6px; }
.adv p { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .7); }

/* ---------- Contacto ---------- */
/* auto-fit: se adapta a 2 o 3 tarjetas (Instagram puede estar oculto) */
.channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.channel {
  --ch: var(--c-blue-600);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-border);
  box-shadow: 0 2px 8px -4px rgba(7, 23, 51, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  min-width: 0;
}
.channel:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--ch); }
.channel__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin-bottom: 20px;
  color: #fff;
  background: linear-gradient(160deg, var(--c-navy-600), var(--c-navy-900));
  box-shadow: inset 0 0 0 1.5px rgba(127, 202, 243, .35), 0 10px 22px -12px rgba(7, 23, 51, .7);
  transition: background .3s ease;
}
.channel:hover .channel__icon { background: var(--grad-logo); }
.channel__icon .icon { width: 30px; height: 30px; }
.channel__name { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; color: var(--c-navy-800); }
.channel__value { color: var(--c-text-muted); font-size: .95rem; margin: 4px 0 18px; overflow-wrap: anywhere; }
.channel__go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .88rem;
  color: var(--ch);
}
.channel__go .icon { transition: transform .2s ease; }
.channel:hover .channel__go .icon { transform: translateX(4px); }

.location {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(160deg, var(--c-navy-700), var(--c-navy-900));
}
.location__info { padding: 40px; color: #fff; }
.location__info h3 { font-size: 1.3rem; font-weight: 800; text-transform: uppercase; margin-bottom: 1.5rem; }
.location__info p { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .85); }
.location__info .icon { color: var(--c-blue-400); margin-top: 3px; }
.location__info a:hover { color: #fff; text-decoration: underline; }
.location__map { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* ---------- Pie ---------- */
.footer { background: var(--c-navy-900); color: rgba(255, 255, 255, .7); padding: 48px 0 0; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer__tag { margin: 0; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.footer__social a:hover { background: var(--c-blue-600); border-color: var(--c-blue-600); color: #fff; }
.footer__bottom { padding: 20px; font-size: .82rem; text-align: center; }
.footer__bottom p { margin: 0; }

/* ---------- Botones flotantes (Instagram + WhatsApp) ---------- */
.floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Estilo de marca: azules del logo y borde plateado, visibles sobre fondo claro y oscuro */
.floating__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  border: 2px solid rgba(217, 221, 227, .85);
  box-shadow: 0 12px 28px -10px rgba(7, 23, 51, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .2s ease, background .3s ease, border-color .3s ease;
}
.floating__btn .icon { width: 28px; height: 28px; }
.floating__btn:hover { transform: scale(1.08); border-color: #fff; }
.floating__btn--wa { background: var(--grad-logo); }
.floating__btn--wa::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--c-blue-400);
  z-index: -1;
  animation: pulse 2.4s ease-out infinite;
}
.floating__btn--ig { background: linear-gradient(160deg, var(--c-navy-600), var(--c-navy-900)); }
.floating__btn--ig:hover { background: var(--grad-logo); }

/* Etiqueta que aparece al pasar el ratón */
.floating__btn::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--f-display);
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  background: var(--c-navy-800);
  box-shadow: 0 8px 20px -10px rgba(7, 23, 51, .6);
  opacity: 0;
  transform: translate(6px, -50%);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.floating__btn:hover::after, .floating__btn:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
@media (hover: none) { .floating__btn::after { display: none; } }

/* ---------- Mapa con consentimiento ---------- */
.map-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 40px 32px;
  text-align: center;
  color: rgba(255, 255, 255, .8);
  font-size: .92rem;
  background:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 32px 32px,
    rgba(0, 0, 0, .2);
}
.map-consent p { max-width: 420px; }
.map-consent a:not(.btn) { color: var(--c-blue-300); text-decoration: underline; }
.map-consent__icon { width: 44px; height: 44px; color: var(--c-blue-400); margin-bottom: 8px; }
.map-consent__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Textos legales ---------- */
.privacy-note {
  max-width: 860px;
  margin: 0 auto 40px;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--c-text-muted);
  text-align: center;
}
.privacy-note a { color: var(--c-blue-600); text-decoration: underline; }

/* Datos pendientes de completar por el cliente: resaltados para que no se olviden */
.pending { background: #fff3a8; color: #5c4a00; padding: 0 4px; border-radius: 3px; font-weight: 600; }

.footer__legal-data { padding-top: 24px; font-size: .8rem; text-align: center; color: rgba(255, 255, 255, .55); }
.footer__legal-data p { margin: 0; }
.footer__legal-data a { color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 3px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-bottom: 10px; }
.footer__links a { color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 3px; }
.footer__links a:hover { color: #fff; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Animación de aparición ---------- */
/* Se usa `translate` (y no `transform`) para no anular los efectos hover de las tarjetas */
.reveal { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s ease, transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease; }
.reveal.is-visible { opacity: 1; translate: none; }
.no-js .reveal { opacity: 1; translate: none; }

/* ---------- Páginas legales ---------- */
.legal-hero {
  padding: calc(var(--header-h) + 56px) 0 56px;
  color: #fff;
  background:
    radial-gradient(ellipse 50% 80% at 85% 0%, rgba(31, 122, 224, .35), transparent 70%),
    linear-gradient(160deg, var(--c-navy-700), var(--c-navy-900));
}
.legal-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; text-transform: uppercase; }
.legal-hero p { margin: 10px 0 0; color: rgba(255, 255, 255, .7); }
.legal { max-width: 820px; padding-block: 56px 80px; }
.legal h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-navy-800);
  margin: 2.4rem 0 .9rem;
}
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #3b4458; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--c-blue-600); text-decoration: underline; overflow-wrap: anywhere; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: .92rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--c-border); vertical-align: top; }
.legal th { background: var(--c-bg-alt); color: var(--c-navy-800); width: 34%; }
.legal__back { display: inline-flex; align-items: center; gap: 6px; margin-top: 2rem; font-family: var(--f-display); font-weight: 700; }
.legal__back .icon { transform: rotate(180deg); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: rgba(7, 23, 51, .98);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__link { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1rem; }
  .nav__link::after { display: none; }
  .nav__link:last-child { border-bottom: 0; }
  .header.menu-open { background: rgba(7, 23, 51, .98); }

  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .hero__visual { order: -1; width: min(280px, 70vw); margin: 0 auto; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__features { justify-content: center; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--c-border); }

  .about, .why { grid-template-columns: 1fr; gap: 40px; }
  .channels { grid-template-columns: 1fr; }
  .location { grid-template-columns: 1fr; }

  .sector-panel { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
}

@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .container { padding-inline: 16px; }
  .brand__name { font-size: .95rem; }
  .hero { padding-bottom: 120px; }
  .hero__features { grid-template-columns: 1fr; justify-items: center; }
  .hero__actions .btn { width: 100%; }
  .stat { padding: 24px 10px; }
  .stat__value { font-size: 1.7rem; }
  .stat__value--text { font-size: 1.2rem; }
  .services { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sector:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
  .sector-panel { padding: 20px 16px; }
  .sector-panel__side { padding: 20px; }
  .floating { right: 14px; bottom: 14px; gap: 10px; }
  .floating__btn { width: 52px; height: 52px; }
  .floating__btn .icon { width: 26px; height: 26px; }
  .advantages { grid-template-columns: 1fr; }
  .about__card { padding: 36px 24px 28px; }
  .location__info { padding: 28px 24px; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; }
}
