/* ── Fonts ─────────────────────────────────────────── */
@font-face {
  font-family: 'Creata';
  src: url('type/Creata-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Creata';
  src: url('type/Creata-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Variables ─────────────────────────────────────── */
:root {
  /* Brand color system */
  --color-navy:          #1A2C52;
  --color-blue-dark:     #1E4FA0;
  --color-primary:       #0293FC;
  --color-primary-hover: #0278D4;
  --color-teal:          #7EE8FE;
  --color-accent:        #FF4B00;
  --color-warning:       #E8A820;
  --color-success:       #22A06B;
  --color-text-muted:    #a8b0c4;

  /* Aliases & dark theme */
  --fire:       var(--color-primary);
  --fire-glow:  var(--color-teal);
  --orange:     var(--color-accent);
  --dark:       #0D0D0D;
  --dark2:      #161616;
  --dark3:      #1c1c1c;
  --steel:      var(--color-navy);
  --border:     rgba(255,255,255,0.07);
  --border-blue: rgba(2,147,252,0.18);
  --muted:      var(--color-text-muted);
  --muted2:     #555;
  --light:      #F2F0EB;
  --header-h:   72px;
  --section-gap: 7rem;
}

/* ── Base ──────────────────────────────────────────── */
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body {
  background: var(--dark);
  color: var(--light);
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Background FX ─────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at var(--ox, 20%) var(--oy, 80%), rgba(255,75,0,0.13) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
  opacity: 0.5;
}
.glow-orb {
  position: fixed; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,75,0,0.1) 0%, transparent 70%);
  top: -150px; right: -100px; pointer-events: none;
  animation: pulse-orb 4s ease-in-out infinite alternate;
}
.glow-orb2 {
  position: fixed; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(2,147,252,0.06) 0%, transparent 70%);
  bottom: -80px; left: -80px; pointer-events: none;
  animation: pulse-orb 6s ease-in-out infinite alternate-reverse;
}

/* ── Header ────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 900;
  display: flex;
  align-items: center;
  padding: 0 max(2.5rem, calc((100vw - 1160px) / 2));
  gap: 2rem;
  background: rgba(13,13,13,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.site-header.scrolled {
  background: rgba(13,13,13,0.97);
}
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header-logo img { height: 44px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex: 1;
  margin-left: 1rem;
  padding-top: 16px;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.3px;
}
.nav-link:hover, .nav-link.active { color: var(--light); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--fire); background: rgba(2,147,252,0.08); }

.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  letter-spacing: 0.3px;
}
.nav-dropdown:hover .nav-dropdown-toggle { color: var(--light); background: rgba(255,255,255,0.05); }
.nav-dropdown-toggle svg { transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown-menu a:hover { color: var(--light); background: rgba(255,255,255,0.05); }

.header-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 16px;
  padding-bottom: 10px;
}
.btn-header-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 7.5rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 4px;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-header-call:hover { background: #e04200; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,75,0,0.35); }
.btn-header-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 7.5rem;
  background: var(--color-success);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 4px;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-header-wa:hover { background: #1a8f5c; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(34,160,107,0.35); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  bottom: 0;
  background: rgba(13,13,13,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 850;
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.7rem 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--light); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .mm-section {
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted2);
  margin-top: 0.75rem;
  margin-bottom: 0.1rem;
  padding: 0 0.5rem;
}

/* ── Page wrapper ──────────────────────────────────── */
.page-wrapper {
  padding-top: var(--header-h);
  position: relative;
  z-index: 1;
}

