/* ===== site-system.css ===== */
/* =====================================================
   ALCO SUR INGENIERÍA — SISTEMA DE DISEÑO GLOBAL
   Estilo: Limpio / Premium / Clínico
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Paleta */
  --color-bg:           #ffffff;
  --color-surface:      #f7f9fc;
  --color-surface-2:    #eef3f9;
  --color-border:       rgba(18, 40, 72, 0.09);
  --color-border-hover: rgba(10, 90, 180, 0.22);

  --color-text:         #0f1c30;
  --color-muted:        #5a6d85;
  --color-subtle:       #8fa0b4;

  --color-blue:         #0a5dc2;
  --color-blue-dark:    #073f8a;
  --color-blue-light:   #e8f0fb;
  --color-blue-mid:     rgba(10, 93, 194, 0.08);

  --color-white-glass:  rgba(255,255,255,0.82);

  /* Tipografía */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'DM Sans', 'Inter', sans-serif;

  /* Radios */
  --r-xs:  8px;
  --r-sm:  12px;
  --r-md:  18px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-2xl: 44px;

  /* Sombras */
  --shadow-xs:  0 1px 3px rgba(10,30,60,0.06);
  --shadow-sm:  0 4px 16px rgba(10,30,60,0.07);
  --shadow-md:  0 12px 36px rgba(10,30,60,0.10);
  --shadow-lg:  0 24px 64px rgba(10,30,60,0.13);
  --shadow-blue: 0 12px 32px rgba(10,93,194,0.18);

  /* Transición */
  --ease: all 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Compatibilidad con nombres legacy */
  --apple-bg:         var(--color-bg);
  --apple-text:       var(--color-text);
  --apple-muted:      var(--color-muted);
  --apple-border:     var(--color-border);
  --apple-blue:       var(--color-blue);
  --apple-blue-dark:  var(--color-blue-dark);
  --apple-gray-soft:  var(--color-surface);
  --apple-cloud:      var(--color-blue-light);
  --apple-glass:      var(--color-white-glass);
  --apple-radius-xl:  var(--r-xl);
  --apple-radius-lg:  var(--r-lg);
  --apple-radius-md:  var(--r-md);
  --transition-apple: var(--ease);
  --site-shadow:      var(--shadow-lg);
  --site-shadow-soft: var(--shadow-sm);
  --site-shadow-dream:var(--shadow-md);
}

/* ── Reset base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

/* ── Layout ───────────────────────────────────────── */
.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section { padding: 88px 0; }

.surface-band {
  margin: 0 24px;
  border-radius: var(--r-2xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

/* ── Tipografía global ────────────────────────────── */
.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--color-text);
}

/* ── Botones ──────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--color-blue);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  box-shadow: var(--shadow-blue);
  transition: var(--ease);
}
.btn-primary:hover {
  background: var(--color-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(10,93,194,0.26);
}

/* ── Soft card ────────────────────────────────────── */
.soft-card {
  background: var(--color-white-glass);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ============================================================
   HEADER
   ============================================================ */
.mac-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), var(--shadow-xs);
}

.mac-nav {
  width: min(1260px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mac-brand a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.mac-brand img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* Nav links */
.mac-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.mac-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--color-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--ease);
}

.mac-links a:hover {
  color: var(--color-blue);
  background: var(--color-blue-mid);
}

.mac-links a.is-active {
  color: var(--color-blue);
  background: var(--color-blue-light);
  font-weight: 700;
}

/* Hamburger */
.mac-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: white;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.mac-menu-toggle span {
  width: 17px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--color-blue);
  transition: var(--ease);
}

.mac-menu-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mac-menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mac-menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: white;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37,211,102,0.34), 0 2px 6px rgba(0,0,0,0.08);
  transition: var(--ease);
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 40px rgba(37,211,102,0.42);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-top: 80px;
  padding: 64px 0 28px;
  color: white;
  background: linear-gradient(160deg, #0b1828 0%, #0d2040 60%, #091830 100%);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}

.footer-brand img {
  height: 40px;
  width: auto;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  background: white;
  margin-bottom: 18px;
}

.footer-brand p {
  color: rgba(255,255,255,0.56);
  font-size: 14px;
  line-height: 1.7;
  max-width: 240px;
}

.footer-col h4 {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.38);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 11px;
}

.footer-col a,
.footer-col li {
  color: rgba(255,255,255,0.64);
  font-size: 14px;
  text-decoration: none;
  transition: var(--ease);
}

.footer-col a:hover { color: white; }

.footer-col i {
  width: 16px;
  margin-right: 8px;
  color: rgba(255,255,255,0.36);
  font-size: 13px;
}

.footer-bottom {
  width: min(1180px, calc(100% - 48px));
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
}

/* ============================================================
   404
   ============================================================ */
.not-found {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 72px 24px;
  text-align: center;
  background: var(--color-surface);
}

.not-found-inner { margin: 0 auto; max-width: 760px; }

.not-found-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--color-blue-mid);
  color: var(--color-blue);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 28px;
}

.not-found h1 {
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 18px;
  color: var(--color-text);
}

.not-found p {
  color: var(--color-muted);
  font-size: 18px;
  margin: 0 auto 32px;
  max-width: 540px;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.not-found-actions a {
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 26px;
  text-decoration: none;
}

.not-found-primary { background: var(--color-blue); color: white; }
.not-found-secondary {
  background: white;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

/* ============================================================
   RESPONSIVE GLOBAL
   ============================================================ */
@media (max-width: 980px) {
  .mac-menu-toggle { display: flex; }

  .mac-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }

  .mac-links.is-open { display: flex; }

  .mac-links a {
    justify-content: center;
    font-size: 15px;
    min-height: 44px;
  }

  .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container,
  .footer-container,
  .footer-bottom { width: calc(100% - 32px); }

  .mac-brand img { height: 32px; }
  .footer-container { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* ── Header scroll-aware ──────────────────────────── */
.mac-header.is-scrolled {
  box-shadow: 0 2px 18px rgba(10,30,60,0.10);
  background: rgba(255,255,255,0.95);
}



/* =====================================================
   ALCO SUR — PRODUCT SYSTEM (puertas, ventanas, passbox, paneles)
   Estilo: Limpio / Premium / Clínico
   ===================================================== */

.product-page {
  background: var(--color-bg);
}

/* ── Hero ─────────────────────────────────────────── */
.product-hero {
  min-height: 600px;
  display: grid;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
  background: var(--color-text);
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-image) center / cover;
  transform: scale(1.04);
  transition: transform 9s ease;
  filter: saturate(0.96);
}

.product-hero:hover::before { transform: scale(1.08); }

.product-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,18,36,0.88) 0%, rgba(8,18,36,0.56) 55%, rgba(8,18,36,0.22) 100%),
    linear-gradient(0deg, rgba(8,18,36,0.38) 0%, transparent 50%);
}

