/* ============================================================
   SEGURIDAD SESI — Hoja de estilos principal
   Estructura: variables → reset → base → componentes → secciones
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --navy-950: #070d1a;
  --navy-900: #0b1220;
  --navy-800: #101b33;
  --navy-700: #16233f;
  --navy-600: #1e2f52;

  --gold-500: #d4a24e;
  --gold-400: #e0b765;
  --gold-300: #eccd8f;

  --text-light: #f4f6fb;
  --text-muted: #aab4c8;
  --text-dark: #1c2434;

  --surface: #ffffff;
  --surface-alt: #f3f5f9;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 10px rgba(7, 13, 26, 0.08);
  --shadow-md: 0 10px 30px rgba(7, 13, 26, 0.12);
  --shadow-lg: 0 24px 60px rgba(7, 13, 26, 0.22);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", "Inter", system-ui, sans-serif;

  --container: 1200px;
  --header-h: 76px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
}

.text-gold { color: var(--gold-400); }
.text-accent { color: var(--navy-800); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 8px 24px rgba(212, 162, 78, 0.35);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 162, 78, 0.45);
}

.btn--ghost {
  border: 1.5px solid rgba(244, 246, 251, 0.35);
  color: var(--text-light);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
  transform: translateY(-2px);
}

.btn--outline {
  border: 1.5px solid var(--navy-800);
  color: var(--navy-800);
}

.btn--outline:hover {
  background: var(--navy-800);
  color: #fff;
}

.btn--small { padding: 9px 20px; font-size: 0.85rem; }

.btn--block { width: 100%; }

/* ---------- Cabeceras de sección ---------- */
.section {
  padding: 96px 0;
}

.section--dark {
  background: var(--navy-900);
  color: var(--text-light);
}

.section--dark .section__lead { color: var(--text-muted); }

.section__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: rgba(212, 162, 78, 0.12);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section--dark .section__tag { background: rgba(212, 162, 78, 0.16); }

.section__title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 18px;
}

.section__lead {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section:not(.section--dark) .section__lead { color: #5b6577; }

/* ---------- Rejillas ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}

.header.is-scrolled {
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  height: 64px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo img {
  width: auto;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  padding: 3px;
  object-fit: contain;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: height var(--transition);
}

.header.is-scrolled .header__logo img { height: 38px; }

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

.header__logo-text strong {
  color: var(--text-light);
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.header__logo-text small {
  color: var(--gold-400);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

/* Selector de idioma */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(244, 246, 251, 0.08);
  border: 1px solid rgba(244, 246, 251, 0.18);
  border-radius: var(--radius-full);
  padding: 4px;
}

.lang-switch__btn {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  transition: background var(--transition), color var(--transition);
}

.lang-switch__btn:hover { color: var(--text-light); }

.lang-switch__btn.is-active {
  background: var(--gold-500);
  color: var(--navy-950);
}

.lang-switch__sep {
  color: rgba(244, 246, 251, 0.3);
  font-size: 0.8rem;
}

/* Navegación */
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Anchos fijos por enlace (máximo entre ES/EN) para que el menú
   no se mueva ni cambie de tamaño al alternar idioma */
.nav__list li:nth-child(1) .nav__link { min-width: 60px; }   /* Inicio / Home */
.nav__list li:nth-child(2) .nav__link { min-width: 81px; }   /* Nosotros / About us */
.nav__list li:nth-child(3) .nav__link { min-width: 70px; }   /* Valores / Values */
.nav__list li:nth-child(4) .nav__link { min-width: 145px; }  /* SESI en Venezuela */
.nav__list li:nth-child(5) .nav__link { min-width: 82px; }   /* Servicios / Services */
.nav__list li:nth-child(6) .nav__link { min-width: 121px; }  /* ¿Por qué SESI? / Why SESI? */
.nav__list li:nth-child(7) .nav__link { min-width: 75px; }   /* Clientes / Clients */
.nav__list li:nth-child(8) .nav__link { min-width: 83px; }   /* Contacto / Contact */

.nav__link {
  position: relative;
  display: inline-block;
  color: rgba(244, 246, 251, 0.85);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  text-align: center;
  transition: color var(--transition), background var(--transition);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav__link:hover,
.nav__link.is-active { color: var(--gold-300); }

.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__link--cta {
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 700;
  margin-left: 6px;
}

.nav__link--cta::after { display: none; }

.nav__link--cta:hover {
  background: var(--gold-400);
  color: var(--navy-950);
}

/* Botón menú móvil */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 120;
}

.nav-toggle__bar {
  width: 26px;
  height: 2.5px;
  border-radius: 3px;
  background: var(--text-light);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--text-light);
  overflow: hidden;
}

