/* =============================================
   C&R AUDITORES — CSS PRODUCCIÓN 2026
   PALETA CORPORATIVA MINERA DEL NORTE
   ─────────────────────────────────────────────
   Naranja solar  → sol del desierto de Atacama
                    cascos mineros Codelco
   Gris desierto  → atardeceres de Calama
                    caliche y polvo del altiplano
   ============================================= */

/* ---- RESET & VARIABLES ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --arena: #ded6b8;
  --arena2: #e8e4d7;
  --solar: #e8600a;
  --solar-light: #f07830;
  --solar-deep: #c04e00;
  --solar-glow: rgba(232, 96, 10, 0.18);
  --desert: #2e2a24;
  --desert-mid: #5a5248;
  --desert-sand: #8c7d6e;
  --desert-dust: #c8bdb2;
  --desert-light: #f8f7ed;
  --desert-white: #f5f5f5;
  --white: #f9f9f9;
  --text: #110901;
  --text-muted: #6b5f55;
  --border: #dc9e58;
  --shadow: 0 4px 20px rgba(46, 42, 36, 0.1);
  --shadow-md: 0 8px 32px rgba(46, 42, 36, 0.16);
  --shadow-orange: 0 6px 24px rgba(232, 96, 10, 0.3);
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-gemini: "Google Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--desert-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container-fluid {
  width: 100%;
  padding: 0 1.25rem;
}

/* ═══════════════════════════════════════════════════
   SECCIÓN CON FONDO OSCURO / BG-IMAGE — CONTRASTE
   Garantiza texto legible en CUALQUIER sección que
   use background-image con overlay oscuro.
   Aplica globalmente a todas las páginas.
═══════════════════════════════════════════════════ */
.bg-dark-overlay,
.about-bg-1,
.about-bg-2,
.testimonios-parallax,
.hero-slide,
.page-hero,
.about-strip,
.cta-section {
  color: var(--white);
}

/* Texto dentro de fondos oscuros — herencia forzada */
.bg-dark-overlay p,
.about-bg-1 p,
.about-bg-2 p,
.testimonios-parallax p {
  color: rgba(255, 255, 255, 0.88);
}

/* Encabezados dentro de fondos oscuros */
.bg-dark-overlay h1,
.bg-dark-overlay h2,
.bg-dark-overlay h3,
.about-bg-1 h1,
.about-bg-1 h2,
.about-bg-1 h3,
.about-bg-2 h1,
.about-bg-2 h2,
.about-bg-2 h3,
.testimonios-parallax h1,
.testimonios-parallax h2,
.testimonios-parallax h3 {
  color: var(--white) !important;
}

/* ── BOTONES ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--solar);
  color: var(--white);
  border-color: var(--solar);
}
.btn-primary:hover {
  background: var(--solar-light);
  border-color: var(--solar-light);
  box-shadow: var(--shadow-orange);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--solar);
  border-color: var(--solar);
}
.btn-outline:hover {
  background: var(--solar);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--solar-deep);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--solar);
  color: var(--white);
  border-color: var(--solar);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

/* ── TOPBAR ── */
.topbar {
  background: var(--desert);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  padding: 0.45rem 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.topbar-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.topbar-info span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.topbar-info i {
  color: var(--solar);
}
.topbar-info a {
  color: rgba(255, 255, 255, 0.9);
}
.topbar-info a:hover {
  color: var(--solar-light);
}
.topbar-social {
  display: flex;
  gap: 0.75rem;
}
.topbar-social a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.topbar-social a:hover {
  color: var(--solar);
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--desert-dust);
  transition: box-shadow var(--transition), background var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.nav-brand img {
  height: 65px;
  width: auto;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-menu li {
  position: relative;
}
.nav-menu > li > a {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--desert);
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  background: var(--desert-light);
  color: var(--solar);
}
.nav-menu > li > a.active {
  position: relative;
}
.nav-menu > li > a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--solar);
  border-radius: 2px;
}
.nav-btn {
  background: var(--solar) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 0.45rem 1.1rem !important;
  font-size: 0.85rem !important;
}
.nav-btn:hover {
  background: var(--solar-light) !important;
  color: var(--white) !important;
}
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--desert-dust);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 200;
  border-top: 3px solid var(--solar);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.active .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.dropdown li a:hover {
  background: var(--desert-light);
  color: var(--solar);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--desert);
  border-radius: 2px;
  transition: all var(--transition);
}
/* Animación hamburguesa → X */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ── HERO SLIDER ── */
.hero {
  position: relative;
  height: 77vh;
  min-height: 520px;
  overflow: hidden;
}
.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: center;
}
.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(46, 42, 36, 0.85) 0%,
    rgba(46, 42, 36, 0.6) 45%,
    rgba(232, 96, 10, 0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin-left: 8vw;
  color: var(--white);
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.hero-content h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--solar);
  border-radius: 2px;
  margin-top: 0.75rem;
}
.hero-content p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(232, 96, 10, 0.2);
  border: 1.5px solid rgba(232, 96, 10, 0.5);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  backdrop-filter: blur(4px);
}
.hero-prev {
  left: 1.5rem;
}
.hero-next {
  right: 1.5rem;
}
.hero-prev:hover,
.hero-next:hover {
  background: var(--solar);
  border-color: var(--solar);
}
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.hero-dots button.active {
  background: var(--solar);
  transform: scale(1.35);
}
.hero-pause {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  background: rgba(232, 96, 10, 0.2);
  border: 1.5px solid rgba(232, 96, 10, 0.5);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: background var(--transition), border-color var(--transition);
  backdrop-filter: blur(4px);
}
.hero-pause:hover {
  background: var(--solar);
  border-color: var(--solar);
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--solar);
  color: var(--white);
  padding: 1.5rem 0;
}
.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.stat-label {
  font-size: 0.82rem;
  opacity: 0.88;
  font-weight: 500;
}