.product-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0 80px;
}

.product-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-hero h1 {
  max-width: 780px;
  margin: 20px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.product-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.6;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.product-actions .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.45);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--ease);
}
.product-actions .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* Metrics bar */
.product-metrics {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.product-metrics div {
  padding: 22px 26px;
  background: rgba(255,255,255,0.06);
}

.product-metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-metrics span {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  margin-top: 2px;
  display: block;
}

/* ── Sections ─────────────────────────────────────── */
.product-section { padding: 88px 0; }

.product-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.product-heading.left { margin: 0; text-align: left; }

.product-heading h2 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.product-heading p { color: var(--color-muted); font-size: 17px; line-height: 1.68; }

/* ── Product card grid ────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card {
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  background: white;
  box-shadow: var(--shadow-xs);
  padding: 28px;
  transition: var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}

.product-card i { color: var(--color-blue); font-size: 26px; }
.product-card h3 { margin: 16px 0 9px; font-size: 19px; font-weight: 700; }
.product-card p { color: var(--color-muted); font-size: 14.5px; line-height: 1.65; }

/* ── Split ────────────────────────────────────────── */
.product-split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(300px,0.88fr);
  gap: 56px;
  align-items: center;
}

.product-media {
  overflow: hidden;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.product-media img {
  width: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
}

/* ── Specs grid ───────────────────────────────────── */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.spec-card {
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  background: white;
  box-shadow: var(--shadow-xs);
  padding: 26px 22px;
  text-align: center;
}

.spec-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-blue);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.spec-card span { color: var(--color-muted); font-size: 13px; }

