/* ============================================
   WATTS & BYTES - main.css
   Main stylesheet for the entire site
   ============================================ */

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  /* Colors - Guía de Marca Watts & Bytes */
  --color-bg: #ffffff;
  --color-bg-secondary: #ebfff8;
  --color-bg-card: rgba(0, 72, 84, 0.03);
  --color-bg-card-hover: rgba(131, 200, 179, 0.16);
  --color-border: rgba(0, 72, 84, 0.14);
  --color-border-hover: #83c8b3;

  --color-primary: #004854;
  --color-primary-dark: #00353e;
  --color-secondary: #83c8b3;
  --color-accent: #83c8b3;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;

  --color-text: #004854; /* color principal de marca */
  --color-text-muted: rgba(0, 72, 84, 0.78);
  --color-text-subtle: rgba(0, 72, 84, 0.55);

  --gradient-primary: linear-gradient(135deg, #004854 0%, #004854 100%);
  --gradient-hero: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  --gradient-card: linear-gradient(135deg, rgba(235, 255, 248, 0.65) 0%, rgba(131, 200, 179, 0.12) 100%);

  /* Typography - Articulat CF (Guía de Marca) */
  --font-main: 'Articulat CF', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Articulat CF', 'Space Grotesk', 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 72, 84, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 72, 84, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 72, 84, 0.16);
  --shadow-glow: 0 0 30px rgba(0, 72, 84, 0.15);
  --shadow-glow-strong: 0 0 60px rgba(0, 72, 84, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-med: 250ms ease;
  --transition-slow: 400ms ease;

  /* Navbar height */
  --navbar-h: 72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- UTILITIES ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-padding { padding: var(--space-3xl) 0; }

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(0, 72, 84, 0.1);
  border: 1px solid rgba(0, 72, 84, 0.2);
  border-radius: var(--radius-full);
  padding: 0.35rem 1rem;
  margin-bottom: var(--space-md);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 72, 84, 0.4); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-primary.btn-large { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-primary.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.875rem; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: transparent;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(0, 72, 84, 0.4);
  cursor: pointer;
  transition: all var(--transition-med);
}

.btn-secondary:hover {
  background: rgba(0, 72, 84, 0.08);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: transparent;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-med);
}

.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn-outline.btn-light { border-color: rgba(0, 72, 84, 0.35); color: var(--color-text); }
.btn-outline.btn-light:hover { border-color: var(--color-text); background: rgba(0, 72, 84, 0.06); }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  transition: background var(--transition-slow), backdrop-filter var(--transition-slow), box-shadow var(--transition-slow);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 rgba(0, 72, 84, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  height: 46px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 72, 84, 0.1));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.nav-logo:hover .logo-img {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 10px rgba(0, 72, 84, 0.22));
}

.footer-logo-img {
  height: 50px;
  max-width: 220px;
}

.tech-center-logo {
  width: 78px;
  max-height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 72, 84, 0.18));
}

.logo-icon { font-size: 1.5rem; }
.logo-accent { color: var(--color-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-left: auto;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover, .nav-link.active { color: var(--color-text); background: rgba(0, 72, 84, 0.06); }

/* Dropdown */
.nav-dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  min-width: 220px;
  padding: var(--space-sm);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all var(--transition-med);
  box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.6rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.dropdown-item:hover { background: rgba(0, 72, 84, 0.08); color: var(--color-primary); }
.dropdown-icon { font-size: 1rem; }

.btn-cta-nav {
  display: inline-flex;
  align-items: center;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-med);
  flex-shrink: 0;
}

.btn-cta-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0, 72, 84, 0.35); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-med);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--navbar-h) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(0, 72, 84, 0.12) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 70%, rgba(0, 72, 84, 0.1) 0%, transparent 70%),
              var(--color-bg);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 72, 84, 0.6);
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  background: rgba(0, 72, 84, 0.08);
  border: 1px solid rgba(0, 72, 84, 0.2);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  margin-bottom: var(--space-lg);
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  background: rgba(0, 72, 84, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
}

.stat-plus { font-size: 1.5rem; font-weight: 800; color: var(--color-primary); }

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.scroll-dot {
  width: 6px; height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: bounce-scroll 1.5s ease infinite;
}

@keyframes bounce-scroll {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.3; }
}

/* ---- TRUSTED BY ---- */
.trusted-by {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
}

.trusted-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-lg);
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.trusted-item {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all var(--transition-med);
}

.trusted-item:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: all var(--transition-slow);
  overflow: hidden;
  cursor: default;
}

