/* ==========================================================================
   BALDUR SIG SpA — DESIGN SYSTEM v2
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;1,400&family=Barlow+Semi+Condensed:wght@500;600;700&display=swap');

:root {
  --bg-primary:    #060a12;
  --bg-secondary:  #0c1220;
  --bg-tertiary:   #13192c;
  --bg-glass:      rgba(12, 18, 32, 0.72);
  --border-glass:  rgba(255, 255, 255, 0.07);
  --border-cyan:   rgba(74, 222, 128, 0.28);

  --text-primary:   #f0f4f9;
  --text-secondary: #a8bdd2;
  --text-muted:     #6b8298;

  --accent-cyan:       #4ade80;
  --accent-cyan-dim:   rgba(74, 222, 128, 0.12);
  --accent-cyan-hover: #86efac;
  --accent-green:       #22c55e;
  --accent-green-dim:   rgba(34, 197, 94, 0.12);
  --accent-green-hover: #4ade80;

  --success: #10b981;
  --error:   #ef4444;

  --font-title: 'Outfit', sans-serif;
  --font-body:  'Inter', sans-serif;

  --section-padding:  48px 24px;
  --container-width:  1200px;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  28px;
  --radius-xl:  40px;

  --header-h: 150px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  --transition-fast: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

/* ==========================================================================
   RESET
   ========================================================================== */

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

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

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

/* mouse spotlight */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(
    562px circle at var(--mx, 50vw) var(--my, 50vh),
    rgba(74, 222, 128, 0.075) 0%,
    rgba(34, 197, 94,  0.034) 38%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 1;
}

/* canvas background */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* mesh grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,222,128,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,222,128,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}
p  { color: var(--text-secondary); font-weight: 300; }
a  { color: inherit; text-decoration: none; transition: var(--transition-fast); }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  margin-bottom: 1rem;
}
.section-title span { @extend .gradient-text; }
.section-title span {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 3.5rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-size: 0.93rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
  border: none;
  will-change: transform;
}

/* ripple effect */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.btn:active::after { opacity: 1; transform: scale(1.5); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-cyan-hover) 100%);
  color: #020617;
  box-shadow: 0 4px 20px rgba(74,222,128,0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(74,222,128,0.55);
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--accent-green);
  color: var(--accent-green);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(34,197,94,0.18);
}

/* ==========================================================================
   GLASS CARDS
   ========================================================================== */

.card-glass {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(5px) saturate(10%);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

/* subtle gradient top highlight */
.card-glass::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(30deg, transparent, rgba(74,222,128,0.4), transparent);
  opacity: 0;
  transition: var(--transition);
}
.card-glass:hover::before { opacity: 1; }
.card-glass:hover {
  transform: translateY(-6px);
  border-color: rgba(74,222,128,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(74,222,128,0.05);
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */

[data-reveal],
[data-reveal="left"],
[data-reveal="right"],
[data-reveal="scale"] {
  opacity: 0;
  transition: opacity 0.55s ease;
}
[data-reveal].revealed { opacity: 1; }

[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: var(--transition);
}
.header.scrolled {
  height: var(--header-h);
  background: rgba(8, 18, 42, 0.97);
  box-shadow: 0 4px 40px rgba(0,0,0,0.6);
  border-bottom-color: var(--border-glass);
}
.header.hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.logo-icon {
  width: 130px;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(34, 197, 94, 0.4);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.35), 0 0 6px rgba(34, 197, 94, 0.2);
  flex-shrink: 0;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* fallback letter when no image */
.logo-icon.letter {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020617;
  font-weight: 900;
  font-size: 1.1rem;
}

.logo-text { display: none; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
  transition: width 0.3s var(--ease-out);
}
.nav-link:hover,
.nav-link.active { color: var(--text-primary); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-cta { margin-left: 8px; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */

.breadcrumb-nav {
  padding: var(--header-h) 0 0;
  background: transparent;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-muted);
  padding: 14px 0;
}
.breadcrumb li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--accent-cyan); }
.breadcrumb [aria-current="page"] { color: var(--accent-cyan); }

/* ==========================================================================
   PAGE HERO (interior pages)
   ========================================================================== */

.page-hero {
  padding: 60px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(74,222,128,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.page-hero h1 span {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero p {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}


/* ambient glows */
.hero::before {
  content: '';
  position: absolute;
  top: 10%; left: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(74,222,128,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 5%; right: -10%;
  width: 45vw; height: 45vw;
  background: radial-gradient(circle, rgba(34,197,94,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-cyan-dim);
  border: 1px solid rgba(74,222,128,0.25);
  color: var(--accent-cyan);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 900;
  margin-bottom: 22px;
  letter-spacing: -1.5px;
  line-height: 1.1;
}
.hero-title span {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-cyan);
  box-shadow:
    0 0 0 1px var(--border-glass),
    0 30px 60px rgba(0,0,0,0.7),
    0 0 60px rgba(74,222,128,0.08);
}
.hero-image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-glow {
  position: absolute;
  width: 130%; height: 130%;
  background: radial-gradient(circle at 50% 50%, rgba(74,222,128,0.12) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

/* rotating ring — disabled for performance */
.hero-ring { display: none; }

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about {
  padding: var(--section-padding);
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  right: -15%; top: 50%;
  transform: translateY(-50%);
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(34,197,94,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.about .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-visual { position: relative; }

.about-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-cyan);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(74,222,128,0.06);
}
.about-image-frame img {
  width: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(0.9);
  transition: transform 0.35s var(--ease-out), filter 0.35s ease;
}
.about-image-frame:hover img { filter: brightness(1.05); transform: scale(1.02); }

.about-experience-card {
  position: absolute;
  bottom: -28px;
  right: -28px;
  background: var(--bg-glass);
  border: 1px solid var(--border-cyan);
  backdrop-filter: blur(16px);
  padding: 22px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 20px rgba(74,222,128,0.1);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 3;
}
.about-exp-num {
  font-size: 2.8rem;
  font-family: var(--font-title);
  font-weight: 900;
  color: var(--accent-green);
  line-height: 1;
}
.about-exp-text {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-primary);
  max-width: 90px;
  line-height: 1.4;
}

.about-content h2, .about-content h3 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
}
.about-content h2::after, .about-content h3::after {
  content: '';
  display: block;
  width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
  margin-top: 12px;
  border-radius: 2px;
}

.about-text { margin-bottom: 2rem; line-height: 1.8; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: var(--transition);
}
.about-feature-item:hover {
  background: rgba(74,222,128,0.04);
  border-color: var(--border-glass);
}

.about-feature-icon {
  color: var(--accent-cyan);
  margin-top: 2px;
  flex-shrink: 0;
}
.about-feature-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.about-feature-desc  { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services {
  padding: var(--section-padding);
  background-color: var(--bg-primary);
  position: relative;
  z-index: 1;
}

.services .container {
  max-width: 1360px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: rgba(255,255,255,0.015);
  backdrop-filter: none;
  border-color: rgba(255,255,255,0.06);
}
.service-card:hover {
  border-color: rgba(74,222,128,0.15);
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
}

.service-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.5s ease, transform 0.6s ease;
}
.service-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,0.8) 100%);
}
.service-card:hover .service-card-media img {
  opacity: 0.7;
  transform: scale(1.08);
}

.service-card-content {
  position: relative;
  z-index: 1;
  padding: 26px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-icon-wrapper {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(74,222,128,0.06);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 14px;
  transition: var(--transition);
  flex-shrink: 0;
}
.service-icon-wrapper svg { width: 24px; height: 24px; }
.service-card:hover .service-icon-wrapper {
  background: var(--accent-cyan);
  color: #020617;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 24px rgba(74,222,128,0.45);
  transform: rotate(5deg) scale(1.1);
}

.service-title { font-size: 1.1rem; margin-bottom: 8px; }

.service-desc {
  font-size: 0.87rem;
  margin-bottom: 16px;
  flex-grow: 1;
  line-height: 1.55;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--border-glass);
  padding-top: 12px;
}
.service-features-list li {
  font-size: 0.83rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-features-list li::before {
  content: '›';
  color: var(--accent-green);
  font-weight: 700;
  font-size: 1rem;
}

/* ==========================================================================
   TRUST / MERCADO PÚBLICO
   ========================================================================== */

.trust {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.trust-badge-container { display: flex; justify-content: center; margin-bottom: 2rem; }

.trust-badge {
  background: var(--accent-green-dim);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--accent-green);
  padding: 9px 26px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.trust-badge svg { width: 16px; height: 16px; }

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

.stat-card {
  text-align: center;
  padding: 36px 24px;
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
  transform: scaleX(0);
  transition: var(--transition);
}
.stat-card:hover { border-color: rgba(74,222,128,0.2); transform: translateY(-4px); }
.stat-card:hover::before { transform: scaleX(1); }

.stat-num {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-family: var(--font-title);
  font-weight: 900;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}
.stat-desc { font-size: 0.82rem; color: var(--text-muted); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials {
  padding: var(--section-padding);
  background-color: var(--bg-primary);
  position: relative;
  z-index: 1;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.testimonial-quote {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
}
.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0; top: -6px;
  font-size: 2.5rem;
  font-family: var(--font-title);
  color: var(--accent-cyan);
  line-height: 1;
  opacity: 0.5;
}

.testimonial-author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 3px;
}
.testimonial-author-role { font-size: 0.8rem; color: var(--text-muted); }

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq { padding: var(--section-padding); background-color: var(--bg-secondary); position: relative; z-index: 1; }

.faq-item {
  cursor: pointer;
  padding: 0 !important;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-family: var(--font-title);
  font-size: 0.97rem;
  padding: 20px 24px;
  gap: 16px;
}

.faq-icon {
  color: var(--accent-cyan);
  font-size: 1.5rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: var(--transition-fast);
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent-green); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out), padding 0.3s ease;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.8;
}
.faq-answer p { padding: 0 24px 20px; }
.faq-item.open .faq-answer { max-height: 200px; }

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact {
  padding: var(--section-padding);
  background-color: var(--bg-tertiary);
}
.contact .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
}

.contact-info { display: flex; flex-direction: column; justify-content: center; }

.contact-info-title {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.contact-info-title span {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-info-desc { margin-bottom: 2.5rem; line-height: 1.8; }

.contact-details { display: flex; flex-direction: column; gap: 22px; }

.contact-detail-item { display: flex; align-items: flex-start; gap: 16px; }

.contact-detail-icon {
  width: 46px; height: 46px;
  background: rgba(74,222,128,0.06);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  flex-shrink: 0;
  transition: var(--transition);
}
.contact-detail-item:hover .contact-detail-icon {
  background: var(--accent-green-dim);
  border-color: rgba(34,197,94,0.3);
  transform: scale(1.1);
}

.contact-detail-content h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 3px; }
.contact-detail-content p,
.contact-detail-content a { font-size: 0.88rem; color: var(--text-secondary); }
.contact-detail-content a:hover { color: var(--accent-cyan); }

/* Form */
.contact-form-wrapper { position: relative; }

.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text-primary);
  transition: var(--transition);
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(74,222,128,0.04);
  box-shadow: 0 0 0 3px rgba(74,222,128,0.08);
}

textarea.form-input { min-height: 130px; resize: vertical; }

.form-status {
  margin-top: 14px;
  font-size: 0.88rem;
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}
.form-status.success {
  display: block;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  color: var(--success);
}
.form-status.error {
  display: block;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  color: var(--error);
}

/* ==========================================================================
   FILTER TABS (Proyectos / Blog)
   ========================================================================== */

.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-tab {
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  transition: var(--transition-fast);
  text-decoration: none;
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--accent-cyan-dim);
  border-color: var(--border-cyan);
  color: var(--accent-cyan);
}

/* ==========================================================================
   BLOG CONTENT TYPOGRAPHY
   ========================================================================== */

.blog-content { line-height: 1.9; }
.blog-content h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
}
.blog-content h3 { font-size: 1.25rem; margin: 2rem 0 0.75rem; color: var(--text-primary); }
.blog-content p  { margin-bottom: 1.25rem; color: var(--text-secondary); }
.blog-content a  { color: var(--accent-cyan); text-decoration: underline; text-underline-offset: 3px; }
.blog-content ul, .blog-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}
.blog-content li { margin-bottom: 0.5rem; }
.blog-content code {
  background: rgba(74,222,128,0.08);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--accent-cyan);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-glass);
  padding: 72px 24px 36px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-info .logo { margin-bottom: 18px; }
.footer-info p { font-size: 0.88rem; max-width: 300px; line-height: 1.75; }

.footer-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 11px; }

.footer-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}
.footer-link::before {
  content: '›';
  color: var(--accent-cyan);
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--transition-fast);
}
.footer-link:hover { color: var(--accent-cyan); padding-left: 6px; }
.footer-link:hover::before { opacity: 1; transform: translateX(0); }

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-copy  { font-size: 0.82rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 0.82rem; color: var(--text-muted); }
.footer-legal a:hover { color: var(--text-primary); }

/* ==========================================================================
   KEYFRAMES & ANIMATIONS
   ========================================================================== */

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

/* ==========================================================================
   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; }
}

/* ==========================================================================
   RESPONSIVE — 1024px
   ========================================================================== */

@media (max-width: 1024px) {
  :root {
    --section-padding: 36px 24px;
    --header-h: 120px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description { margin: 0 auto 40px; }
  .hero-actions     { justify-content: center; }
  .hero-visual      { max-width: 420px; margin: 0 auto; }

  .about .container {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .about-visual { max-width: 480px; margin: 0 auto; }
  .about-experience-card { right: 0; }

  .contact .container { grid-template-columns: 1fr; gap: 48px; }

  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-info { grid-column: 1 / -1; }
}

/* ==========================================================================
   RESPONSIVE — 768px
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --section-padding: 30px 20px;
    --header-h: 90px;
  }

  /* Mobile nav */
  .nav {
    display: none;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: rgba(6,10,18,0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-glass);
    padding: 28px 24px;
    flex-direction: column;
    gap: 4px;
    z-index: 999;
  }
  .nav.mobile-active { display: flex; }
  .nav-link {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    width: 100%;
    font-size: 1rem;
  }
  .nav-link:hover, .nav-link.active {
    background: rgba(74,222,128,0.06);
  }
  .nav-link::after { display: none; }
  .nav-cta { margin-left: 0; width: 100%; text-align: center; margin-top: 8px; }

  .menu-toggle { display: flex; }

  .about-features { grid-template-columns: 1fr; }
  .trust-grid     { grid-template-columns: 1fr; }
  .footer-top     { grid-template-columns: 1fr; }

  .hero-title { font-size: 2.4rem; letter-spacing: -0.8px; }
  .section-title { font-size: 1.9rem; }

  .breadcrumb-nav { padding-top: var(--header-h); }
}

/* ==========================================================================
   RESPONSIVE — 480px
   ========================================================================== */

@media (max-width: 480px) {
  :root { --section-padding: 24px 18px; }
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .about-experience-card { right: 0; bottom: -20px; padding: 14px 18px; }
  .about-exp-num { font-size: 2.2rem; }
}

/* ==========================================================================
   HERO — BACKGROUND IMAGE VARIANT
   ========================================================================== */

.hero--bg {
  background-image: url('/assets/images/hero/hero-bg.png');
  /* versión liviana (79 KB en vez de 2,8 MB); los navegadores sin image-set usan la línea de arriba */
  background-image: image-set(url('/assets/images/opt/hero-bg.webp') type('image/webp'), url('/assets/images/hero/hero-bg.png') type('image/png'));
  background-size: cover;
  background-position: center 75%;
  background-repeat: no-repeat;
  align-items: flex-start;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(6,10,18,0.5) 0%, transparent 30%),
    linear-gradient(
      105deg,
      rgba(6, 10, 18, 0.94) 0%,
      rgba(6, 10, 18, 0.80) 38%,
      rgba(6, 10, 18, 0.45) 62%,
      rgba(6, 10, 18, 0.15) 100%
    );
  z-index: 0;
}