/* ── Band ─────────────────────────────────────────── */
.product-band {
  margin: 0 24px;
  border-radius: var(--r-2xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

/* ── Highlight panel ──────────────────────────────── */
.product-panel {
  padding: 52px 42px;
  border-radius: var(--r-2xl);
  background:
    linear-gradient(135deg, rgba(10,93,194,0.96), rgba(6,48,110,0.97)),
    var(--panel-image) center / cover;
  color: white;
  text-align: center;
  box-shadow: var(--shadow-blue);
}

.product-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.product-panel p {
  max-width: 700px;
  margin: 0 auto 28px;
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.68;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pill-row span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 13px;
  font-weight: 600;
}

/* ── Related grid ─────────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.related-card {
  display: block;
  padding: 24px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  background: white;
  box-shadow: var(--shadow-xs);
  color: inherit;
  text-decoration: none;
  transition: var(--ease);
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}

.related-card i { color: var(--color-blue); font-size: 24px; }
.related-card h3 { margin: 14px 0 7px; font-size: 16px; font-weight: 700; }
.related-card p { color: var(--color-muted); font-size: 13.5px; line-height: 1.55; margin: 0; }

/* ── Product CTA ──────────────────────────────────── */
.product-cta {
  padding: 88px 0;
  text-align: center;
  background: linear-gradient(160deg, #0b1828 0%, #0a3d7a 100%);
  color: white;
}

.product-cta h2 {
  max-width: 720px;
  margin: 0 auto 16px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.product-cta p {
  max-width: 620px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,0.74);
  font-size: 17px;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 980px) {
  .product-grid,
  .product-split,
  .spec-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .product-metrics { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .product-hero-inner { width: calc(100% - 32px); padding: 80px 0 60px; }
  .product-actions { flex-direction: column; }
  .product-actions a { width: 100%; justify-content: center; }
  .product-band { margin: 0; border-radius: 0; border-left: 0; border-right: 0; }
  .product-panel { padding: 36px 24px; }
  .related-grid { grid-template-columns: 1fr; }
  .product-cta .btn-primary { width: 100%; justify-content: center; }
}



/* =====================================================
   ALCO SUR — HOME PAGE
   ===================================================== */

/* ── Variables locales ────────────────────────────── */
:root {
  --hero-height: 58vh;
  --hero-min: 520px;
}

@media (max-height: 800px) and (min-width: 1200px) {
  :root { --hero-height: 48vh; --hero-min: 420px; }
}

/* ── Hero ─────────────────────────────────────────── */
.hero-cinematic {
  position: relative;
  height: var(--hero-height);
  min-height: var(--hero-min);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 9s ease;
}

.hero-cinematic:hover .hero-bg { transform: scale(1.12); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(8, 18, 36, 0.68) 0%,
    rgba(8, 18, 36, 0.52) 50%,
    rgba(8, 18, 36, 0.62) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 24px;
  animation: fadeUp 1s ease both;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 66px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 14px;
}

.hero-content p {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.88);
  font-weight: 400;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Grid utilidades ──────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Cards ────────────────────────────────────────── */
.card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: 32px 26px;
  box-shadow: var(--shadow-xs);
  transition: var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}

.card i {
  font-size: 32px;
  color: var(--color-blue);
  margin-bottom: 18px;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  color: var(--color-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ── Cert badges ──────────────────────────────────── */
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  transition: var(--ease);
}

.cert-badge:hover {
  background: var(--color-blue-light);
  border-color: var(--color-blue);
  color: var(--color-blue);
  transform: translateY(-2px);
}

.cert-badge i { color: var(--color-blue); }

/* ── Stats ────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-item {
  text-align: center;
  padding: 32px 20px;
  background: white;
  border-radius: var(--r-xl);
  border: 1px solid var(--color-border);
  transition: var(--ease);
}

.stat-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--color-muted);
  font-size: 13.5px;
}

/* ── Sanitary grid ────────────────────────────────── */
.sanitary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Panel carousel */
.panel-card {
  background: white;
  border-radius: var(--r-2xl);
  overflow: hidden;
  position: relative;
  min-height: 400px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.panel-carousel { position: absolute; inset: 0; }

.panel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.panel-slide.is-active { opacity: 1; }

.panel-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 5;
}

.panel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(0,0,0,0.1);
  transition: var(--ease);
}

.panel-dot.is-active { background: white; width: 20px; }

/* ── Team grid ────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.team-image {
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.team-image:hover img { transform: scale(1.04); }

/* ── Parallax ─────────────────────────────────────── */
.parallax-section {
  position: relative;
  height: 360px;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,14,28,0.52);
}

.parallax-content {
  position: relative;
  z-index: 2;
  padding: 22px 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.parallax-content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: white;
  margin: 0;
  letter-spacing: -0.02em;
}

/* ── Industry grid ────────────────────────────────── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.industry-item {
  background: white;
  border-radius: var(--r-xl);
  padding: 30px 22px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: var(--ease);
}

.industry-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}

.industry-item i {
  font-size: 34px;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.industry-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.industry-item p { color: var(--color-muted); font-size: 13px; margin: 0; }

/* ── Home product grid ────────────────────────────── */
.home-product-section { padding: 0 0 72px; }

.home-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.home-product-card {
  position: relative;
  min-height: clamp(240px, 28vh, 320px);
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
}

.home-product-card:hover {
  transform: translateY(-5px) scale(1.005);
  box-shadow: var(--shadow-lg);
}

.home-product-card .grid-bg,
.home-product-card .grid-shade,
.home-product-card .hover-overlay { position: absolute; inset: 0; }

.home-product-card .grid-bg {
  background-size: cover;
  background-position: center;
  filter: brightness(0.78);
  transition: transform 7s ease, filter 0.4s ease;
}

/* Las imagenes de Productos de linea se definen en app/Views/pages/home.php. */

.home-product-card:hover .grid-bg { transform: scale(1.08); filter: brightness(0.70); }

.home-product-card .grid-shade {
  background: linear-gradient(160deg, rgba(8,20,40,0.28) 0%, rgba(8,20,40,0.06) 100%);
}

/* Caption */
.home-product-caption {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  z-index: 15;
  pointer-events: none;
}

.home-product-caption-inner {
  display: inline-block;
  padding: 12px 18px;
  border-radius: var(--r-md);
  color: white;
  background: rgba(6,16,32,0.38);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.home-product-caption span {
  display: block;
  margin-bottom: 2px;
  color: rgba(255,255,255,0.82);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-product-caption h3 {
  margin: 0;
  color: white;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 700;
  line-height: 1;
}

.home-product-caption p {
  margin: 4px 0 0;
  color: rgba(255,255,255,0.84);
  font-size: 12px;
}

/* Hover overlay */
.hover-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 22px;
  text-align: center;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.38s ease;
}

.home-product-card:hover .hover-overlay { opacity: 1; }

.hover-overlay i {
  color: var(--color-blue);
  font-size: clamp(28px, 3.5vw, 36px);
  margin-bottom: 10px;
}

.hover-overlay p {
  max-width: 230px;
  margin: 0 0 14px;
  color: var(--color-muted);
  font-size: clamp(12px, 1.4vw, 13.5px);
  line-height: 1.55;
}

.home-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--color-blue);
  color: white;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--ease);
}

.home-card-link:hover { background: var(--color-blue-dark); }

/* ── Proyecto cards ───────────────────────────────── */
.project-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 960px;
  margin: 40px auto 0;
}

.project-card {
  cursor: pointer;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  transition: var(--ease);
  background: white;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-hover);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.project-card .stat-label {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
}

/* ── Soft list ────────────────────────────────────── */
.soft-list { margin: 0; padding: 0; list-style: none; }

.soft-list li {
  display: flex;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--color-border);
}
.soft-list li:last-child { border-bottom: 0; }
.soft-list i { margin-right: 14px; color: var(--color-blue); font-size: 18px; flex-shrink: 0; }

/* ── Mini metric ──────────────────────────────────── */
.mini-metric-row { display: flex; gap: 16px; margin-top: 8px; }

