/* ===============================================================
   oficial.css — Plantilla Oficial
   Design: JC Electrónica (jcelectronica.vercel.app)
   Brand colors via CSS variables (company-customizable)
   =============================================================== */

/* ========== CSS CUSTOM PROPERTIES ========== */
:root {
  /* Los --brand-* se definen DINÁMICAMENTE desde la DB en base_oficial.html (inline <style>).
     NO poner defaults acá porque el <link> se carga DESPUÉS del inline style
     y ganaría la cascada, pisando los colores elegidos por el usuario. */
  --color-whatsapp: #25D366;
  --font-base: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1280px;
  --nav-height: 72px;
  --section-padding: 4rem 1.5rem;
}

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

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

body {
  font-family: var(--font-base);
  background: var(--brand-1, #f8fafc);
  color: var(--brand-2, #1e293b);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden; /* Evita overflow horizontal por 100vw en pseudo-elementos */
}

img { max-width:100%; height:auto; display:block; }
a { color:inherit; text-decoration:none; transition:all 0.3s ease; }
ul, ol { list-style:none; }
button, input, select, textarea { font-family:inherit; font-size:inherit; outline:none; }

/* ========== LAYOUT ========== */
.container { width:100%; max-width:var(--max-width); margin:0 auto; padding:0 1.5rem; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--brand-titulos, var(--brand-3, #ff8000));
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--brand-titulos, var(--brand-4, #64748b));
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Utility: brand gradient separator */
.union {
  width: 100%;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--brand-3, #ff8000), transparent);
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  transition: all 0.3s ease;
  background: rgba(15,23,42,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  backdrop-filter: blur(16px);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.navbar-logo img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-3);
}

.navbar-logo span {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  transition: color 0.3s;
}

.navbar.scrolled .navbar-logo span {
  color: var(--brand-2);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}

.navbar.scrolled .navbar-links a {
  color: var(--brand-4);
}

.navbar.scrolled .navbar-links a:hover,
.navbar.scrolled .navbar-links a.active {
  color: var(--brand-3);
  background: rgba(255,128,0,0.06);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 1001;
}

.btn-navbar-login {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-navbar-login:hover { color: #ffffff; background: rgba(255,255,255,0.1); }

.navbar.scrolled .btn-navbar-login {
  color: var(--brand-4);
}

.navbar.scrolled .btn-navbar-login:hover {
  color: var(--brand-2);
  background: rgba(0,0,0,0.04);
}

.btn-navbar-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-navbar-wa:hover {
  background: #128C7E;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37,211,102,0.35);
}

.btn-navbar-wa svg { width:16px; height:16px; }

/* Hamburger */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
  background: none;
  border: none;
}

.navbar-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s;
}

.navbar.scrolled .navbar-hamburger span {
  background: var(--brand-2);
}

.navbar-hamburger.active span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.navbar-hamburger.active span:nth-child(2) { opacity:0; }
.navbar-hamburger.active span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

/* ========== HERO ========== */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10rem 1.5rem 4rem;
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  gap: 1.5rem;
  animation: heroFadeIn 0.8s ease-out;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background-image: var(--hero-bg, none);
  background-color: var(--brand-1, #f8fafc);
  background-position: center;
  background-size: cover;
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.75) 0%, 
    rgba(15, 23, 42, 0.45) 50%, 
    rgba(15, 23, 42, 0.70) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-section > * { position: relative; z-index: 2; }

@keyframes heroFadeIn {
  from { opacity:0; transform:translateY(30px); }
  to { opacity:1; transform:translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.badge-icon { font-size: 1.2rem; }

.hero-section h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--brand-hero-titulo, #ffffff);
  line-height: 1.1;
  max-width: 800px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero-section h2 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--brand-hero-titulo, rgba(255,255,255,0.85));
  max-width: 600px;
  line-height: 1.4;
  text-shadow: 0 1px 12px rgba(0,0,0,0.2);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.btn-hero-principal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  background: var(--brand-3, #ff8000);
  box-shadow: 0 4px 20px rgba(255,128,0,0.3);
}

.btn-hero-principal:hover {
  filter: brightness(0.85);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,128,0,0.5);
}

.btn-hero-principal img { filter: brightness(0) invert(1); }

.btn-hero-secundario {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}

.btn-hero-secundario:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.hero-benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.hero-benefit .check {
  color: #22c55e;
  font-weight: 700;
  font-size: 1.1rem;
}

.redes-hero {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.red-hero img {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  padding: 6px;
  backdrop-filter: blur(4px);
  transition: all 0.3s;
}

.red-hero img:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.25);
}

/* ========== CONTAINER WRAPPER ========== */
.page-wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ========== CONFIANZA / BADGES ========== */
.confianza-section {
  padding: 3rem 1.5rem;
  width: 100%;
}

.badges-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 1rem;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
}

.badge-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.badge-icono { font-size: 1.8rem; }

.badge-texto { display: flex; flex-direction: column; }

.badge-texto strong {
  font-size: 1.25rem;
  color: var(--brand-2, #1e293b);
}

.badge-texto span {
  font-size: 0.78rem;
  color: var(--brand-4, #64748b);
}

/* ========== FEATURED PRODUCTS ========== */
.featured-section {
  padding: 4rem 1.5rem;
  text-align: center;
  width: 100%;
}

.featured-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  color: var(--brand-titulos, var(--brand-3, #ff8000));
  margin-bottom: 0.75rem;
  text-align: center;
}

.featured-section > p {
  color: var(--brand-titulos, var(--brand-4));
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto 2rem;
}

.featured-slider-wrap {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto 2rem;
  overflow: hidden;
}

.featured-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.featured-slide {
  min-width: calc(25% - 1rem);
  flex-shrink: 0;
  padding: 0.25rem;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .featured-slide { min-width: calc(33.33% - 1rem); }
}
@media (max-width: 600px) {
  .featured-slide { min-width: calc(50% - 1rem); }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-2);
  transition: all 0.3s;
}

.slider-btn:hover {
  background: var(--brand-3, #ff8000);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255,128,0,0.3);
}

.slider-btn-prev { left: 8px; }
.slider-btn-next { right: 8px; }

.featured-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  text-align: left;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-card:hover {
  box-shadow: 0 12px 30px -5px rgba(0,0,0,0.12);
  border-color: var(--brand-3, #ff8000);
  transform: translateY(-4px);
}

.featured-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--brand-1, #f8fafc) 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #94a3b8;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.featured-card-img-placeholder::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-3, #ff8000), var(--brand-4, #64748b));
  opacity: 0.4;
}

.featured-card-body {
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-card-cat {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-2);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.featured-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.5rem 0;
}

.featured-card-spec {
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  color: var(--brand-4);
  background: var(--brand-1);
  border: 1px solid #e2e8f0;
}

.featured-card-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-3);
  margin-top: auto;
  padding-top: 0.5rem;
}

.featured-card-wa {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  background: var(--brand-3, #ff8000);
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.featured-card-wa:hover {
  filter: brightness(0.85);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,128,0,0.25);
}

.slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  background: linear-gradient(135deg, var(--brand-3, #ff8000) 0%, #e67300 100%);
  box-shadow: 0 4px 15px rgba(255,128,0,0.2);
}

.featured-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,128,0,0.3);
}

.featured-cta svg {
  transition: transform 0.3s;
}

.featured-cta:hover svg {
  transform: translateX(3px);
}

/* ========== SERVICES ========== */
.servicios-section {
  padding: 4rem 1.5rem;
  width: 100%;
}

.servicios-header {
  text-align: center;
  margin-bottom: 3rem;
}

.servicios-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  color: var(--brand-titulos, var(--brand-3, #ff8000));
  margin-bottom: 0.75rem;
}

.servicios-header p {
  color: var(--brand-titulos, var(--brand-4));
  font-size: 1.1rem;
}

.servicios-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  max-width: var(--max-width);
  margin: 0 auto;
}

.servicio-card {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
}

.servicio-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.servicio-thumb {
  width: 200px;
  min-height: 200px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-1, #f8fafc);
  font-size: 3rem;
}

.servicio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.servicio-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.servicio-tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255,128,0,0.1);
  color: var(--brand-3, #ff8000);
  width: fit-content;
}

.servicio-info h3 {
  font-size: 1.1rem;
  color: var(--brand-2);
}

.servicio-info p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--brand-4);
}

.servicio-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.servicio-feature-list li {
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
  color: var(--brand-4);
  background: var(--brand-1);
  border: 1px solid #e2e8f0;
}

.btn-leer-mas {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-3);
  text-decoration: none;
  transition: all 0.3s;
  margin-top: 0.5rem;
}