/* ── Section base ──────────────────────────────────── */
.section {
  padding: var(--section-gap) 2.5rem;
  max-width: 1160px;
  margin: 0 auto;
}
.section-sm {
  padding: 4rem 2.5rem;
  max-width: 1160px;
  margin: 0 auto;
}
.section-full {
  padding: var(--section-gap) 2.5rem;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 1.2rem;
}
.section-tag::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--color-teal);
}
.section-h2 {
  font-family: 'Creata', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 1px;
  color: var(--light);
  margin-bottom: 1.2rem;
}
.section-h2 .accent { color: var(--fire); }
.section-lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: #aaa;
  font-weight: 300;
  max-width: 600px;
  line-height: 1.75;
}
.section-divider {
  width: 48px;
  height: 2px;
  background: var(--fire);
  margin: 2rem 0;
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 5rem 2.5rem 4rem;
  position: relative;
}
.hero-container {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
}
.hero-inner {
  animation: fadeUp 0.9s 0.1s ease both;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-image {
  border-radius: 16px;
  background: var(--color-navy);
  border: 1px solid rgba(30,79,160,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.9s 0.25s ease both;
  overflow: hidden;
}
.hero-image { position: relative; }
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.hero-img {
  position: absolute;
  top: 0; left: 0;
}
.hero-img--1 { animation: heroFade1 10s ease-in-out infinite both; }
.hero-img--2 { animation: heroFade2 10s ease-in-out infinite both; }
@keyframes heroFade1 {
  0%,  40% { opacity: 1; }
  50%, 90% { opacity: 0; }
  100%     { opacity: 1; }
}
@keyframes heroFade2 {
  0%,  40% { opacity: 0; }
  50%, 90% { opacity: 1; }
  100%     { opacity: 0; }
}
.hero-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fire-glow);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--fire);
}
.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--light);
  line-height: 1.35;
  margin-top: 2.5rem;
  margin-bottom: 0.1rem;
  letter-spacing: 0.2px;
}
.hero h1 {
  font-family: 'Creata', sans-serif;
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  line-height: 1;
  letter-spacing: 1px;
  color: var(--light);
  margin-bottom: 0.2rem;
}
.hero h1 .accent {
  color: var(--fire);
  display: block;
  text-transform: uppercase;
}
.hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: #aaa;
  font-weight: 300;
  line-height: 1.8;
  max-width: 560px;
  margin-top: 0.3rem;
  margin-bottom: 3rem;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 3.5rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  background: var(--dark2);
  gap: 0.4rem;
  transition: background 0.2s;
}
.stat-item:hover { background: rgba(30,79,160,0.1); cursor: default; }
.stat-num {
  font-family: 'Creata', sans-serif;
  font-size: 2.4rem;
  color: var(--fire);
  letter-spacing: 1px;
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: all 0.22s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: 'Creata', sans-serif;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(2,147,252,0.35); }
.btn-outline {
  background: transparent;
  color: var(--light);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-teal); background: rgba(2,147,252,0.06); transform: translateY(-2px); }
.btn-whatsapp {
  background: var(--color-success);
  color: #fff;
}
.btn-whatsapp:hover { background: #1a8f5c; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34,160,107,0.35); }
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--border-blue);
}
.btn-ghost:hover { background: rgba(2,147,252,0.08); border-color: var(--color-primary); transform: translateY(-1px); }
.btn svg { flex-shrink: 0; }

/* ── Cards ─────────────────────────────────────────── */
.card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.25s ease;
}
.card:hover {
  border-color: var(--border-blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* ── Services Grid ─────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.service-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,79,160,0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s;
}
.service-card:hover { border-color: rgba(2,147,252,0.35); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.45); }
.service-card:hover::before { opacity: 1; }
.service-card.featured {
  border-color: rgba(30,79,160,0.45);
  background: rgba(30,79,160,0.07);
}
.service-icon {
  width: 44px;
  height: 44px;
  background: rgba(2,147,252,0.1);
  border: 1px solid var(--border-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fire);
  flex-shrink: 0;
}
.service-card-title {
  font-family: 'Creata', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--light);
  letter-spacing: 0.5px;
}
.service-card-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.service-card-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--fire);
  letter-spacing: 0.5px;
  margin-top: auto;
}

/* ── Feature section (2-col) ───────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.feature-grid.reverse { direction: rtl; }
.feature-grid.reverse > * { direction: ltr; }
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
}
.feature-dot {
  width: 32px;
  height: 32px;
  background: rgba(2,147,252,0.1);
  border: 1px solid var(--border-blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fire);
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item h4 {
  font-family: 'Creata', sans-serif;
  font-size: 0.95rem;
  color: var(--light);
  margin-bottom: 0.25rem;
}
.feature-item p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}

.tech-visual {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(2,147,252,0.08);
  border: 1px solid var(--border-blue);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  color: var(--fire-glow);
  letter-spacing: 1px;
}
.tech-badge svg { color: var(--fire); }

/* ── Coverage section ──────────────────────────────── */
.comunas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 2.5rem;
}
.comuna-chip {
  display: block;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  color: #bbb;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.comuna-chip:hover {
  background: rgba(30,79,160,0.12);
  border-color: rgba(2,147,252,0.3);
  color: var(--color-teal);
}