.mini-metric {
  padding: 18px 24px;
  border-radius: var(--r-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.mini-metric strong {
  display: block;
  color: var(--color-blue);
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mini-metric span { display: block; color: var(--color-muted); font-size: 13px; margin-top: 2px; }

/* ── Info panel ───────────────────────────────────── */
.info-panel {
  margin-top: 56px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-2xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.info-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}

.inline-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.inline-title i { color: var(--color-blue); font-size: 24px; }
.inline-title h3 { margin: 0; font-size: 20px; font-weight: 700; }

.muted-copy { color: var(--color-muted); font-size: 15px; line-height: 1.7; }

/* ── Typography helpers ───────────────────────────── */
.section-title { text-align: center; }
.section-subtitle { display: inline-flex; }
.section-subtitle-left { text-align: left; }

.lead {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.72;
  color: var(--color-muted);
}

.lead-tight { margin-bottom: 28px; }

.feature-heading {
  margin: 14px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.feature-heading-sm { font-size: clamp(28px, 3.5vw, 38px); }
.feature-copy { font-size: clamp(15px, 1.7vw, 17px); line-height: 1.7; margin-bottom: 28px; }
.feature-copy-tight { margin-bottom: 18px; }
.text-blue { color: var(--color-blue); }
.section-title-compact { margin: 14px 0 44px; }

/* ── Trajectory ───────────────────────────────────── */
.trajectory-section { padding-top: 12px; padding-bottom: 36px; }
.trajectory { text-align: center; }
.trajectory-label { color: var(--color-muted); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.trajectory-label i { margin-right: 6px; color: var(--color-blue); }
.trajectory-number {
  margin: 14px 0 8px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.trajectory-copy { max-width: 560px; margin: 0 auto; color: var(--color-muted); font-size: clamp(16px, 1.8vw, 18px); }

/* ── CTA ──────────────────────────────────────────── */
.cta { text-align: center; padding: 0 24px 80px; }
.cta-note { margin-top: 18px; color: var(--color-muted); font-size: 14px; }
.cta-note i { margin-right: 6px; color: var(--color-blue); }

/* ── Badge row ────────────────────────────────────── */
.badge-row-home { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 52px; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 960px) {
  .grid-3, .sanitary-grid, .team-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .home-product-grid, .info-panel-grid, .project-grid { grid-template-columns: 1fr; }
  .mini-metric-row { flex-direction: column; }
}

@media (max-width: 520px) {
  .stat-grid, .industry-grid { grid-template-columns: 1fr; }
}



/* ================================================= */
/* ============== EMPRESAS HERO ==================== */
/* ================================================= */

.empresas-hero {
  position: relative;
  padding: 100px 24px 80px;
  background: linear-gradient(to bottom, #ffffff, #f9f9fb);
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--apple-border);
}

.empresas-hero h1 {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -2px;
  margin-bottom: 16px;
  color: var(--apple-text);
  position: relative;
  z-index: 2;
}

.empresas-hero p {
  font-size: 20px;
  color: var(--apple-muted);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  font-weight: 400;
}

/* ================================================= */
/* ============== TRUST BADGES ===================== */
/* ================================================= */

.trust-banner {
  background: var(--apple-gray-soft);
  padding: 24px;
  border-bottom: 1px solid var(--apple-border);
}

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-item i {
  font-size: 24px;
  color: var(--apple-blue);
}

.trust-item span {
  font-size: 15px;
  font-weight: 500;
  color: var(--apple-text);
}

/* ================================================= */
/* ============== ABOUT GRID ======================= */
/* ================================================= */

.about-section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: var(--apple-text);
}

.about-content p {
  font-size: 18px;
  color: var(--apple-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.about-stat {
  background: white;
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-lg);
  padding: 24px;
  transition: var(--transition-apple);
}

.about-stat:hover {
  transform: translateY(-4px);
  border-color: var(--apple-blue);
  box-shadow: var(--shadow-md);
}

.about-stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--apple-blue);
  margin-bottom: 8px;
}

.about-stat-label {
  font-size: 15px;
  color: var(--apple-muted);
}

.about-image {
  border-radius: var(--apple-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-apple);
}

.about-image:hover img {
  transform: scale(1.02);
}

/* ================================================= */
/* ============== MISION VISION ==================== */
/* ================================================= */

.mision-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
}

.mision-card, .vision-card {
  background: white;
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-xl);
  padding: 40px 32px;
  transition: var(--transition-apple);
}

.mision-card:hover, .vision-card:hover {
  border-color: var(--apple-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.mision-icon, .vision-icon {
  font-size: 40px;
  color: var(--apple-blue);
  margin-bottom: 24px;
}

.mision-card h3, .vision-card h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.mision-card p, .vision-card p {
  font-size: 16px;
  color: var(--apple-muted);
  line-height: 1.6;
}

/* ================================================= */
/* ============== VALORES ========================== */
/* ================================================= */

.valores-section {
  background: var(--apple-gray-soft);
  padding: 80px 24px;
  border-radius: 48px;
  margin: 40px 24px;
}

.valores-container {
  max-width: 1200px;
  margin: 0 auto;
}

.valores-header {
  text-align: center;
  margin-bottom: 48px;
}

.valores-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0,102,204,0.08);
  color: var(--apple-blue);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.valores-header h2 {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.valor-item {
  background: white;
  border-radius: var(--apple-radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--apple-border);
  transition: var(--transition-apple);
}

.valor-item:hover {
  transform: translateY(-6px);
  border-color: var(--apple-blue);
  box-shadow: var(--shadow-md);
}

.valor-icon {
  font-size: 40px;
  color: var(--apple-blue);
  margin-bottom: 20px;
}

.valor-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.valor-item p {
  font-size: 14px;
  color: var(--apple-muted);
  line-height: 1.5;
}

/* ================================================= */
/* ============== CLIENTES ========================= */
/* ================================================= */

.clientes-section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.clientes-header {
  text-align: center;
  margin-bottom: 48px;
}

.clientes-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0,102,204,0.08);
  color: var(--apple-blue);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.clientes-header h2 {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cliente-item {
  background: white;
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition-apple);
}

.cliente-item:hover {
  border-color: var(--apple-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.cliente-icon {
  font-size: 48px;
  color: var(--apple-muted);
  margin-bottom: 16px;
  opacity: 0.7;
}

.cliente-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cliente-item p {
  font-size: 13px;
  color: var(--apple-muted);
}

/* ================================================= */
/* ============== CERTIFICACIONES ================== */
/* ================================================= */

.certificaciones-section {
  background: linear-gradient(145deg, #f5f5f7, #ffffff);
  border-radius: var(--apple-radius-xl);
  max-width: 1200px;
  margin: 40px auto;
  padding: 60px 48px;
  border: 1px solid var(--apple-border);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.cert-item {
  text-align: center;
}

.cert-icon {
  font-size: 48px;
  color: var(--apple-blue);
  margin-bottom: 20px;
}

.cert-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cert-item p {
  font-size: 14px;
  color: var(--apple-muted);
  line-height: 1.5;
}

/* ================================================= */
/* ============== TIMELINE ========================= */
/* ================================================= */

.timeline-section {
  padding: 60px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-header {
  text-align: center;
  margin-bottom: 60px;
}

.timeline-header h2 {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.timeline-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 32px;
  background: white;
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-lg);
  transition: var(--transition-apple);
}

.timeline-item:hover {
  border-color: var(--apple-blue);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.timeline-year {
  font-size: 28px;
  font-weight: 700;
  color: var(--apple-blue);
  letter-spacing: -1px;
}

.timeline-content h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 16px;
  color: var(--apple-muted);
}

/* ================================================= */
/* ============== CTA EMPRESAS ===================== */
/* ================================================= */

.cta-empresas {
  background: linear-gradient(145deg, #0066cc, #004999);
  border-radius: var(--apple-radius-xl);
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 64px 48px;
  text-align: center;
  color: white;
}

.cta-empresas h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.cta-empresas p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta-empresas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 48px;
  background: white;
  border: none;
  border-radius: 980px;
  color: var(--apple-blue-dark);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-apple);
}

.btn-cta-empresas:hover {
  background: rgba(255,255,255,0.95);
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.btn-cta-empresas i {
  font-size: 18px;
}

/* ================================================= */
/* ============== RESPONSIVE ======================= */
/* ================================================= */

@media (max-width: 950px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .clientes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cert-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .empresas-hero h1 {
    font-size: 48px;
  }
}

@media (max-width: 650px) {
  .empresas-hero h1 {
    font-size: 40px;
  }
  
  .valores-grid {
    grid-template-columns: 1fr;
  }
  
  .clientes-grid {
    grid-template-columns: 1fr;
  }
  
  .mision-vision-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .trust-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cta-empresas {
    padding: 48px 24px;
  }
  
  .cta-empresas h2 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .empresas-hero {
    padding: 80px 20px 60px;
  }
  
  .empresas-hero h1 {
    font-size: 36px;
  }
  
  .empresas-hero p {
    font-size: 18px;
  }
  
  .about-content h2 {
    font-size: 36px;
  }
  
  .valores-header h2 {
    font-size: 36px;
  }
  
  .btn-cta-empresas {
    padding: 16px 32px;
    width: 100%;
  }
}

html {
  scroll-behavior: smooth;
}

/* ================================================= */
/* ============== HERO CON IMAGEN BG =============== */
/* ================================================= */

.empresas-hero {
  position: relative;
  padding: 120px 24px 100px;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empresas-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.3));
  z-index: 1;
}
.empresas-hero h1,
.empresas-hero p {
  position: relative;
  z-index: 3;
  animation: fadeUp 1.2s ease forwards;
  opacity: 0;
}

.empresas-hero h1 {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -2px;
  margin-bottom: 16px;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.empresas-hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(30px); }
}

/* ================================================= */
/* ============== RESPONSIVE HERO ================== */
/* ================================================= */

@media (max-width: 950px) {
  .empresas-hero h1 {
    font-size: 48px;
  }
  
  .empresas-hero {
    padding: 100px 24px 80px;
    min-height: 450px;
  }
}

@media (max-width: 650px) {
  .empresas-hero h1 {
    font-size: 40px;
  }
  
  .empresas-hero p {
    font-size: 18px;
  }
  
  .empresas-hero {
    padding: 80px 20px 60px;
    min-height: 400px;
    background-attachment: scroll; /* Mejor rendimiento móvil */
  }
}

@media (max-width: 480px) {
  .empresas-hero h1 {
    font-size: 36px;
  }
  
  .empresas-hero {
    padding: 70px 16px 50px;
    min-height: 350px;
  }
}

/* ================================================= */
/* ============== STATS EN LÍNEA =================== */
/* ================================================= */

.stats-inline {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  max-width: 100%;
}

.stat-card {
  flex: 1;
  background: white;
  border: 1px solid var(--apple-border);
  border-radius: var(--apple-radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition-apple);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--apple-blue);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--apple-blue);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 15px;
  color: var(--apple-muted);
}

/* Responsive stats */
@media (max-width: 650px) {
  .stats-inline {
    flex-direction: column;
    gap: 12px;
  }
  
  .stat-card {
    width: 100%;
    padding: 20px 16px;
  }
}

/* ================================================= */
/* ============== HERO CINEMATIC =================== */
/* ============== IDÉNTICO AL HOME ================= */
/* ================================================= */

.hero-cinematic {
  position: relative;
  height: 45vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: transform 8s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  animation: fadeUp 1.2s ease forwards;
  opacity: 0;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -2px;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
  font-size: 20px;
  opacity: 0.95;
  max-width: 720px;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(30px); }
}

.hero-cinematic:hover .hero-bg {
  transform: scale(1.18);
}

/* Responsive Hero */
@media (max-width: 950px) {
  .hero-cinematic {
    min-height: 400px;
  }
  .hero-content h1 {
    font-size: 42px;
  }
}

@media (max-width: 650px) {
  .hero-cinematic {
    min-height: 350px;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .hero-content p {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .hero-cinematic {
    min-height: 320px;
  }
  .hero-content h1 {
    font-size: 32px;
  }
}

.align-start {
  margin-left: 0;
  margin-bottom: 16px;
}

.about-section-tight {
  padding-top: 0;
}

.section-heading-center {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading-center h2 {
  margin-top: 16px;
  font-size: 36px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 48px;
}

.clientes-lead {
  max-width: 700px;
  margin: 0 auto;
  color: var(--apple-muted);
  font-size: 18px;
}

.timeline-lead {
  color: var(--apple-muted);
  font-size: 18px;
}

/* ── Parche tipografía premium ─────────────────── */
.empresas-hero h1,
.about-content h2,
.mision-card h3,
.vision-card h3,
.valores-header h2,
.clientes-header h2,
.timeline-header h2,
.cta-empresas h2 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

.about-stat-number {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}





/* =====================================================
   REFRESH FINAL 2026-06-09
   Una sola hoja manda: hero uniforme, bordes suaves, home/proyectos premium.
   ===================================================== */

:root {
  --color-bg: #fbfdff;
  --color-surface: #f5f9fd;
  --color-surface-2: #edf5fc;
  --color-border: rgba(19, 43, 72, 0.075);
  --color-border-hover: rgba(10, 93, 194, 0.16);
  --color-blue-light: #eaf4ff;
  --color-blue-mid: rgba(10, 93, 194, 0.075);
  --shadow-xs: 0 1px 2px rgba(10, 30, 60, 0.035);
  --shadow-sm: 0 10px 30px rgba(25, 67, 110, 0.07);
  --shadow-md: 0 22px 58px rgba(22, 73, 126, 0.105);
  --shadow-lg: 0 34px 90px rgba(18, 66, 120, 0.13);
  --page-hero-height: clamp(440px, 52vh, 560px);
}

body {
  background:
    radial-gradient(circle at 10% 4%, rgba(132, 198, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 88% 10%, rgba(196, 225, 255, 0.22), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 45%, #ffffff 100%);
}

.section {
  padding: clamp(68px, 8vw, 96px) 0;
}

.surface-band,
.product-band,
.valores-section,
.certificaciones-section,
.indalce-section,
.info-panel {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.78), rgba(242,248,254,0.92)),
    var(--color-surface);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), var(--shadow-sm);
}

.card,
.stat-item,
.product-card,
.spec-card,
.related-card,
.contact-card,
.feature-item,
.industry-item,
.project-card,
.mision-card,
.vision-card,
.valor-item,
.cliente-item,
.timeline-item,
.stat-card,
.about-stat {
  border-color: var(--color-border) !important;
  box-shadow: var(--shadow-xs);
}

.card:hover,
.stat-item:hover,
.product-card:hover,
.spec-card:hover,
.related-card:hover,
.contact-card:hover,
.feature-item:hover,
.industry-item:hover,
.project-card:hover,
.mision-card:hover,
.vision-card:hover,
.valor-item:hover,
.cliente-item:hover,
.timeline-item:hover,
.stat-card:hover,
.about-stat:hover {
  border-color: var(--color-border-hover) !important;
  box-shadow: var(--shadow-md);
}

/* Hero/banner uniforme en todas las páginas */
.hero-cinematic,
.product-hero,
.contact-hero {
  min-height: var(--page-hero-height) !important;
  height: auto !important;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.contact-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(10, 93, 194, 0.11), transparent 20rem),
    radial-gradient(circle at 82% 22%, rgba(120, 190, 255, 0.16), transparent 23rem),
    linear-gradient(180deg, #ffffff, #f6fbff);
  border-bottom: 1px solid var(--color-border);
}

.hero-bg,
.product-hero::before {
  filter: saturate(0.98) contrast(1.02);
}

.hero-overlay,
.product-hero::after {
  background:
    linear-gradient(180deg, rgba(6,16,32,0.56), rgba(6,16,32,0.42)),
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.12), transparent 26rem) !important;
}

.hero-content,
.product-hero-inner,
.contact-hero > h1,
.contact-hero > p {
  position: relative;
  z-index: 2;
}

.hero-content,
.product-hero-inner {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 104px) 0;
  text-align: center;
}

