/* ── FUENTES AUTO-HOSPEDADAS ── */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-700-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/montserrat-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/montserrat-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/source-sans-3-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/source-sans-3-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/source-sans-3-600.woff2') format('woff2');
}

/* ── VARIABLES ── */
:root {
  --blue:       #1a3a8f;
  --blue-dark:  #0f2660;
  --blue-mid:   #2a52b8;
  --blue-light: #e8eef9;
  --blue-pale:  #f2f5fc;
  --red:        #cc2222;
  --yellow:     #f5c800;
  --yellow2:    #e6b800;
  --white:      #ffffff;
  --off-white:  #f7f8fa;
  --text:       #1a1f2e;
  --text-mid:   #4a5568;
  --text-light: #8a95a8;
  --border:     #dde3ed;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%;
  height: 72px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(26,58,143,0.07);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(26,58,143,0.13); }

.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex; gap: 2.2rem; list-style: none; align-items: center;
}
.nav-links a {
  color: var(--text-mid); text-decoration: none;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 4px;
}
.nav-cta:hover { background: var(--blue-dark) !important; }

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: 4px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-hamburger:hover { background: var(--blue-light); }
.nav-hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay — base (layout definido en @media) */
.mobile-menu {
  display: none;
}

@keyframes mobileMenuIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}

#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 110px 6% 80px;
  background-color: var(--blue-dark);
  background-image:
    linear-gradient(90deg, rgba(10,28,75,0.92) 0%, rgba(10,28,75,0.92) 45%, rgba(10,28,75,0.48) 100%),
    url('../img/Agua.png');
  background-size: cover;
  background-position: center;
  position: relative; overflow: hidden;
}
#hero::after {
  content: '';
  position: absolute; top: 72px; left: 0; right: 0; bottom: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent, transparent 59px,
    rgba(255,255,255,0.015) 59px, rgba(255,255,255,0.015) 60px
  ),
  repeating-linear-gradient(
    90deg,
    transparent, transparent 59px,
    rgba(255,255,255,0.015) 59px, rgba(255,255,255,0.015) 60px
  );
  pointer-events: none;
}

/* Franja lateral — barras de Aragón con transición suave */
.hero-stripe {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(
    180deg,
    var(--yellow) 0%,
    var(--yellow) 9.61%,  var(--red)    12.61%,
    var(--red)   20.72%,  var(--yellow) 23.72%,
    var(--yellow) 31.83%, var(--red)    34.83%,
    var(--red)   42.94%,  var(--yellow) 45.94%,
    var(--yellow) 54.06%, var(--red)    57.06%,
    var(--red)   65.17%,  var(--yellow) 68.17%,
    var(--yellow) 76.28%, var(--red)    79.28%,
    var(--red)   87.39%,  var(--yellow) 90.39%,
    var(--yellow) 100%
  );
}

.hero-content { position: relative; z-index: 1; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--yellow); font-weight: 700; margin-bottom: 1.6rem;
}
.hero-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--yellow); flex-shrink: 0;
}

h1.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}
h1.hero-title .accent {
  color: var(--yellow);
  font-style: italic;
}

.hero-sub {
  font-size: 1.05rem; font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.7; max-width: 460px;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.btn-yellow {
  background: var(--yellow);
  color: var(--blue-dark);
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer; display: inline-block;
}
.btn-yellow:hover { background: var(--yellow2); transform: translateY(-2px); }

.btn-ghost {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem; font-weight: 600;
  text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.4rem;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--white); }
.btn-ghost::after { content: '→'; }

/* Hero right panel */
.hero-panel {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 1rem; align-items: flex-end;
}

.hero-stats-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden; width: 100%; max-width: 360px;
}
.hero-stats-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(255,255,255,0.08);
}
.hstat {
  background: rgba(15,38,96,0.7);
  padding: 1.3rem 1.2rem;
  backdrop-filter: blur(4px);
}
.hstat-n {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem; font-weight: 900;
  color: var(--yellow); line-height: 1;
}
.hstat-l {
  font-size: 0.72rem; color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em; text-transform: uppercase; margin-top: 0.25rem;
}