/* Fondo: degradado + patrón de rejilla (sin fotos con textos) */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 38%, rgba(30, 47, 82, 0.9), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(212, 162, 78, 0.12), transparent 45%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 246, 251, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 246, 251, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  width: min(var(--container), 92%);
  margin-inline: auto;
  padding: 140px 0 90px;
}

.hero__content {
  max-width: 640px;
}

.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-300);
  border: 1px solid rgba(212, 162, 78, 0.5);
  background: rgba(212, 162, 78, 0.1);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 26px;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(244, 246, 251, 0.85);
  max-width: 620px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

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

.hero__chips li {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(244, 246, 251, 0.75);
  border: 1px solid rgba(244, 246, 251, 0.25);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  transition: border-color var(--transition), color var(--transition);
}

.hero__chips li:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
}

/* Emblema futurista: escudo + radar */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar {
  position: relative;
  width: clamp(260px, 30vw, 420px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 162, 78, 0.28);
  border-radius: 50%;
}

.radar__ring--1 { transform: scale(0.36); }
.radar__ring--2 { transform: scale(0.62); border-color: rgba(212, 162, 78, 0.22); }
.radar__ring--3 { transform: scale(0.88); border-color: rgba(212, 162, 78, 0.18); }

.radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(212, 162, 78, 0.42), transparent 70deg);
  animation: sweep 5s linear infinite;
}

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

.radar__dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 12px rgba(212, 162, 78, 0.9);
  animation: dotPulse 2.4s ease-in-out infinite;
}

.radar__dot--1 { top: 16%; left: 60%; }
.radar__dot--2 { top: 64%; left: 22%; animation-delay: 0.8s; }
.radar__dot--3 { top: 42%; left: 76%; animation-delay: 1.6s; }

@keyframes dotPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

.radar__shield {
  width: 34%;
  height: auto;
  color: var(--gold-400);
  filter: drop-shadow(0 0 18px rgba(212, 162, 78, 0.55));
  animation: float 6s ease-in-out infinite;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 44px;
  border: 2px solid rgba(244, 246, 251, 0.4);
  border-radius: var(--radius-full);
}

.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 9px;
  border-radius: 4px;
  background: var(--gold-400);
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { opacity: 0; top: 6px; }
  40% { opacity: 1; }
  80% { opacity: 0; top: 24px; }
  100% { opacity: 0; }
}

/* ---------- Sección Nosotros ---------- */
.card {
  background: var(--surface);
  border: 1px solid #e8ecf3;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 162, 78, 0.5);
}

.card__icon {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin-bottom: 22px;
  padding: 12px;
  background: var(--surface-alt);
  border-radius: 50%;
}

.card__title {
  font-size: 1.4rem;
  color: var(--navy-800);
  margin-bottom: 14px;
}

.card p { color: #5b6577; font-size: 0.97rem; }

.about__photo {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__photo img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transition: transform 0.8s ease;
}

.about__photo:hover img { transform: scale(1.03); }

/* ---------- Valores ---------- */
.value-card {
  background: var(--navy-800);
  border: 1px solid rgba(244, 246, 251, 0.08);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 162, 78, 0.55);
  background: var(--navy-700);
}

.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(212, 162, 78, 0.14);
  color: var(--gold-400);
  margin-bottom: 20px;
}

.value-card__icon svg { width: 28px; height: 28px; }

.value-card__title {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- Identidad corporativa ---------- */
.identity__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.identity__media {
  position: relative;
}

.identity__media img:first-child {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.identity__badge {
  position: absolute;
  right: -22px;
  bottom: -26px;
  width: 130px;
  height: 130px;
  object-fit: contain;
  background: var(--surface);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  padding: 10px;
  border: 6px solid var(--gold-400);
}

.identity__content .section__tag { margin-bottom: 14px; }
.identity__content .section__title { margin-bottom: 16px; }
.identity__content .section__lead { margin-bottom: 26px; }

.principios li {
  position: relative;
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid #e8ecf3;
  font-size: 0.98rem;
  color: #3c4658;
}

.principios li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
}

.principios li strong { color: var(--navy-800); }

/* ---------- Estados ---------- */
.estados {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.estados__item {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--gold-300);
  background: rgba(212, 162, 78, 0.1);
  border: 1px solid rgba(212, 162, 78, 0.35);
  padding: 12px 26px;
  border-radius: var(--radius-full);
  transition: background var(--transition), transform var(--transition);
}

.estados__item:hover {
  background: rgba(212, 162, 78, 0.22);
  transform: translateY(-3px);
}

.map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(244, 246, 251, 0.1);
}

.map iframe { display: block; }

.map__hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 22px;
}