.product-hero h1,
.hero-content h1,
.contact-hero h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(40px, 5.3vw, 68px);
  line-height: 1.02;
}

.product-hero p,
.hero-content p,
.contact-hero p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(16px, 1.8vw, 20px);
}

.product-actions,
.product-metrics {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

/* Productos de línea: etiqueta desaparece al hover */
.home-product-section {
  padding: 0 0 clamp(72px, 8vw, 104px);
}

.home-product-grid {
  gap: clamp(18px, 2.4vw, 28px);
}

.home-product-card {
  min-height: clamp(280px, 34vh, 390px);
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.68);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.home-product-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28);
  z-index: 20;
}

.home-product-caption {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.home-product-card:hover .home-product-caption {
  opacity: 0;
  transform: translateY(12px);
}

.home-product-caption-inner {
  background: rgba(8, 18, 34, 0.34);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.hover-overlay {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.86), rgba(255,255,255,0.74) 42%, rgba(238,247,255,0.82)),
    rgba(255,255,255,0.84);
}

.hover-overlay i {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: rgba(10, 93, 194, 0.09);
  margin-bottom: 16px;
}

.hover-overlay p {
  max-width: 310px;
  font-size: 14px;
}

/* Home proyectos */
.projects-preview {
  position: relative;
}

.projects-preview .section-title {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.projects-preview .lead {
  margin-bottom: 36px;
}

.project-grid {
  max-width: 1120px;
  gap: clamp(18px, 2.4vw, 28px);
}

.project-card {
  position: relative;
  padding: 0;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.88), rgba(245,250,255,0.96));
  overflow: hidden;
}