.btn-leer-mas:hover { gap: 0.8rem; }

.btn-servicio-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  width: fit-content;
  background: var(--brand-3, #ff8000);
}

.btn-servicio-wa:hover { filter: brightness(0.85); transform: translateY(-1px); }

.servicios-urgencia {
  text-align: center;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,128,0,0.08) 0%, rgba(255,128,0,0.03) 100%);
  border: 1.5px solid rgba(255,128,0,0.2);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s;
}

.servicios-urgencia:hover {
  border-color: rgba(255,128,0,0.35);
  box-shadow: 0 4px 20px rgba(255,128,0,0.08);
}

.servicios-urgencia p {
  color: var(--brand-2, #1e293b);
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.servicios-urgencia p strong {
  color: var(--brand-3, #ff8000);
  font-weight: 700;
}

.servicios-urgencia .wa-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
}

.servicios-urgencia .wa-cta-link:hover {
  background: #1da851;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

/* ========== TURNOS CTA ========== */
.turnos-cta-section {
  padding: 2rem 1.5rem;
  width: 100%;
}

.turnos-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
  border-radius: 2rem;
  background: linear-gradient(135deg, var(--brand-4) 0%, var(--brand-2) 100%);
}

.turnos-cta-inner > * { position: relative; z-index: 1; }

.turnos-cta-icon { font-size: 3rem; margin-bottom: 1rem; }

.turnos-cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.turnos-cta-inner h2 .highlight { color: var(--brand-3, #ff8000); }

.turnos-cta-inner p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  max-width: 450px;
  margin: 0 auto 2rem;
}

.turnos-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  background: var(--brand-3, #ff8000);
  box-shadow: 0 8px 30px rgba(255,128,0,0.3);
}

.turnos-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,128,0,0.4);
}

/* ── Variante WhatsApp (turnos desactivado) ── */
.turnos-cta-inner--wa {
  background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
}

.turnos-cta-inner--wa .turnos-cta-btn--wa {
  background: #25d366;
  box-shadow: 0 8px 30px rgba(37,211,102,0.35);
}

.turnos-cta-inner--wa .turnos-cta-btn--wa:hover {
  background: #1da851;
  box-shadow: 0 12px 40px rgba(37,211,102,0.45);
}

.turnos-cta-inner--wa .highlight {
  color: #25d366 !important;
}

/* ── Efecto sutil de brillo en el CTA ── */
.turnos-cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* ========== TESTIMONIOS ========== */
.testimonios-section {
  padding: 4rem 1.5rem;
  text-align: center;
  width: 100%;
}

.testimonios-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  color: var(--brand-titulos, var(--brand-3, #ff8000));
  margin-bottom: 0.5rem;
}

.testimonios-subtitulo {
  color: var(--brand-titulos, var(--brand-4));
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.testimonios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonios-grid .testimonio-card {
  flex: 0 1 320px;
  max-width: 380px;
}

.testimonio-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
}

.testimonio-estrellas { font-size: 1.1rem; margin-bottom: 0.75rem; }

.testimonio-texto {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
  color: var(--brand-4);
}

.testimonio-autor strong {
  display: block;
  font-size: 0.88rem;
  color: var(--brand-2);
}

.testimonio-autor span {
  font-size: 0.78rem;
  color: #94a3b8;
}

.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  color: var(--brand-4);
  text-decoration: none;
  transition: all 0.3s;
}

.btn-google:hover {
  border-color: var(--brand-3);
  color: var(--brand-3);
}

/* ========== HOW IT WORKS ========== */
.how-it-works-section {
  padding: 4rem 1.5rem;
  text-align: center;
  width: 100%;
}

.how-it-works-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  color: var(--brand-titulos, var(--brand-3, #ff8000));
  margin-bottom: 0.5rem;
}

.how-it-works-subtitulo {
  color: var(--brand-titulos, var(--brand-4));
  font-size: 1rem;
  margin-bottom: 3rem;
}

.how-it-works-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.how-it-works-grid .how-it-works-card {
  flex: 0 1 220px;
  max-width: 260px;
}

.how-it-works-card {
  background: #fff;
  padding: 2rem 1.25rem;
  border-radius: 1rem;
  text-align: center;
  position: relative;
  border: 1px solid #e2e8f0;
}

.step-number {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand-3, #ff8000);
  box-shadow: 0 2px 8px rgba(255,128,0,0.3);
}

.how-it-works-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-2);
  margin-bottom: 0.35rem;
  margin-top: 0.5rem;
}