/* ── Testimonials ──────────────────────────────────── */
.testimonial-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--color-blue-dark);
  border-radius: 8px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover { border-left-color: var(--color-primary); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--color-warning);
  font-size: 0.85rem;
}
.testimonial-text {
  font-size: 0.88rem;
  color: #ccc;
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.testimonial-text::before { content: '"'; color: var(--fire); font-size: 1.5rem; font-style: normal; line-height: 0.5; display: block; margin-bottom: 0.5rem; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-navy);
  border: 1px solid var(--color-blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Creata', sans-serif;
  font-size: 0.9rem;
  color: var(--color-teal);
  flex-shrink: 0;
}
.testimonial-author h5 {
  font-family: 'Creata', sans-serif;
  font-size: 0.85rem;
  color: var(--light);
}
.testimonial-author span {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── FAQ ───────────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ccc;
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--light); }
.faq-question.open { color: var(--light); }
.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: rgba(2,147,252,0.1);
  border: 1px solid var(--border-blue);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fire);
  transition: transform 0.25s, background 0.2s;
}
.faq-question.open .faq-icon { background: rgba(2,147,252,0.2); transform: rotate(45deg); }
.faq-answer {
  overflow: hidden;
}
.faq-answer p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── CTA Banner ────────────────────────────────────── */
.cta-banner {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(255,75,0,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(2,147,252,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: 'Creata', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--light);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.cta-banner p {
  font-size: 1rem;
  color: #aaa;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-banner-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-banner-btns .btn { width: 220px; justify-content: center; }
.cta-banner-btns .btn-outline:hover { color: var(--light); }
.cta-contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.cta-contact-item svg { color: var(--fire); }
.cta-contact-item a { color: var(--muted); transition: color 0.2s; }
.cta-contact-item a:hover { color: var(--light); }

/* ── CTA Banner con foto ───────────────────────────── */
.cta-banner-photo {
  border-color: rgba(255,255,255,0.12);
}

/* ── Convenios Banner ──────────────────────────────── */
.convenios-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-radius: 12px;
  padding: 3rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(2,147,252,0.25);
  background-image: url('../convenios_empresas.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transition: border-color 0.2s;
}
.convenios-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,12,24,0.88) 0%, rgba(8,12,24,0.65) 60%, rgba(8,12,24,0.5) 100%);
  pointer-events: none;
}
.convenios-banner:hover { border-color: rgba(2,147,252,0.5); }
.convenios-banner-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}
.convenios-banner-icon {
  width: 56px;
  height: 56px;
  background: rgba(2,147,252,0.15);
  border: 1px solid rgba(2,147,252,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fire);
  flex-shrink: 0;
}
.convenios-banner-text { position: relative; }
.convenios-banner-tag {
  font-size: 0.7rem;
  color: var(--fire);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.convenios-banner-title {
  font-family: 'Creata', sans-serif;
  font-size: 1.3rem;
  color: var(--light);
  margin-bottom: 0.35rem;
}
.convenios-banner-desc {
  font-size: 0.88rem;
  color: #bbb;
  max-width: 520px;
}
.convenios-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s;
}
.convenios-banner:hover .convenios-banner-cta {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.8);
}
@media (max-width: 768px) {
  .convenios-banner { background-attachment: scroll; padding: 2rem 1.5rem; }
  .convenios-banner::before { background: rgba(8,12,24,0.85); }
}

/* ── Footer ────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 2.5rem 2rem;
  position: relative;
  z-index: 1;
}
.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-contact-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-contact-list a:hover { color: var(--light); }
.footer-contact-list svg { color: var(--fire); flex-shrink: 0; }
.footer-logo { height: 40px; width: auto; margin-bottom: 0.25rem; }
.footer-col h4 {
  font-family: 'Creata', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 1.2rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.83rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--light); }
.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom span, .footer-bottom a {
  font-size: 0.75rem;
  color: var(--muted2);
}
.footer-bottom a:hover { color: var(--muted); }
.footer-bottom a.footer-credit, .footer-bottom a.footer-credit:hover { color: var(--fire); font-weight: 700; }

/* ── Back to top ───────────────────────────────────── */
#back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 800;
  width: 48px;
  height: 48px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s, background 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
body.footer-visible #back-top { opacity: 0 !important; pointer-events: none !important; }
#back-top.visible { opacity: 1; pointer-events: auto; }
#back-top:hover { background: var(--fire); border-color: var(--fire); transform: translateY(-2px); }