/* ── SECCIONES ── */
.section {
  padding: 5rem 0;
}
.section-alt {
  padding: 5rem 0;
  background: var(--desert-light);
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--desert);
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--solar);
  border-radius: 2px;
  margin: 0.5rem auto 0;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── SERVICIOS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  border-bottom: 3px solid transparent;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-bottom-color: var(--solar);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--desert-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--solar);
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  transition: background var(--transition), color var(--transition);
}
.service-card:hover .service-icon {
  background: var(--solar);
  color: var(--white);
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--desert);
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.card-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--solar);
}
.card-link:hover {
  color: var(--solar-deep);
}

/* ── PLANES ── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}
.plan-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid transparent;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.plan-card:hover {
  transform: translateY(-6px);
}
.plan-card-header {
  background: var(--desert);
  color: var(--white);
  padding: 2rem 1.75rem 1.75rem;
  text-align: center;
  position: relative;
}
.plan-featured .plan-card-header {
  background: linear-gradient(135deg, var(--solar-deep), var(--solar));
}
.plan-tipo {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.35rem;
}
.plan-nombre {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}
.plan-precio-big {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.plan-featured .plan-precio-big {
  color: var(--white);
}
.plan-precio-nota {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.3rem;
}
.plan-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}
.plan-card-body {
  background: var(--white);
  padding: 1.75rem;
}
.plan-features {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}
.plan-features li:last-child {
  border-bottom: none;
}
.plan-features li::before {
  content: '✓';
  color: var(--solar);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.plan-feat-no {
  color: var(--desert-dust) !important;
}
.plan-feat-no::before {
  content: '–' !important;
  color: var(--desert-dust) !important;
}
.plan-card-body .btn {
  width: 100%;
  justify-content: center;
}

/* ── ABOUT STRIP (index.html) — parallax ── */
.about-strip {
  background-color: var(--desert);
  background-image:
    linear-gradient(160deg, rgba(20, 14, 8, 0.85) 0%, rgba(20, 14, 8, 0.72) 100%),
    url('../parallax/parallax-image-3.jpg');
  background-attachment: scroll, fixed;
  background-size: auto, cover;
  background-position: center, center;
  color: var(--white);
  padding: 5rem 0;
  position: relative;
}
.about-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--solar-deep), var(--solar), var(--solar-light));
}
.about-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}
.about-text p {
  opacity: 0.82;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.about-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  opacity: 0.9;
}
.about-list i {
  color: var(--solar);
}
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  min-width: 180px;
}
.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.big-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--solar);
  line-height: 1;
}
.about-stat span:last-child {
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.3;
}