.project-card img {
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.project-card .stat-label {
  padding: 18px 20px 20px;
  font-size: 15px;
}

.project-card .stat-label::before {
  content: "Ver proyecto";
  display: block;
  margin-bottom: 6px;
  color: var(--color-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* CTA de productos */
.product-cta {
  margin: clamp(30px, 5vw, 56px) 24px 0;
  padding: clamp(58px, 8vw, 92px) 0;
  border-radius: 42px;
  background:
    radial-gradient(circle at 18% 0%, rgba(133, 197, 255, 0.24), transparent 24rem),
    linear-gradient(150deg, #0b1828, #0a376f 58%, #0b5fc8);
  box-shadow: var(--shadow-lg);
}

.product-cta .container {
  max-width: 860px;
}

.product-cta p {
  color: rgba(255,255,255,0.78);
}

/* Página proyectos */
.projects-page .projects-hero {
  margin-bottom: 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
}

.project-detail-card {
  overflow: hidden;
  border-radius: 32px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.74);
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
}

.project-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.project-detail-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-detail-body {
  padding: 26px;
}

.project-detail-body span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--color-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-detail-body h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.project-detail-body p {
  margin: 0;
  color: var(--color-muted);
}

.projects-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .projects-grid,
  .projects-capabilities {
    grid-template-columns: 1fr;
  }
}

/* Ajustes técnicos y visuales finales */
.home-card-link,
.home-card-link i,
.home-product-card:hover .home-card-link,
.home-product-card:hover .home-card-link i {
  color: #fff !important;
}

.product-actions .btn-outline {
  background: rgba(255,255,255,0.18) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.54) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 12px 28px rgba(0,0,0,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.product-actions .btn-outline:hover {
  background: #fff !important;
  color: var(--color-blue) !important;
  border-color: #fff !important;
}

.product-media,
.project-card,
.project-detail-card,
.home-product-card {
  background: linear-gradient(145deg, #f7fbff, #eef6ff);
}

.product-media img,
.project-card img,
.project-detail-card img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
  background: linear-gradient(145deg, #f8fbff, #edf5fc);
}

.home-product-card .grid-bg {
  background-size: 100% auto !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #eef6ff;
}

.home-product-card:hover .grid-bg {
  transform: none !important;
  filter: brightness(0.78) !important;
}

.technical-section {
  padding-top: 18px;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.technical-card {
  padding: 28px 24px;
  border-radius: 28px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.76);
  box-shadow: var(--dream-shadow-base);
  transition: transform var(--dream-transition), box-shadow var(--dream-transition);
}

.technical-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--dream-shadow-hover);
}

.technical-card i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: var(--color-blue);
  background: var(--color-blue-light);
}

.technical-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.technical-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.product-cta {
  background:
    linear-gradient(90deg, rgba(5,100,214,0.99), rgba(6,55,126,0.985)),
    var(--cta-image) center / cover !important;
}



@keyframes contactBurst {
  0% {
    transform: translate3d(0, 90px, 0) scale(0.65) rotate(-18deg);
    opacity: 0;
  }
  10% {
    opacity: 0.95;
  }
  42% {
    transform: translate3d(calc(var(--dx) * 0.56), calc(var(--rise) * -1), 0) scale(1) rotate(12deg);
    opacity: 0.9;
  }
  100% {
    transform: translate3d(var(--dx), var(--fall), 0) scale(0.72) rotate(44deg);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .technical-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-content,
  .product-hero-inner {
    width: calc(100% - 32px);
  }

  .product-cta {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }
}

/* Ajustes premium finales: header overlay, heroes uniformes, sombras y CTAs */
:root {
  --header-height: 72px;
  --page-hero-height: clamp(520px, 58vh, 660px);
  --dream-shadow-base: 0 16px 44px rgba(12, 32, 62, 0.10), 0 1px 0 rgba(255,255,255,0.78) inset;
  --dream-shadow-hover: 0 26px 72px rgba(10, 42, 84, 0.16), 0 1px 0 rgba(255,255,255,0.92) inset;
  --dream-transition: 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
  --cta-image: linear-gradient(90deg, #176bd0, #0d4387);
}

html,
body {
  margin: 0 !important;
  padding: 0 !important;
}

body {
  overflow-x: hidden;
}

.mac-header {
  position: sticky !important;
  top: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.9) !important;
  border-bottom: 1px solid rgba(10,30,60,0.08) !important;
  box-shadow: 0 8px 26px rgba(10,30,60,0.07) !important;
}

.mac-header.is-scrolled,
.mac-header:hover {
  background: rgba(255,255,255,0.9) !important;
  box-shadow: 0 14px 42px rgba(10,30,60,0.12) !important;
}

.mac-nav {
  min-height: var(--header-height);
}

.hero-cinematic,
.product-hero,
.contact-hero {
  min-height: var(--page-hero-height) !important;
  height: var(--page-hero-height) !important;
  padding: 0 !important;
  margin-top: 0 !important;
  display: grid !important;
  place-items: center !important;
}

.hero-content,
.product-hero-inner,
.contact-hero > h1,
.contact-hero > p {
  max-width: min(920px, calc(100% - 48px)) !important;
  padding: clamp(36px, 5vw, 74px) 0 clamp(34px, 5vw, 64px) !important;
}

.hero-content h1,
.product-hero h1,
.contact-hero h1 {
  font-size: clamp(34px, 5vw, 66px) !important;
  line-height: 1.03 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 14px !important;
}

.hero-content p,
.product-hero p,
.contact-hero p {
  max-width: 740px !important;
  font-size: clamp(15.5px, 1.55vw, 20px) !important;
  line-height: 1.62 !important;
}

.product-actions,
.product-metrics {
  margin-top: clamp(18px, 3vw, 28px) !important;
}

.product-metrics {
  gap: 12px !important;
}

.product-metric {
  min-width: 132px;
}

.card,
.soft-card,
.product-card,
.spec-card,
.related-card,
.contact-card,
.feature-item,
.industry-item,
.project-card,
.project-detail-card,
.mision-card,
.vision-card,
.valor-item,
.cliente-item,
.timeline-item,
.stat-card,
.about-stat,
.info-panel,
.surface-band,
.product-band,
.valores-section,
.certificaciones-section,
.indalce-section,
.home-product-card,
.brand-link,
.faq-item {
  box-shadow: var(--dream-shadow-base) !important;
  transition:
    transform var(--dream-transition),
    box-shadow var(--dream-transition),
    border-color var(--dream-transition),
    background-color var(--dream-transition),
    color var(--dream-transition),
    opacity var(--dream-transition),
    filter var(--dream-transition) !important;
}

.card:hover,
.soft-card:hover,
.product-card:hover,
.spec-card:hover,
.related-card:hover,
.contact-card:hover,
.feature-item:hover,
.industry-item:hover,
.project-card:hover,
.project-detail-card:hover,
.mision-card:hover,
.vision-card:hover,
.valor-item:hover,
.cliente-item:hover,
.timeline-item:hover,
.stat-card:hover,
.about-stat:hover,
.info-panel:hover,
.home-product-card:hover,
.brand-link:hover,
.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--dream-shadow-hover) !important;
}