/* ── Contact form ──────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: stretch;
}
.contact-grid > .reveal {
  display: flex;
  flex-direction: column;
}
.contact-grid > .reveal > .contact-form {
  flex: 1;
}
.contact-form {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  height: 100%;
}
.contact-form form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-form form .form-group:last-of-type textarea {
  flex: 1;
  min-height: 100px;
  resize: none;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: var(--light);
  font-family: 'Manrope', sans-serif;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--fire);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark2); }
.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--fire);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Creata', sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.form-submit:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Page Hero (inner pages) ───────────────────────── */
.page-hero {
  padding: 4rem 2.5rem 3rem;
  max-width: 1160px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
/* ── Blog/Article hero with image background ───────── */
.page-hero--blog,
.page-hero--article {
  position: relative;
  overflow: hidden;
}
.page-hero--blog::before,
.page-hero--article::before {
  content: '';
  position: absolute;
  inset: -24px;
  background-size: cover;
  background-position: center;
  filter: blur(6px) brightness(0.28) saturate(0.8);
  z-index: 0;
}
.page-hero--blog > *,
.page-hero--article > * {
  position: relative;
  z-index: 1;
}
.page-hero--article {
  border-bottom: none;
  padding-bottom: 3.5rem;
}
.page-hero--blog {
  border-bottom: none;
  padding-bottom: 4rem;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted2);
  margin-bottom: 1.5rem;
}
.page-hero-breadcrumb a { transition: color 0.2s; }
.page-hero-breadcrumb a:hover { color: var(--muted); }
.page-hero-breadcrumb span { color: var(--muted2); }
.page-hero h1 {
  font-family: 'Creata', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 1px;
  color: var(--light);
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}
.page-hero h1 .accent { color: var(--fire); }
.page-hero .desc {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: #aaa;
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* ── Service detail ────────────────────────────────── */
.service-includes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.include-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem;
}
.include-item svg { color: var(--fire); flex-shrink: 0; margin-top: 2px; }
.include-item h4 {
  font-family: 'Creata', sans-serif;
  font-size: 0.88rem;
  color: var(--light);
  margin-bottom: 0.25rem;
}
.include-item p { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

.process-with-image {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}
.process-with-image .process-steps {
  margin-top: 0;
}
.process-side-img {
  align-self: center;
  margin-top: 1.5rem;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 660px;
  margin-top: 2rem;
}
.step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Creata', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(2,147,252,0.55);
  line-height: 1;
  width: 40px;
  flex-shrink: 0;
  padding-top: 2px;
}
.step h4 {
  font-family: 'Creata', sans-serif;
  font-size: 0.95rem;
  color: var(--light);
  margin-bottom: 0.4rem;
}
.step p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }

/* ── Local page ────────────────────────────────────── */
.local-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.local-service-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: #bbb;
  text-decoration: none;
  transition: all 0.2s;
}
.local-service-item svg { color: var(--fire); flex-shrink: 0; }
.local-service-item:hover {
  border-color: var(--border-blue);
  color: var(--light);
  background: rgba(2,147,252,0.06);
}