/* ── TESTIMONIOS — parallax ── */
.testimonials-section {
  background-color: #2e2a24;
  background-image:
    linear-gradient(160deg, rgba(20, 14, 8, 0.80) 0%, rgba(20, 14, 8, 0.68) 100%),
    url('../parallax/parallax-testimonios.jpg');
  background-attachment: scroll, fixed;
  background-size: auto, cover;
  background-position: center, center;
  position: relative;
}
.testimonials-section .section-header h2 { color: var(--white); }
.testimonials-section .section-header h2::after { background: var(--solar); }
.testimonials-section .section-header p { color: rgba(255, 255, 255, 0.70); }
.testimonials-section .testimonial-card {
  background: rgba(248, 247, 237, 0.96);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.32);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--desert-light);
  border-radius: 12px;
  padding: 2rem;
  border: 1.5px solid var(--border);
  display:flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow:  2px 4px rgba(0,0,0,0.05);
  ;
}
.testimonial-stars {
  color: var(--solar);
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--solar);
}
.testimonial-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--solar);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--desert);
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── LOGOS CLIENTES ── */
.clients-strip {
  background: var(--white);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.clients-strip-label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--desert-sand);
  margin-bottom: 1.75rem;
}
.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}
.client-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem 0.6rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.client-badge:hover {
  box-shadow: var(--shadow);
  border-color: var(--solar);
}
.client-badge span {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--cb-bg, var(--solar));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}
.client-badge strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--desert);
  white-space: nowrap;
}

/* ── HERRAMIENTAS GRATUITAS (homepage preview) ── */
.tools-preview-section {
  background: var(--desert-light);
}
.tools-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.tool-preview-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
}
.tool-preview-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--solar);
  transform: translateX(4px);
}
.tool-preview-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--desert-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--solar);
  font-size: 1.1rem;
  transition: background var(--transition), color var(--transition);
}
.tool-preview-card:hover .tool-preview-icon {
  background: var(--solar);
  color: var(--white);
}
.tool-preview-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.tool-preview-body strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--desert);
}
.tool-preview-body span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.tool-preview-arrow {
  color: var(--desert-dust);
  font-size: 0.75rem;
  transition: color var(--transition), transform var(--transition);
}
.tool-preview-card:hover .tool-preview-arrow {
  color: var(--solar);
  transform: translateX(3px);
}
.tools-preview-cta {
  text-align: center;
}

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--solar-deep) 0%, var(--solar) 50%, var(--solar-light) 100%);
  padding: 5rem 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}
.cta-inner p {
  opacity: 0.9;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.footer {
  background: var(--desert);
  color: rgba(255, 255, 255, 0.72);
}
.footer-main {
  padding: 4rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
}
.footer-col img {
  margin-bottom: 1rem;
  height: 45px;
  width: auto;
}
.footer-col p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.footer-col h4 {
  color: var(--solar);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.58);
  transition: color var(--transition);
}
.footer-col ul li a:hover {
  color: var(--solar-light);
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover {
  background: var(--solar);
  color: var(--white);
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}
.footer-contact i {
  color: var(--solar);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.footer-contact a:hover {
  color: var(--solar-light);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  opacity: 0.45;
}
.footer-bottom a:hover {
  color: var(--solar-light);
}

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--desert) 0%, #4a3f35 100%);
  padding: 5rem 0 4rem;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--solar-deep), var(--solar), var(--solar-light));
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}
.page-hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--solar);
  border-radius: 2px;
  margin: 0.6rem auto 0;
}
.page-hero p {
  opacity: 0.82;
  font-size: 1.05rem;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  opacity: 0.65;
}
.breadcrumb a:hover {
  opacity: 1;
  color: var(--solar-light);
}

/* ── FORMULARIOS ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--desert);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--solar);
  box-shadow: 0 0 0 3px var(--solar-glow);
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.form-group .field-error {
  font-size: 0.8rem;
  color: #dc2626;
  display: none;
}
.form-status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1rem;
  display: none;
}
.form-status.success {
  background: #fef3e2;
  color: var(--solar-deep);
  border: 1px solid var(--solar);
  display: block;
}
.form-status.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  display: block;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

/* ── RADIO BUTTONS ── */
.radio-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  transition: all var(--transition);
}
.radio-option:has(input:checked) {
  border-color: var(--solar);
  background: rgba(232, 96, 10, 0.06);
  color: var(--solar-deep);
  font-weight: 600;
}
.radio-option input[type="radio"] {
  accent-color: var(--solar);
}