.surface-band,
.product-band,
.valores-section,
.certificaciones-section,
.indalce-section {
  background:
    radial-gradient(circle at 20% 0%, rgba(122, 187, 255, 0.14), transparent 28rem),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(244,249,255,0.88)) !important;
  border: 1px solid rgba(255,255,255,0.72) !important;
}

.product-cta {
  width: min(1180px, calc(100% - 96px));
  margin: clamp(34px, 5vw, 60px) auto 0 !important;
  padding: 0 !important;
  border-radius: 40px !important;
  background:
    linear-gradient(90deg, rgba(21,111,215,0.96), rgba(13,72,145,0.94)),
    var(--cta-image) center / cover !important;
  background-blend-mode: multiply;
  box-shadow: 0 22px 58px rgba(8, 35, 76, 0.16) !important;
  overflow: hidden;
}

.product-cta .container {
  width: min(900px, calc(100% - 48px)) !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: clamp(54px, 6vw, 72px) 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  text-align: center !important;
}

.product-cta h2 {
  max-width: 820px;
  margin: 0 auto 14px !important;
  color: #fff !important;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 46px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;
}

.product-cta p {
  max-width: 720px;
  margin: 0 auto !important;
  color: rgba(255,255,255,0.78) !important;
  font-size: clamp(15px, 1.4vw, 18px) !important;
  line-height: 1.65 !important;
}