.hero--bg .container {
  grid-template-columns: 360px 1fr;
  gap: 60px;
  z-index: 2;
  align-items: start;
  padding-top: 28px;
  padding-bottom: 52px;
}

/* Desktop: form left, content right */
.hero--bg .hero-form-wrap { order: 1; }
.hero--bg .hero-content   { order: 2; }

.hero-form-wrap {
  display: flex;
  align-items: flex-start;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.hero-form-card {
  width: 100%;
}

/* Compact fields inside the hero card */
.hero-form-card .form-group { margin-bottom: 12px; }
.hero-form-card textarea.form-input { min-height: 72px; }

.hero-form-card h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-form-card .hero-form-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Trust row beneath hero CTA */
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 2rem;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-trust-item svg { color: var(--accent-cyan); flex-shrink: 0; }

/* Select */
select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%238fa3be' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
select.form-input option { background: #0c1220; color: #eef2f7; }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */

.trust-strip {
  padding: 32px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  position: relative;
  z-index: 1;
}
.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.trust-strip-item svg { color: var(--accent-green); }

/* ==========================================================================
   PROCESS STEPS SECTION
   ========================================================================== */

.process {
  padding: var(--section-padding);
  background-color: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 3.5rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.67% + 32px);
  right: calc(16.67% + 32px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan), var(--accent-green));
  opacity: 0.25;
}

.process-step {
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.process-step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--border-cyan);
  color: var(--accent-cyan);
  font-size: 1.4rem;
  font-weight: 900;
  font-family: var(--font-title);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.process-step:hover .process-step-num {
  background: var(--accent-cyan-dim);
  box-shadow: 0 0 24px rgba(74, 222, 128, 0.3);
}
.process-step-title { font-size: 1.1rem; margin-bottom: 0.75rem; }
.process-step-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.75; }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */

.cta-banner {
  padding: 90px 24px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(74, 222, 128, 0.07) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.cta-banner h2 span {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-banner p {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}
.cta-banner-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   BLOG PREVIEW SECTION
   ========================================================================== */

.blog-preview {
  padding: var(--section-padding);
  background-color: var(--bg-primary);
  position: relative;
  z-index: 1;
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 3.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
}
.blog-card-image {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-glass);
}
.blog-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease-out), filter 0.35s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); filter: brightness(1.1); }

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}
.blog-card-cat {
  font-size: 0.72rem;
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  border: 1px solid var(--border-cyan);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.blog-card-date { font-size: 0.75rem; color: var(--text-muted); }

.blog-card-title {
  font-size: 1.08rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.blog-card-title a { color: var(--text-primary); }
.blog-card-title a:hover { color: var(--accent-cyan); }

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  flex-grow: 1;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

/* ==========================================================================
   VALUES GRID (Nosotros)
   ========================================================================== */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 3.5rem;
}
.value-card {
  padding: 32px 28px;
  text-align: center;
}
.value-icon {
  width: 60px; height: 60px;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--accent-cyan-dim);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  transition: var(--transition);
}
.value-card:hover .value-icon {
  background: var(--accent-cyan);
  color: #020617;
  box-shadow: 0 0 24px rgba(74, 222, 128, 0.4);
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 0.75rem; }
.value-card p { font-size: 0.88rem; line-height: 1.7; }

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 3.5rem;
}
.team-card {
  text-align: center;
  padding: 28px 20px;
}
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent-cyan-dim);
  border: 2px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--accent-cyan);
}
.team-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.team-card p { font-size: 0.8rem; color: var(--text-muted); }

/* ==========================================================================
   PROJECT CARDS
   ========================================================================== */

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.project-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-glass);
  flex-shrink: 0;
}
.project-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease-out), filter 0.35s ease;
  filter: brightness(0.85);
}
.project-card:hover .project-card-image img { transform: scale(1.05); filter: brightness(1); }

.project-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.project-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.project-tag.tag-electrico { color: var(--accent-cyan); border-color: var(--border-cyan); background: var(--accent-cyan-dim); }
.project-tag.tag-medico    { color: #a78bfa;            border-color: rgba(167,139,250,0.3); background: rgba(167,139,250,0.08); }
.project-tag.tag-ingenieria{ color: var(--accent-green); border-color: rgba(34,197,94,0.3);  background: var(--accent-green-dim); }
.project-tag.tag-ti        { color: #34d399;            border-color: rgba(52,211,153,0.3);  background: rgba(52,211,153,0.08); }

.project-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.project-card p  { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; flex-grow: 1; margin-bottom: 1.25rem; }
.project-year { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }

/* ==========================================================================
   FOOTER — 4-COLUMN UPDATE
   ========================================================================== */

.footer-top {
  grid-template-columns: 1.8fr 1fr 1fr 1fr !important;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 260px;
  line-height: 1.75;
  margin: 14px 0 18px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.83rem;
  list-style: none;
}
.footer-contact-list li { color: var(--text-secondary); }
.footer-contact-list a { color: var(--text-secondary); }
.footer-contact-list a:hover { color: var(--accent-cyan); }

.footer-cert-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-green);
  background: var(--accent-green-dim);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 7px 12px;
  border-radius: 20px;
  width: fit-content;
}

/* ==========================================================================
   ADDITIONAL RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1100px) {
  .hero--bg .container {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 32px;
    padding-bottom: 56px;
    align-items: start;
  }
  /* Content first on tablet/mobile — show value before asking for input */
  .hero--bg .hero-content   { order: 1; }
  .hero--bg .hero-form-wrap { order: 2; position: static; }
  .hero-form-wrap { width: 100%; max-width: 520px; margin: 0 auto; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr !important; gap: 32px; }
  .footer-info { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr 1fr; }
  .trust-strip .container { gap: 20px; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr !important; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-trust-row { gap: 12px; }
  .cta-banner-actions { flex-direction: column; align-items: center; }
  .cta-banner-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
}


/* ==========================================================================
   PULIDO (nov 2026)
   Header compacto, acento sólido en vez de texto degradado, estados de
   interacción completos, superficies del navegador y movimiento con propósito.
   Va al final para ordenar sin reescribir lo anterior.
   ========================================================================== */

:root {
  --header-h: 88px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
@media (max-width: 1024px) { :root { --header-h: 80px; } }
@media (max-width: 768px)  { :root { --header-h: 68px; } }

/* --- Header y logo: de 150 px a 88 px; el logo deja de brillar como neón --- */
.header { transition: transform 0.3s var(--ease-out), background-color 0.2s ease, box-shadow 0.3s ease, border-color 0.2s ease; }
.logo-icon {
  width: 64px; height: 64px;
  border-radius: 12px;
  border-color: rgba(34, 197, 94, 0.32);
  box-shadow: 0 6px 20px -10px rgba(34, 197, 94, 0.55);
}
@media (max-width: 768px) { .logo-icon { width: 52px; height: 52px; } }

/* --- Acento sólido: el énfasis lo da el color, no un degradado --- */
.gradient-text,
.section-title span,
.page-hero h1 span,
.hero-title span {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  color: var(--accent-cyan);
}

/* --- Hero: alto estable en celular (sin saltos por la barra del navegador) --- */
.hero { min-height: 100vh; min-height: 100svh; }

/* --- Revelado al hacer scroll: entra subiendo un poco, con ease-out --- */
[data-reveal] {
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
[data-reveal="left"]  { transform: translateX(-16px); }
[data-reveal="right"] { transform: translateX(16px); }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal].revealed { opacity: 1; transform: none; }
/* escalonado corto (60 ms entre elementos, antes 100 ms) */
[data-delay="100"] { transition-delay: 0.06s; }
[data-delay="200"] { transition-delay: 0.12s; }
[data-delay="300"] { transition-delay: 0.18s; }
[data-delay="400"] { transition-delay: 0.24s; }
[data-delay="500"] { transition-delay: 0.30s; }
[data-delay="600"] { transition-delay: 0.36s; }
/* cuando ya entró, el hover responde al instante (sin el retraso del escalonado) */
[data-reveal].revealed.is-done {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  transition-delay: 0s;
}

/* --- Botones: respuesta al presionar y hover solo con mouse --- */
.btn {
  will-change: auto;
  transition: transform 160ms var(--ease-out), box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-primary { box-shadow: 0 6px 18px -8px rgba(74, 222, 128, 0.55); }
.btn-primary:hover, .btn-secondary:hover { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover   { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(74, 222, 128, 0.65); }
  .btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(34, 197, 94, 0.4); }
}
.btn:active { transform: scale(0.97); transition-duration: 100ms; }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.btn-sm { font-size: 0.85rem; padding: 8px 18px; align-self: flex-start; }

/* --- Tarjetas: elevación sutil, solo con mouse (en celular el tap no las "salta") --- */
.card-glass { will-change: auto; }
.card-glass:hover,
.stat-card:hover { transform: none; box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .card-glass:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 222, 128, 0.22);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.75);
  }
  .stat-card:hover { transform: translateY(-3px); }
}

/* --- Superficies del navegador con la paleta de la marca --- */
::selection { background: rgba(74, 222, 128, 0.3); color: var(--text-primary); }
html { scrollbar-color: #1d3427 var(--bg-primary); }
input, textarea, select { caret-color: var(--accent-cyan); }
:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 3px; border-radius: 4px; }
.form-input:focus-visible { outline-offset: 0; }

/* --- Sin el foco de luz que seguía al mouse (recalculaba estilos de toda la página) --- */
body::after { display: none; }

/* --- Banda de cifras de Servicios (antes con estilos en línea) --- */
.stats-banner {
  margin-top: 3rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  position: relative;
}
.stats-banner img { width: 100%; height: 220px; object-fit: cover; }
.stats-banner-grid {
  position: absolute; inset: 0;
  background: rgba(6, 10, 18, 0.62);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  padding: 0 24px;
}
.stats-banner-item { text-align: center; }
.stats-banner-num {
  font-family: var(--font-title);
  font-size: 2.2rem; font-weight: 900; line-height: 1.1;
  color: var(--accent-cyan);
  font-variant-numeric: tabular-nums;
}
.stats-banner-label { font-size: 0.8rem; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
@media (max-width: 640px) {
  .stats-banner img { height: 260px; }
  .stats-banner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; padding: 16px; }
  .stats-banner-num { font-size: 1.8rem; }
}

.section-more { text-align: center; margin-top: 3rem; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 3rem;
}
@media (max-width: 400px) { .testimonials-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal="left"], [data-reveal="right"], [data-reveal="scale"] { transform: none; }
  .btn:active { transform: none; }
}

.btn-block { width: 100%; justify-content: center; }


/* Trampa para robots en los formularios (invisible para personas) */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }



/* ==========================================================================
   REDISEÑO (nov 2026) · "Tablero técnico"
   Base grafito oscura sacada del negro del logo, el verde del circuito
   (#078652) como único acento, plata del logo para detalles y trazas finas
   tipo circuito como motivo. Tipografía industrial: Barlow / Barlow Semi Condensed.
   Este bloque reasigna las variables del sitio, así las páginas internas
   (Nosotros, Servicios, FAQ, Blog, Contacto) toman la misma paleta.
   Regla de formas: botones 6 px · tarjetas 10 px · etiquetas en píldora.
   ========================================================================== */

:root {
  /* paleta del logo */
  --marca:        #078652;   /* verde del circuito del logo: botones y superficies */
  --marca-hover:  #0a9a5f;
  --marca-claro:  #2fb37a;   /* el mismo verde, aclarado para texto sobre fondo oscuro (7:1) */
  --plata:        #c1c6c2;   /* gris del logo */
  --grafito:      #0d100e;   /* negro del logo llevado a fondo */
  --grafito-2:    #121613;
  --grafito-3:    #161b18;
  --linea:        rgba(193, 198, 194, 0.11);
  --linea-fuerte: rgba(193, 198, 194, 0.2);

  /* variables que ya usaba el sitio, ahora con la paleta del logo */
  --bg-primary:    var(--grafito);
  --bg-secondary:  var(--grafito-2);
  --bg-tertiary:   var(--grafito-3);
  --bg-glass:      rgba(22, 27, 24, 0.92);
  --border-glass:  var(--linea);
  --border-cyan:   rgba(47, 179, 122, 0.32);
  --text-primary:   #eef1ef;
  --text-secondary: #b6beb9;
  --text-muted:     #8b948f;
  --accent-cyan:       var(--marca-claro);
  --accent-cyan-dim:   rgba(47, 179, 122, 0.12);
  --accent-cyan-hover: #4cc790;
  --accent-green:       var(--marca);
  --accent-green-dim:   rgba(7, 134, 82, 0.14);
  --accent-green-hover: var(--marca-hover);

  --font-title: 'Barlow Semi Condensed', 'Barlow', 'Segoe UI', sans-serif;
  --font-body:  'Barlow', 'Segoe UI', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --header-h: 76px;
}
@media (max-width: 1024px) { :root { --header-h: 72px; } }
@media (max-width: 768px)  { :root { --header-h: 64px; } }