/* ── TOOL LAYOUT (foliador, ppm) ── */
.tool-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}
.tool-info-card {
  background: var(--desert-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--solar);
  position: sticky;
  top: 90px;
}
.tool-info-card h3 {
  color: var(--desert);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.tool-info-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.tool-info-card .contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
}
.tool-info-card .contact-detail li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
}
.tool-info-card .contact-detail i {
  color: var(--solar);
  flex-shrink: 0;
}
.tool-info-card .contact-detail a:hover {
  color: var(--solar);
}
.tool-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.tool-form-card h2 {
  font-family: var(--font-display);
  color: var(--desert);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.tool-form-card p.subtitle {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 2rem;
}
.info-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(232, 96, 10, 0.1);
  color: var(--solar-deep);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  border: 1px solid rgba(232, 96, 10, 0.25);
  margin-bottom: 1.5rem;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.result-item {
  background: var(--desert-light);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--solar);
}
.result-item .r-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}
.result-item .r-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--desert);
}

/* ── WHATSAPP FLOTANTE ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  animation: wpulse 2.5s infinite;
  transition: transform var(--transition), background var(--transition);
}
.whatsapp-float:hover {
  background: #1fb356;
  transform: scale(1.1);
  color: var(--white);
}
@keyframes wpulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ── PRINT ── */
@media print {
  .topbar,
  .navbar,
  .whatsapp-float,
  .footer,
  .cta-section,
  .no-print {
    display: none !important;
  }
}

/* ── CLASE UTILITARIA NO-PRINT ── */
/* Usada en ppm, foliador, calculadora-fechas, ppmo-circular7 */
/* para ocultar secciones en impresión sin duplicar id */

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Mobile-first, sin user-scalable=0
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }
  .nav-menu.open {
    transform: translateX(0);
  }
  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-menu > li > a {
    padding: 1rem 0;
    width: 100%;
    font-size: 1rem;
  }
  .nav-menu > li > a.active::after {
    display: none;
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: hidden;
    height: 0;
    box-shadow: none;
    border: none;
    border-top: none;
    transform: none;
    background: var(--desert-light);
    border-radius: 0;
    transition: height 0.3s ease, visibility 0.3s;
    overflow: hidden;
  }
  .has-dropdown.active .dropdown {
    visibility: visible;
    height: auto;
  }
  .about-strip-inner {
    grid-template-columns: 1fr;
  }
  .about-stats {
    flex-direction: row;
    justify-content: center;
  }
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .topbar-info {
    display: none;
  }
  .tool-layout {
    grid-template-columns: 1fr;
  }
  .tool-info-card {
    position: static;
  }
}

