:root{
  /* Color */
  --black:        #0A0A0C;
  --black-soft:   #17151D;
  --black-elev:   #1D1926;
  --ink-60:       rgba(10,10,12,.6);
  --ink-40:       rgba(10,10,12,.4);
  --white:        #FAF8F5;
  --white-pure:   #FFFFFF;
  --violet-deep:  #2E1065;
  --violet:       #5B21B6;
  --violet-mid:   #7C3AED;
  --violet-light: #A78BFA;
  --violet-pale:  #EFEAFB;
  --line:         rgba(46,16,101,.14);
  --line-dark:    rgba(250,248,245,.14);
  --line-violet:  rgba(167,139,250,.22);
  --paper-70:     rgba(250,248,245,.7);
  --paper-55:     rgba(250,248,245,.55);
  --paper-40:     rgba(250,248,245,.4);

  /* Tipografía */
  --font-display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body:    'Open Sans', 'Segoe UI', Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 24px;
  --section-pad: 128px;
  --section-pad-mobile: 72px;

  /* Sombra */
  --shadow-soft: 0 20px 60px -20px rgba(91,33,182,.45);
  --shadow-card: 0 1px 0 rgba(0,0,0,.2), 0 24px 50px -20px rgba(91,33,182,.45);

  /* Movimiento */
  --ease: cubic-bezier(.22,.68,0,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg{ display:block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin:0; padding:0; }
button{ font: inherit; cursor: pointer; color: inherit; }
h1,h2,h3,h4{ margin:0; font-family: var(--font-display); font-weight: 800; letter-spacing: -.01em; color: var(--white); }

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

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

section{ padding: var(--section-pad) 0; position: relative; }
@media (max-width: 860px){
  section{ padding: var(--section-pad-mobile) 0; }
}

.section-alt{ background: linear-gradient(180deg, var(--black) 0%, #170B2E 50%, var(--black) 100%); }
.section-dark{ background: var(--black-soft); }

.divider{
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--line-violet) 20%, var(--line-violet) 80%, transparent);
}

/* ---------- Encabezados de sección ---------- */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--violet-light);
  margin-bottom: 18px;
}
.eyebrow::before{
  content: "";
  width: 28px;
  height: 1px;
  background: var(--violet-light);
}

.section-head{
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head.left{ text-align: left; margin: 0 0 56px; }
.section-head h2{
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
}
.section-head p{
  margin-top: 18px;
  font-size: 17px;
  color: var(--paper-70);
  max-width: 52ch;
}
.section-head.left p{ margin-left: 0; }
.section-head:not(.left) p{ margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg{ width: 25px; height: 25px; flex: none; }
.btn-primary{
  background: #25D366;
  color: var(--white-pure);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover{
  transform: translateY(-2px);
  background: var(--violet-mid);
  box-shadow: 0 22px 45px -16px rgba(124,58,237,.6);
}
.btn-ghost{
  background: transparent;
  color: var(--white);
  border-color: rgba(250,248,245,.22);
}
.btn-ghost:hover{
  border-color: var(--violet-light);
  color: var(--violet-light);
  transform: translateY(-2px);
}
.btn-light{
  background: var(--white);
  color: var(--violet-deep);
}
.btn-light:hover{ transform: translateY(-2px); box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); }
.btn-block{ width: 100%; }
.btn-sm{ padding: 12px 22px; font-size: 13px; }

/* ================= HEADER ================= */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 26px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header.is-scrolled{
  padding: 14px 0;
  background: rgba(10,10,12,.82);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 18px 40px -28px rgba(0,0,0,.6);
}

.brand{ display: flex; align-items: center; gap: 12px; }
.brand-mark{ width: 160px; height: 55px; flex: none; }
.brand-name{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .04em;
  color: var(--white);
}
.brand-name span{ color: var(--violet-light); }

.nav-desktop{ display: flex; align-items: center; gap: 36px; }
.nav-desktop a{
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--paper-70);
  position: relative;
  padding: 4px 0;
}
.nav-desktop a::after{
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--violet-light);
  transition: right .3s var(--ease);
}
.nav-desktop a:hover{ color: var(--white); }
.nav-desktop a:hover::after{ right: 0; }

.header-actions{ display: flex; align-items: center; gap: 18px; }