/* ---------- Servicios ---------- */
.service-card {
  background: var(--surface);
  border: 1px solid #e8ecf3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.service-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-card:hover .service-card__media img { transform: scale(1.08); }

.service-card__body {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__title {
  font-size: 1.2rem;
  color: var(--navy-800);
  margin-bottom: 12px;
}

.service-card__body p {
  color: #5b6577;
  font-size: 0.93rem;
  margin-bottom: 22px;
}

.service-card__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

/* ---------- ¿Por qué SESI? ---------- */
.why__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.why__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-item {
  display: flex;
  gap: 22px;
  background: var(--navy-800);
  border: 1px solid rgba(244, 246, 251, 0.08);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.why-item:hover {
  border-color: rgba(212, 162, 78, 0.5);
  background: var(--navy-700);
  transform: translateX(6px);
}

.why-item__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--gold-400);
  line-height: 1;
  flex-shrink: 0;
}

.why-item h3 {
  font-size: 1.08rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.why-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.why-item p strong { color: var(--gold-300); }

/* Imagen ISO: completa, sin recorte circular (es importante) */
.why__iso {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.why__iso::before {
  content: "";
  position: absolute;
  inset: 10% 4%;
  background: radial-gradient(circle, rgba(212, 162, 78, 0.18), transparent 70%);
  border-radius: var(--radius-lg);
}

.why__iso img {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(212, 162, 78, 0.4);
  background: var(--surface);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Clientes (marquee) ---------- */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__track img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter var(--transition), opacity var(--transition), transform var(--transition);
}

.marquee__track img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.08);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Contacto ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card {
  display: flex;
  gap: 18px;
  background: var(--navy-800);
  border: 1px solid rgba(244, 246, 251, 0.08);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: border-color var(--transition);
}

.contact-card:hover { border-color: rgba(212, 162, 78, 0.5); }

.contact-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(212, 162, 78, 0.14);
  color: var(--gold-400);
}

.contact-card__icon svg { width: 24px; height: 24px; }

.contact-card h3 {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.contact-card p,
.contact-card a {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.contact-card a:hover { color: var(--gold-300); }

.social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 1px solid rgba(244, 246, 251, 0.12);
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}

.social a svg { width: 20px; height: 20px; }

.social a:hover {
  background: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
  transform: translateY(-3px);
}

/* Formulario */
.contact__form {
  background: var(--navy-800);
  border: 1px solid rgba(244, 246, 251, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.contact__form-title {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--navy-900);
  border: 1px solid rgba(244, 246, 251, 0.14);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input::placeholder,
.field textarea::placeholder { color: #5d6b84; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(212, 162, 78, 0.18);
}

.field select option { color: var(--text-dark); }

.contact__form-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  color: var(--text-muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 48px;
}

.footer__logo img {
  width: auto;
  height: 112px;
  border-radius: 16px;
  background: #ffffff;
  padding: 10px;
  object-fit: contain;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  margin-bottom: 18px;
}

.footer__brand p {
  font-size: 0.92rem;
  max-width: 300px;
}

.footer__col h4 {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer__col a {
  transition: color var(--transition);
}

.footer__col a:hover { color: var(--gold-300); }

.footer__bottom {
  border-top: 1px solid rgba(244, 246, 251, 0.08);
  padding: 22px 0;
}

.footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.85rem;
}

.footer__bottom a { color: var(--gold-400); }

/* ---------- Volver arriba ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background var(--transition);
}

.back-to-top svg { width: 20px; height: 20px; }

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover { background: var(--gold-300); }

/* ---------- Animaciones de aparición ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span,
  .marquee__track,
  .why__iso img,
  .radar__shield,
  .radar__sweep,
  .radar__dot { animation: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .identity__grid { grid-template-columns: 1fr; gap: 48px; }
  .why__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .radar { width: min(320px, 70vw); }
}

/* ---------- Responsivo: menú hamburguesa en pantallas medianas ---------- */
@media (max-width: 1200px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 84vw);
    background: var(--navy-900);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform var(--transition);
    padding: 96px 32px 40px;
    overflow-y: auto;
    z-index: 110;
  }

  .nav.is-open { transform: translateX(0); }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav__link {
    display: block;
    font-size: 1.05rem;
    padding: 14px 16px;
    color: var(--text-light);
    text-align: left;
  }

  .nav__link::after { display: none; }

  .nav__link--cta { margin: 12px 0 0; text-align: center; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .header__logo-text small { display: none; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }

  .hero__grid { padding: 120px 0 80px; }

  /* En móvil el emblema pasa detrás del contenido, sutil */
  .hero__visual { display: none; }

  .identity__badge { right: 8px; bottom: -20px; width: 100px; height: 100px; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 36px; }

  .footer__bottom .container { flex-direction: column; text-align: center; }

  .contact__form { padding: 28px 22px; }
}

@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; }
  .service-card__actions { flex-direction: column; }
  .service-card__actions .btn { width: 100%; }
}