/* Sulzer badge */
.sulzer-badge {
  width: 100%; max-width: 360px;
  background: linear-gradient(160deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.04) 100%);
  border: 1.5px solid rgba(245,200,0,0.55);
  border-radius: 10px;
  padding: 1.8rem 2rem;
  display: flex; flex-direction: column;
  align-items: center; gap: 1.1rem;
  text-align: center;
  box-shadow: 0 0 28px rgba(245,200,0,0.12), inset 0 1px 0 rgba(255,255,255,0.08);
}
.sulzer-logo-box {
  background: white;
  border-radius: 6px;
  padding: 0.55rem 1.4rem;
  display: flex; align-items: center; justify-content: center;
}
.sulzer-logo-img {
  height: 80px;
  width: auto;
  display: block;
}
.sulzer-badge-divider {
  width: 100%; height: 1px;
  background: rgba(245,200,0,0.25);
}
.sulzer-info strong {
  display: block; font-size: 0.75rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--yellow);
  margin-bottom: 0.35rem; font-weight: 800;
}
.sulzer-info span {
  font-size: 0.84rem; color: rgba(255,255,255,0.65); line-height: 1.5;
}

/* ── SECCIONES ── */
section { padding: 90px 6%; }

.section-label {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-mid); font-weight: 700;
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.7rem;
}
.section-label::before {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--yellow);
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 900; line-height: 1.05;
  color: var(--blue-dark); margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: 1rem; color: var(--text-mid);
  line-height: 1.7; max-width: 520px;
}

/* ── EMPRESA ── */
#empresa { background: var(--off-white); }

.empresa-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}

.empresa-img {
  border-radius: 8px;
  overflow: hidden;
  align-self: start;
}
.empresa-foto {
  width: 100%; height: auto;
  display: block;
  border-radius: 8px;
}

.empresa-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.8rem; margin-top: 2rem;
}
.empresa-feat {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.1rem;
  transition: border-left-color 0.2s, box-shadow 0.2s;
}
.empresa-feat:hover {
  border-left-color: var(--yellow);
  box-shadow: 0 2px 12px rgba(26,58,143,0.08);
}
.empresa-feat h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  color: var(--blue-dark); margin-bottom: 0.25rem;
}
.empresa-feat p {
  font-size: 0.78rem; color: var(--text-mid); line-height: 1.45;
}

/* ── SULZER SECTION ── */
#sulzer {
  background: var(--blue-dark);
  padding: 70px 6%;
  position: relative; overflow: hidden;
}
#sulzer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--yellow) 0%,
    var(--yellow) 9.61%,  var(--red)    12.61%,
    var(--red)   20.72%,  var(--yellow) 23.72%,
    var(--yellow) 31.83%, var(--red)    34.83%,
    var(--red)   42.94%,  var(--yellow) 45.94%,
    var(--yellow) 54.06%, var(--red)    57.06%,
    var(--red)   65.17%,  var(--yellow) 68.17%,
    var(--yellow) 76.28%, var(--red)    79.28%,
    var(--red)   87.39%,  var(--yellow) 90.39%,
    var(--yellow) 100%
  );
}
#sulzer::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    90deg, transparent, transparent 79px,
    rgba(255,255,255,0.012) 79px, rgba(255,255,255,0.012) 80px
  );
  pointer-events: none;
}

.sulzer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  position: relative; z-index: 1;
}

.sulzer-content .section-title { color: var(--white); }
.sulzer-content .section-desc { color: rgba(255,255,255,0.6); max-width: 100%; }
.sulzer-content .section-label { color: var(--yellow); }
.sulzer-content .section-label::before { background: var(--yellow); }

.sulzer-points {
  list-style: none; display: flex; flex-direction: column; gap: 0.8rem;
  margin-top: 1.5rem;
}
.sulzer-point {
  display: flex; align-items: flex-start; gap: 0.8rem;
  font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.5;
}
.sulzer-point::before {
  content: '✓';
  font-size: 0.75rem; font-weight: 900;
  color: var(--yellow);
  background: rgba(245,200,0,0.15);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}