.hamburger{
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(250,248,245,.22);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  flex: none;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.hamburger span{
  width: 18px; height: 1.5px; background: var(--white);
  flex: none;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.hamburger.is-open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2){ opacity: 0; }
.hamburger.is-open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav{
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 480;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 100px 24px 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.mobile-nav.is-open{ opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a{
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
}
.mobile-nav a:hover{ color: var(--violet-light); }

/* ================= HERO ================= */
.hero{
  padding-top: calc(var(--section-pad) + 60px);
  padding-bottom: var(--section-pad);
  overflow: hidden;
  position: relative;
}
.hero::before{
  content:"";
  position: absolute;
  top: -220px; right: -220px;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.32), transparent 70%);
  pointer-events: none;
}
.hero::after{
  content:"";
  position: absolute;
  bottom: -260px; left: -200px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,16,101,.35), transparent 70%);
  pointer-events: none;
}
.hero .container{
  position: relative;
  z-index: 2;
}
.hero-copy{ text-align: center; max-width: 780px; margin: 0 auto; }
.hero-copy h1{
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.08;
  margin-bottom: 26px;
}
.hero-copy h1 em{
  font-style: normal;
  color: var(--violet-light);
  background: linear-gradient(180deg, transparent 62%, rgba(124,58,237,.38) 62%);
}
.hero-copy p{
  font-size: 18px;
  color: var(--paper-70);
  max-width: 46ch;
  margin: 0 auto 40px;
}
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; justify-content: center; }
.hero-trust{ display: flex; align-items: center; gap: 18px; justify-content: center; }
.hero-trust-stars{ display:flex; gap: 3px; }
.hero-trust-stars svg{ width: 15px; height: 15px; fill: var(--violet-light); }
.hero-trust small{ display:block; font-size: 12.5px; color: var(--paper-40); margin-top: 4px; }
.hero-trust > div{ text-align: left; }

/* ================= SLIDER DESTACADO (100% ancho) ================= */
.hero-slider{
  position: relative;
  width: 100%;
  height: 58vh;
  min-height: 380px;
  max-height: 620px;
  overflow: hidden;
  background: var(--black);
}
.slide{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.slide.is-active{ opacity: 1; z-index: 2; }
.slide-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,.1) 0%, rgba(10,10,12,.55) 65%, rgba(10,10,12,.88) 100%);
}
.slide-caption{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 64px;
  z-index: 2;
  width: 100%;
}
.slide-caption .eyebrow{ color: var(--violet-light); margin-bottom: 12px; }
.slide-caption h3{
  color: var(--white);
  font-size: clamp(24px, 3.4vw, 38px);
  max-width: 18ch;
  line-height: 1.15;
}
.slider-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(10,10,12,.5);
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  backdrop-filter: blur(6px);
  transition: background .3s, border-color .3s, transform .3s;
}
.slider-arrow:hover{ background: rgba(91,33,182,.6); border-color: var(--violet-light); }
.slider-arrow.prev{ left: 24px; }
.slider-arrow.next{ right: 24px; }
.slider-arrow svg{ width: 20px; height: 20px; color: var(--white); }
.slider-dots{
  position: absolute;
  bottom: 24px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px;
  z-index: 3;
}
.dot{
  width: 8px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.4);
  border: none; padding: 0;
  cursor: pointer;
  transition: width .3s var(--ease), background .3s;
}
.dot.is-active{ width: 24px; background: var(--violet-light); }

/* Imágenes de fondo de cada diapositiva del slider */
.slide-bg-panaderia{ background-image: url('Recursos/Slider1.png'); }
.slide-bg-taller{ background-image: url('Recursos/Slider2.png'); }
.slide-bg-remodelacion{ background-image: url('Recursos/Slider3.png'); }
.slide-bg-musical{ background-image: url('Recursos/Slider4.png'); }
.slide-bg-restaurant{ background-image: url('Recursos/Slider5.png'); }

/* ================= INSIGNIAS DE PLATAFORMAS ================= */
.platforms-section{ padding: 56px 0 0; }
.platforms-label{
  text-align: center;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper-40);
  margin-bottom: 22px;
}
.platform-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.platform-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border: 1px solid var(--line-violet);
  border-radius: 100px;
  background: var(--black-soft);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.platform-badge:hover{ transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--violet-light); }