@media (max-width: 768px) {
  /* Parallax desactivado en móvil — iOS no soporta background-attachment:fixed */
  #servicios,
  #planes,
  #util-section,
  .about-strip,
  .tools-preview-section,
  .testimonials-section {
    background-attachment: scroll, scroll;
  }

  .hero {
    height: 75vh;
  }
  .hero-content {
    margin-left: 5vw;
    padding-right: 5vw;
  }
  .hero-prev,
  .hero-next {
    width: 38px;
    height: 38px;
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .plan-featured {
    transform: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .form-row,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .btn {
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════
   PROFUNDIDAD VISUAL — Secciones oscuras con grain
   Atacama: caliche, cobre, desierto del norte
═══════════════════════════════════════════════════ */

/* Grain texture reutilizable */
.grain-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}
.grain-overlay > * { position: relative; z-index: 1; }

/* ── SERVICIOS — parallax con overlay oscuro ── */
#servicios {
  background-color: var(--desert);
  background-image:
    linear-gradient(160deg, rgba(20, 14, 8, 0.82) 0%, rgba(20, 14, 8, 0.72) 100%),
    url('../parallax/parallax-image-4.jpg');
  background-attachment: scroll, fixed;
  background-size: auto, cover;
  background-position: center, center;
  position: relative;
}
#servicios::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}
#servicios > .container { position: relative; z-index: 1; }
#servicios .section-header h2 { color: var(--white); }
#servicios .section-header h2::after { background: var(--solar); }
#servicios .section-header p { color: rgba(255, 255, 255, 0.62); }

/* Colores únicos por tipo de servicio */
.services-grid .service-card:nth-child(1) .service-icon { background: rgba(232,96,10,0.15);  color: #f07830; }
.services-grid .service-card:nth-child(1):hover .service-icon { background: var(--solar); color: var(--white); }
.services-grid .service-card:nth-child(1) { border-bottom-color: transparent; }
.services-grid .service-card:nth-child(1):hover { border-bottom-color: var(--solar); }

.services-grid .service-card:nth-child(2) .service-icon { background: rgba(192,78,0,0.15);   color: var(--solar-deep); }
.services-grid .service-card:nth-child(2):hover .service-icon { background: var(--solar-deep); color: var(--white); }
.services-grid .service-card:nth-child(2):hover { border-bottom-color: var(--solar-deep); }

.services-grid .service-card:nth-child(3) .service-icon { background: rgba(29,78,216,0.13);  color: #2563eb; }
.services-grid .service-card:nth-child(3):hover .service-icon { background: #2563eb; color: var(--white); }
.services-grid .service-card:nth-child(3):hover { border-bottom-color: #2563eb; }

.services-grid .service-card:nth-child(4) .service-icon { background: rgba(4,120,87,0.13);   color: #047857; }
.services-grid .service-card:nth-child(4):hover .service-icon { background: #047857; color: var(--white); }
.services-grid .service-card:nth-child(4):hover { border-bottom-color: #047857; }

.services-grid .service-card:nth-child(5) .service-icon { background: rgba(109,40,217,0.13); color: #7c3aed; }
.services-grid .service-card:nth-child(5):hover .service-icon { background: #7c3aed; color: var(--white); }
.services-grid .service-card:nth-child(5):hover { border-bottom-color: #7c3aed; }

.services-grid .service-card:nth-child(6) .service-icon { background: rgba(217,119,6,0.13);  color: #d97706; }
.services-grid .service-card:nth-child(6):hover .service-icon { background: #d97706; color: var(--white); }
.services-grid .service-card:nth-child(6):hover { border-bottom-color: #d97706; }

.services-grid .service-card:nth-child(7) .service-icon { background: rgba(185,28,28,0.13);  color: #b91c1c; }
.services-grid .service-card:nth-child(7):hover .service-icon { background: #b91c1c; color: var(--white); }
.services-grid .service-card:nth-child(7):hover { border-bottom-color: #b91c1c; }

.services-grid .service-card:nth-child(8) .service-icon { background: rgba(14,116,144,0.13); color: #0e7490; }
.services-grid .service-card:nth-child(8):hover .service-icon { background: #0e7490; color: var(--white); }
.services-grid .service-card:nth-child(8):hover { border-bottom-color: #0e7490; }

/* Tarjetas en fondo oscuro — efecto glass transparente (igual a tools) */
#servicios .service-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.20);
}
#servicios .service-card:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--solar);
  box-shadow: 0 8px 32px rgba(232, 96, 10, 0.25);
  transform: translateY(-6px);
}
#servicios .service-card h3 { color: var(--white); }
#servicios .service-card p { color: rgba(255, 255, 255, 0.68); }

/* ── PLANES — parallax con imagen árbol ── */
#planes {
  background-color: var(--desert);
  background-image:
    linear-gradient(160deg, rgba(20, 14, 8, 0.80) 0%, rgba(20, 14, 8, 0.68) 100%),
    url('../parallax/Parallax-Fondo%20Arbol.jpg');
  background-attachment: scroll, fixed;
  background-size: auto, cover;
  background-position: center, center;
  position: relative;
}
#planes::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--solar-deep), var(--solar), var(--solar-light));
  z-index: 1;
}
#planes > .container { position: relative; z-index: 1; }
#planes .section-header h2 { color: var(--white); }
#planes .section-header h2::after { background: var(--solar); }
#planes .section-header p { color: rgba(255, 255, 255, 0.65); }
#planes .section-header strong { color: var(--solar-light); }

/* Tarjetas de planes — efecto glass sobre parallax */
#planes .plan-card {
  box-shadow: 0 4px 24px rgba(0,0,0,0.40);
}
#planes .plan-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.50);
  transform: translateY(-4px);
}
#planes .plan-featured {
  box-shadow: 0 8px 40px rgba(232,96,10,0.4);
}
#planes .plan-featured:hover {
  box-shadow: 0 16px 56px rgba(232,96,10,0.5);
}
#planes .plan-card-body {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
#planes .plan-features li {
  color: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
#planes .plan-features li.disabled {
  color: rgba(255, 255, 255, 0.35) !important;
}
#planes .plan-card-body .btn { width: 100%; justify-content: center; }

/* ── HERRAMIENTAS GRATUITAS — parallax ── */
.tools-preview-section {
  background-color: #3a3028;
  background-image:
    linear-gradient(160deg, rgba(20, 14, 8, 0.80) 0%, rgba(20, 14, 8, 0.70) 100%),
    url('../parallax/parallax-codigoweb.jpg');
  background-attachment: scroll, fixed;
  background-size: auto, cover;
  background-position: center, center;
  position: relative;
}
.tools-preview-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.tools-preview-section > .container { position: relative; z-index: 1; }
.tools-preview-section .section-header h2 { color: var(--white); }
.tools-preview-section .section-header h2::after { background: var(--solar); }
.tools-preview-section .section-header p { color: rgba(255, 255, 255, 0.62); }

/* Tool cards sobre fondo oscuro */
.tool-preview-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}
.tool-preview-card:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--solar);
  box-shadow: 0 4px 24px rgba(232,96,10,0.2);
}
.tool-preview-body strong { color: var(--white); }
.tool-preview-body span { color: rgba(255,255,255,0.55); }
.tool-preview-icon {
  background: rgba(232,96,10,0.18);
  color: var(--solar-light);
}
.tool-preview-card:hover .tool-preview-icon {
  background: var(--solar);
  color: var(--white);
}
.tool-preview-arrow { color: rgba(255,255,255,0.25); }
.tool-preview-card:hover .tool-preview-arrow { color: var(--solar); }

/* Quiebre visual entre secciones oscuras contiguas */
#planes + .about-strip {
  border-top: 3px solid rgba(232,96,10,0.3);
}

/* ── BLOG PREVIEW SECTION ── */
.blog-preview-section {
  background: var(--desert-light);
}
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(46,42,36,0.08);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: 0 12px 40px rgba(46,42,36,0.16);
  transform: translateY(-3px);
}
.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--desert-dust);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-tag {
  display: inline-block;
  background: var(--solar);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 2px 9px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.blog-tag-laboral { background: #1e3a5f; }
.blog-tag-ov { background: var(--desert-mid); }
.blog-card-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--desert);
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-card-body h3 a {
  color: inherit;
  text-decoration: none;
}
.blog-card-body h3 a:hover { color: var(--solar); }
.blog-card-body p {
  font-size: 0.9rem;
  color: var(--desert-mid);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--desert-dust);
  padding-top: 12px;
  margin-top: auto;
}
.blog-date {
  font-size: 0.78rem;
  color: var(--desert-sand);
}
.blog-date i { margin-right: 4px; }
.blog-read-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--solar);
  text-decoration: none;
  white-space: nowrap;
}
.blog-read-more:hover { color: var(--solar-deep); }

@media (max-width: 900px) {
  .blog-preview-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .blog-preview-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide {
    transition: none;
  }
  .whatsapp-float {
    animation: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  }
  /* Parallax desactivado por preferencia de movimiento reducido */
  #servicios,
  #planes,
  #util-section,
  .about-strip,
  .tools-preview-section,
  .testimonials-section {
    background-attachment: scroll, scroll;
  }
}

/* ── UTILIDADES — parallax con imagen SIA ── */
#util-section {
  background-color: #2a2420;
  background-image:
    linear-gradient(160deg, rgba(20, 14, 8, 0.80) 0%, rgba(20, 14, 8, 0.68) 100%),
    url('../parallax/Parallax-SIA.jpg');
  background-attachment: scroll, fixed;
  background-size: auto, cover;
  background-position: center, center;
  position: relative;
}
#util-section > .container { position: relative; z-index: 1; }

/* Tarjetas herramienta — glass sobre parallax */
#util-section .util-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#util-section .util-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--solar);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.40);
}
#util-section .util-label { color: rgba(255, 255, 255, 0.95); }
#util-section .util-desc  { color: rgba(255, 255, 255, 0.62); }

/* Separador de sección sobre fondo oscuro */
#util-section .util-section-title {
  color: rgba(255, 255, 255, 0.50);
}
#util-section .util-section-title::after {
  background: rgba(255, 255, 255, 0.18);
}

/* Tarjetas externas — glass sobre parallax */
#util-section .util-card-ext {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#util-section .util-card-ext:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--solar);
  color: rgba(255, 255, 255, 0.95);
}
#util-section .util-card-ext-text strong { color: rgba(255, 255, 255, 0.95); }
#util-section .util-card-ext-text span   { color: rgba(255, 255, 255, 0.58); }
#util-section .ext-arrow { color: rgba(255, 255, 255, 0.38); }