.how-it-works-card p {
  font-size: 0.82rem;
  color: var(--brand-4);
  line-height: 1.5;
}

.btn-how-it-works {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  background: var(--brand-3, #ff8000);
}

.btn-how-it-works:hover {
  filter: brightness(0.85);
  transform: translateY(-2px);
}

/* ========== SOBRE NOSOTROS ========== */
.about-section {
  padding: 4rem 1.5rem;
  width: 100%;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-container h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  color: var(--brand-2);
  margin-bottom: 1rem;
}

.about-container p {
  color: var(--brand-4);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  color: var(--brand-2);
}

.feature-icon { font-size: 1.25rem; }

/* ========== CONTACTO ========== */
.contacto-section {
  padding: 4rem 1.5rem;
  width: 100%;
}

.contacto-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  color: var(--brand-titulos, var(--brand-3, #ff8000));
  margin-bottom: 2.5rem;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contacto-info h3 {
  font-size: 1.3rem;
  color: var(--brand-titulos, var(--brand-2));
  margin-bottom: 0.5rem;
}

.contacto-info > p {
  color: var(--brand-titulos, var(--brand-4));
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.contacto-metodos {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contacto-metodo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}

.contacto-metodo:hover {
  border-color: var(--brand-3);
  transform: translateX(4px);
}

.contacto-metodo strong {
  display: block;
  font-size: 0.88rem;
  color: var(--brand-2);
}

.contacto-metodo span {
  font-size: 0.78rem;
  color: var(--brand-4);
}

.contacto-metodo img { width: 36px; height: 36px; }

/* Contact Form */
.contacto-form-card { background: #fff; border-radius: 1rem; padding: 1.5rem; border: 1px solid #e2e8f0; }
.contacto-form-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: var(--brand-2); }

.form-group { margin-bottom: 1rem; }
.form-group label { display:block; font-size:0.82rem; font-weight:600; color:var(--brand-2); margin-bottom:0.3rem; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  border: 1.5px solid #e2e8f0;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--brand-3); }

.form-group textarea { min-height: 100px; resize: vertical; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--brand-3, #ff8000);
  font-family: inherit;
}

.btn-submit:hover { filter: brightness(0.85); transform: translateY(-1px); }

/* Ubicacion */
.ubicacion-section {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  justify-content: center;
}

.ubicacion-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ubicacion-item strong { display: block; font-size: 0.88rem; color: var(--brand-2); }
.ubicacion-item p { font-size: 0.82rem; color: var(--brand-4); }

.contacto-map {
  margin-top: 2rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.contacto-map iframe { width:100%; height:200px; border:none; display:block; }

/* ========== FAQ ========== */
.faq-section {
  padding: 4rem 1.5rem;
  width: 100%;
}

.faq-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  color: var(--brand-titulos, var(--brand-3, #ff8000));
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-grid {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-2);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover { background: rgba(0,0,0,0.02); }

.faq-answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.88rem;
  color: var(--brand-4);
  line-height: 1.6;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--brand-2, #1e293b);
  padding: 3rem 1.5rem 0;
  width: 100%;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--brand-titulos, #fff);
}

.footer-brand { display:flex; align-items:flex-start; gap:0.75rem; margin-bottom:0.75rem; }
.footer-brand img { width:40px; height:40px; border-radius:50%; object-fit:cover; flex-shrink:0; border:2px solid rgba(255,255,255,0.1); }
.footer-brand-info h4 { margin-bottom:0.15rem; color:var(--brand-titulos, #fff); }
.footer-brand-info p { font-size:0.78rem; color:var(--brand-titulos, rgba(255,255,255,0.5)); line-height:1.5; }

.footer-links { display:flex; flex-direction:column; gap:0.5rem; }
.footer-links a { font-size:0.82rem; color:var(--brand-titulos, rgba(255,255,255,0.5)); transition:color 0.3s; }
.footer-links a:hover { color: var(--brand-3); }

.footer-contact-list { display:flex; flex-direction:column; gap:0.6rem; }
.footer-contact-item { display:flex; align-items:flex-start; gap:0.6rem; font-size:0.82rem; color:var(--brand-titulos, rgba(255,255,255,0.5)); }
.footer-contact-item svg { width:15px; height:15px; flex-shrink:0; margin-top:3px; color: var(--brand-3); }

.footer-social { display:flex; gap:0.6rem; margin-top:0.75rem; }
.footer-social a { width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,0.06); display:flex; align-items:center; justify-content:center; transition:all 0.3s; color:var(--brand-titulos, rgba(255,255,255,0.5)); }
.footer-social a:hover { background: var(--brand-3); color:#fff; transform:translateY(-3px); }

.footer-cta { background:rgba(255,128,0,0.06); border:1px solid rgba(255,128,0,0.12); border-radius:12px; padding:1.25rem; text-align:center; }
.footer-cta h4 { margin-bottom:0.4rem; color:var(--brand-titulos, #fff); }
.footer-cta p { font-size:0.8rem; color:var(--brand-titulos, rgba(255,255,255,0.5)); margin-bottom:0.75rem; }

.btn-footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  background: var(--color-whatsapp);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 50px;
  transition: all 0.3s;
}

.btn-footer-wa:hover { background:#128C7E; transform:translateY(-2px); }

.footer-bottom { max-width:var(--max-width); margin:2rem auto 0; padding:1.25rem 0; border-top:1px solid rgba(255,255,255,0.06); text-align:center; }
.footer-bottom p { font-size:0.78rem; color:var(--brand-titulos, rgba(255,255,255,0.3)); }

/* ========== WHATSAPP FLOATING ========== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-whatsapp);
  color: #fff;
  padding: 14px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: all 0.3s;
  animation: waPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
  background: #128C7E;
}

.whatsapp-float svg { width:24px; height:24px; flex-shrink:0; }
.whatsapp-float-tooltip { display:none; }

@media (min-width: 480px) { .whatsapp-float-tooltip { display:inline; } }

@keyframes waPulse {
  0%, 100% { box-shadow:0 4px 20px rgba(37,211,102,0.35); }
  50% { box-shadow:0 4px 30px rgba(37,211,102,0.6); }
}

/* ========== ANIMATIONS ========== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated { opacity:1; transform:translateY(0); }
.no-js .animate-on-scroll, .animate-on-scroll.no-js-fallback { opacity:1; transform:translateY(0); }

.stagger-1 { transition-delay:0.1s; }
.stagger-2 { transition-delay:0.2s; }
.stagger-3 { transition-delay:0.3s; }
.stagger-4 { transition-delay:0.4s; }
.stagger-5 { transition-delay:0.5s; }
.stagger-6 { transition-delay:0.6s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .navbar { max-width: 100%; border-radius: 0; margin: 0; }
}

@media (max-width: 1024px) {
  :root { --section-padding: 3.5rem 1.25rem; }

  .badges-container { grid-template-columns:repeat(2,1fr); }
  .featured-grid { grid-template-columns:repeat(2,1fr); }
  .how-it-works-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:repeat(2,1fr); }

  .hero-section { padding: 9rem 1.25rem 3.5rem; }

  .section-subtitle { max-width: 520px; }

  .servicio-thumb { min-height: 160px; }
}

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

@media (max-width: 768px) {
  :root {
    --nav-height:64px;
    --section-padding: 3rem 1rem;
  }

  .navbar-hamburger { display:flex; }

  .navbar-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15,23,42,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 1.25rem;
    transform: translateX(100%);
    transition: transform 0.3s;
  }

  .navbar.scrolled .navbar-links {
    background: rgba(255,255,255,0.98);
  }

  .navbar-links.open { transform:translateX(0); }

  .navbar-links a { font-size:1.1rem; padding:0.6rem 1rem; }

  .navbar.scrolled .navbar-links a {
    color: var(--brand-4);
  }

  .navbar-cta .btn-navbar-wa span { display:none; }

  .hero-section { padding: 8rem 1rem 3rem; }
  .hero-cta { flex-direction:column; align-items:stretch; }
  .btn-hero-principal, .btn-hero-secundario { justify-content:center; }

  .badges-container { grid-template-columns:repeat(2,1fr); gap:0.75rem; }
  .badge-item { padding:1rem; }

  .featured-grid { grid-template-columns:repeat(2,1fr); gap:0.75rem; }
  .featured-section { padding:3rem 1rem; }

  .servicio-card { flex-direction:column; }
  .servicio-thumb { width:100%; min-height:150px; }

  .how-it-works-grid { grid-template-columns:repeat(2,1fr); gap:1rem; }
  .about-features { grid-template-columns:1fr; }

  .contacto-grid { grid-template-columns:1fr; }
  .ubicacion-section { flex-direction:column; align-items:center; text-align:center; }

  .footer-grid { grid-template-columns:1fr; gap:1.5rem; }
  .footer-col { text-align:center; }
  .footer-brand { justify-content:center; }
  .footer-social { justify-content:center; }
  .footer-contact-item { justify-content:center; }
}

@media (max-width: 540px) {
  .hero-section h1 { font-size:2.2rem; }
  .hero-section h2 { font-size:0.95rem; }

  .badges-container { grid-template-columns:1fr; }
  .badge-item { justify-content:center; }

  .featured-grid { grid-template-columns:1fr; max-width:320px; margin:0 auto 1.5rem; }

  .how-it-works-grid { grid-template-columns:1fr; max-width:320px; margin:0 auto; }

  .whatsapp-float { bottom:16px; right:16px; padding:12px 16px; }
}

/* ========== TABLETS & INTERMEDIAS (641px - 768px) ========== */
@media (max-width: 768px) and (min-width: 641px) {
  .featured-grid { grid-template-columns:repeat(2,1fr); max-width:500px; margin:0 auto 1.5rem; }
  .how-it-works-grid { grid-template-columns:repeat(2,1fr); max-width:500px; margin:0 auto; }
  .hero-section h1 { font-size:clamp(2.2rem, 5vw, 2.8rem); }
}

/* ========== INTERMEDIAS CHICAS (481px - 640px) ========== */
@media (max-width: 640px) {
  .container { padding: 0 1rem; }
  .hero-section { padding: 7rem 0.85rem 2.5rem; }
  .hero-section h1 { font-size:clamp(1.8rem, 6vw, 2.5rem); }
  .section-subtitle { max-width: 100%; padding: 0 0.5rem; }
  .servicio-thumb { min-height: 130px; }
  .footer-grid { gap: 1rem; }
}