/* ── Blog grid ─────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
}
.blog-card:hover { border-color: var(--border-blue); transform: translateY(-2px); }
.blog-card-img {
  height: 200px;
  background: var(--steel);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(2,147,252,0.3);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.blog-tag {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fire);
}
.blog-card-title {
  font-family: 'Creata', sans-serif;
  font-size: 1rem;
  color: var(--light);
  line-height: 1.35;
}
.blog-card-excerpt {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.blog-card-meta {
  font-size: 0.72rem;
  color: var(--muted2);
}

/* ── Nosotros ──────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.value-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}
.value-card .icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--fire);
  margin-bottom: 1.2rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.value-card h3 {
  font-family: 'Creata', sans-serif;
  font-size: 1rem;
  color: var(--light);
  margin-bottom: 0.6rem;
}
.value-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.65; }

/* ── Gracias page ──────────────────────────────────── */
.gracias-wrap {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
}
.gracias-box {
  text-align: center;
  max-width: 520px;
}
.gracias-icon {
  width: 72px; height: 72px;
  background: rgba(2,147,252,0.1);
  border: 1px solid var(--border-blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--fire);
  margin: 0 auto 2rem;
}
.gracias-box h1 {
  font-family: 'Creata', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--light);
  margin-bottom: 1rem;
}
.gracias-box p { font-size: 1rem; color: #aaa; line-height: 1.7; margin-bottom: 2rem; }

/* ── Animations ────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse-orb {
  from { transform: scale(1) translateY(0); opacity: 1; }
  to { transform: scale(1.15) translateY(-20px); opacity: 0.7; }
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .comunas-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .feature-grid { gap: 3rem; }
}

/* ── Tablet: "Expertos en Gas y Agua" — bloque independiente con foto junto a los stats en 3 columnas ── */
.nosotros-grid-tablet { display: none; }
@media (min-width: 769px) and (max-width: 1024px) {
  .nosotros-grid { display: none !important; }
  .nosotros-grid-tablet {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
  }
  .nosotros-grid-tablet > .section-tag,
  .nosotros-grid-tablet > .section-h2 { grid-column: 1 / -1; }
  .nosotros-photo-tablet { aspect-ratio: auto; }
}

@media (max-width: 768px) {
  :root { --section-gap: 4.5rem; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }

  .feature-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-grid.reverse { direction: ltr; }
  .nosotros-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .nosotros-photo { margin: 0 auto !important; max-width: 220px; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .comunas-grid { grid-template-columns: repeat(3, 1fr); }
  .local-services-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .service-includes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process-with-image { grid-template-columns: 1fr; gap: 2rem; }
  .process-side-img { margin-top: 0 !important; aspect-ratio: 16/9 !important; position: static !important; }
  .hero { padding: 3rem 1.5rem 6rem; }
  .hero-container { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-image { aspect-ratio: 4/3; }
  .section { padding: var(--section-gap) 1.5rem; }
  .section-sm { padding: 3rem 1.5rem; }
  .site-header { padding: 0 1.5rem; background: rgba(13,13,13,0.97); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .mobile-menu { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .page-hero { padding: 2.5rem 1.5rem 2rem; }
  .cta-banner { padding: 2.5rem 1.5rem; }
  .site-footer { padding: 3rem 1.5rem 2rem; }
  #back-top { right: 1.5rem; bottom: 1.5rem; }
}

@media (max-width: 480px) {
  .comunas-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
  .cta-banner-btns { flex-direction: column; align-items: center; }
  .local-services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Accessibility: focus states ───────────────────── */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 3px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
}

/* ── Swiper testimonials ───────────────────────────── */
.testimonials-swiper { margin-top: 3rem; padding-bottom: 3rem !important; }
.testimonials-swiper .swiper-slide { height: auto; }
.testimonials-swiper .testimonial-card { height: 100%; }
.testimonials-swiper .swiper-pagination-bullet { background: var(--color-primary); opacity: 0.35; }
.testimonials-swiper .swiper-pagination-bullet-active { opacity: 1; }

/* ── Accessibility: reduced motion ────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Blog article prose ────────────────────────────── */
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-size: 0.82rem;
  color: var(--muted2);
  flex-wrap: wrap;
}
.article-meta .blog-tag { margin: 0; }
.article-meta-sep { color: var(--muted2); }

.article-prose { max-width: 720px; }
.article-prose h2 {
  font-family: 'Creata', 'Manrope', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: var(--light);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}
.article-prose h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--light);
  margin: 1.75rem 0 0.65rem;
}
.article-prose p {
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.article-prose ul, .article-prose ol {
  padding-left: 1.4rem;
  margin-bottom: 1.2rem;
  list-style: disc;
}
.article-prose ol { list-style: decimal; }
.article-prose li {
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.article-prose strong { color: var(--light); font-weight: 600; }
.article-prose a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.article-prose a:hover { color: var(--color-teal); }

.article-callout {
  background: rgba(2,147,252,0.07);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 8px 8px 0;
  padding: 1.1rem 1.4rem;
  margin: 1.75rem 0;
}
.article-callout p { margin: 0; color: var(--light); font-size: 0.95rem; }
.article-callout.warn {
  background: rgba(255,75,0,0.07);
  border-color: var(--color-accent);
}
.article-callout.warn p { color: #ffb89a; }

.article-table-wrap { overflow-x: auto; margin: 1.75rem 0; }
.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.article-table th {
  background: rgba(255,255,255,0.05);
  color: var(--light);
  font-weight: 600;
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.article-table td {
  padding: 0.7rem 1rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.article-table tr:last-child td { border-bottom: none; }
.article-table td:first-child { color: var(--light); font-weight: 500; }

.article-related {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.article-related-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted2);
  margin-bottom: 1rem;
}
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.article-related-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.article-related-card:hover { border-color: var(--border-blue); transform: translateY(-2px); }
.article-related-card .blog-tag { margin-bottom: 0.6rem; }
.article-related-card-title { font-size: 0.9rem; font-weight: 600; color: var(--light); line-height: 1.4; }

@media (max-width: 768px) {
  .article-related-grid { grid-template-columns: 1fr; }
}

/* ── Contacto: hover de links sin inline JS ── */
.contact-link--tel:hover  { border-color: rgba(2,147,252,0.3) !important; }
.contact-link--wa:hover   { border-color: rgba(37,211,102,0.3) !important; }
.contact-link--email:hover { border-color: rgba(255,255,255,0.2) !important; }