/* --- Fondo: grafito limpio (sin grilla ni partículas) --- */
body { background: var(--grafito); font-size: 1.0625rem; }
body::before, #bg-canvas { display: none; }
p { font-weight: 400; }
h1, h2, h3, h4 { letter-spacing: -0.01em; }
::selection { background: rgba(7, 134, 82, 0.55); color: #fff; }
html { scrollbar-color: #24302a var(--grafito); }

/* --- Header --- */
.header {
  background: rgba(13, 16, 14, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--linea);
}
.header.scrolled { background: rgba(13, 16, 14, 0.94); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.9); }
.logo-icon { width: 54px; height: 54px; border: 0; border-radius: 0; box-shadow: none; background: none; overflow: visible; }
@media (max-width: 768px) { .logo-icon { width: 46px; height: 46px; } }
.nav { gap: 30px; }
.nav-link { font-family: var(--font-title); font-weight: 500; font-size: 0.98rem; letter-spacing: 0.01em; color: var(--text-secondary); }
.nav-link::after { background: var(--marca-claro); height: 1px; }
.nav-link.nav-cta, .nav-cta {
  padding: 8px 16px;
  border: 1px solid rgba(47, 179, 122, 0.5);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}
.nav-link.nav-cta::after { display: none; }
@media (hover: hover) and (pointer: fine) { .nav-link.nav-cta:hover { background: var(--marca); border-color: var(--marca); color: #fff; } }

/* --- Botones --- */
.btn {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
}
.btn::after { display: none; }
.btn-primary { background: var(--marca); color: #fff; box-shadow: 0 10px 22px -12px rgba(7, 134, 82, 0.85); }
.btn-secondary, .btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(193, 198, 194, 0.3);
  backdrop-filter: none;
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--marca-hover); transform: translateY(-1px); box-shadow: 0 14px 26px -14px rgba(7, 134, 82, 0.95); }
  .btn-secondary:hover, .btn-ghost:hover { background: rgba(193, 198, 194, 0.07); border-color: var(--plata); color: var(--text-primary); transform: translateY(-1px); box-shadow: none; }
}
.btn:active { transform: scale(0.97); }

.enlace {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--marca-claro);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.enlace span { display: inline-block; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .enlace:hover span { transform: translateX(4px); } .enlace:hover { color: var(--accent-cyan-hover); } }

/* --- Títulos de sección (inicio y páginas internas) --- */
.section-title, .cab-titulo {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.015em;
}
.cab { max-width: 760px; margin-bottom: 44px; }
.cab-titulo { font-size: clamp(2rem, 3.4vw, 2.85rem); }
.cab-titulo span, .section-title span { color: var(--marca-claro); }
.cab-sub { color: var(--text-secondary); font-size: 1.08rem; line-height: 1.65; max-width: 62ch; margin-top: 14px; }
.cab-fila { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }

.sx, .px, .tx, .qx, .ax, .bl, .cx { padding: 104px 0; position: relative; }
.px, .qx { background: var(--grafito-2); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
@media (max-width: 768px) { .sx, .px, .tx, .qx, .ax, .bl, .cx { padding: 68px 0; } .cab { margin-bottom: 32px; } }

/* --- Formularios (todas las páginas) --- */
.form-label { font-family: var(--font-title); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 6px; display: block; }
.form-input {
  background: var(--grafito);
  border: 1px solid rgba(193, 198, 194, 0.16);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 11px 13px;
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input::placeholder { color: #7f8984; opacity: 1; }
.form-input:focus { outline: none; border-color: var(--marca-claro); box-shadow: 0 0 0 3px rgba(47, 179, 122, 0.18); }
.form-group { margin-bottom: 14px; }
.form-status { margin-top: 12px; font-size: 0.95rem; }
.form-status.success { color: var(--marca-claro); }
.form-status.error { color: #f08a6a; }

/* ======================= HERO ======================= */
.hx {
  position: relative;
  min-height: min(880px, 100svh);
  padding: calc(var(--header-h) + 56px) 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hx-fondo {
  position: absolute; inset: 0; z-index: -2;
  background-color: var(--grafito);
  background-image:
    linear-gradient(90deg, var(--grafito) 0%, rgba(13, 16, 14, 0.93) 36%, rgba(13, 16, 14, 0.6) 68%, rgba(13, 16, 14, 0.45) 100%),
    linear-gradient(0deg, var(--grafito) 0%, transparent 32%),
    url('/assets/images/hero/hero-bg.png');
  background-image:
    linear-gradient(90deg, var(--grafito) 0%, rgba(13, 16, 14, 0.93) 36%, rgba(13, 16, 14, 0.6) 68%, rgba(13, 16, 14, 0.45) 100%),
    linear-gradient(0deg, var(--grafito) 0%, transparent 32%),
    image-set(url('/assets/images/opt/hero-bg.webp') type('image/webp'), url('/assets/images/hero/hero-bg.png') type('image/png'));
  background-size: cover;
  background-position: center 70%;
}
/* trazas de circuito que se dibujan una vez al cargar */
.hx-trazas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hx-trazas path { fill: none; stroke: rgba(47, 179, 122, 0.28); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1400; stroke-dashoffset: 0; }
.hx-trazas circle { fill: rgba(47, 179, 122, 0.55); }
@media (prefers-reduced-motion: no-preference) {
  .hx-trazas path { stroke-dashoffset: 1400; animation: traza 2.4s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards; }
  .hx-trazas circle { opacity: 0; animation: nodo 0.4s ease-out 1.6s forwards; }
}
@keyframes traza { to { stroke-dashoffset: 0; } }
@keyframes nodo { to { opacity: 1; } }

.hx-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; align-items: center; }
.hx-titulo {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 13ch;
  text-wrap: balance;
}
.hx-titulo span { color: var(--marca-claro); }
.hx-sub { font-size: 1.14rem; line-height: 1.65; color: #c9d0cb; max-width: 54ch; margin: 22px 0 32px; }
.hx-acciones { display: flex; gap: 12px; flex-wrap: wrap; }

.cotiza {
  background: rgba(18, 22, 19, 0.9);
  border: 1px solid var(--linea-fuerte);
  border-top: 2px solid var(--marca);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cotiza-cab h2 { font-family: var(--font-title); font-size: 1.4rem; font-weight: 600; }
.cotiza-cab p { color: var(--text-muted); font-size: 0.95rem; margin: 4px 0 20px; }
.cotiza-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

@media (max-width: 1024px) {
  .hx { min-height: 0; }
  .hx-grid { grid-template-columns: 1fr; gap: 44px; }
  .hx-titulo { max-width: 16ch; }
}
@media (max-width: 560px) {
  .hx { padding: calc(var(--header-h) + 36px) 0 56px; }
  .cotiza { padding: 22px 18px; }
  .cotiza-fila { grid-template-columns: 1fr; gap: 0; }
  .hx-acciones .btn { flex: 1 1 100%; }
}

/* ======================= CREDENCIALES ======================= */
.cred { background: #101411; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.cred-lista { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-top: 0; padding-bottom: 0; }
.cred-lista li {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 20px 12px;
  font-family: var(--font-title); font-weight: 500; font-size: 0.98rem; color: #d3d9d5;
  text-align: center;
}
.cred-lista li + li { border-left: 1px solid var(--linea); }
.cred-lista svg { color: var(--marca-claro); flex: none; }
@media (max-width: 960px) {
  .cred-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred-lista li { justify-content: flex-start; text-align: left; padding: 14px 8px; border-left: 0 !important; }
  .cred-lista li:last-child { grid-column: 1 / -1; }
}

/* ======================= SERVICIOS (bento) ======================= */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.bx {
  position: relative;
  display: flex;
  border: 1px solid var(--linea);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--grafito-3);
  isolation: isolate;
}
.bx-grande { grid-column: span 4; grid-row: span 2; min-height: 540px; }
.bx-foto { grid-column: span 2; grid-row: span 2; }
.bx-plano { grid-column: span 2; background: radial-gradient(120% 90% at 100% 0%, rgba(7, 134, 82, 0.28) 0%, transparent 60%), var(--grafito-3); }
.bx-ancho { grid-column: span 4; grid-row: span 1; min-height: 300px; }
.bx img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.6; filter: saturate(0.8);
  transition: transform 0.7s var(--ease-out), opacity 0.4s ease;
}
.bx img + .bx-cuerpo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 16, 14, 0.1) 0%, rgba(13, 16, 14, 0.94) 70%); }
.bx-cuerpo { margin-top: auto; padding: 28px; width: 100%; }
.bx-ancho .bx-cuerpo { max-width: 620px; }
.bx-ancho img + .bx-cuerpo::before { background: linear-gradient(90deg, rgba(13, 16, 14, 0.96) 0%, rgba(13, 16, 14, 0.82) 50%, rgba(13, 16, 14, 0.3) 100%); }
.bx h3 { display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-size: 1.4rem; font-weight: 600; line-height: 1.15; margin-bottom: 10px; }
.bx-grande h3 { font-size: 1.95rem; }
.bx h3 svg { color: var(--marca-claro); flex: none; }
.bx p { color: #c3cbc6; max-width: 54ch; }
.bx-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.bx-tags li { font-size: 0.85rem; padding: 5px 11px; border: 1px solid var(--linea-fuerte); border-radius: 999px; color: #d3d9d5; background: rgba(13, 16, 14, 0.5); }
@media (hover: hover) and (pointer: fine) {
  .bx:hover img { transform: scale(1.035); opacity: 0.72; }
  .bx { transition: border-color 0.25s ease; }
  .bx:hover { border-color: rgba(47, 179, 122, 0.35); }
}
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bx-grande, .bx-foto, .bx-plano, .bx-ancho { grid-column: auto; grid-row: auto; }
  .bx-grande { min-height: 440px; }
  .bx-foto, .bx-ancho { min-height: 380px; }
  .bx-grande h3 { font-size: 1.6rem; }
}
.section-more { margin-top: 32px; text-align: left; }

/* ======================= SECTOR PÚBLICO + CIFRAS ======================= */
.px-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.px-sello {
  display: inline-flex;
  font-family: var(--font-title); font-weight: 600; font-size: 0.92rem;
  color: var(--marca-claro);
  border: 1px solid rgba(47, 179, 122, 0.4);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  margin-bottom: 20px;
}
.cifras { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 1px solid var(--linea-fuerte); }
.cifras > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--linea); }
.cifras dd { font-family: var(--font-title); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 700; line-height: 1; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.cifras dt { color: var(--text-muted); font-size: 0.95rem; line-height: 1.4; }
.cifras-ancho { grid-column: 1 / -1; }
.cifras-ancho dd { font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--marca-claro); }
@media (max-width: 960px) { .px-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ======================= PROCESO (traza) ======================= */
.traza { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; position: relative; counter-reset: none; }
.traza::before { content: ''; position: absolute; top: 15px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--marca) 0%, rgba(47, 179, 122, 0.45) 45%, var(--linea) 100%); }
.traza li { position: relative; padding-top: 52px; }
.traza-n {
  position: absolute; top: 0; left: 0;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--marca-claro); border-radius: 50%;
  background: var(--grafito);
  font-family: var(--font-title); font-weight: 600; font-size: 0.85rem; color: var(--marca-claro);
}
.traza h3 { font-family: var(--font-title); font-size: 1.35rem; font-weight: 600; margin-bottom: 8px; }
.traza p { color: var(--text-secondary); max-width: 40ch; }
@media (max-width: 860px) {
  .traza { grid-template-columns: 1fr; gap: 32px; padding-left: 52px; }
  .traza::before { top: 0; bottom: 0; left: 15px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--marca) 0%, var(--linea) 100%); }
  .traza li { padding-top: 0; }
  .traza-n { left: -52px; }
}

/* ======================= TESTIMONIOS ======================= */
.qx-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
.cita { margin: 0; padding: 28px; border: 1px solid var(--linea); border-radius: var(--radius-md); background: var(--grafito-3); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.cita-grande { grid-row: span 2; padding: 40px; background: radial-gradient(90% 80% at 0% 0%, rgba(7, 134, 82, 0.2) 0%, transparent 60%), var(--grafito-3); }
.cita blockquote { margin: 0; color: #d6dcd8; font-size: 1.04rem; line-height: 1.65; }
.cita blockquote::before { content: '“'; display: block; font-family: var(--font-title); font-size: 3.2rem; line-height: 0.8; color: var(--marca-claro); margin-bottom: 6px; }
.cita-grande blockquote { font-family: var(--font-title); font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 500; line-height: 1.4; color: var(--text-primary); }
.cita figcaption b { display: block; font-family: var(--font-title); font-weight: 600; color: var(--text-primary); }
.cita figcaption span { color: var(--text-muted); font-size: 0.93rem; }
@media (max-width: 860px) { .qx-grid { grid-template-columns: 1fr; } .cita-grande { grid-row: auto; padding: 28px; } }

/* ======================= SOBRE NOSOTROS ======================= */
.ax-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.ax-foto { position: relative; }
.ax-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--linea); }
.ax-dato { position: absolute; right: 18px; bottom: 18px; background: rgba(13, 16, 14, 0.92); border: 1px solid var(--linea-fuerte); border-radius: var(--radius-md); padding: 14px 18px; }
.ax-dato b { display: block; font-family: var(--font-title); font-size: 2.2rem; line-height: 1; color: var(--marca-claro); }
.ax-dato span { color: var(--text-secondary); font-size: 0.92rem; }
.ax-intro { color: var(--text-secondary); max-width: 62ch; margin-top: 16px; }
.ax-lista { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin-top: 34px; }
.ax-lista li { border-top: 1px solid rgba(47, 179, 122, 0.4); padding-top: 14px; }
.ax-lista h3 { font-family: var(--font-title); font-size: 1.12rem; font-weight: 600; margin-bottom: 6px; }
.ax-lista p { font-size: 0.97rem; color: var(--text-secondary); }
@media (max-width: 960px) { .ax-grid { grid-template-columns: 1fr; gap: 40px; } .ax-foto { max-width: 520px; } }
@media (max-width: 560px) { .ax-lista { grid-template-columns: 1fr; } }