.service-card:hover {
  border-color: var(--color-border-hover);
  background: var(--color-bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.service-card-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.service-card:hover .service-card-glow { opacity: 1; }

.service-card.card-wide {
  grid-column: span 1;
}

.service-icon-wrap {
  width: 52px; height: 52px;
  background: color-mix(in srgb, var(--icon-color) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--icon-color) 25%, transparent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon { font-size: 1.5rem; }

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.service-features li {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.service-features li::before {
  content: '✓' / '';
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.75rem;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition-fast), opacity var(--transition-fast);
  margin-top: auto;
}

.service-cta:hover { gap: 0.6rem; opacity: 0.8; }

.services-cta-row {
  display: flex;
  justify-content: center;
  margin-top: var(--space-2xl);
}

/* ---- WHY US ---- */
.why-us {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.why-us-content .section-title { text-align: left; }
.why-us-content .section-tag { margin-bottom: var(--space-md); }

.why-us-text {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

.why-us-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.why-point {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.why-point-icon {
  width: 40px; height: 40px;
  background: rgba(0, 72, 84, 0.08);
  border: 1px solid rgba(0, 72, 84, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.why-point strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

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

/* Tech Stack Visual */
.why-us-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 420px;
}

.tech-stack-display {
  position: relative;
  width: 320px;
  height: 320px;
}

.tech-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0, 72, 84, 0.2);
  animation: spin-ring linear infinite;
}

.outer-ring {
  inset: 0;
  animation-duration: 20s;
}

.inner-ring {
  inset: 25%;
  animation-duration: 12s;
  animation-direction: reverse;
}

@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.tech-badge {
  position: absolute;
  width: 44px; height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 72, 84, 0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  top: 50%;
  left: 50%;
  transform: rotate(var(--pos)) translateY(-160px) rotate(calc(-1 * var(--pos)));
  box-shadow: 0 0 20px rgba(0, 72, 84, 0.1);
}

.inner-ring .tech-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-primary);
  transform: rotate(var(--pos)) translateY(-80px) rotate(calc(-1 * var(--pos)));
}

.tech-badge.small { width: 36px; height: 36px; }

.tech-center {
  position: absolute;
  inset: 35%;
  background: radial-gradient(circle, rgba(0, 72, 84, 0.12) 0%, rgba(255, 255, 255, 0.98) 70%);
  border: 1px solid rgba(0, 72, 84, 0.3);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 0 40px rgba(0, 72, 84, 0.15);
}

.logo-icon-lg { font-size: 1.8rem; }
.tech-center span:last-child { font-size: 0.7rem; font-weight: 700; color: var(--color-primary); letter-spacing: 0.1em; }

/* ---- SOCIOS ESTRATEGICOS ---- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: var(--space-lg);
}

.partner-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  height: 140px;
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.partner-card img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
  filter: grayscale(35%);
  transition: filter var(--transition-fast);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.partner-card:hover img { filter: none; }

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--color-bg); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: all var(--transition-med);
}

.testimonial-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-3px);
}

.testimonial-card.featured {
  background: linear-gradient(135deg, rgba(0, 72, 84, 0.07) 0%, rgba(0, 72, 84, 0.07) 100%);
  border-color: rgba(0, 72, 84, 0.2);
}

.testimonial-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; }

.testimonial-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 40px; height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.775rem;
  color: var(--color-text-muted);
}

/* ---- CTA BANNER ---- */
.cta-banner {
  position: relative;
  padding: var(--space-3xl) var(--space-xl);
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(0, 72, 84, 0.1) 0%, rgba(0, 72, 84, 0.08) 50%, transparent 100%),
              var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.cta-banner-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.cta-banner-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: var(--space-md) 0 var(--space-lg);
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.social-btn {
  width: 36px; height: 36px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(0, 72, 84, 0.08);
}

.footer-links-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links-col a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-links-col a:hover { color: var(--color-primary); }

.footer-contact-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.footer-contact-item a { color: var(--color-text-muted); transition: color var(--transition-fast); }
.footer-contact-item a:hover { color: var(--color-primary); }

.footer-contact-cta { margin-top: var(--space-lg); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  font-size: 0.8rem;
  color: var(--color-text-subtle);
}

/* ---- ANIMATIONS ---- */
.animate-fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: calc(var(--navbar-h) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0, 72, 84, 0.1) 0%, transparent 70%), var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.page-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ---- SERVICES PAGE ---- */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.service-page-card {
  display: flex;
  gap: var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-med);
  text-decoration: none;
}

.service-page-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.service-page-icon {
  width: 60px; height: 60px;
  background: rgba(0, 72, 84, 0.08);
  border: 1px solid rgba(0, 72, 84, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.service-page-content { flex: 1; }

.service-page-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.service-page-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.service-page-link {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* ---- DETAIL PAGE ---- */
.detail-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.detail-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.detail-feature {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.detail-feature-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.detail-feature h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.detail-feature p {
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

.detail-sidebar {
  position: sticky;
  top: calc(var(--navbar-h) + var(--space-lg));
}

.cta-sidebar-card {
  background: linear-gradient(135deg, rgba(0, 72, 84, 0.08) 0%, rgba(0, 72, 84, 0.08) 100%);
  border: 1px solid rgba(0, 72, 84, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.cta-sidebar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.cta-sidebar-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.cta-sidebar-card .btn-primary {
  width: 100%;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

/* ---- CONTACT PAGE ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(0, 72, 84, 0.04);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 72, 84, 0.1);
}

.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 130px; }

.form-input::placeholder, .form-textarea::placeholder { color: var(--color-text-subtle); }

.form-submit {
  width: 100%;
  justify-content: center;
}

.contact-info-panel { display: flex; flex-direction: column; gap: var(--space-lg); }

.contact-info-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.contact-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.contact-detail-icon {
  width: 36px; height: 36px;
  background: rgba(0, 72, 84, 0.08);
  border: 1px solid rgba(0, 72, 84, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.contact-detail a, .contact-detail span {
  font-size: 0.9rem;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.contact-detail a:hover { color: var(--color-primary); }

/* ---- NOSOTROS ---- */
.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.about-stat {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.about-stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
}

.about-stat-label {
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid { grid-template-columns: 1fr; }
  .why-us-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --space-3xl: 3rem; }
  .container { padding: 0 var(--space-lg); }

  .nav-links, .btn-cta-nav { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--navbar-h);
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    gap: 0.25rem;
    z-index: 999;
  }

  .nav-link { padding: 0.75rem 1rem; }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: rgba(0, 72, 84, 0.04);
    border: none;
    border-radius: var(--radius-sm);
    margin: 0.25rem 0 0.25rem 1rem;
  }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .services-page-grid { grid-template-columns: 1fr; }
  .detail-features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
  .hero-stats { gap: var(--space-md); }
  .stat-divider { display: none; }
  .about-hero-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .logo-img { height: 40px; }
  .hero-title { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { justify-content: center; }
  .cta-banner-actions { flex-direction: column; align-items: stretch; }
  .cta-banner-actions .btn-primary, .cta-banner-actions .btn-outline { justify-content: center; }
}

/* ---- TWO CATEGORY CARDS (Homepage) ---- */
.two-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.cat-card {
  background: rgba(235, 255, 248, 0.55);
  border: 1px solid rgba(0, 72, 84, 0.12);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(135deg, #004854 0%, #83c8b3 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cat-card:hover {
  border-color: #83c8b3;
  background: #ebfff8;
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(0, 72, 84, 0.12);
}

.cat-card:hover::before { opacity: 1; }

.cat-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cat-icon-wrap {
  width: 56px; height: 56px;
  background: color-mix(in srgb, var(--icon-color) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--icon-color) 25%, transparent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.cat-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.cat-tagline { font-size: 0.8rem; color: var(--color-text-muted); }

.cat-desc { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.7; }

.cat-services-list { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }

.cat-services-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 72, 84, 0.1);
  border-radius: 6px;
  transition: border-color 0.2s, background 0.2s;
}

.cat-services-list li:hover {
  border-color: #83c8b3;
  background: #ffffff;
}

.cat-service-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.cat-services-list strong { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.1rem; }
.cat-services-list span { font-size: 0.78rem; color: var(--color-text-muted); }

/* Secondary brand button variant */
.btn-primary.btn-purple { background: linear-gradient(135deg, #004854 0%, #2a7a6e 100%); }
.btn-primary.btn-purple:hover { box-shadow: 0 8px 30px rgba(0, 72, 84, 0.35); }

/* Sub-service anchor sections */
.anchor-target { scroll-margin-top: 88px; }

.subsvc-section {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(0, 72, 84, 0.1);
}

.subsvc-section:last-child { border-bottom: none; }

.subsvc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}

.subsvc-content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.subsvc-content p { color: var(--color-text-muted); line-height: 1.75; margin-bottom: 1rem; }

.subsvc-bullets { display: flex; flex-direction: column; gap: 0.5rem; }

.subsvc-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.subsvc-bullets li::before { content: "\2713" / ""; color: #83c8b3; font-weight: 700; font-size: 0.85rem; }

.subsvc-visual {
  background: #ebfff8;
  border: 1px solid rgba(0, 72, 84, 0.12);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.subsvc-image-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 72, 84, 0.16);
  box-shadow: var(--shadow-md);
  margin-bottom: 0.35rem;
  background: #004854;
}

.subsvc-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.subsvc-image-wrap:hover .subsvc-image {
  transform: scale(1.03);
}

.subsvc-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(131, 200, 179, 0.35);
  border-radius: 6px;
}

.subsvc-stat-icon { font-size: 1.5rem; width: 44px; text-align: center; }
.subsvc-stat-label { font-size: 0.8rem; color: var(--color-text-muted); }
.subsvc-stat-val { font-size: 1rem; font-weight: 700; color: #004854; }

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

/* ---- PRESS / REPORTAJE SECTION ---- */
.press-section {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.press-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.press-card::before {
  content: '' / '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: var(--gradient-primary);
}

.press-meta-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.press-meta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(0, 72, 84, 0.08);
  border: 1px solid rgba(0, 72, 84, 0.18);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.9rem;
}

.anniversary-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #92400e;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(251, 191, 36, 0.28) 100%);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.95rem;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.15);
}

.anniversary-banner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, #004854 0%, #002e36 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xs);
  box-shadow: 0 8px 24px rgba(0, 72, 84, 0.22);
}

.anniversary-number {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
  color: #fbbf24;
  flex-shrink: 0;
  text-shadow: 0 2px 10px rgba(251, 191, 36, 0.35);
}

.anniversary-banner strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.anniversary-banner p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.press-meta cite {
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.press-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.press-lead {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

.press-quote {
  background: var(--color-bg-secondary);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
}

.press-quote p {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.press-quote footer {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.press-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.press-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: rgba(0, 72, 84, 0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.press-highlights-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.press-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: 0.85rem;
  background: #ffffff;
  border: 1px solid rgba(0, 72, 84, 0.1);
  border-radius: var(--radius-md);
}

.press-highlight-icon {
  width: 38px;
  height: 38px;
  background: rgba(0, 72, 84, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.press-highlight-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.press-highlight-item p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .press-card {
    grid-template-columns: 1fr;
    padding: var(--space-xl);
  }
}


/* ==========================================================
   WATTS & BYTES — CAPA DE DISEÑO v2 (noviembre 2026)
   Se aplica encima de los estilos anteriores. Solo presentación:
   no cambia contenido, enlaces ni datos estructurados.
   ========================================================== */

:root {
  --ink: #00252c;              /* teal profundo para secciones oscuras */
  --ink-2: #003640;
  --mint: #83c8b3;
  --mint-bright: #a9e6d2;
  --teal-mid: #0b6b6b;
  --paper: #f6fbf9;            /* fondo alterno, más neutro que el menta */
  --on-dark: rgba(255, 255, 255, 0.92);
  --on-dark-muted: rgba(255, 255, 255, 0.7);
  --line-dark: rgba(131, 200, 179, 0.22);
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;

  --color-bg-secondary: var(--paper);
  --color-border: rgba(0, 72, 84, 0.13);
  --gradient-primary: linear-gradient(120deg, #004854 0%, #0b6b6b 100%);
  --radius-btn: 10px;
  --radius-lg: 16px;
  --shadow-md: 0 1px 2px rgba(0, 37, 44, 0.06), 0 10px 30px -12px rgba(0, 37, 44, 0.18);
  --shadow-glow: 0 1px 2px rgba(0, 37, 44, 0.06), 0 18px 40px -18px rgba(0, 37, 44, 0.28);
}

body { color: #0c3a42; }
h1, h2, h3, h4 { color: var(--color-primary); text-wrap: balance; }
p { text-wrap: pretty; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 2000;
  background: #fff; color: var(--color-primary); font-weight: 600;
  padding: 0.6rem 1rem; border-radius: 8px; transition: top 150ms ease;
}
.skip-link:focus { top: 1rem; }

/* ---- Tipografía de sección ---- */
.section-padding { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -0.02em; line-height: 1.12; }
.section-subtitle { font-size: 1.08rem; max-width: 640px; }

.section-tag {
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: none; border: 0; border-radius: 0; padding: 0;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.14em; color: var(--teal-mid);
}
.section-tag::before { content: ''; width: 28px; height: 2px; background: var(--mint); }

/* ---- Botones ---- */
.btn-primary, .btn-secondary, .btn-outline, .btn-cta-nav { border-radius: var(--radius-btn); }
.btn-primary { background: var(--color-primary); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset; }
.btn-primary:hover { background: var(--ink-2); box-shadow: 0 10px 24px -10px rgba(0, 72, 84, 0.55); }
.btn-primary.btn-purple { background: var(--color-primary); }
.btn-primary .ico, .text-link .ico { transition: transform 200ms ease; }
.btn-primary:hover .ico, .text-link:hover .ico { transform: translateX(3px); }
.btn-secondary.btn-large { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-cta-nav { background: var(--color-primary); padding: 0.65rem 1.15rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.9rem; font-weight: 600; color: var(--teal-mid);
}
.text-link:hover { color: var(--color-primary); }

/* ---- Navbar ---- */
.logo-img, .nav-logo:hover .logo-img { filter: none; transform: none; }
.logo-img { height: 40px; }
.nav-link { border-radius: 8px; }
.dropdown-icon { display: none; }
.dropdown-menu { border-radius: 12px; padding: 0.4rem; }
.nav-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* Inicio: navbar sobre hero oscuro mientras no hay scroll */
.home .navbar:not(.scrolled) .logo-img { filter: brightness(0) invert(1); }
.home .navbar:not(.scrolled) .nav-link { color: rgba(255, 255, 255, 0.82); }
.home .navbar:not(.scrolled) .nav-link:hover,
.home .navbar:not(.scrolled) .nav-link.active { color: #fff; background: rgba(255, 255, 255, 0.1); }
.home .navbar:not(.scrolled) .btn-cta-nav { background: var(--mint); color: var(--ink); }
.home .navbar:not(.scrolled) .nav-toggle span { background: #fff; }

/* ---- Fondo técnico para secciones oscuras ---- */
.hero-v2, .page-hero, .lead-section {
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 480px at 85% -10%, rgba(131, 200, 179, 0.2), transparent 60%),
    linear-gradient(rgba(131, 200, 179, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(131, 200, 179, 0.055) 1px, transparent 1px),
    linear-gradient(160deg, #00252c 0%, #004854 100%);
  background-size: auto, 56px 56px, 56px 56px, auto;
  color: var(--on-dark);
}

/* ---- HERO v2 ---- */
.hero-v2 {
  display: block; min-height: 0; text-align: left;
  padding: calc(var(--navbar-h) + clamp(2.5rem, 6vw, 5rem)) var(--space-xl) 0;
}
.hero-v2 .hero-bg { display: none; }
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-v2 .hero-content { max-width: none; margin: 0; }
.hero-v2 .hero-badge {
  background: rgba(131, 200, 179, 0.12); border-color: var(--line-dark);
  color: var(--mint-bright); font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em;
}
.hero-v2 .badge-dot { background: var(--mint); }
.hero-v2 .hero-title {
  color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.06; letter-spacing: -0.03em;
}
.hero-v2 .gradient-text, .page-hero .gradient-text {
  background: linear-gradient(100deg, #83c8b3 0%, #d9fff1 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-v2 .hero-subtitle { color: var(--on-dark-muted); margin: 0 0 var(--space-xl); max-width: 560px; font-size: 1.12rem; }
.hero-v2 .hero-actions { justify-content: flex-start; margin-bottom: var(--space-lg); }
.hero-v2 .btn-primary, .page-hero .btn-primary, .lead-form .btn-primary, .footer .btn-primary {
  background: var(--mint); color: var(--ink); box-shadow: none;
}
.hero-v2 .btn-primary:hover, .page-hero .btn-primary:hover, .lead-form .btn-primary:hover, .footer .btn-primary:hover {
  background: var(--mint-bright); box-shadow: 0 12px 28px -12px rgba(131, 200, 179, 0.7);
}
.hero-v2 .btn-secondary, .page-hero .btn-secondary, .page-hero .btn-outline, .lead-section .btn-outline {
  color: #fff; border-color: rgba(255, 255, 255, 0.32);
}
.hero-v2 .btn-secondary:hover, .page-hero .btn-secondary:hover, .page-hero .btn-outline:hover, .lead-section .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08); border-color: #fff; color: #fff;
}
.hero-assurances { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-size: 0.88rem; color: var(--on-dark-muted); }
.hero-assurances li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-assurances .ico { color: var(--mint); stroke-width: 2.4; }

/* Diagrama "del watt al byte" */
.hero-diagram {
  background: rgba(0, 37, 44, 0.55); border: 1px solid var(--line-dark); border-radius: 18px;
  padding: 1rem 1.1rem 1.1rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.diagram-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--on-dark-muted); padding: 0.2rem 0.3rem 0.8rem; border-bottom: 1px solid var(--line-dark);
}
.diagram-status { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--mint-bright); }
.diagram-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(131, 200, 179, 0.18); }
.diagram-svg { width: 100%; height: auto; display: block; margin-top: 0.6rem; }
.hero-diagram figcaption { font-size: 0.82rem; color: var(--on-dark-muted); text-align: center; padding-top: 0.5rem; }
.d-col { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; fill: var(--mint); font-weight: 700; }
.d-node rect { fill: rgba(255, 255, 255, 0.045); stroke: rgba(131, 200, 179, 0.4); }
.d-node-cool rect { stroke-dasharray: 3 3; }
.d-t { font-family: var(--font-main); font-size: 12.5px; font-weight: 600; fill: #fff; }
.d-s { font-family: var(--font-main); font-size: 10.5px; fill: rgba(255, 255, 255, 0.66); }
.d-rack > rect { fill: rgba(131, 200, 179, 0.08); stroke: var(--mint); stroke-width: 1.5; }
.d-units rect { fill: rgba(255, 255, 255, 0.07); }
.d-leds circle { fill: var(--mint); animation: led 2.4s ease-in-out infinite; }
.d-leds circle:nth-child(3n) { animation-delay: 0.8s; }
.d-leds circle:nth-child(3n+1) { animation-delay: 1.6s; }
.d-line { fill: none; stroke-width: 1.6; stroke-dasharray: 5 7; animation: flow 1.4s linear infinite; }
.d-watt { stroke: var(--mint); }
.d-byte { stroke: #e8fff7; }
.d-cool { stroke: rgba(131, 200, 179, 0.6); stroke-dasharray: 2 5; }
@keyframes flow { to { stroke-dashoffset: -24; } }
@keyframes led { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* Cifras del hero */
.hero-v2 .hero-stats {
  max-width: 1200px; margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0;
  background: none; border: 0; border-top: 1px solid var(--line-dark); border-radius: 0;
  padding: 1.6rem 0 2rem; backdrop-filter: none;
}
.hero-v2 .stat-item { text-align: left; padding: 0 1.5rem; }
.hero-v2 .stat-item:first-child { padding-left: 0; }
.hero-v2 .stat-number, .hero-v2 .stat-plus {
  color: #fff; font-family: var(--font-heading); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.hero-v2 .stat-plus { color: var(--mint); }
.hero-v2 .stat-label { color: var(--on-dark-muted); font-size: 0.88rem; }
.hero-v2 .stat-divider { background: var(--line-dark); height: auto; }

/* ---- Franja de socios ---- */
.partners-strip { padding: 2rem 0 2.2rem; background: #fff; border-bottom: 1px solid var(--color-border); }
.partners-strip-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.partners-strip .trusted-label { margin: 0; text-align: left; }
.trusted-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: rgba(0, 72, 84, 0.7); }
.marquee {
  overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee::-webkit-scrollbar { display: none; }
.marquee-track { display: flex; align-items: center; gap: 3rem; width: max-content; padding: 0 3rem; }
.marquee-track li { flex: none; }
.marquee-track img { height: 44px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 200ms ease, opacity 200ms ease; }
.marquee-track li:hover img { filter: none; opacity: 1; }
.marquee.is-animated { overflow: hidden; }
.marquee.is-animated .marquee-track { animation: marquee 60s linear infinite; }
.marquee.is-animated:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Tarjetas de categoría ---- */
.two-cat-grid { gap: 1.5rem; }
.cat-card {
  background: #fff; border-color: var(--color-border); border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-md);
}
.cat-card::before { opacity: 1; height: 4px; background: var(--color-primary); }
.cat-card-bytes::before { background: var(--mint); }
.cat-card:hover { background: #fff; border-color: rgba(0, 72, 84, 0.3); box-shadow: var(--shadow-glow); transform: translateY(-3px); }
.cat-icon-wrap { background: var(--color-primary); border: 0; color: #fff; border-radius: 14px; }
.cat-card-bytes .cat-icon-wrap { background: var(--mint); color: var(--ink); }
.cat-kicker { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal-mid); }
.cat-title { font-size: 1.5rem; letter-spacing: -0.01em; margin: 0.1rem 0 0.2rem; }
.cat-tagline, .cat-desc { color: rgba(12, 58, 66, 0.78); }
.cat-tagline { font-size: 0.88rem; }
.cat-desc { font-size: 0.97rem; }
.cat-services-list { gap: 0; border-top: 1px solid var(--color-border); }
.cat-services-list li {
  display: block; padding: 0; background: none; border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0;
}
.cat-services-list li:hover { background: none; }
.cat-services-list a {
  display: flex; align-items: flex-start; gap: 0.9rem; padding: 0.85rem 0.5rem;
  border-radius: 8px; transition: background 150ms ease, padding 150ms ease;
}
.cat-services-list a:hover { background: var(--paper); padding-left: 0.8rem; }
.cat-service-icon { color: var(--teal-mid); margin-top: 2px; line-height: 0; }
.cat-services-list strong { font-size: 0.95rem; color: var(--color-primary); }
.cat-services-list div > span { font-size: 0.84rem; color: rgba(12, 58, 66, 0.72); }
.cat-card > .btn-primary { align-self: flex-start; }

/* ---- Industrias ---- */
.trusted-by { background: var(--paper); padding: 2.2rem 0; }
.trusted-logos { gap: 0.6rem; }
.trusted-item { background: #fff; border-radius: 8px; padding: 0.5rem 1.1rem; color: var(--color-primary); font-size: 0.9rem; }

/* ---- Proceso ---- */
.process-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: none; }
.process-step { position: relative; padding: 1.6rem 1.25rem 0 0; border-top: 2px solid var(--color-border); }
.process-step::before {
  content: ''; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 2px solid var(--color-primary);
}
.process-step:last-child::before { background: var(--mint); border-color: var(--mint); }
.process-num { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; color: var(--teal-mid); }
.process-step h3 { font-family: var(--font-heading); font-size: 1.12rem; margin: 0.4rem 0 0.45rem; }
.process-step p { font-size: 0.9rem; color: rgba(12, 58, 66, 0.76); line-height: 1.6; }

/* ---- Por qué elegirnos ---- */
.why-us { background: var(--paper); }
.why-us-grid { gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.why-us-text { font-size: 1.05rem; }
.why-us-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.75rem; }
.why-point-icon { background: #fff; border-color: var(--color-border); border-radius: 10px; color: var(--teal-mid); }
.why-point strong { font-size: 1rem; color: var(--color-primary); }
.why-point p { font-size: 0.9rem; }
.standards-panel {
  background: var(--ink); color: var(--on-dark); border-radius: 20px; padding: clamp(1.5rem, 3vw, 2.25rem);
  background-image: linear-gradient(rgba(131, 200, 179, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(131, 200, 179, 0.05) 1px, transparent 1px);
  background-size: 28px 28px; box-shadow: var(--shadow-glow);
}
.standards-eyebrow { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint); margin-bottom: 0.5rem; }
.standards-panel h3 { color: #fff; font-family: var(--font-heading); font-size: 1.4rem; line-height: 1.2; margin-bottom: 1.1rem; }
.standards-list > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid var(--line-dark); align-items: baseline; }
.standards-list dt { font-family: var(--font-mono); font-size: 0.84rem; font-weight: 700; color: var(--mint-bright); }
.standards-list dd { font-size: 0.9rem; color: var(--on-dark-muted); }

/* ---- Tarjetas genéricas (inicio y páginas internas) ---- */
.service-card, .service-page-card, .testimonial-card, .detail-feature, .contact-info-card, .about-stat, .partner-card, .contact-form {
  background: #fff; border-color: var(--color-border); box-shadow: var(--shadow-md);
}
.service-card:hover, .service-page-card:hover { background: #fff; border-color: rgba(0, 72, 84, 0.3); }

/* ---- Testimonios ---- */
.testimonial-card { padding: 1.9rem; gap: 1.1rem; }
.testimonial-text { font-style: normal; font-size: 1rem; color: #0c3a42; line-height: 1.65; }
.testimonial-stars { font-size: 0.9rem; }
.testimonial-card.featured { background: var(--color-primary); border-color: var(--color-primary); }
.testimonial-card.featured .testimonial-text, .testimonial-card.featured strong { color: #fff; }
.testimonial-card.featured .testimonial-author span { color: var(--on-dark-muted); }
.testimonial-card.featured .author-avatar { background: var(--mint); color: var(--ink); }
.author-avatar { background: var(--color-primary); }

/* ---- Prensa ---- */
.press-section { background: var(--paper); }
.press-card { border-radius: 20px; align-items: start; }
.press-card::before { width: 4px; background: var(--color-primary); }
.press-meta { background: none; border-color: var(--color-border); border-radius: 8px; font-weight: 600; }
.anniversary-pill { border-radius: 8px; box-shadow: none; }
.press-quote { background: var(--paper); border-left-width: 3px; }
.press-highlights { background: var(--paper); }
.press-highlight-icon { color: var(--teal-mid); background: #fff; border: 1px solid var(--color-border); }
.anniversary-banner { background: var(--ink); box-shadow: none; }
.anniversary-number { text-shadow: none; }

/* ---- CTA + formulario ---- */
.lead-section { padding: clamp(4rem, 8vw, 6.5rem) var(--space-xl); }
.lead-section .container { padding: 0; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lead-copy { text-align: left; max-width: none; margin: 0; }
.lead-section .section-tag { color: var(--mint-bright); }
.lead-section .cta-banner-title { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; letter-spacing: -0.02em; }
.lead-section .cta-banner-text { color: var(--on-dark-muted); font-size: 1.1rem; }
.lead-points { display: grid; gap: 0.7rem; margin-bottom: var(--space-xl); }
.lead-points li { display: flex; align-items: center; gap: 0.6rem; color: var(--on-dark); }
.lead-points .ico { color: var(--mint); stroke-width: 2.4; }
.lead-section .cta-banner-actions { justify-content: flex-start; }
.lead-form { color: #0c3a42; border: 0; border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.25rem); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); }
.lead-form .form-title { font-size: 1.35rem; margin-bottom: 0.2rem; }
.lead-form .form-subtitle { margin-bottom: 1.2rem; font-size: 0.85rem; }
.lead-form .form-group { margin-bottom: 1rem; }
.lead-form .form-textarea { min-height: 96px; }
.form-label { text-transform: none; letter-spacing: 0; font-size: 0.86rem; color: var(--color-primary); }
.form-input, .form-select, .form-textarea { background: #fff; border-color: rgba(0, 72, 84, 0.25); border-radius: 10px; font-size: 1rem; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23004854' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.4rem;
}
.form-note { font-size: 0.8rem; color: rgba(12, 58, 66, 0.7); margin-top: 0.8rem; text-align: center; }
.form-note a { text-decoration: underline; }

/* ---- Encabezado de páginas internas ---- */
.page-hero { border-bottom: 0; padding-top: calc(var(--navbar-h) + clamp(3rem, 6vw, 4.5rem)); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.page-hero .section-tag { color: var(--mint-bright); }
.page-hero-title { color: #fff; letter-spacing: -0.025em; line-height: 1.1; }
.page-hero-subtitle { color: var(--on-dark-muted); }
.page-hero .about-stat { background: rgba(255, 255, 255, 0.05); border-color: var(--line-dark); box-shadow: none; }
.page-hero .about-stat-num, .page-hero .stat-plus { color: #fff; }
.page-hero .about-stat-label { color: var(--on-dark-muted); }

/* ---- CTA banner de páginas internas ---- */
.cta-banner:not(.lead-section) .cta-banner-bg { background: var(--paper); }

/* ---- Footer ---- */
.footer { background: var(--ink); border-top: 0; color: var(--on-dark-muted); }
.footer .logo-img { filter: brightness(0) invert(1); }
.footer-grid { border-bottom-color: var(--line-dark); }
.footer-brand p, .footer-links-col a, .footer-contact-item, .footer-contact-item a { color: var(--on-dark-muted); }
.footer-links-col h4, .footer-contact-col h4 { color: #fff; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; }
.footer-links-col a:hover, .footer-contact-item a:hover, .footer-legal-links a:hover { color: var(--mint-bright); }
.social-btn { background: rgba(255, 255, 255, 0.05); border-color: var(--line-dark); color: var(--on-dark); }
.social-btn:hover { background: rgba(131, 200, 179, 0.15); border-color: var(--mint); color: #fff; }
.footer-bottom { color: rgba(255, 255, 255, 0.55); gap: 1rem; flex-wrap: wrap; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-diagram { max-width: 560px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .lead-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-v2, .lead-section { padding-left: var(--space-lg); padding-right: var(--space-lg); }
  .home .navbar:not(.scrolled) .nav-links.open .nav-link { color: var(--color-text-muted); }
  .home .navbar:not(.scrolled) .nav-links.open .nav-link:hover,
  .home .navbar:not(.scrolled) .nav-links.open .nav-link.active { color: var(--color-primary); background: rgba(0, 72, 84, 0.06); }
  .nav-links.open { max-height: calc(100vh - var(--navbar-h)); overflow-y: auto; box-shadow: var(--shadow-lg); }
  .hero-v2 .hero-stats { grid-template-columns: 1fr; gap: 1.1rem; }
  .hero-v2 .stat-item { padding: 0; }
  .why-us-points { grid-template-columns: 1fr; }
  .standards-list > div { grid-template-columns: 1fr; gap: 0.15rem; }
  .marquee-track { gap: 2rem; padding: 0 1.5rem; }
  .marquee-track img { height: 36px; }
}
@media (max-width: 560px) {
  .hero-diagram { display: none; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-v2 .hero-title { font-size: 2.1rem; }
  .hero-v2 .btn-large { width: 100%; justify-content: center; }
}

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

/* Ajustes de alineación y detalles */
.hero-inner, .hero-v2 .hero-stats, .lead-grid { max-width: 1136px; margin-left: auto; margin-right: auto; }
.marquee-track img { height: 48px; filter: none; opacity: 1; }
.about-stat-num { display: inline-block; }
.about-stat-label { display: block; }

/* ==========================================================
   PÁGINAS INTERNAS — mismo nivel que la portada
   ========================================================== */
.detail-feature-icon, .service-page-icon, .subsvc-stat-icon, .contact-detail-icon, .service-icon-wrap {
  color: var(--teal-mid); line-height: 0; display: flex; align-items: center; justify-content: center;
}
.service-page-icon, .service-icon-wrap { background: var(--color-primary); border: 0; color: #fff; border-radius: 14px; }
.service-icon-wrap { margin: 0 auto; }
.detail-feature-icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--paper);
  border: 1px solid var(--color-border); margin-bottom: 0.8rem;
}
.contact-detail-icon { background: var(--paper); border-color: var(--color-border); border-radius: 10px; }
.contact-info-card h3 { color: var(--color-primary); }
.contact-info-card h3 .ico { color: var(--teal-mid); }
.btn-outline .ico, .btn-secondary .ico { margin-right: 0.1rem; }

/* Sub-servicios (Centros de Datos / Habilitación por Red) */
.subsvc-section { padding: clamp(3rem, 6vw, 4.5rem) 0; border-bottom-color: var(--color-border); }
.subsvc-grid { gap: clamp(2rem, 5vw, 4rem); }
.subsvc-content h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.15; }
.subsvc-content p { font-size: 1.02rem; }
.subsvc-bullets { gap: 0.6rem; }
.subsvc-bullets li { font-size: 0.95rem; color: #0c3a42; align-items: baseline; }
.subsvc-bullets li::before { color: var(--teal-mid); }
.subsvc-visual { background: var(--paper); border-color: var(--color-border); border-radius: 20px; padding: 1.25rem; box-shadow: var(--shadow-md); }
.subsvc-stat { border-color: var(--color-border); border-radius: 12px; background: #fff; }
.subsvc-stat-icon { width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--paper); border: 1px solid var(--color-border); }
.subsvc-stat-val { font-family: var(--font-heading); font-size: 1.15rem; color: var(--color-primary); letter-spacing: -0.01em; }
.subsvc-stat-label { font-size: 0.84rem; }
.subsvc-visual .btn-primary { width: 100%; justify-content: center; }

/* Catálogo y detalle de servicio */
.service-page-card { border-radius: 16px; padding: 1.6rem; }
.service-page-title { font-size: 1.2rem; color: var(--color-primary); }
.service-page-desc { font-size: 0.93rem; }
.service-page-link { color: var(--teal-mid); font-size: 0.9rem; }
.detail-feature { border-radius: 14px; padding: 1.4rem; }
.detail-feature h4 { font-size: 1rem; color: var(--color-primary); }
.detail-feature p { font-size: 0.9rem; }
.cta-sidebar-card { background: var(--ink); border: 0; border-radius: 20px; color: var(--on-dark); box-shadow: var(--shadow-glow); }
.cta-sidebar-card h3 { color: #fff; }
.cta-sidebar-card p { color: var(--on-dark-muted); }
.cta-sidebar-card .btn-primary { background: var(--mint); color: var(--ink); box-shadow: none; }
.cta-sidebar-card .btn-primary:hover { background: var(--mint-bright); }
.cta-sidebar-card .btn-outline, .cta-sidebar-card .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.32); width: 100%; justify-content: center; }
.cta-sidebar-card .btn-outline:hover, .cta-sidebar-card .btn-secondary:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }

/* Cierre con llamado a la acción */
.cta-banner:not(.lead-section) {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(131, 200, 179, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(131, 200, 179, 0.055) 1px, transparent 1px),
    linear-gradient(160deg, #00252c 0%, #004854 100%);
  background-size: 56px 56px, 56px 56px, auto;
  padding-top: clamp(4rem, 8vw, 6rem); padding-bottom: clamp(4rem, 8vw, 6rem);
}
.cta-banner:not(.lead-section) .cta-banner-bg { display: none; }
.cta-banner:not(.lead-section) .cta-banner-title { color: #fff; letter-spacing: -0.02em; line-height: 1.12; }
.cta-banner:not(.lead-section) .cta-banner-text { color: var(--on-dark-muted); }
.cta-banner:not(.lead-section) .btn-primary { background: var(--mint); color: var(--ink); box-shadow: none; }
.cta-banner:not(.lead-section) .btn-primary:hover { background: var(--mint-bright); }
.cta-banner:not(.lead-section) .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.32); }
.cta-banner:not(.lead-section) .btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }

/* Rejillas con estilo en línea: que colapsen en pantallas chicas */
@media (max-width: 1024px) {
  .why-us-grid[style] { grid-template-columns: 1fr !important; }
  .services-grid[style] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .services-grid[style] { grid-template-columns: 1fr !important; }
}