.sulzer-visual {
  display: flex; flex-direction: column; gap: 1.2rem;
}

.sulzer-card-main {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
}
.sulzer-wordmark-img {
  display: block;
  max-width: 200px;
  height: auto;
  margin: 0 auto 1rem;
  border-radius: 6px;
}
.sulzer-tagline {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 0.4rem;
}
.sulzer-since {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem; font-weight: 900;
  color: var(--yellow);
}
.sulzer-since span { font-size: 0.8rem; color: rgba(255,255,255,0.4); font-weight: 400; }

.sulzer-stats-mini {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1px; background: rgba(255,255,255,0.08);
  border-radius: 6px; overflow: hidden;
}
.ssm {
  background: rgba(15,38,96,0.6);
  padding: 1rem;
  text-align: center;
}
.ssm-n {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem; font-weight: 900;
  color: var(--yellow);
}
.ssm-l { font-size: 0.68rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.2rem; }

/* ── SERVICIOS ── */
#servicios { background: var(--white); }

.servicios-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 2.5rem;
}

.btn-blue {
  background: var(--blue);
  color: white;
  padding: 0.7rem 1.6rem;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-1px); }

.servicios-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.servicio-card {
  background-color: var(--blue-dark);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 2rem 1.7rem;
  position: relative; overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s, border-color 0.3s;
}
.servicio-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  transform: translateY(-3px);
  border-color: rgba(245,200,0,0.5);
}
.servicio-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), rgba(245,200,0,0.4));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.servicio-card:hover::after { transform: scaleX(1); }

/* Per-card background images */
.sc-1 { background-image: linear-gradient(rgba(15,38,96,0.70),rgba(15,38,96,0.70)), url('../img/01_bombas.png'); }
.sc-2 { background-image: linear-gradient(rgba(15,38,96,0.70),rgba(15,38,96,0.70)), url('../img/02_predictivo.png'); }
.sc-3 { background-image: linear-gradient(rgba(15,38,96,0.48),rgba(15,38,96,0.48)), url('../img/03_alineacion.png'); }
.sc-4 { background-image: linear-gradient(rgba(15,38,96,0.38),rgba(15,38,96,0.38)), url('../img/04_ventilador.jpg'); }
.sc-5 { background-image: linear-gradient(rgba(15,38,96,0.58),rgba(15,38,96,0.58)), url('../img/05_preventivo.png'); }
.sc-6 { background-image: linear-gradient(rgba(15,38,96,0.60),rgba(15,38,96,0.60)), url('../img/06_suministro.jpg'); }

.servicio-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem; font-weight: 900;
  color: rgba(255,255,255,0.07); line-height: 1;
  margin-bottom: 0.8rem; letter-spacing: -0.03em;
}
.servicio-icon { font-size: 1.6rem; margin-bottom: 0.8rem; display: block; }
.servicio-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem; font-weight: 800;
  color: #ffffff; margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.servicio-desc {
  font-size: 0.83rem; color: rgba(255,255,255,0.72); line-height: 1.6;
}
.servicio-tags {
  display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1rem;
}
.tag {
  font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.2rem 0.55rem; border-radius: 3px;
  font-weight: 600;
}

/* ── CONTACTO ── */
#contacto { background: var(--white); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contacto-col .section-title { margin-bottom: 0.7rem; }
.contacto-col .section-desc  { margin-bottom: 1.8rem; }

.contacto-ctas {
  display: grid; grid-template-columns: 1fr;
  gap: 0.9rem; margin-bottom: 1.8rem;
}

.contacto-cta-card {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--blue);
  border-radius: 8px;
  padding: 1.4rem 2rem;
  text-decoration: none; color: white;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.contacto-cta-card:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26,58,143,0.25);
}
.cta-card-icon { font-size: 2rem; flex-shrink: 0; }
.cta-card-body strong {
  display: block; font-size: 0.68rem; letter-spacing: 0.15em;
  text-transform: uppercase; font-weight: 700;
  opacity: 0.65; margin-bottom: 0.25rem;
}
.cta-card-body span {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem; font-weight: 800;
  letter-spacing: -0.01em;
}