/* ======================= BLOG ======================= */
.bl-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; }
.post { border: 1px solid var(--linea); border-radius: var(--radius-md); overflow: hidden; background: var(--grafito-3); }
.post-img { display: block; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.post-grande .post-img img { aspect-ratio: 16 / 9; }
.post-cuerpo { padding: 22px 24px 26px; }
.post-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.post-meta span { color: var(--marca-claro); font-weight: 600; margin-right: 10px; }
.post h3 { font-family: var(--font-title); font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
.post-grande h3 { font-size: 1.55rem; margin-bottom: 10px; }
.post-grande .post-cuerpo > p:last-child { color: var(--text-secondary); }
.bl-lista { display: grid; gap: 20px; align-content: start; }
.bl-lista .post { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: stretch; }
.bl-lista .post-img img { aspect-ratio: auto; }
@media (hover: hover) and (pointer: fine) {
  .post:hover .post-img img { transform: scale(1.04); }
  .post h3 a:hover { color: var(--marca-claro); }
  .post { transition: border-color 0.25s ease; }
  .post:hover { border-color: rgba(47, 179, 122, 0.35); }
}
@media (max-width: 960px) { .bl-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .bl-lista .post { grid-template-columns: 108px minmax(0, 1fr); } .post-cuerpo { padding: 16px; } }

/* ======================= CIERRE ======================= */
.cx-caja {
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  padding: 52px 56px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
    linear-gradient(120deg, #075a39 0%, var(--marca) 60%, #06714a 100%);
  max-width: calc(var(--container-width) - 48px);
}
.cx-caja h2 { font-family: var(--font-title); font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 700; color: #fff; line-height: 1.08; }
.cx-caja h2 span { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: rgba(255, 255, 255, 0.5); }
.cx-caja p { color: rgba(255, 255, 255, 0.86); max-width: 56ch; margin-top: 12px; }
.cx-acciones { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.cx-caja .btn-primary { background: var(--grafito); color: #fff; box-shadow: none; }
.cx-caja .btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .cx-caja .btn-primary:hover { background: #000; }
  .cx-caja .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
}
@media (max-width: 860px) {
  .cx-caja { flex-direction: column; align-items: flex-start; padding: 36px 24px; margin: 0 16px; max-width: none; width: auto; }
}

/* ======================= PÁGINAS INTERNAS Y PIE ======================= */
.card-glass { background: var(--grafito-3); border: 1px solid var(--linea); backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: var(--radius-md); }
.card-glass::before { display: none; }
.page-hero h1 { font-family: var(--font-title); font-weight: 700; letter-spacing: -0.02em; }
.page-hero::before { background: radial-gradient(ellipse, rgba(7, 134, 82, 0.16) 0%, transparent 70%); }
.cta-banner { background: linear-gradient(120deg, #075a39 0%, var(--marca) 60%, #06714a 100%); }
.cta-banner h2, .cta-banner h2 span { color: #fff; -webkit-text-fill-color: #fff; background: none; }
.cta-banner p { color: rgba(255, 255, 255, 0.86); }
.cta-banner .btn-primary { background: var(--grafito); color: #fff; }
.cta-banner .btn-secondary { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.footer { background: #0a0c0b; border-top: 1px solid var(--linea); }
.footer-title { color: var(--plata); font-family: var(--font-title); letter-spacing: 0.08em; }
.footer-link, .footer-contact-list a, .footer-contact-list li { color: var(--text-muted); }
@media (hover: hover) and (pointer: fine) { .footer-link:hover, .footer-contact-list a:hover { color: var(--marca-claro); } }

/* ======================= COMPACTO (componentes más cortos) ======================= */
.sx, .px, .tx, .qx, .ax, .bl, .cx { padding: 80px 0; }
.cab { margin-bottom: 34px; }
.hx { min-height: min(760px, 100svh); padding: calc(var(--header-h) + 40px) 0 60px; }
.hx-sub { margin: 18px 0 26px; }
.cotiza { padding: 24px; }
.cotiza .form-group { margin-bottom: 10px; }
.cotiza textarea.form-input { min-height: 76px; max-height: 140px; }
.bento { grid-auto-rows: minmax(210px, auto); gap: 14px; }
.bx-grande { min-height: 440px; }
.bx-ancho { min-height: 240px; }
.bx-cuerpo { padding: 24px; }
.cifras > div { padding: 18px 0; }
.ax-foto img { aspect-ratio: 4 / 4.2; }
.ax-lista { margin-top: 26px; gap: 20px 28px; }
.cita { padding: 24px; }
.cita-grande { padding: 32px; }
.cx-caja { padding: 40px 44px; }

/* ======================= RESPONSIVO ======================= */
html, body { overflow-x: clip; }
img, svg, video { max-width: 100%; }
@media (max-width: 960px) {
  .bx-grande { min-height: 360px; }
  .bx-foto, .bx-ancho { min-height: 300px; }
  .bx-ancho img + .bx-cuerpo::before { background: linear-gradient(180deg, rgba(13, 16, 14, 0.15) 0%, rgba(13, 16, 14, 0.95) 70%); }
}
@media (max-width: 768px) {
  .sx, .px, .tx, .qx, .ax, .bl, .cx { padding: 56px 0; }
  .container { padding-left: 16px; padding-right: 16px; }
  .cab { margin-bottom: 26px; }
  .cab-titulo { font-size: clamp(1.75rem, 7vw, 2.2rem); }
  .cab-sub { font-size: 1rem; }
  .hx-titulo { font-size: clamp(2.2rem, 10vw, 3rem); max-width: none; }
  .hx-sub { font-size: 1.02rem; }
  .bento { gap: 12px; }
  .bx-grande { min-height: 320px; }
  .bx-foto, .bx-ancho { min-height: 270px; }
  .bx-cuerpo { padding: 20px 18px; }
  .bx h3, .bx-grande h3 { font-size: 1.3rem; }
  .bx p { font-size: 0.98rem; }
  .cifras { column-gap: 18px; }
  .cifras > div { padding: 14px 0; }
  .cifras dd { font-size: 2.1rem; }
  .ax-foto img { aspect-ratio: 16 / 10; }
  .cita, .cita-grande { padding: 20px; }
  .cita-grande blockquote { font-size: 1.2rem; }
  .cx-caja { margin: 0 16px; padding: 30px 20px; }
  .cx-acciones { width: 100%; }
  .cx-acciones .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 420px) {
  .cred-lista li { font-size: 0.9rem; gap: 8px; }
  .hx-acciones .btn, .cx-acciones .btn { width: 100%; }
}

/* ======================= ANIMACIÓN ======================= */
/* Todo bajo no-preference: con "reducir movimiento" la página queda quieta y legible. */
.hx-trazas .pulso { stroke: #5ff0ad; stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(95, 240, 173, 0.9)); opacity: 0; }
.pal { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.pal > span { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  /* fondo del hero: entra con zoom y respira despacio */
  .hx-fondo { animation: hxZoom 2.2s cubic-bezier(0.23, 1, 0.32, 1) both, hxRespira 18s ease-in-out 2.2s infinite alternate; }
  @keyframes hxZoom { from { transform: scale(1.12); opacity: 0; } to { transform: scale(1); opacity: 1; } }
  @keyframes hxRespira { from { transform: scale(1); } to { transform: scale(1.06) translate3d(-1%, -1%, 0); } }

  /* barrido de luz verde que cruza el hero una vez */
  .hx::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(100deg, transparent 35%, rgba(47, 179, 122, 0.16) 48%, rgba(95, 240, 173, 0.22) 50%, transparent 62%);
    transform: translateX(-100%);
    animation: hxBarrido 1.8s cubic-bezier(0.77, 0, 0.175, 1) 0.5s forwards;
  }
  @keyframes hxBarrido { to { transform: translateX(100%); } }

  /* pulsos de corriente que recorren las trazas */
  .hx-trazas .pulso { stroke-dasharray: 70 1330; stroke-dashoffset: 1400; animation: pulso 4.5s linear 2.4s infinite; }
  .hx-trazas .pulso.p2 { animation-duration: 6s; animation-delay: 3.4s; }
  @keyframes pulso { 0% { stroke-dashoffset: 1400; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
  .hx-trazas circle { animation: nodo 0.4s ease-out 1.6s forwards, nodoLatido 2.4s ease-in-out 2.4s infinite; transform-box: fill-box; transform-origin: center; }
  @keyframes nodoLatido { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.8); opacity: 0.5; } }

  /* título: cada palabra sube desde una máscara */
  .hx-titulo.partido { opacity: 1 !important; transform: none !important; }
  .hx-titulo.partido .pal > span { transform: translateY(110%); animation: palSube 0.9s cubic-bezier(0.23, 1, 0.32, 1) forwards; animation-delay: calc(0.25s + var(--i) * 70ms); }
  @keyframes palSube { to { transform: translateY(0); } }

  /* tarjeta de cotización: línea de energía por el borde superior */
  .cotiza { position: relative; overflow: hidden; }
  .cotiza::before {
    content: ''; position: absolute; top: -2px; left: 0; width: 40%; height: 2px;
    background: linear-gradient(90deg, transparent, #5ff0ad, transparent);
    animation: borde 3.2s cubic-bezier(0.77, 0, 0.175, 1) 1.2s infinite;
    transform: translateX(-100%);
  }
  @keyframes borde { to { transform: translateX(260%); } }

  /* servicios: las tarjetas se destapan de abajo hacia arriba y la foto se asienta */
  .bx[data-reveal] { opacity: 1 !important; transform: none !important; clip-path: inset(100% 0 0 0 round 10px); transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1), border-color 0.25s ease; }
  .bx[data-reveal].revealed { clip-path: inset(0 0 0 0 round 10px); }
  .bx[data-reveal] img { transform: scale(1.25); transition: transform 1.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease; }
  .bx[data-reveal].revealed img { transform: scale(1); }
  .bx[data-delay="60"]  { transition-delay: 0.08s; }
  .bx[data-delay="120"] { transition-delay: 0.16s; }
  .bx[data-delay="180"] { transition-delay: 0.24s; }
  .bx.is-done { transition-delay: 0s; }

  /* proceso: la línea se dibuja y los nodos se encienden en orden */
  .traza::before { transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(0.77, 0, 0.175, 1); }
  .traza.encendida::before { transform: scaleX(1); }
  .traza-n { transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease; }
  .traza.encendida li .traza-n { background: var(--marca); color: #fff; box-shadow: 0 0 0 6px rgba(7, 134, 82, 0.18), 0 0 22px rgba(47, 179, 122, 0.55); }
  .traza.encendida li:nth-child(2) .traza-n { transition-delay: 0.5s; }
  .traza.encendida li:nth-child(3) .traza-n { transition-delay: 1s; }

  /* cierre: brillo que recorre la caja verde */
  .cx-caja { position: relative; overflow: hidden; }
  .cx-caja::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.14) 50%, transparent 60%);
    transform: translateX(-100%);
  }
  .cx-caja.revealed::after { animation: hxBarrido 1.6s cubic-bezier(0.77, 0, 0.175, 1) 0.3s forwards; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 860px) {
  .traza::before { transform: scaleY(0); transform-origin: top; }
  .traza.encendida::before { transform: scaleY(1); }
}

/* ======================= CELULAR MÁS CORTO ======================= */
@media (max-width: 768px) {
  /* credenciales: una franja que se desliza en vez de 3 filas */
  .cred-lista { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; }
  .cred-lista::-webkit-scrollbar { display: none; }
  .cred-lista li { flex: none; white-space: nowrap; scroll-snap-align: start; padding: 14px 16px; }
  .cred-lista li + li { border-left: 1px solid var(--linea) !important; }
  .cred-lista li:last-child { grid-column: auto; }
  /* servicios con foto más bajos */
  .bx-grande { min-height: 290px; }
  .bx-foto, .bx-ancho { min-height: 250px; }
  .bx-plano .bx-cuerpo { padding-top: 22px; }
  /* testimonios: carrusel deslizable */
  .qx-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .qx-grid::-webkit-scrollbar { display: none; }
  .qx-grid .cita { flex: 0 0 86%; scroll-snap-align: center; }
  .cita-grande blockquote { font-size: 1.08rem; }
  /* nosotros: foto panorámica y lista en dos columnas compactas */
  .ax-grid { gap: 28px; }
  .ax-foto img { aspect-ratio: 16 / 8; }
  .ax-intro { font-size: 0.98rem; }
  .ax-lista { grid-template-columns: 1fr 1fr; gap: 16px 14px; margin-top: 20px; }
  .ax-lista h3 { font-size: 1rem; }
  .ax-lista p { font-size: 0.88rem; line-height: 1.5; }
  /* blog: la destacada sin resumen largo */
  .post-grande .post-cuerpo > p:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  /* proceso */
  .traza { gap: 22px; }
  /* pie: enlaces en dos columnas */
  .footer { padding-top: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr !important; gap: 26px 18px; margin-bottom: 28px; }
  .footer-info { grid-column: 1 / -1; }
  .footer-links li { margin-bottom: 6px; }
}
@media (max-width: 360px) { .ax-lista { grid-template-columns: 1fr; } }
/* ======================= HERO: H1 de SEO + botones bajo el formulario ======================= */
.hx-ceja {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-title); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.35;
  color: var(--marca-claro); margin-bottom: 18px; max-width: 46ch;
}
.hx-ceja::before { content: ''; width: 28px; height: 1px; background: var(--marca-claro); flex: none; }
.hx-form .hx-acciones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.hx-form .hx-acciones .btn { justify-content: center; width: 100%; }
@media (max-width: 768px) { .hx-ceja { font-size: 0.8rem; letter-spacing: 0.04em; } .hx-ceja::before { width: 18px; } }
@media (max-width: 380px) { .hx-form .hx-acciones { grid-template-columns: 1fr; } }
/* ======================= BREADCRUMB (todas las páginas internas) ======================= */
.breadcrumb-nav { padding: calc(var(--header-h) + 20px) 0 0; position: relative; z-index: 2; }
.breadcrumb {
  list-style: none; margin: 0; padding: 6px 14px 6px 8px;
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px;
  font-family: var(--font-title); font-size: 0.92rem; font-weight: 500; letter-spacing: 0.01em;
  background: rgba(22, 27, 24, 0.75);
  border: 1px solid var(--linea);
  border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 4px; list-style: none; min-width: 0; }
.breadcrumb li::marker { content: ''; }
.breadcrumb li + li::before {
  content: ''; width: 14px; height: 14px; margin: 0 2px; flex: none;
  background: var(--text-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.breadcrumb a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px; border-radius: 999px;
  color: var(--text-secondary);
  transition: color 0.2s ease, background-color 0.2s ease;
}
/* casita en "Inicio" */
.breadcrumb li:first-child a::before {
  content: ''; width: 15px; height: 15px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5L12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5L12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6h-6v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (hover: hover) and (pointer: fine) {
  .breadcrumb a:hover { color: var(--text-primary); background: rgba(193, 198, 194, 0.08); }
}
.breadcrumb a:focus-visible { outline: 2px solid var(--marca-claro); outline-offset: 2px; }
/* página actual: verde, con punto encendido */
.breadcrumb [aria-current="page"] {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px; border-radius: 999px;
  color: var(--marca-claro); background: rgba(7, 134, 82, 0.14);
  font-weight: 600;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.breadcrumb [aria-current="page"]::after {
  content: ''; order: -1; width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--marca-claro); box-shadow: 0 0 8px rgba(47, 179, 122, 0.9);
}
.breadcrumb-nav + .page-hero, .breadcrumb-nav + section { padding-top: 36px; }
@media (max-width: 768px) {
  .breadcrumb-nav { padding-top: calc(var(--header-h) + 14px); }
  .breadcrumb { font-size: 0.85rem; max-width: 100%; }
  .breadcrumb [aria-current="page"] { max-width: 58vw; }
  .breadcrumb-nav + .page-hero, .breadcrumb-nav + section { padding-top: 28px; }
}@media (max-width: 768px) {
  .breadcrumb { display: flex; flex-wrap: nowrap; width: fit-content; }
  .breadcrumb li { flex: none; }
  .breadcrumb li:last-child { flex: 0 1 auto; min-width: 0; }
  .breadcrumb [aria-current="page"] { display: block; max-width: none; }
  .breadcrumb [aria-current="page"]::after { display: none; }
}
/* ======================= FONDO VIVO (toda la página, decorativo) =======================
   Dos capas fijas detrás de todo: una aurora verde del logo que se desplaza lento
   y una malla de circuito impreso que avanza en diagonal. Solo transform: barato para el celular. */
body { position: relative; }
body::before {
  content: ''; display: block !important;
  position: fixed; inset: -25%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(38% 32% at 18% 22%, rgba(7, 134, 82, 0.30) 0%, transparent 70%),
    radial-gradient(34% 30% at 82% 38%, rgba(47, 179, 122, 0.20) 0%, transparent 70%),
    radial-gradient(42% 36% at 55% 85%, rgba(6, 113, 74, 0.26) 0%, transparent 70%),
    radial-gradient(30% 26% at 10% 78%, rgba(193, 198, 194, 0.06) 0%, transparent 70%);
  opacity: 1;
}
body::after {
  content: ''; display: block !important;
  position: fixed; top: -160px; left: -160px; right: -160px; bottom: -160px; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160' fill='none' stroke='%232fb37a' stroke-width='1'%3E%3Cpath d='M0 40 H50 L70 20 H110 M110 20 V0 M160 40 H130 L110 60 V100 L130 120 H160 M0 120 H30 L50 100 H80 M80 100 V160 M50 160 V140 L30 120'/%3E%3Ccircle cx='110' cy='20' r='2.5' fill='%232fb37a'/%3E%3Ccircle cx='80' cy='100' r='2.5' fill='%232fb37a'/%3E%3Ccircle cx='110' cy='60' r='2' fill='%232fb37a'/%3E%3Ccircle cx='50' cy='100' r='2' fill='%232fb37a'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.085;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, #000 30%, transparent 100%);
}
@media (prefers-reduced-motion: no-preference) {
  body::before { animation: auroraMueve 38s ease-in-out infinite alternate; }
  body::after  { animation: mallaAvanza 48s linear infinite; }
  @keyframes auroraMueve {
    0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
    50%  { transform: translate3d(6%, -4%, 0) rotate(8deg) scale(1.08); }
    100% { transform: translate3d(-5%, 5%, 0) rotate(-6deg) scale(1.02); }
  }
  @keyframes mallaAvanza { to { transform: translate3d(160px, 160px, 0); } }
}
/* las secciones dejan ver el fondo */
.px, .qx { background: rgba(18, 22, 19, 0.55); }
.cred { background: rgba(16, 20, 17, 0.7); }
.footer { background: rgba(8, 10, 9, 0.82); }
.hx-fondo { opacity: 0.92; }
.page-hero { background: transparent; }
@media (max-width: 768px) { body::after { opacity: 0.07; } }
/* ======================= CIRCUITOS EN TODAS LAS SECCIONES ======================= */
.con-circuito { overflow: hidden; isolation: isolate; }
.con-circuito > .container, .con-circuito > div:not(.circuito) { position: relative; z-index: 1; }
.circuito {
  position: absolute; top: 0; z-index: 0; pointer-events: none;
  width: min(620px, 55%); height: auto; aspect-ratio: 2 / 1;
}
.circuito.der { right: 0; }
.circuito.izq { left: 0; bottom: 0; top: auto; transform: scale(-1, -1); }
.circuito path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.circuito .traza-base { stroke: rgba(47, 179, 122, 0.24); stroke-width: 1.2; }
.circuito .traza-pulso { stroke: #5ff0ad; stroke-width: 2; opacity: 0; filter: drop-shadow(0 0 5px rgba(95, 240, 173, 0.85)); }
.circuito circle { fill: rgba(47, 179, 122, 0.6); transform-box: fill-box; transform-origin: center; }
@media (max-width: 768px) { .circuito { width: 88%; opacity: 0.75; } }

@media (prefers-reduced-motion: no-preference) {
  .circuito .traza-base { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.2s cubic-bezier(0.77, 0, 0.175, 1); }
  .circuito.on .traza-base { stroke-dashoffset: 0; }
  .circuito circle { opacity: 0; }
  .circuito.on circle { animation: nodo 0.4s ease-out forwards, nodoLatido 2.6s ease-in-out 2s infinite; }
  .circuito.on .traza-pulso { stroke-dasharray: 70 930; stroke-dashoffset: 1000; animation-name: pulsoSec; animation-timing-function: linear; animation-iteration-count: infinite; }
  .circuito:not(.vivo) .traza-pulso, .circuito:not(.vivo) circle { animation-play-state: paused; }
  @keyframes pulsoSec { 0% { stroke-dashoffset: 1000; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
}
/* ======================= OFICINA VIRTUAL (/oficina-virtual/) ======================= */
.ov-hero .hx-ceja { margin-bottom: 14px; }
.ov-hero { text-align: left; padding-bottom: 72px; }
.ov-hero h1 { max-width: 15ch; }
.ov-hero .ov-hero-texto > p:not(.hx-ceja) { max-width: 56ch; margin: 0; }
.ov-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.ov-acciones { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.ov-puntos { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; padding: 0; }
.ov-puntos li { display: inline-flex; align-items: center; gap: 8px; color: #d3d9d5; font-family: var(--font-title); font-weight: 500; }
.ov-puntos li::before { content: ''; width: 16px; height: 16px; flex: none; background: var(--marca-claro);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.ov-puntos-col { flex-direction: column; gap: 10px; }

.ov-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ov-card { padding: 26px; border: 1px solid var(--linea); border-radius: var(--radius-md); background: var(--grafito-3); }
.ov-card svg { color: var(--marca-claro); margin-bottom: 14px; }
.ov-card h3 { font-family: var(--font-title); font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.ov-card p { color: var(--text-secondary); font-size: 0.98rem; }
@media (hover: hover) and (pointer: fine) { .ov-card { transition: border-color 0.25s ease; } .ov-card:hover { border-color: rgba(47, 179, 122, 0.35); } }

.ov-perfiles { list-style: none; padding: 0; border-top: 1px solid var(--linea-fuerte); }
.ov-perfiles li { padding: 18px 0; border-bottom: 1px solid var(--linea); }
.ov-perfiles b { display: block; font-family: var(--font-title); font-size: 1.2rem; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.ov-perfiles span { color: var(--text-secondary); }

.ov-info { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; align-items: start; }
.ov-diferencia { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.ov-diferencia li { border-top: 1px solid rgba(47, 179, 122, 0.4); padding-top: 12px; }
.ov-diferencia b { display: block; font-family: var(--font-title); font-weight: 600; margin-bottom: 4px; }
.ov-diferencia span { color: var(--text-secondary); font-size: 0.96rem; }
.ov-lugar { padding: 28px; border: 1px solid var(--linea-fuerte); border-top: 2px solid var(--marca); border-radius: var(--radius-md); background: rgba(18, 22, 19, 0.9); }
.ov-lugar h3 { font-family: var(--font-title); font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
.ov-lugar p { color: var(--text-secondary); margin-bottom: 10px; }
.ov-lugar .ov-dir { color: var(--text-primary); font-family: var(--font-title); font-size: 1.15rem; font-weight: 500; line-height: 1.4; }

.ov-faq { display: grid; gap: 10px; max-width: 860px; }
.ov .faq-item.open .faq-answer { max-height: 600px; }
.ov .faq-question span:first-child { font-family: var(--font-title); font-weight: 600; font-size: 1.08rem; }

.ov-cotizar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }

@media (max-width: 960px) {
  .ov-grid { grid-template-columns: 1fr 1fr; }
  .ov-info, .ov-cotizar { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .ov-grid { grid-template-columns: 1fr; gap: 10px; }
  .ov-card { padding: 20px 18px; }
  .ov-diferencia { grid-template-columns: 1fr; }
  .ov-acciones .btn { flex: 1 1 100%; justify-content: center; }
  .ov-lugar { padding: 22px 18px; }
}
/* --- Oficina virtual: componentes visuales --- */
/* 1. Directorio del edificio (hero) */
.ov-escena { position: relative; padding: 34px 26px; }
.dir {
  position: relative; border-radius: 14px; padding: 22px 22px 18px;
  background: linear-gradient(160deg, #1a201c 0%, #0f1310 100%);
  border: 1px solid var(--linea-fuerte);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
}
.dir::before { content: ''; position: absolute; inset: 8px; border-radius: 9px; border: 1px solid rgba(193, 198, 194, 0.08); pointer-events: none; }
.dir-cab { display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-title); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--plata); padding-bottom: 12px; border-bottom: 1px solid var(--linea-fuerte); margin-bottom: 8px; }
.dir-lista { list-style: none; padding: 0; margin: 0; }
.dir-lista li { display: flex; align-items: center; gap: 16px; padding: 11px 12px; border-radius: 6px; font-family: var(--font-title); font-size: 1.08rem; color: #d3d9d5; }
.dir-lista b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-muted); width: 34px; flex: none; }
.dir-off i { display: block; height: 8px; width: 55%; border-radius: 4px; background: rgba(193, 198, 194, 0.1); }
.dir-suya { background: rgba(7, 134, 82, 0.18); box-shadow: inset 0 0 0 1px rgba(47, 179, 122, 0.55), 0 0 30px -6px rgba(47, 179, 122, 0.55); color: #fff !important; }
.dir-suya b { color: var(--marca-claro); }
.dir-rueda { display: inline-grid; height: 1.35em; overflow: hidden; line-height: 1.35em; font-weight: 600; }
.dir-rueda span { display: block; }
.ov-hero .dir-pie { margin: 12px 0 0; max-width: none; font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.04em; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; white-space: nowrap;
  font-family: var(--font-title); font-weight: 600; font-size: 0.9rem; color: #eef1ef;
  background: rgba(18, 22, 19, 0.92); border: 1px solid rgba(47, 179, 122, 0.45);
  box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.chip svg { color: var(--marca-claro); flex: none; }
.chip-a { top: 0; right: 4%; }
.chip-b { bottom: 4px; left: 0; }
.chip-c { bottom: 46px; right: -6px; }

/* 2. Teléfono con avisos de correspondencia */
.ov-correo { padding: 80px 0; position: relative; }
.ov-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; }
.tel {
  position: relative; width: min(320px, 100%); margin: 0 auto; aspect-ratio: 9 / 17;
  border-radius: 42px; padding: 54px 16px 20px;
  background: radial-gradient(120% 70% at 50% 0%, rgba(7, 134, 82, 0.35) 0%, transparent 60%), #0b0e0c;
  border: 8px solid #1c221e; box-shadow: 0 0 0 1px rgba(193, 198, 194, 0.18), 0 50px 90px -40px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}
.tel-isla { position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; }
.tel-hora { text-align: center; font-family: var(--font-title); font-size: 3.4rem; font-weight: 600; line-height: 1; color: #eef1ef; margin: 6px 0 4px; }
.tel-fecha { text-align: center; font-size: 0.8rem; color: var(--text-muted); margin: 0 0 22px; }
.avisos { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.avisos li {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 11px 12px; border-radius: 16px;
  background: rgba(36, 44, 39, 0.78); border: 1px solid rgba(193, 198, 194, 0.1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.avisos li span:nth-child(2) { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.3; min-width: 0; }
.avisos b { display: block; font-size: 0.88rem; color: #fff; font-weight: 600; }
.avisos small { font-size: 0.7rem; color: var(--text-muted); align-self: start; }
.av-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--marca); }
.av-caja { background: #3a463f; }
.av-ok { background: #0a9a5f; }

/* 3. Boletas: oficina física vs virtual */
.ov-boletas { padding: 80px 0; position: relative; }
.boletas { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 28px; align-items: center; max-width: 900px; }
.boleta {
  --dientes: radial-gradient(circle at 8px 0, transparent 7px, #000 7.5px) 0 100% / 16px 10px repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - 9px) no-repeat;
  padding: 26px 24px 34px; border-radius: 10px 10px 0 0;
  -webkit-mask: var(--dientes); mask: var(--dientes);
  font-family: var(--font-title);
}
.boleta-fisica { background: #e6e9e7; color: #1d241f; rotate: -1.5deg; }
.boleta-virtual { background: linear-gradient(170deg, #0a9a5f 0%, #078652 100%); color: #fff; rotate: 1.2deg; }
.boleta p, .boleta li, .boleta span { color: inherit; }
.boleta-tit { font-size: 1.3rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding-bottom: 12px; margin: 0 0 6px; border-bottom: 2px dashed currentColor; opacity: 0.9; }
.boleta ul { list-style: none; padding: 0; margin: 0; }
.boleta li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dotted rgba(0, 0, 0, 0.18); font-size: 1rem; font-weight: 500; }
.boleta-virtual li { border-bottom-color: rgba(255, 255, 255, 0.25); }
.boleta li b { font-weight: 700; flex: none; }
.boleta .tachado span { position: relative; opacity: 0.75; }
.boleta .tachado span::after { content: ''; position: absolute; left: -2px; right: -2px; top: 52%; height: 2px; background: #fff; transform-origin: left; }
.boleta .incluido { font-weight: 700; }
.boleta-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 0; padding-top: 12px; border-top: 2px solid currentColor; font-size: 1.05rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.boleta-total b { font-size: 1.3rem; text-transform: none; letter-spacing: 0; }
.boleta-vs { font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; color: var(--marca-claro); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(47, 179, 122, 0.5); background: var(--grafito); }

/* 4. Mapa ilustrativo */
.ov-lugar { padding: 0; overflow: hidden; }
.ov-lugar-txt { padding: 22px 26px 26px; }
.mapa { display: block; width: 100%; height: auto; background: radial-gradient(70% 80% at 58% 70%, rgba(7, 134, 82, 0.22) 0%, transparent 70%), #0e1210; border-bottom: 1px solid var(--linea); }
.mapa-calles path { stroke: rgba(193, 198, 194, 0.14); stroke-width: 10; fill: none; }
.mapa-alameda { stroke: rgba(193, 198, 194, 0.26); stroke-width: 22; fill: none; }
.mapa-plaza { fill: rgba(47, 179, 122, 0.12); stroke: rgba(47, 179, 122, 0.3); }
.mapa-txt { fill: var(--text-muted); font-family: var(--font-title); font-size: 11px; letter-spacing: 0.04em; }
.mapa-txt-calle { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; }
.mapa-txt-ala { font-size: 10.5px; fill: #9aa39e; }
.mapa-metro circle { fill: #c8102e; }
.mapa-metro text { fill: #fff; font-family: var(--font-title); font-weight: 700; font-size: 11px; }
.mapa-ruta { fill: none; stroke: var(--marca-claro); stroke-width: 2.5; stroke-dasharray: 5 6; stroke-linecap: round; }
.mapa-pin path { fill: var(--marca); stroke: #5ff0ad; stroke-width: 1.5; }
.mapa-pin-punto { fill: #fff; }
.mapa-onda { fill: none; stroke: #5ff0ad; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.mapa-etq rect { fill: rgba(13, 16, 14, 0.94); stroke: rgba(47, 179, 122, 0.5); }
.mapa-etq text { fill: #eef1ef; font-family: var(--font-title); font-weight: 600; font-size: 13px; }
.mapa-etq .sub { fill: var(--marca-claro); font-size: 11.5px; font-weight: 500; }

/* Animaciones (solo con movimiento permitido) */
@media (prefers-reduced-motion: no-preference) {
  .dir { animation: dirFlota 7s ease-in-out infinite alternate; }
  @keyframes dirFlota { from { transform: perspective(1200px) rotateY(-8deg) rotateX(3deg) translateY(0); } to { transform: perspective(1200px) rotateY(-5deg) rotateX(2deg) translateY(-8px); } }
  .dir-rueda span { animation: rueda 9s cubic-bezier(0.77, 0, 0.175, 1) 1.5s infinite; }
  @keyframes rueda { 0%, 26% { transform: translateY(0); } 33%, 59% { transform: translateY(-100%); } 66%, 92% { transform: translateY(-200%); } 100% { transform: translateY(-300%); } }
  .dir-suya { animation: suyaBrilla 3s ease-in-out infinite; }
  @keyframes suyaBrilla { 50% { box-shadow: inset 0 0 0 1px rgba(95, 240, 173, 0.8), 0 0 42px -4px rgba(47, 179, 122, 0.75); } }
  .chip { opacity: 0; animation: chipEntra 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards, chipFlota 5s ease-in-out infinite alternate; }
  .chip-a { animation-delay: 0.6s, 1.3s; }
  .chip-b { animation-delay: 0.9s, 1.6s; }
  .chip-c { animation-delay: 1.2s, 1.9s; }
  @keyframes chipEntra { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }
  @keyframes chipFlota { from { translate: 0 0; } to { translate: 0 -6px; } }

  .avisos li { opacity: 0; transform: translateY(-14px) scale(0.97); }
  .tel.revealed .avisos li { animation: avisoLlega 9s cubic-bezier(0.23, 1, 0.32, 1) infinite; }
  .tel.revealed .avisos li:nth-child(2) { animation-delay: 0.9s; }
  .tel.revealed .avisos li:nth-child(3) { animation-delay: 1.8s; }
  @keyframes avisoLlega { 0% { opacity: 0; transform: translateY(-14px) scale(0.97); } 6%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(6px) scale(0.98); } }

  .boleta .tachado span::after { transform: scaleX(0); transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1); }
  .boleta-virtual.revealed .tachado span::after { transform: scaleX(1); }
  .boleta-virtual.revealed .tachado:nth-child(1) span::after { transition-delay: 0.7s; }
  .boleta-virtual.revealed .tachado:nth-child(2) span::after { transition-delay: 0.85s; }
  .boleta-virtual.revealed .tachado:nth-child(3) span::after { transition-delay: 1s; }
  .boleta-virtual.revealed .tachado:nth-child(4) span::after { transition-delay: 1.15s; }
  .boleta-virtual.revealed .tachado:nth-child(5) span::after { transition-delay: 1.3s; }

  .mapa-ruta { animation: ruta 1.2s linear infinite; }
  @keyframes ruta { to { stroke-dashoffset: -22; } }
  .mapa-onda { animation: onda 2.4s ease-out infinite; }
  .mapa-onda.o2 { animation-delay: 1.2s; }
  @keyframes onda { 0% { opacity: 0.9; transform: scale(0.6); } 100% { opacity: 0; transform: scale(3.2); } }
}

@media (max-width: 960px) {
  .ov-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .ov-escena { max-width: 480px; }
  .ov-split { grid-template-columns: 1fr; gap: 40px; }
  .ov-split .tel { order: 2; }
}
@media (max-width: 760px) {
  .boletas { grid-template-columns: 1fr; gap: 14px; }
  .boleta-vs { margin: 0 auto; }
  .boleta-fisica, .boleta-virtual { rotate: 0deg; }
  .ov-correo, .ov-boletas { padding: 56px 0; }
}
@media (max-width: 600px) {
  .ov-escena { padding: 30px 4px 54px; }
  .dir { transform: none !important; animation: none !important; padding: 18px 14px 14px; }
  .dir-lista li { font-size: 1rem; gap: 10px; padding: 10px; }
  .dir-cab { font-size: 0.68rem; letter-spacing: 0.1em; }
  .chip { font-size: 0.8rem; padding: 7px 11px; }
  .chip-a { top: 0; right: 0; }
  .chip-b { bottom: 8px; left: 0; }
  .chip-c { bottom: 8px; right: 0; left: auto; }
  .tel { width: min(300px, 100%); }
  .ov-lugar-txt { padding: 18px; }
}
/* ======================= OFICINA VIRTUAL · BENTO "QUÉ INCLUYE" ======================= */
.ovb { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ovb-card {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  border-radius: 14px; border: 1px solid var(--linea);
  background: linear-gradient(180deg, rgba(26, 32, 28, 0.92) 0%, rgba(16, 20, 17, 0.95) 100%);
}
/* foco de luz que sigue al cursor */
.ovb-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.35s ease;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(47, 179, 122, 0.20), transparent 60%);
}
/* borde que se enciende */
.ovb-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity 0.35s ease;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(95, 240, 173, 0.9), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@media (hover: hover) and (pointer: fine) { .ovb-card:hover::before, .ovb-card:hover::after { opacity: 1; } }
.ovb-escena { position: relative; height: 176px; display: grid; place-items: center; padding: 14px 14px 0;
  background: radial-gradient(80% 90% at 50% 100%, rgba(7, 134, 82, 0.16) 0%, transparent 70%); }
.ovb-escena svg { width: 100%; height: 100%; overflow: visible; }
.ovb-txt { padding: 18px 24px 24px; margin-top: auto; }
.ovb-num { font-family: var(--font-title); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; color: var(--marca-claro); margin: 0 0 6px; }
.ovb-txt h3 { font-family: var(--font-title); font-size: 1.32rem; font-weight: 600; margin-bottom: 6px; }
.ovb-txt p:not(.ovb-num) { color: var(--text-secondary); font-size: 0.97rem; }

/* distribución */
.ovb-edificio { grid-row: span 2; }
.ovb-edificio .ovb-escena { height: auto; flex: 1; min-height: 360px; padding-top: 22px; }
.ovb-edificio .ovb-txt h3 { font-size: 1.6rem; }
.ovb-comercial { grid-column: 1 / -1; flex-direction: row; align-items: center; }
.ovb-comercial .ovb-escena { flex: 1.3; height: 230px; }
.ovb-comercial .ovb-txt { flex: 1; margin: 0; padding: 28px 36px; }

/* 1 · edificio */
.edif-luces rect { fill: rgba(193, 198, 194, 0.09); }
.edif-702 { fill: #5ff0ad; filter: drop-shadow(0 0 8px rgba(95, 240, 173, 0.95)); }
.edif-scan { fill: rgba(95, 240, 173, 0.35); opacity: 0; }
.edif-dir { fill: var(--plata); font-family: var(--font-title); font-weight: 600; font-size: 12px; letter-spacing: 0.22em; }
.edif-linea { fill: none; stroke: #5ff0ad; stroke-width: 1.5; stroke-dasharray: 4 4; }
.edif-etq rect { fill: rgba(13, 16, 14, 0.95); stroke: rgba(47, 179, 122, 0.6); }
.edif-etq text { fill: #eef1ef; font-family: var(--font-title); font-weight: 600; font-size: 10.5px; letter-spacing: 0.06em; }
.edif-etq .sub { fill: var(--marca-claro); font-weight: 500; letter-spacing: 0.02em; font-size: 11px; }

/* 2 · contrato */
.doc-l { stroke: #9aa39e; stroke-width: 4; stroke-linecap: round; }
.doc-firma { fill: none; stroke: #078652; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.doc-timbre circle { fill: none; stroke: #0a9a5f; stroke-width: 3.5; }
.doc-timbre .t2 { stroke-width: 1.5; stroke-dasharray: 3 3; }
.doc-timbre .t3 { fill: none; stroke: #0a9a5f; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.doc-timbre { transform-box: fill-box; transform-origin: center; transform: rotate(-12deg); }
.doc-hoja { transform-box: fill-box; transform-origin: center; }

/* 3 · buzón */
.buz-sobre rect { fill: #e9ecea; }
.buz-sobre path { fill: none; stroke: #078652; stroke-width: 2; stroke-linejoin: round; }
.buz-num { fill: #5ff0ad; font-family: var(--font-title); font-weight: 700; font-size: 15px; letter-spacing: 0.1em; }
.buz-badge circle { fill: #0a9a5f; stroke: #0d100e; stroke-width: 3; }
.buz-badge text { fill: #fff; font-family: var(--font-title); font-weight: 700; font-size: 11px; }
.buz-badge { transform-box: fill-box; transform-origin: center; }

/* 4 · reloj */
.reloj-marcas path { stroke: rgba(193, 198, 194, 0.45); stroke-width: 2.5; stroke-linecap: round; }
.reloj-arco { fill: none; stroke: #2fb37a; stroke-width: 3; stroke-linecap: round; opacity: 0.7; }
.reloj-h, .reloj-m, .reloj-s { stroke-linecap: round; transform-box: view-box; transform-origin: 82px 75px; }
.reloj-h { stroke: #eef1ef; stroke-width: 4.5; transform: rotate(-60deg); }
.reloj-m { stroke: #eef1ef; stroke-width: 3; }
.reloj-s { stroke: #5ff0ad; stroke-width: 1.6; }
.abierto rect { fill: rgba(7, 134, 82, 0.2); stroke: #5ff0ad; stroke-width: 1.5; }
.abierto text { fill: #5ff0ad; font-family: var(--font-title); font-weight: 700; font-size: 15px; letter-spacing: 0.16em; }
.abierto { filter: drop-shadow(0 0 8px rgba(95, 240, 173, 0.6)); }
.reloj-txt { fill: #eef1ef; font-family: var(--font-title); font-weight: 600; font-size: 14px; letter-spacing: 0.1em; }
.reloj-txt.sub { fill: var(--text-muted); font-weight: 500; font-size: 12.5px; }

/* 5 · sello */
.sello-giro text { fill: var(--plata); font-family: var(--font-title); font-weight: 600; font-size: 12px; }
.sello-giro { transform-box: view-box; transform-origin: 120px 75px; }
.sello-n { fill: #5ff0ad; font-family: var(--font-title); font-weight: 700; font-size: 30px; }
.sello-sub { fill: var(--text-secondary); font-family: var(--font-title); font-weight: 600; font-size: 10px; letter-spacing: 0.24em; }

/* 6 · tarjeta y documento */
.ovb-comercial .ovb-escena { display: block; }
.tarjeta, .factura { position: absolute; font-family: var(--font-title); border-radius: 10px; box-shadow: 0 30px 50px -28px rgba(0, 0, 0, 0.95); }
.tarjeta { left: 5%; top: 34px; width: min(290px, 48%); padding: 20px 22px; background: linear-gradient(135deg, #0a9a5f 0%, #075a39 100%); color: #fff; rotate: -6deg; z-index: 2; }
.tarjeta p { margin: 0; color: inherit; }
.tj-emp { font-size: 1.25rem; font-weight: 700; }
.tj-giro { font-size: 0.82rem; opacity: 0.8; margin-bottom: 22px !important; }
.tj-dir { font-size: 0.82rem; font-weight: 600; min-height: 1.3em; }
.tj-dir span, .fc-dir span { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; }
.factura { right: 4%; top: 22px; width: min(270px, 46%); padding: 16px 18px; background: #e9ecea; color: #1d241f; rotate: 5deg; }
.factura p { margin: 0; color: inherit; }
.fc-cab { display: flex; justify-content: space-between; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; padding-bottom: 8px; border-bottom: 2px solid #1d241f; margin-bottom: 8px !important; }
.fc-l { font-size: 0.8rem; font-weight: 600; padding: 3px 0; }
.fc-l i { font-style: normal; display: block; font-size: 0.66rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: #6b746f; }
.fc-dir span { color: #078652; }
.fc-barra { height: 6px; border-radius: 3px; background: #c9cfcb; margin-top: 10px !important; }
.fc-barra.corta { width: 60%; margin-top: 6px !important; }

/* Animaciones del bento */
@media (prefers-reduced-motion: no-preference) {
  /* edificio */
  .edif-scan { animation: escaneo 5.5s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
  @keyframes escaneo { 0% { transform: translateY(270px); opacity: 0; } 10% { opacity: 1; } 55% { transform: translateY(102px); opacity: 1; } 62%, 100% { transform: translateY(102px); opacity: 0; } }
  .edif-luces rect { animation: ventana 6s steps(1) infinite; }
  .edif-luces rect:nth-child(2) { animation-delay: 1.7s; animation-duration: 7.5s; }
  .edif-luces rect:nth-child(3) { animation-delay: 3.1s; animation-duration: 5.2s; }
  .edif-luces rect:nth-child(4) { animation-delay: 4.4s; animation-duration: 8s; }
  @keyframes ventana { 0%, 60% { fill: rgba(193, 198, 194, 0.09); } 61%, 85% { fill: rgba(232, 214, 160, 0.55); } }
  .edif-702 { animation: ventana702 2.6s ease-in-out infinite; }
  @keyframes ventana702 { 50% { fill: #9cf7cc; filter: drop-shadow(0 0 16px rgba(95, 240, 173, 1)); } }
  .edif-halo { transform-box: fill-box; transform-origin: center; animation: halo 2.6s ease-in-out infinite; }
  @keyframes halo { 50% { transform: scale(1.35); opacity: 0.6; } }
  .edif-linea { stroke-dashoffset: 0; animation: lineaFluye 1.4s linear infinite; }
  @keyframes lineaFluye { to { stroke-dashoffset: -16; } }
  .edif-etq { opacity: 0; transform: translateY(6px); transition: opacity 0.6s ease 0.9s, transform 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.9s; }
  .ovb-edificio.revealed .edif-etq { opacity: 1; transform: none; }

  /* contrato: se escribe, se firma y cae el timbre */
  .doc-l { stroke-dasharray: 100; animation: docLinea 6s ease-out infinite; }
  .doc-l.l2 { animation-delay: 0.15s; } .doc-l.l3 { animation-delay: 0.3s; } .doc-l.l4 { animation-delay: 0.45s; }
  @keyframes docLinea { 0% { stroke-dashoffset: 100; } 22%, 100% { stroke-dashoffset: 0; } }
  .doc-firma { stroke-dasharray: 120; animation: docFirma 6s ease-in-out infinite; }
  @keyframes docFirma { 0%, 28% { stroke-dashoffset: 120; } 48%, 100% { stroke-dashoffset: 0; } }
  .doc-timbre { animation: timbre 6s cubic-bezier(0.2, 0.9, 0.3, 1.2) infinite; }
  @keyframes timbre { 0%, 54% { opacity: 0; transform: rotate(-30deg) scale(2.4); } 62% { opacity: 1; transform: rotate(-12deg) scale(1); } 92% { opacity: 1; transform: rotate(-12deg) scale(1); } 100% { opacity: 0; transform: rotate(-12deg) scale(1); } }
  .doc-hoja { animation: hojaGolpe 6s ease-out infinite; }
  @keyframes hojaGolpe { 0%, 61% { transform: none; } 63% { transform: translateY(3px) scale(0.985); } 67%, 100% { transform: none; } }

  /* buzón: caen sobres por la ranura */
  .buz-sobre { animation: sobreCae 3.6s cubic-bezier(0.55, 0, 0.75, 0.3) infinite; opacity: 0; }
  .buz-sobre.s2 { animation-delay: 1.8s; }
  @keyframes sobreCae { 0% { transform: translateY(0) rotate(-8deg); opacity: 0; } 12% { opacity: 1; } 55% { transform: translateY(80px) rotate(0deg); opacity: 1; } 70%, 100% { transform: translateY(120px); opacity: 1; } }
  .buz-badge { animation: badge 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; animation-delay: 1s; }
  @keyframes badge { 0%, 20% { transform: scale(0.4); opacity: 0; } 35% { transform: scale(1.15); opacity: 1; } 45%, 80% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }

  /* reloj */
  .reloj-s { animation: girar 6s linear infinite; }
  .reloj-m { animation: girar 72s linear infinite; }
  @keyframes girar { to { transform: rotate(360deg); } }
  .reloj-arco { stroke-dasharray: 330; animation: arco 6s linear infinite; }
  @keyframes arco { from { stroke-dashoffset: 330; } to { stroke-dashoffset: 0; } }
  .abierto { animation: neon 6s steps(1) infinite; }
  @keyframes neon { 0%, 3%, 6%, 100% { opacity: 1; } 2%, 5% { opacity: 0.3; } }

  /* sello */
  .sello-giro { animation: girar 24s linear infinite; }

  /* tarjeta y documento: la dirección se escribe sola */
  .tj-dir span, .fc-dir span { width: 0; animation: tipeo 7s steps(42) infinite; }
  .fc-dir span { animation-delay: 1.2s; }
  @keyframes tipeo { 0% { width: 0; } 35%, 88% { width: 100%; } 100% { width: 100%; } }
  .tarjeta { transition: rotate 0.5s cubic-bezier(0.23, 1, 0.32, 1), translate 0.5s cubic-bezier(0.23, 1, 0.32, 1); }
  .factura { transition: rotate 0.5s cubic-bezier(0.23, 1, 0.32, 1), translate 0.5s cubic-bezier(0.23, 1, 0.32, 1); }
  @media (hover: hover) and (pointer: fine) {
    .ovb-comercial:hover .tarjeta { rotate: -9deg; translate: -10px -4px; }
    .ovb-comercial:hover .factura { rotate: 8deg; translate: 10px 4px; }
  }
  .ovb-escena svg { transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1); }
  @media (hover: hover) and (pointer: fine) { .ovb-card:hover .ovb-escena svg { transform: scale(1.04); } }
}

@media (max-width: 1024px) {
  .ovb { grid-template-columns: 1fr 1fr; }
  .ovb-edificio { grid-row: span 2; }
}
@media (max-width: 720px) {
  .ovb { grid-template-columns: 1fr; gap: 12px; }
  .ovb-edificio { grid-row: auto; }
  .ovb-edificio .ovb-escena { min-height: 300px; }
  .ovb-escena { height: 156px; }
  .ovb-txt { padding: 14px 18px 20px; }
  .ovb-comercial { flex-direction: column; align-items: stretch; }
  .ovb-comercial .ovb-escena { height: 200px; flex: none; }
  .ovb-comercial .ovb-txt { padding: 14px 18px 20px; }
  .tarjeta { left: 3%; top: 60px; width: 66%; padding: 16px 14px; }
  .tj-dir, .fc-l { font-size: 0.68rem !important; }
  .factura { right: 3%; top: 14px; width: 58%; }
}
/* --- Oficina virtual en Temuco: placa de la casa, casa y mapa --- */
.casa-placa { display: flex; align-items: baseline; gap: 14px; padding: 16px 12px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--linea-fuerte); }
.ov-hero .casa-placa p { margin: 0; max-width: none; }
.ov-hero .casa-num { font-family: var(--font-title); font-weight: 700; font-size: 4.2rem; line-height: 0.9; color: #fff; letter-spacing: -0.02em; text-shadow: 0 0 28px rgba(47, 179, 122, 0.45); }
.ov-hero .casa-calle { font-family: var(--font-title); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--marca-claro); }
.dir-casa .dir-lista b { width: 14px; font-size: 0.6rem; color: var(--text-muted); }
.dir-casa .dir-suya b { color: #5ff0ad; }

.casa .estrellas circle { fill: rgba(232, 236, 233, 0.7); }
.casa .araucaria path { fill: none; stroke: #2f6b4e; stroke-width: 5; stroke-linecap: round; }
.casa .araucaria path:first-child { stroke: #3a463f; stroke-width: 4; }
.casa .humo circle { fill: rgba(193, 198, 194, 0.18); }
.casa .edif-luces rect { fill: rgba(193, 198, 194, 0.1); }
.casa .farol { fill: #e8d6a0; filter: drop-shadow(0 0 6px rgba(232, 214, 160, 0.9)); }
.casa .buzon-num { fill: #fff; font-family: var(--font-title); font-weight: 700; font-size: 10px; letter-spacing: 0.06em; }
.casa .edif-dir { letter-spacing: 0.16em; font-size: 11.5px; }
.mapa-arboles circle { fill: rgba(47, 107, 78, 0.55); }

@media (prefers-reduced-motion: no-preference) {
  .casa .humo circle { opacity: 0; transform-box: fill-box; transform-origin: center; animation: humo 4.5s ease-out infinite; }
  .casa .humo circle:nth-child(2) { animation-delay: 1.5s; }
  .casa .humo circle:nth-child(3) { animation-delay: 3s; }
  @keyframes humo { 0% { opacity: 0; transform: translate(0, 0) scale(0.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(18px, -70px) scale(2.4); } }
  .casa .estrellas circle { animation: titila 3s ease-in-out infinite; }
  .casa .estrellas circle:nth-child(2n) { animation-delay: 1.4s; }
  @keyframes titila { 50% { opacity: 0.2; } }
  .casa .farol { animation: farol 4s steps(1) infinite; }
  @keyframes farol { 0%, 40%, 44%, 100% { opacity: 1; } 42% { opacity: 0.35; } }
  .casa .araucaria { transform-box: fill-box; transform-origin: 50% 100%; animation: mece 6s ease-in-out infinite alternate; }
  @keyframes mece { from { transform: rotate(-1deg); } to { transform: rotate(1.2deg); } }
}
@media (max-width: 600px) { .ov-hero .casa-num { font-size: 3.4rem; } .ov-hero .casa-calle { font-size: 1rem; } }
/* --- Casa sureña (tarjeta 01 de Qué incluye): escena a sangre --- */
.ovb-edificio .ovb-escena { padding: 0; min-height: 400px; background: #07100c; overflow: hidden; }
.ovb-edificio .ovb-escena::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(180deg, transparent, rgba(16, 20, 17, 0.95)); pointer-events: none; }
.ovb-edificio .ovb-escena svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.casa .estrellas circle { fill: #e8f0eb; }
.casa .araucaria path { fill: none; stroke: #2a5c43; stroke-width: 5.5; stroke-linecap: round; }
.casa .araucaria.a1 path:not(.tronco) { stroke: #2f6b4e; }
.casa .araucaria .tronco { stroke: #3b2e25; stroke-width: 4; }
.casa .araucaria.a2 path { stroke: #1f4433; stroke-width: 4; }
.casa .araucaria.a2 .tronco { stroke: #2a231d; stroke-width: 3; }
.casa .lluvia path { stroke: rgba(200, 230, 214, 0.14); stroke-width: 1; stroke-linecap: round; }
.casa .humo circle { fill: rgba(205, 214, 209, 0.16); }
.casa .luz-suelo { opacity: 0.35; }
.casa .v-brillo { opacity: 0.55; }
.casa .farol { fill: #ffe2a0; }
.casa .cerco path { stroke: #4a3a2f; stroke-width: 2.4; stroke-linecap: round; }
.casa .cerco path:first-child { stroke-width: 2; }
.casa .buzon-num { fill: #fff; font-family: var(--font-title); font-weight: 700; font-size: 10px; letter-spacing: 0.06em; }
.casa .edif-dir { fill: var(--plata); font-family: var(--font-title); font-weight: 600; font-size: 11px; letter-spacing: 0.2em; }

@media (prefers-reduced-motion: no-preference) {
  .casa .lluvia { animation: llovizna 1.6s linear infinite; }
  @keyframes llovizna { from { transform: translate(0, -40px); } to { transform: translate(-10px, 60px); } }
  .casa .humo circle { animation: humo 5s ease-out infinite; }
  .casa .humo circle:nth-child(2) { animation-delay: 1.66s; }
  .casa .humo circle:nth-child(3) { animation-delay: 3.33s; }
  @keyframes humo { 0% { opacity: 0; transform: translate(0, 0) scale(0.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(22px, -80px) scale(2.8); } }
  .casa .v-brillo.verde, .casa .luz-suelo.verde { animation: brilloVerde 3.2s ease-in-out infinite; }
  @keyframes brilloVerde { 50% { opacity: 0.85; } }
  .casa .v-pantalla { animation: pantalla 2.4s steps(1) infinite; }
  @keyframes pantalla { 0%, 70%, 100% { fill: #0d3b28; } 72%, 90% { fill: #e9fff4; } }
  .casa .farol, .casa .farol-halo { animation: farol 5s steps(1) infinite; }
  @keyframes farol { 0%, 60%, 63%, 100% { opacity: 1; } 61%, 62% { opacity: 0.3; } }
  .casa .estrellas circle { animation: titila 3.4s ease-in-out infinite; }
  .casa .estrellas circle:nth-child(3n) { animation-delay: 1.2s; }
  .casa .estrellas circle:nth-child(3n+1) { animation-delay: 2.3s; }
  .casa .araucaria { transform-box: fill-box; transform-origin: 50% 100%; animation: mece 7s ease-in-out infinite alternate; }
  .casa .araucaria.a2 { animation-duration: 9s; animation-delay: -3s; }
  .casa .buzon-bandera { transform-box: fill-box; transform-origin: 0% 100%; animation: bandera 6s ease-in-out infinite; }
  @keyframes bandera { 0%, 70%, 100% { transform: rotate(0deg); } 78%, 92% { transform: rotate(-90deg); } }
}
@media (max-width: 720px) { .ovb-edificio .ovb-escena { min-height: 340px; } }
/* --- Bento: cada dibujo queda contenido en su recuadro (evita que tape los títulos) --- */
.ovb-escena { overflow: hidden; }
.ovb-escena > svg { position: absolute; top: 14px; left: 14px; width: calc(100% - 28px); height: calc(100% - 14px); }
.ovb-edificio .ovb-escena > svg { top: 0; left: 0; width: 100%; height: 100%; }

/* --- Mapa real de Google Maps en "Nuestra oficina" --- */
.ov-mapa { position: relative; display: block; width: 100%; height: 300px; border: 0; border-bottom: 1px solid var(--linea); background: #e5e3df; }
@media (max-width: 600px) { .ov-mapa { height: 240px; } }
/* --- Mapa estilizado con calles reales de Temuco --- */
.mapa .mapa-area path { fill: rgba(47, 179, 122, 0.10); stroke: rgba(47, 179, 122, 0.28); stroke-width: 1; }
.mapa .mapa-parque path { fill: rgba(47, 107, 78, 0.28); stroke: none; }
.mapa .mapa-v path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mapa .mapa-v.menor path { stroke: #1a201d; stroke-width: 2; }
.mapa .mapa-v.residencial path { stroke: #2a322e; stroke-width: 4.5; }
.mapa .mapa-v.principal path { stroke: #434d47; stroke-width: 8; }
.mapa .mapa-calle-txt { fill: #9aa39e; font-family: var(--font-title); font-weight: 600; letter-spacing: 0.12em; paint-order: stroke; stroke: #0e1210; stroke-width: 3px; }
.mapa .mapa-poi { fill: var(--marca-claro); font-family: var(--font-title); font-weight: 600; font-size: 9.5px; letter-spacing: 0.04em; paint-order: stroke; stroke: #0e1210; stroke-width: 3px; }
.mapa .mapa-ruta { stroke-width: 3; }
/* ======================= INICIO: tarjeta Oficina Virtual en el bento ======================= */
.bx-ov { grid-column: 1 / -1; min-height: 0; align-items: stretch;
  background: radial-gradient(70% 140% at 100% 50%, rgba(7, 134, 82, 0.35) 0%, transparent 60%), linear-gradient(180deg, #17201b 0%, #111613 100%);
  border-color: rgba(47, 179, 122, 0.35); }
.bx-ov .bx-cuerpo { margin-top: 0; align-self: center; max-width: 640px; }
.bx-ov-sello { display: inline-flex; font-family: var(--font-title); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #0d100e; background: #5ff0ad; border-radius: 999px; padding: 4px 10px; margin-bottom: 12px; }
.bx-ov-precio { flex: none; margin-left: auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 28px 36px; border-left: 1px solid rgba(47, 179, 122, 0.25); min-width: 260px; }
.bx-ov-precio p { margin: 0; }
.bx-ov-desde { font-family: var(--font-title); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--marca-claro) !important; }
.bx-ov-monto { font-family: var(--font-title); font-weight: 700; font-size: 3.2rem; line-height: 1; color: #fff !important; }
.bx-ov-monto span { font-size: 1.1rem; font-weight: 500; color: var(--text-secondary); margin-left: 4px; }
.bx-ov-nota { font-size: 0.88rem; color: var(--text-muted) !important; margin: 6px 0 16px !important; }
@media (max-width: 960px) { .bx-ov { flex-direction: column; } .bx-ov-precio { margin-left: 0; border-left: 0; border-top: 1px solid rgba(47, 179, 122, 0.25); padding: 22px 24px 26px; min-width: 0; width: 100%; } }
@media (prefers-reduced-motion: no-preference) {
  .bx-ov[data-delay="240"] { transition-delay: 0.32s; }
}
/* ======================= OFICINA VIRTUAL: PLANES, ESPACIOS Y EXTRAS ======================= */
.ov-planes, .ov-espacios, .ov-extras { padding: 80px 0; position: relative; }
.planes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; border-radius: 14px; border: 1px solid var(--linea); background: linear-gradient(180deg, rgba(26, 32, 28, 0.92) 0%, rgba(16, 20, 17, 0.95) 100%); }
.plan-destacado { border-color: rgba(95, 240, 173, 0.6); background: radial-gradient(120% 60% at 50% 0%, rgba(7, 134, 82, 0.35) 0%, transparent 70%), linear-gradient(180deg, #17221c 0%, #101512 100%); box-shadow: 0 30px 60px -36px rgba(47, 179, 122, 0.7); }
.plan-etq { position: absolute; top: -11px; left: 22px; margin: 0; font-family: var(--font-title); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #0d100e; background: #5ff0ad; border-radius: 999px; padding: 4px 10px; }
.esp-fija .plan-etq { position: static; display: inline-block; margin-bottom: 12px; }
.plan-n { font-family: var(--font-title); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; color: var(--marca-claro); margin: 0 0 4px; }
.plan h3 { font-family: var(--font-title); font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }
.plan-para { color: var(--text-secondary); font-size: 0.95rem; min-height: 3em; margin: 0 0 16px; }
.plan-precio { font-family: var(--font-title); font-weight: 700; font-size: 2.5rem; line-height: 1; color: #fff; margin: 0; }
.plan-precio span { font-size: 1rem; font-weight: 500; color: var(--text-secondary); margin-left: 3px; }
.plan-anual { font-size: 0.9rem; color: var(--marca-claro); margin: 6px 0 18px; }
.plan-lista { list-style: none; padding: 16px 0 0; margin: 0 0 22px; border-top: 1px solid var(--linea); display: grid; gap: 9px; flex: 1; align-content: start; }
.plan-lista li { position: relative; padding-left: 24px; font-size: 0.95rem; color: #d3d9d5; line-height: 1.4; }
.plan-lista li::before { content: ''; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; background: var(--marca-claro);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn-block { width: 100%; justify-content: center; }
.planes-nota { margin-top: 18px; font-size: 0.88rem; color: var(--text-muted); max-width: 80ch; }
@media (hover: hover) and (pointer: fine) { .plan { transition: border-color 0.25s ease, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1); } .plan:hover { border-color: rgba(95, 240, 173, 0.55); } }

.esp-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.esp-tabla { border: 1px solid var(--linea); border-radius: 14px; overflow: hidden; background: rgba(16, 20, 17, 0.9); }
.esp-fila { display: grid; grid-template-columns: minmax(0, 1fr) 96px 120px; gap: 12px; align-items: center; padding: 13px 20px; border-top: 1px solid var(--linea); }
.esp-fila:first-child { border-top: 0; }
.esp-fila span { color: #d3d9d5; }
.esp-fila b { font-family: var(--font-title); font-weight: 600; text-align: right; color: var(--text-secondary); }
.esp-fila b.socio { color: #5ff0ad; }
.esp-cab { background: rgba(7, 134, 82, 0.14); }
.esp-cab span { font-family: var(--font-title); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--plata); }
.esp-cab span:not(:first-child) { text-align: right; }
.esp-fija { padding: 28px; border-radius: 14px; border: 1px solid rgba(95, 240, 173, 0.5); border-top: 2px solid var(--marca); background: radial-gradient(100% 70% at 100% 0%, rgba(7, 134, 82, 0.3) 0%, transparent 70%), #121714; }
.esp-fija h3 { font-family: var(--font-title); font-size: 1.45rem; font-weight: 700; margin-bottom: 10px; }
.esp-fija p:not(.plan-etq):not(.plan-precio) { color: var(--text-secondary); margin: 14px 0 20px; }

.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.extra { padding: 22px; border-radius: 14px; border: 1px solid var(--linea); background: rgba(22, 27, 24, 0.9); }
.extra-destacado { border-color: rgba(95, 240, 173, 0.5); background: radial-gradient(100% 80% at 0% 0%, rgba(7, 134, 82, 0.28) 0%, transparent 70%), #141a16; }
.extra-tipo { font-family: var(--font-title); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--marca-claro); margin: 0 0 6px; }
.extra h3 { font-family: var(--font-title); font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; }
.extra-precio { font-family: var(--font-title); font-weight: 700; font-size: 1.6rem; color: #fff; margin: 0 0 8px; }
.extra-precio span { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); }
.extra p:last-child { color: var(--text-secondary); font-size: 0.94rem; margin: 0; }
.asesorias { margin-top: 18px; padding: 22px 24px; border-radius: 14px; border: 1px dashed var(--linea-fuerte); }
.asesorias h3 { font-family: var(--font-title); font-size: 1.2rem; font-weight: 600; margin-bottom: 12px; }
.asesorias h3 span { color: var(--text-muted); font-weight: 500; }
.asesorias ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.asesorias li { font-size: 0.9rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--linea-fuerte); color: #d3d9d5; }

@media (max-width: 1100px) { .planes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } }
@media (max-width: 960px) { .esp-grid { grid-template-columns: 1fr; } .extras { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .planes { grid-template-columns: 1fr; }
  .plan-para { min-height: 0; }
  .extras { grid-template-columns: 1fr; gap: 10px; }
  .esp-fila { grid-template-columns: minmax(0, 1fr) 70px 86px; padding: 12px 14px; gap: 8px; font-size: 0.9rem; }
  .ov-planes, .ov-espacios, .ov-extras { padding: 56px 0; }
}.bx-ov p.bx-ov-sello { color: #0d100e; font-size: 0.78rem; max-width: none; }
.bx-ov p.bx-ov-monto { font-size: 3.2rem; line-height: 1; color: #fff; max-width: none; }
.bx-ov p.bx-ov-desde { font-size: 0.85rem; max-width: none; }
.bx-ov p.bx-ov-nota { font-size: 0.88rem; max-width: none; }
@media (max-width: 768px) { .bx-ov p.bx-ov-monto { font-size: 2.6rem; } }
/* ======================= OFICINA VIRTUAL: hero + planes fusionados ======================= */
.ov-hero { padding-bottom: 36px; }
.ov-planes-hero { padding: 6px 0 80px; position: relative; isolation: isolate; }
/* luz verde que une el hero con los planes */
.ov-planes-hero::before {
  content: ''; position: absolute; z-index: -1; left: 50%; top: -60px; width: min(1100px, 100%); height: 420px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 40%, rgba(7, 134, 82, 0.22) 0%, transparent 70%);
}
.planes-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding-top: 22px; margin-bottom: 26px; border-top: 1px solid rgba(47, 179, 122, 0.22); }
.planes-cab .cab-titulo { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.planes-sub { margin: 0; font-family: var(--font-title); font-weight: 500; font-size: 0.95rem; color: var(--marca-claro); }
.ov-planes-hero .plan { background: linear-gradient(180deg, rgba(26, 32, 28, 0.82) 0%, rgba(16, 20, 17, 0.9) 100%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ov-planes-hero .plan-destacado { background: radial-gradient(120% 60% at 50% 0%, rgba(7, 134, 82, 0.4) 0%, transparent 70%), linear-gradient(180deg, rgba(23, 34, 28, 0.92) 0%, rgba(16, 21, 18, 0.95) 100%); }
@media (prefers-reduced-motion: no-preference) {
  .plan-destacado::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 1px rgba(95, 240, 173, 0.6), 0 0 28px rgba(47, 179, 122, 0.35); animation: planBrilla 3.2s ease-in-out infinite; }
  @keyframes planBrilla { 50% { box-shadow: 0 0 0 1px rgba(95, 240, 173, 0.9), 0 0 44px rgba(47, 179, 122, 0.55); } }
}
@media (max-width: 768px) {
  .ov-hero { padding-bottom: 24px; }
  .ov-planes-hero { padding-bottom: 56px; }
  .planes-cab { margin-bottom: 22px; }
}
/* ======================= INICIO: bento de servicios con escenas ======================= */
.ovb-inicio { margin-top: 4px; }
.ovb-ancho2 { grid-column: span 2; flex-direction: row; align-items: center; }
.ovb-ancho2 .ovb-escena { flex: 1.15; height: 230px; align-self: stretch; }
.ovb-ancho2 .ovb-txt { flex: 1; margin: 0; padding: 26px 30px; }
.ovb-ov { grid-column: 1 / -1; flex-direction: row; align-items: stretch; border-color: rgba(47, 179, 122, 0.4);
  background: radial-gradient(60% 140% at 100% 50%, rgba(7, 134, 82, 0.3) 0%, transparent 60%), linear-gradient(180deg, rgba(23, 32, 27, 0.95) 0%, rgba(16, 21, 18, 0.97) 100%); }
.ovb-ov .ovb-escena { flex: 0 0 34%; height: auto; min-height: 230px; padding: 0; background: #07100c; }
.ovb-ov .ovb-escena > svg { top: 0; left: 0; width: 100%; height: 100%; }
.ovb-ov .ovb-txt { flex: 1; margin: 0; align-self: center; padding: 26px 30px; }
.ovb-precio { flex: none; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 26px 34px; border-left: 1px solid rgba(47, 179, 122, 0.25); }
.ovb-precio p { margin: 0; }
.ovb-precio-desde { font-family: var(--font-title); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--marca-claro); }
.ovb-precio-monto { font-family: var(--font-title); font-weight: 700; font-size: 3rem; line-height: 1; color: #fff; }
.ovb-precio-monto span { font-size: 1.05rem; font-weight: 500; color: var(--text-secondary); margin-left: 4px; }
.ovb-precio-nota { font-size: 0.88rem; color: var(--text-muted); margin: 6px 0 16px !important; }
.ovb-txt .bx-tags { margin-top: 14px; }

/* tablero */
.tab .tb-volt { fill: #5ff0ad; font-family: var(--font-title); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; }
.tab .tb-volt.v2, .tab .tb-volt.v3 { opacity: 0; }
.tab .tb-mini { fill: #7f8a84; font-family: var(--font-title); font-size: 7.5px; letter-spacing: 0.12em; }
.tab .tb-ok { fill: #5ff0ad; }
.tab .tb-flujo { fill: none; stroke: #5ff0ad; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 14; opacity: 0.85; }
.tab .tb-flujo.barra { stroke-width: 2.5; stroke: #fff2cf; }
.tab .tb-leds circle { fill: #5ff0ad; filter: drop-shadow(0 0 3px rgba(95, 240, 173, 0.9)); }
.tab .tb-leds circle:nth-child(9) { fill: #e3a03a; filter: drop-shadow(0 0 3px rgba(227, 160, 58, 0.9)); }
.tab .tb-etq { fill: #1d241f; font-family: var(--font-title); font-weight: 700; font-size: 8px; letter-spacing: 0.1em; }
.tab .tb-halo { opacity: 0.18; }
.tab .tb-pie { fill: var(--plata); font-family: var(--font-title); font-weight: 600; font-size: 11px; letter-spacing: 0.2em; }

/* bms */
.bms .bms-pisos rect { fill: rgba(47, 179, 122, 0.45); }
.bms .bms-lbl { fill: #7f8a84; font-family: var(--font-title); font-size: 8px; letter-spacing: 0.14em; }
.bms .bms-temp { fill: #fff; font-family: var(--font-title); font-weight: 700; font-size: 21px; }
.bms .bms-linea { fill: none; stroke: #5ff0ad; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.bms .bms-chip rect { fill: rgba(7, 134, 82, 0.2); stroke: rgba(47, 179, 122, 0.7); }
.bms .bms-chip text { fill: #5ff0ad; font-family: var(--font-title); font-weight: 600; font-size: 7.5px; letter-spacing: 0.08em; }
.bms .bms-alarma { fill: #5ff0ad; }
.bms .bms-aspas { transform-box: fill-box; transform-origin: center; }

/* plano */
.ing .ing-muro { fill: none; stroke: #9cf7cc; stroke-width: 2.6; stroke-linejoin: round; }
.ing .ing-puerta { fill: none; stroke: rgba(156, 247, 204, 0.55); stroke-width: 1; stroke-dasharray: 3 3; }
.ing .ing-cota path { stroke: #7f8a84; stroke-width: 1; }
.ing .ing-cota rect { fill: #0c1913; }
.ing .ing-cota text { fill: #5ff0ad; font-family: var(--font-title); font-weight: 600; font-size: 9px; }
.ing .ing-bim rect { fill: #078652; }
.ing .ing-bim text { fill: #fff; font-family: var(--font-title); font-weight: 700; font-size: 8px; letter-spacing: 0.16em; }
.ing .ing-lapiz circle { fill: none; stroke: #5ff0ad; stroke-width: 1.5; }
.ing .ing-lapiz path { stroke: #5ff0ad; stroke-width: 1; }
.ing .ing-lapiz { transform: translate(40px, 24px); }

/* ti */
.ti .ti-links path { stroke: rgba(193, 198, 194, 0.2); stroke-width: 2; }
.ti .ti-paq path { fill: none; stroke: #5ff0ad; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 8 120; filter: drop-shadow(0 0 4px rgba(95, 240, 173, 0.9)); }
.ti .ti-nodo rect { fill: #141b17; stroke: rgba(47, 179, 122, 0.5); }
.ti .ti-ico { fill: none; stroke: #c9d1cc; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ti .ti-ico.cruz { stroke: #e86a5f; stroke-width: 4; }
.ti .ti-led { fill: #5ff0ad; }
.ti .ti-escudo { fill: #078652; stroke: #5ff0ad; stroke-width: 2; filter: drop-shadow(0 0 12px rgba(47, 179, 122, 0.6)); }
.ti .ti-onda { fill: none; stroke: #5ff0ad; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ti .ti-amenaza circle { fill: #e86a5f; filter: drop-shadow(0 0 4px rgba(232, 106, 95, 0.9)); opacity: 0; }
.ti .ti-txt { fill: #5ff0ad; font-family: var(--font-title); font-weight: 700; font-size: 10px; letter-spacing: 0.18em; }
.ti .ti-txt.sub { fill: #7f8a84; font-weight: 500; letter-spacing: 0.06em; font-size: 9px; }

@media (prefers-reduced-motion: no-preference) {
  .tab .tb-flujo { animation: tbFlujo 0.9s linear infinite; }
  @keyframes tbFlujo { to { stroke-dashoffset: -19; } }
  .tab .tb-volt.v1 { animation: volt1 4.5s steps(1) infinite; }
  .tab .tb-volt.v2 { animation: volt2 4.5s steps(1) infinite; }
  .tab .tb-volt.v3 { animation: volt3 4.5s steps(1) infinite; }
  @keyframes volt1 { 0%, 33% { opacity: 1; } 34%, 100% { opacity: 0; } }
  @keyframes volt2 { 0%, 33% { opacity: 0; } 34%, 66% { opacity: 1; } 67%, 100% { opacity: 0; } }
  @keyframes volt3 { 0%, 66% { opacity: 0; } 67%, 100% { opacity: 1; } }
  .tab .tb-ok, .bms .bms-alarma, .ti .ti-led { animation: parpadeo 1.6s steps(1) infinite; }
  @keyframes parpadeo { 50% { opacity: 0.2; } }
  .tab .tb-leds circle { animation: led 3s ease-in-out infinite; }
  .tab .tb-leds circle:nth-child(2n) { animation-delay: 0.7s; }
  .tab .tb-leds circle:nth-child(3n) { animation-delay: 1.4s; }
  @keyframes led { 50% { opacity: 0.35; } }
  .tab .tb-halo { animation: halo 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

  .bms .bms-pisos rect { animation: piso 4s ease-in-out infinite; }
  .bms .bms-pisos rect:nth-child(2) { animation-delay: 1s; } .bms .bms-pisos rect:nth-child(3) { animation-delay: 2s; } .bms .bms-pisos rect:nth-child(4) { animation-delay: 3s; }
  @keyframes piso { 0%, 100% { fill: rgba(47, 179, 122, 0.35); } 50% { fill: rgba(95, 240, 173, 0.85); } }
  .bms .bms-linea { stroke-dasharray: 140; animation: bmsLinea 5s ease-in-out infinite; }
  @keyframes bmsLinea { 0% { stroke-dashoffset: 140; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -140; } }
  .bms .bms-aspas { animation: girar 1.6s linear infinite; }

  .ing .ing-muro { stroke-dasharray: 520; animation: ingMuro 7s ease-in-out infinite; }
  .ing .ing-muro.m2 { stroke-dasharray: 200; animation-name: ingMuro2; }
  @keyframes ingMuro { 0% { stroke-dashoffset: 520; } 45%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
  @keyframes ingMuro2 { 0%, 40% { stroke-dashoffset: 200; } 65%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
  .ing .ing-lapiz { offset-path: path('M40 24 H200 V112 H40 Z'); offset-rotate: 0deg; transform: none; animation: lapiz 7s ease-in-out infinite; }
  @keyframes lapiz { 0% { offset-distance: 0%; opacity: 1; } 45% { offset-distance: 100%; opacity: 1; } 50%, 100% { offset-distance: 100%; opacity: 0; } }

  .ti .ti-paq path { animation: paquete 2.2s linear infinite; }
  .ti .ti-paq path:nth-child(2) { animation-delay: 0.6s; } .ti .ti-paq path:nth-child(3) { animation-delay: 1.1s; } .ti .ti-paq path:nth-child(4) { animation-delay: 1.6s; }
  @keyframes paquete { from { stroke-dashoffset: 128; } to { stroke-dashoffset: 0; } }
  .ti .ti-onda { animation: onda 2.8s ease-out infinite; }
  .ti .ti-onda.o2 { animation-delay: 1.4s; }
  .ti .ti-amenaza.a1 circle { animation: amenaza1 4s ease-in infinite; }
  .ti .ti-amenaza.a2 circle { animation: amenaza2 4s ease-in 2s infinite; }
  @keyframes amenaza1 { 0% { opacity: 0; transform: translate(0, 0); } 10% { opacity: 1; } 55% { opacity: 1; transform: translate(-112px, 66px); } 60%, 100% { opacity: 0; transform: translate(-112px, 66px) scale(2); } }
  @keyframes amenaza2 { 0% { opacity: 0; transform: translate(0, 0); } 10% { opacity: 1; } 55% { opacity: 1; transform: translate(116px, -70px); } 60%, 100% { opacity: 0; transform: translate(116px, -70px) scale(2); } }
}

@media (max-width: 1024px) {
  .ovb-ancho2 { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .ovb-ov { flex-direction: column; }
  .ovb-ov .ovb-escena { flex: none; height: 200px; min-height: 0; }
  .ovb-precio { border-left: 0; border-top: 1px solid rgba(47, 179, 122, 0.25); padding: 20px 24px 24px; }
}
@media (max-width: 720px) {
  .ovb-ancho2 { flex-direction: column; align-items: stretch; }
  .ovb-ancho2 .ovb-escena { flex: none; height: 190px; }
  .ovb-ancho2 .ovb-txt, .ovb-ov .ovb-txt { padding: 14px 18px 20px; }
  .ovb-precio-monto { font-size: 2.5rem; }
}