.platform-dot{ width: 10px; height: 10px; border-radius: 50%; flex: none; }
.platform-dot.meta{ background: #0866FF; }
.platform-dot.google{ background: conic-gradient(#4285F4 0 25%, #EA4335 0 50%, #FBBC05 0 75%, #34A853 0 100%); }
.platform-dot.tiktok{ background: linear-gradient(135deg, #25F4EE 0%, #010101 50%, #FE2C55 100%); }
.platform-dot.whatsapp{ background: #25D366; }

/* ================= LOGOS / MARCAS ================= */
.logos-section{ padding: 40px 0 64px; }
.logo-strip{
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  align-items: center;
  justify-content: center;
  opacity: .8;
}
.logo-strip span{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper-40);
}

/* ================= SOBRE NOSOTROS ================= */
.about-grid{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-visual{ position: relative; }
.about-frame{
  border: 1px solid var(--line-violet);
  border-radius: var(--radius-l);
  padding: 40px;
  background: var(--black-soft);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.about-watermark{
  position: absolute;
  right: -60px; bottom: -60px;
  width: 220px; opacity: .1;
  transform: rotate(-8deg);
  pointer-events: none;
}
.about-frame p{ color: var(--paper-70); }
.about-frame-title{ font-size: 28px; margin-bottom: 18px; }
.about-intro{ font-size: 15.5px; margin-bottom: 0; }
.section-head.left.about-heading{ margin: 0 0 24px; max-width: none; }
.value-list{ display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.value-item{ display: flex; gap: 16px; align-items: flex-start; }
.value-item .num{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--violet-light);
  border: 1px solid var(--line-violet);
  border-radius: 50%;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.value-item h4{ font-size: 16.5px; margin-bottom: 4px; }
.value-item p{ margin:0; color: var(--paper-70); font-size: 15px; }

.stat-row{
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line-violet);
}
.stat-row .stat b{
  display:block;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--violet-light);
}
.stat-row .stat span{ font-size: 13px; color: var(--paper-55); }

/* ================= SERVICIOS Y PLANES (tarjetas) ================= */
.services-grid, .plans-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card, .plan-card{
  background: var(--black-soft);
  border: 1px solid var(--line-violet);
  border-radius: var(--radius-m);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service-card:hover, .plan-card:hover{
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: var(--violet-light);
}
.service-icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(124,58,237,.16);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.service-icon svg{ width: 26px; height: 26px; stroke: var(--violet-light); }
.service-card h3, .plan-card h3{ font-size: 19px; margin-bottom: 10px; }
.service-card p{ color: var(--paper-70); font-size: 14.5px; margin: 0 0 20px; flex: 1; }
.service-feats, .plan-feats{ display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; }
.service-feats li, .plan-feats li{ display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--paper-70); }
.service-feats svg, .plan-feats svg{ width: 15px; height: 15px; stroke: var(--violet-light); flex: none; margin-top: 2px; }
.service-card .btn, .plan-card .btn{ margin-top: auto; }

/* ---- Planes de páginas web (variante con precio) ---- */
.plan-card{ padding-top: 40px; }
.plan-card.is-featured{
  background: linear-gradient(160deg, var(--violet-deep), #180A33);
  border-color: var(--violet-light);
}
.plan-badge{
  position: absolute;
  top: -13px; left: 26px;
  background: var(--violet-light);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}
.plan-tagline{ font-size: 13.5px; color: var(--paper-55); margin-bottom: 22px; min-height: 40px; }
.plan-card.is-featured .plan-tagline{ color: rgba(255,255,255,.75); }
.plan-price{ display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan-price b{ font-family: var(--font-display); font-size: 27px; color: var(--white); }
.plan-price span{ font-size: 13px; color: var(--paper-55); }
.plan-price-note{ font-size: 11.5px; font-style: italic; color: var(--paper-40); margin-bottom: 24px; }
.plan-card.is-featured .plan-price-note{ color: rgba(255,255,255,.55); }
.plan-card.is-featured .plan-feats li{ color: rgba(255,255,255,.88); }
.plan-card.is-featured .plan-feats svg{ stroke: var(--white); }
.plan-card.is-featured .service-icon, .plan-card.is-featured .plan-icon{ background: rgba(255,255,255,.14); }
.plan-card.is-featured .plan-icon svg{ stroke: var(--white); }
.plan-icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(124,58,237,.16);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.plan-icon svg{ width: 24px; height: 24px; stroke: var(--violet-light); }

/* ================= BENEFICIOS ================= */
.benefits-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-violet);
  border: 1px solid var(--line-violet);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.benefit-card{
  background: var(--black-soft);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.benefit-card svg{ width: 28px; height: 28px; stroke: var(--violet-light); }
.benefit-card h4{ font-size: 17px; color: var(--white); }
.benefit-card p{ margin: 0; font-size: 14px; color: var(--paper-55); }

/* ================= TESTIMONIOS ================= */
.testi-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card{
  background: var(--black-soft);
  border: 1px solid var(--line-violet);
  border-radius: var(--radius-m);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testi-stars{ display: flex; gap: 3px; }
.testi-stars svg{ width: 16px; height: 16px; fill: var(--violet-light); }
.testi-quote{ font-size: 15.5px; color: var(--white); flex: 1; }
.testi-person{ display: flex; align-items: center; gap: 12px; }
.testi-avatar{
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(124,58,237,.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; color: var(--violet-light);
  flex: none;
}
.testi-person b{ display: block; font-size: 14.5px; color: var(--white); }
.testi-person .role{ font-size: 12.5px; color: var(--paper-40); }
.testi-badge{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--paper-40);
  padding-top: 14px; margin-top: -4px;
  border-top: 1px solid var(--line-violet);
}
.testi-badge svg{ width: 14px; height: 14px; stroke: var(--paper-40); }

/* ================= PORTAFOLIO ================= */
.portfolio-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.portfolio-card{
  background: var(--black-soft);
  border: 1px solid var(--line-violet);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.portfolio-card:hover{
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: var(--violet-light);
}
.portfolio-image{ position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--black); }
.portfolio-image img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.portfolio-card:hover .portfolio-image img{ transform: scale(1.06); }
.portfolio-tag{
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(10,10,12,.72);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.18);
}
.portfolio-body{ padding: 22px 24px 26px; }
.portfolio-body h3{ font-size: 17px; margin-bottom: 6px; }
.portfolio-body p{ margin: 0; font-size: 13.5px; color: var(--paper-70); }

/* ================= CTA BANNER ================= */
.cta-banner{
  background: linear-gradient(135deg, var(--violet-deep), var(--violet));
  border-radius: var(--radius-l);
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before{
  content:"";
  position: absolute; inset: -40% -10% auto auto;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,250,.4), transparent 70%);
}
.cta-banner h2{ color: var(--white-pure); font-size: clamp(28px,3.4vw,40px); max-width: 18ch; margin: 0 auto 16px; }
.cta-banner p{ color: rgba(255,255,255,.8); max-width: 50ch; margin: 0 auto 34px; font-size: 16.5px; }
.cta-actions{ display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* ================= FOOTER ================= */
.site-footer{ background: var(--black); color: var(--paper-70); padding-top: 90px; border-top: 1px solid var(--line-violet); }
.footer-top{
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-violet);
}
.footer-brand .brand-name{ color: var(--white); }
.footer-brand p{ font-size: 14px; margin: 18px 0 22px; max-width: 32ch; color: var(--paper-55); }
.social-row{ display: flex; gap: 12px; }
.social-row a{
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-violet);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s, transform .3s;
}
.social-row a:hover{ border-color: var(--violet-light); transform: translateY(-3px); }
.social-row svg{ width: 16px; height: 16px; stroke: var(--white); }
.footer-col h5{
  font-family: var(--font-display); color: var(--white);
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul{ display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col span{ font-size: 14.5px; color: var(--paper-70); }
.footer-col a:hover{ color: var(--violet-light); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 0; font-size: 13px; color: var(--paper-40);
  flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--line-violet);
  margin-top: 20px;
}
.footer-bottom a{ color: var(--paper-55); }
.footer-bottom a:hover{ color: var(--violet-light); }

/* ================= WHATSAPP FLOTANTE ================= */
.wa-float{
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 850;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 34px -12px rgba(91,33,182,.7);
  transition: transform .3s var(--ease);
}
.wa-float:hover{ transform: scale(1.08); }
.wa-float svg{ width: 32px; height: 32px; fill: var(--white-pure); }

/* ================= MODAL PRIVACIDAD ================= */
.modal-overlay{
  position: fixed; inset: 0; background: rgba(0,0,0,.72);
  backdrop-filter: blur(4px);
  z-index: 900;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.modal-overlay.is-open{ opacity: 1; visibility: visible; }
.modal-box{
  background: var(--white-pure);
  color: var(--black);
  border-radius: var(--radius-m);
  max-width: 560px; width: 100%;
  max-height: 80vh; overflow-y: auto;
  padding: 40px;
  transform: translateY(16px);
  transition: transform .35s var(--ease);
}
.modal-overlay.is-open .modal-box{ transform: translateY(0); }
.modal-box h3{ font-size: 22px; margin-bottom: 16px; color: var(--black); }
.modal-box p{ font-size: 14.5px; color: var(--ink-60); margin-bottom: 14px; }
.modal-close{
  float: right;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  color: var(--black);
}

/* ================= REVEAL ================= */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-1{ transition-delay: .08s; }
.reveal-2{ transition-delay: .16s; }
.reveal-3{ transition-delay: .24s; }
.reveal-4{ transition-delay: .32s; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px){
  .header-wa-btn{ display: none; }
}
@media (max-width: 1080px){
  .services-grid, .plans-grid, .portfolio-grid{ grid-template-columns: repeat(2, 1fr); }
  .benefits-grid{ grid-template-columns: repeat(2, 1fr); }
  .testi-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-top{ grid-template-columns: 1fr 1fr; text-align: center; }
  .footer-brand{ display: flex; flex-direction: column; align-items: center; }
  .footer-brand .brand{ justify-content: center; }
  .footer-brand p{ margin-left: auto; margin-right: auto; }
  .social-row{ justify-content: center; }
  .footer-col{ display: flex; flex-direction: column; align-items: center; }
  .footer-bottom{ flex-direction: column; justify-content: center; text-align: center; }
}
@media (max-width: 900px){
  .nav-desktop{ display: none; }
  .hamburger{ display: flex; }
  .hero{ padding-top: calc(var(--section-pad-mobile) + 40px); padding-bottom: var(--section-pad-mobile); }
  .about-grid{ grid-template-columns: 1fr; }
  .about-visual{ order: 2; }
  .hero-slider{ height: 48vh; min-height: 320px; }
}
@media (max-width: 640px){
  .container{ padding: 0 20px; }
  .services-grid, .plans-grid, .portfolio-grid, .testi-grid{ grid-template-columns: 1fr; gap: 18px; }
  .benefits-grid{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr; gap: 36px; }
  .cta-banner{ padding: 50px 26px; }
  .hero-actions .btn, .cta-actions .btn{ width: 100%; min-width: 0; }
  .stat-row{ flex-wrap: wrap; gap: 24px; }
  .about-frame{ padding: 26px; }
  .site-footer{ padding-top: 60px; }
  .section-head{ margin-bottom: 44px; }
  .service-card, .plan-card{ padding: 28px 22px; }
  .hero-slider{ height: 42vh; min-height: 280px; }
  .slide-caption{ bottom: 44px; }
  .slider-arrow{ width: 38px; height: 38px; }
  .slider-arrow.prev{ left: 14px; }
  .slider-arrow.next{ right: 14px; }
}

/* Pantallas muy pequeñas (hasta 300px de ancho) */
@media (max-width: 480px){
  .container{ padding: 0 16px; }

  /* Evita que cualquier botón desborde el ancho de la pantalla */
  .btn{ white-space: normal; text-align: center; line-height: 1.3; }
  .hero-actions .btn, .cta-actions .btn, .service-card .btn, .plan-card .btn{ min-width: 0; }

  /* Header compacto en pantallas muy pequeñas */
  .header-actions{ gap: 8px; }
  .brand-mark{ width: 160px; height: 54px; }
  .brand-name{ font-size: 15px; letter-spacing: .02em; }
  .hamburger{ width: 38px; height: 38px; }

  /* Hero: texto más compacto para no forzar demasiadas líneas */
  .hero-copy h1{ font-size: 28px; }
  .hero-copy p{ font-size: 15.5px; }
  .hero-trust{ flex-wrap: wrap; row-gap: 10px; }
  .hero-slider{ height: 38vh; min-height: 240px; }
  .slide-caption h3{ font-size: 20px; }

  /* Evita que las insignias de portafolio se salgan de la tarjeta */
  .portfolio-tag{ max-width: calc(100% - 28px); white-space: normal; line-height: 1.3; }

  /* Márgenes y paddings más ajustados en tarjetas y secciones */
  section{ padding: 56px 0; }
  .service-card, .plan-card{ padding: 26px 20px; }
  .cta-banner{ padding: 40px 18px; }
  .cta-banner h2{ font-size: 24px; }
  .modal-box{ padding: 26px; }

  /* Encabezados de sección y elementos más pequeños */
  .section-head h2{ font-size: 26px; }
  .section-head p{ font-size: 15.5px; }
  .service-icon, .plan-icon{ width: 44px; height: 44px; margin-bottom: 18px; }
  .service-icon svg, .plan-icon svg{ width: 22px; height: 22px; }
  .testi-avatar{ width: 38px; height: 38px; font-size: 13px; }
  .benefit-card{ padding: 30px 24px; }
  .about-frame{ padding: 22px; }
  .stat-row{ gap: 18px 28px; }
  .stat-row .stat b{ font-size: 24px; }
  .plan-price b{ font-size: 22px; }

  /* Menú móvil: quepa completo incluso en pantallas bajas */
  .mobile-nav{ gap: 22px; padding: 90px 20px 32px; }
  .mobile-nav a{ font-size: 21px; }
}

/* Menús móviles en pantallas de poca altura (ej. modo horizontal) */
@media (max-height: 560px){
  .mobile-nav{ gap: 16px; padding: 84px 20px 24px; justify-content: flex-start; }
  .mobile-nav a{ font-size: 19px; }
}