.contacto-details {
  display: flex; flex-direction: column; gap: 1.2rem;
}

.info-item {
  display: flex; gap: 1rem; align-items: flex-start;
}
.info-icon {
  width: 40px; height: 40px;
  background: var(--blue-light);
  border: 1px solid rgba(26,58,143,0.15);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.info-text strong {
  display: block; font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-light);
  margin-bottom: 0.25rem; font-weight: 700;
}
.info-text a, .info-text span {
  color: var(--text); text-decoration: none; font-size: 0.92rem;
  line-height: 1.5; transition: color 0.2s;
}
.info-text a:hover { color: var(--blue); }

/* Mapa */
.contacto-mapa {
  border-radius: 10px;
  overflow: hidden;
  position: sticky; top: 90px;
}
.mapa-link {
  display: block; position: relative;
  text-decoration: none;
}
.mapa-img {
  width: 100%; height: auto; display: block;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: opacity 0.2s;
}
.mapa-link:hover .mapa-img { opacity: 0.9; }
.mapa-tag {
  position: absolute; bottom: 0.8rem; right: 0.8rem;
  background: var(--blue-dark);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.4rem 0.8rem; border-radius: 4px;
  pointer-events: none;
}

/* ── FOOTER ── */
footer {
  background: var(--blue-dark);
  padding: 2.5rem 6%;
  position: relative;
}
footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--yellow) 0%,
    var(--yellow) 9.61%,  var(--red)    12.61%,
    var(--red)   20.72%,  var(--yellow) 23.72%,
    var(--yellow) 31.83%, var(--red)    34.83%,
    var(--red)   42.94%,  var(--yellow) 45.94%,
    var(--yellow) 54.06%, var(--red)    57.06%,
    var(--red)   65.17%,  var(--yellow) 68.17%,
    var(--yellow) 76.28%, var(--red)    79.28%,
    var(--red)   87.39%,  var(--yellow) 90.39%,
    var(--yellow) 100%
  );
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 2rem; flex-wrap: wrap;
}
.footer-brand { line-height: 0; }
.footer-logo-img { height: 38px; width: auto; display: block; }
.footer-tagline {
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
  margin-top: 0.2rem;
}
.footer-contact {
  display: flex; gap: 2rem; align-items: center;
}
.footer-contact a {
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 0.82rem; transition: color 0.2s;
}
.footer-contact a:hover { color: var(--yellow); }
.footer-links {
  display: flex; gap: 1.5rem; list-style: none;
}
.footer-links a {
  font-size: 0.7rem; color: rgba(255,255,255,0.3);
  text-decoration: none; letter-spacing: 0.07em; text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy {
  font-size: 0.7rem; color: rgba(255,255,255,0.2);
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

/* ── PÁGINAS LEGALES ── */
.legal-hero {
  background: var(--blue-dark);
  padding: 110px 6% 60px;
  position: relative; overflow: hidden;
}
.legal-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--red));
}
.legal-hero-label {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--yellow); font-weight: 700;
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.legal-hero-label::before {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--yellow);
}
.legal-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900; color: var(--white);
  letter-spacing: -0.02em; margin-bottom: 0.5rem;
}
.legal-hero-meta {
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
  margin-top: 0.5rem;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 70px 6%;
}
.legal-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem; font-weight: 800;
  color: var(--blue-dark); margin: 2.5rem 0 0.7rem;
  letter-spacing: -0.01em;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--blue-light);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 0.92rem; color: var(--text-mid);
  line-height: 1.75; margin-bottom: 0.8rem;
}
.legal-content ul {
  margin: 0.5rem 0 1rem 1.5rem;
}
.legal-content li {
  font-size: 0.92rem; color: var(--text-mid);
  line-height: 1.75; margin-bottom: 0.3rem;
}
.legal-content a { color: var(--blue); }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-content .legal-data {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: 0 6px 6px 0;
  padding: 1.2rem 1.5rem;
  margin: 1rem 0;
  font-size: 0.88rem; color: var(--text-mid); line-height: 1.8;
}
.legal-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--blue); font-size: 0.82rem; font-weight: 600;
  text-decoration: none; letter-spacing: 0.05em;
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.legal-back::before { content: '←'; }
.legal-back:hover { color: var(--blue-dark); }