.product-cta .pill-row {
  justify-content: center;
  margin-top: 26px;
  margin-bottom: 0;
}

.product-cta .pill-row span {
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  color: rgba(255,255,255,0.92) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
}

.product-cta .pill-row i {
  color: #9bd1ff !important;
}

.home-product-caption {
  transition:
    opacity var(--dream-transition),
    transform var(--dream-transition),
    filter var(--dream-transition) !important;
}

.home-product-card:hover .home-product-caption {
  opacity: 0 !important;
  transform: translateY(16px) scale(0.98) !important;
  filter: blur(5px);
  pointer-events: none;
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
    --page-hero-height: clamp(480px, 72vh, 620px);
  }

  .mac-header {
    height: var(--header-height);
  }

  .hero-cinematic,
  .product-hero,
  .contact-hero {
    height: var(--page-hero-height) !important;
  }

  .product-metrics {
    grid-template-columns: 1fr;
  }

  .product-cta {
    width: calc(100% - 32px);
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 28px !important;
  }

  .product-cta .container {
    width: calc(100% - 32px) !important;
  }
}

/* Pulido final: header limpio, heroes legibles, CTA azul y contacto dinámico */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  background: var(--color-bg);
}

.mac-header {
  top: 0 !important;
  margin: 0 !important;
  border-top: 0 !important;
  background: rgba(255,255,255,0.94) !important;
  box-shadow: 0 10px 30px rgba(10,30,60,0.06) !important;
}

.mac-nav {
  min-height: 64px !important;
}

.mac-brand img {
  height: 34px !important;
}

.hero-cinematic,
.product-hero,
.contact-hero {
  min-height: clamp(560px, 58vh, 680px) !important;
}

.hero-content,
.product-hero-inner {
  max-width: min(1120px, calc(100% - 56px)) !important;
}

.product-hero p,
.hero-content p,
.contact-hero p {
  max-width: 920px !important;
  font-size: clamp(17px, 1.65vw, 22px) !important;
}

.product-hero .product-hero-inner > p {
  max-width: 980px !important;
}

.home-product-grid {
  gap: clamp(22px, 2.6vw, 34px) !important;
}

.hover-overlay {
  gap: 16px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.95), rgba(246,251,255,0.9) 48%, rgba(232,244,255,0.9)),
    rgba(255,255,255,0.9) !important;
}

.hover-overlay i {
  margin-bottom: 0 !important;
}

.hover-overlay p {
  max-width: 360px !important;
  margin: 0 !important;
  color: #52677f !important;
  font-size: clamp(15px, 1.35vw, 17px) !important;
  line-height: 1.62 !important;
}

.home-card-link {
  min-width: 150px;
  min-height: 46px;
  justify-content: center;
  padding: 12px 24px !important;
  border-radius: 999px;
  font-size: 14px !important;
  box-shadow: 0 16px 34px rgba(10,93,194,0.22);
}

.product-cta {
  background:
    linear-gradient(90deg, rgba(8,91,191,0.98), rgba(8,60,128,0.97)),
    var(--cta-image) center / cover !important;
  background-blend-mode: multiply;
}

.product-cta .pill-row {
  margin-bottom: 28px !important;
}

.product-cta .btn-primary {
  display: inline-flex !important;
  background: rgba(255,255,255,0.96) !important;
  color: #0a55b5 !important;
  border: 1px solid rgba(255,255,255,0.54) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,0.16) !important;
}

.product-cta .btn-primary:hover {
  background: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(0,0,0,0.2) !important;
}




@keyframes contactFloat {
  0% { transform: translate3d(-10px, 40px, 0) rotate(-8deg); opacity: 0; }
  12% { opacity: 0.72; }
  72% { opacity: 0.46; }
  100% { transform: translate3d(18px, -720px, 0) rotate(14deg); opacity: 0; }
}

.contact-hero > h1,
.contact-hero > p {
  z-index: 2;
}

@media (max-width: 760px) {
  .hero-cinematic,
  .product-hero,
  .contact-hero {
    min-height: clamp(520px, 72vh, 680px) !important;
  }

  .hover-overlay p {
    max-width: 300px !important;
  }
}

/* Contacto: hero compacto y efecto de iconos lanzados */
.contact-hero {
  min-height: clamp(300px, 34vh, 390px) !important;
  height: clamp(300px, 34vh, 390px) !important;
  padding: clamp(74px, 9vh, 104px) 24px clamp(42px, 6vh, 64px) !important;
  display: grid;
  align-content: center;
  isolation: isolate;
}

.contact-hero h1 {
  font-size: clamp(34px, 4.4vw, 54px) !important;
  margin-bottom: 12px !important;
}

.contact-hero p {
  max-width: 760px !important;
  font-size: clamp(15px, 1.45vw, 18px) !important;
  line-height: 1.55 !important;
}








@media (max-width: 760px) {
  .contact-hero {
    min-height: clamp(300px, 48vh, 420px) !important;
    height: clamp(300px, 48vh, 420px) !important;
    padding: 82px 20px 48px !important;
  }

/* Anular completamente las animaciones del CSS global */

}