/* ── ANIMACIONES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content > * {
  opacity: 0;
  animation: fadeUp 0.65s ease forwards;
}
.hero-tag     { animation-delay: 0.1s; }
.hero-title   { animation-delay: 0.22s; }
.hero-sub     { animation-delay: 0.36s; }
.hero-actions { animation-delay: 0.5s; }
.hero-panel   { opacity: 0; animation: fadeUp 0.7s 0.35s ease forwards; }

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 920px) {
  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 100px 6% 3rem;
  }
  h1.hero-title { font-size: clamp(2rem, 8vw, 3.2rem); }
  .hero-sub { max-width: 100%; }
  .hero-panel { align-items: stretch; padding-top: 1.5rem; }
  .hero-stats-box { display: none; }
  .sulzer-badge {
    max-width: 100%; flex-direction: row;
    padding: 1.2rem 1.5rem; gap: 1rem; text-align: left;
  }
  .sulzer-badge-divider { display: none; }
  .sulzer-logo-box { padding: 0.4rem 0.8rem; }
  .sulzer-logo-img { height: 45px; }
  .empresa-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contacto-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contacto-mapa { position: static; }
  .servicios-grid { grid-template-columns: 1fr 1fr; }
  .sulzer-layout { grid-template-columns: 1fr; gap: 3rem; }
  .servicios-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* MENÚ MÓVIL — LIMPIO, SIN FLEX */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    z-index: 99;
    background: #ffffff;
    
    overflow: hidden;
  }
  .mobile-menu.open {
    display: block;
  }
  .mobile-nav {
    padding: 1rem 6% 0;
  }
  .mobile-nav ul {
    list-style: none;
    margin: 0; padding: 0;
  }
  .mobile-nav li {
    border-bottom: 1px solid var(--border);
  }
  .mobile-nav li:last-child {
    border-bottom: none;
  }
  .mobile-nav a {
    display: block;
    padding: 1rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blue-dark);
    text-decoration: none;
  }
  .mobile-menu-cta {
    padding: 1.5rem 6% 0;
    border-top: 1px solid var(--border);
    margin: 0.5rem 6% 0;
  }
  .mobile-menu-cta .btn-yellow {
    display: block;
    text-align: center;
    padding: 1rem;
  }
}

@media (max-width: 600px) {
  #hero { padding: 90px 5% 2.5rem; }
  h1.hero-title { font-size: clamp(1.7rem, 9vw, 2.4rem); }
  .hero-tag { font-size: 0.62rem; letter-spacing: 0.14em; margin-bottom: 1rem; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .sulzer-badge { padding: 1rem 1.2rem; }
  .sulzer-logo-img { height: 35px; }
  .sulzer-info strong { font-size: 0.65rem; letter-spacing: 0.1em; }
  .servicios-grid { grid-template-columns: 1fr; }
  .hero-stats-row { grid-template-columns: 1fr 1fr; }
  .cta-card-body span { font-size: 1.1rem; }
  .empresa-features { grid-template-columns: 1fr; }
}

/* NUCLEAR: nada de flex en el menú */
@media (max-width: 920px) {
  .mobile-menu, .mobile-menu.open,
  .mobile-nav, .mobile-nav ul,
  .mobile-menu-cta {
    display: block !important;
  }
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu.open {
    display: block !important;
  }
}

/* Ajuste final: bajar contenido y colocar CTA */
@media (max-width: 920px) {
  .mobile-nav {
    padding-top: 4.5rem !important;
  }
  .mobile-menu-cta {
    margin: 14.5rem 0 0 !important;
    padding: 1.2rem 6% 0 !important;
  }
}
