@charset "UTF-8";

/* ===================== TIPOGRAFÍAS (servidas desde este dominio) =====================
   Antes se cargaban desde fonts.googleapis.com, lo que enviaba la IP de cada
   visitante a Google antes de que aceptara nada. Servidas desde aquí, ni se
   comparten datos con terceros ni hace falta pedir permiso para ello. */

@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/orbitron-900-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===================== RESET & BASE ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Los iconos son SVG dentro del mismo <i> de antes, así que todas las reglas
   que ya daban color, tamaño o rotación a esos <i> siguen valiendo tal cual.
   El SVG mide 1em y hereda el color: se adapta solo a cada contexto. */
.ico { display: inline-flex; align-items: center; justify-content: center; }
.ico > svg { width: 1em; height: 1em; fill: currentColor; display: block; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: #333; background: #fff; overflow-x: hidden; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===================== BRAND ===================== */
/* El nombre "REDIGITALPRO" salió de la cabecera y ahora vive en el pie, con el
   mismo tratamiento: Orbitron, "REDIGITAL" en blanco y "PRO" en degradado. */
.white-part { color: #fff; }
.gradient-text { background: linear-gradient(135deg, #0693e3 0%, #9b51e0 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ===================== HEADER ===================== */
.header { background: #000; padding: .5rem 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 90px; width: auto; }
.header-actions { display: flex; gap: 1rem; align-items: center; }
.btn-secondary { display: inline-flex; align-items: center; background: rgba(255,255,255,.1); color: #fff; padding: .75rem 1.5rem; border-radius: 50px; text-decoration: none; font-weight: 500; transition: .3s; border: 1px solid rgba(255,255,255,.2); font-size: .95rem; }
.btn-secondary:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); border-color: rgba(255,255,255,.3); }
.btn-primary { display: inline-flex; align-items: center; background: linear-gradient(135deg, #0693e3 0%, #9b51e0 100%); color: #fff; padding: .75rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 600; transition: .3s; border: none; cursor: pointer; font-size: .95rem; box-shadow: 0 4px 15px rgba(6,147,227,.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(6,147,227,.6); }

/* ===================== HERO ===================== */
.hero { background: url('hero-bg.jpg') center/cover no-repeat; color: #fff; text-align: center; padding: 120px 0 100px; position: relative; overflow: hidden; min-height: 600px; display: flex; align-items: center; }
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.6); z-index: 1; }
.hero-content { max-width: 800px; margin: 0 auto; z-index: 2; position: relative; }
.hero h1 { font-size: 2.8rem; margin-bottom: 1.5rem; line-height: 1.2; text-shadow: 0 2px 4px rgba(0,0,0,.8); }
.hero .subtitle { font-size: 1.25rem; margin-bottom: 2rem; opacity: .9; max-width: 700px; margin: 0 auto 2rem; }
.hero-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.hero-buttons .btn-secondary { background: transparent; border: 2px solid rgba(255,255,255,.3); }
.hero-buttons .btn-secondary:hover { background: rgba(255,255,255,.1); }

/* ===================== SERVICIOS ===================== */
.servicios { padding: 100px 0; background: #f8f9fa; }
.servicios .section-title { text-align: center; margin-bottom: 1.5rem; font-size: 2.2rem; color: #333; }
.servicios .section-subtitle { text-align: center; margin-bottom: 3rem; font-size: 1.2rem; color: #666; max-width: 800px; margin: 0 auto 3rem; }
.servicios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.servicio-item { background: #fff; padding: 2rem; border-radius: 15px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,.08); transition: .3s; border: 1px solid #eee; }
.servicio-item:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,.12); }
.servicio-icon { width: 80px; height: 80px; background: linear-gradient(135deg, #0693e3 0%, #9b51e0 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: #fff; font-size: 2rem; box-shadow: 0 4px 15px rgba(6,147,227,.3); }
.servicio-item h3 { margin-bottom: 1rem; color: #333; font-size: 1.3rem; }
.servicio-item p { color: #666; line-height: 1.6; font-size: .95rem; }

/* ===================== PROBLEMA SOLUCIONADO ===================== */
.problem-solution { background: #f8f9fa; padding: 100px 0; }
.problem-solution .container, .ps-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; align-items: center; }
.ps-text h2 { font-size: 2.2rem; margin-bottom: 1.5rem; color: #333; }
.ps-text p { font-size: 1.1rem; margin-bottom: 1.5rem; color: #555; line-height: 1.7; }
.problem-list { list-style: none; margin-top: 1.5rem; }
.problem-list li { display: flex; align-items: flex-start; margin-bottom: 1rem; color: #444; }
.problem-list li { 
  display: flex; align-items: flex-start; margin-bottom: 1rem; color: #444; 
  padding-left: 0.5rem; 
}
.problem-list li i { 
  color: #dc2626; 
  background: rgba(220,38,38,0.08); 
  border-radius: 50%; 
  width: 1.75em; height: 1.75em; 
  display: flex; align-items: center; justify-content: center; 
  margin-right: 0.85rem; margin-top: 0.1rem; 
  font-size: 0.95rem; flex-shrink: 0; 
}
.ps-image img { width: 100%; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.15); }

/* ===================== C�"MO TRABAJAMOS ===================== */
.how-it-works { padding: 100px 0; background: #fff; }
.how-it-works .section-title { text-align: center; margin-bottom: 3rem; font-size: 2.2rem; color: #333; }
.steps-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.step { background: #f8f9ff; padding: 2rem; border-radius: 15px; text-align: center; transition: .3s; border: 1px solid #e9ecef; }
.step:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(6,147,227,.1); border-color: #0693e3; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: linear-gradient(135deg, #0693e3 0%, #9b51e0 100%); color: #fff; border-radius: 50%; font-weight: 600; font-size: 1.2rem; margin-bottom: 1.5rem; box-shadow: 0 4px 15px rgba(6,147,227,.3); }
.step h3 { margin-bottom: 1rem; color: #333; font-size: 1.3rem; }
.step p { color: #666; line-height: 1.6; }

/* ===================== BENEFICIOS ===================== */
.benefits { padding: 100px 0; background: #f8f9fa; }
.benefits .section-title { text-align: center; margin-bottom: 3rem; font-size: 2.2rem; color: #333; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.benefit-item { background: #fff; padding: 2rem; border-radius: 15px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,.08); transition: .3s; border: 1px solid #eee; }
.benefit-item:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,.12); }
.benefit-icon { width: 80px; height: 80px; background: linear-gradient(135deg, #0693e3 0%, #9b51e0 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: #fff; font-size: 2rem; box-shadow: 0 4px 15px rgba(6,147,227,.3); }
.benefit-item h4 { margin-bottom: 1rem; color: #333; font-size: 1.2rem; }
.benefit-item p { color: #666; line-height: 1.6; font-size: .95rem; }

/* ===================== QUI�?N ESTÁ DETRÁS ===================== */
.about { padding: 100px 0; background: #fff; }
.about-content { display: grid; grid-template-columns: 380px 1fr; gap: 3.5rem; align-items: center; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,.15); }
.about-text h2 { font-size: 2.2rem; margin-bottom: 1.25rem; color: #333; }
.about-lead { font-size: 1.2rem; color: #333; font-weight: 500; margin-bottom: 1.25rem; line-height: 1.6; }
.about-text p { color: #555; line-height: 1.75; margin-bottom: 1.1rem; }
.about-list { list-style: none; margin: 1.75rem 0; }
.about-list li { display: flex; align-items: flex-start; margin-bottom: .85rem; color: #444; line-height: 1.5; }
.about-list li i { color: #0693e3; margin-right: .75rem; margin-top: .3rem; flex-shrink: 0; }

/* ===================== BOT�"N FLOTANTE DE WHATSAPP ===================== */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 1500;
  display: inline-flex; align-items: center; gap: .6rem;
  background: #25d366; color: #fff; text-decoration: none;
  padding: .9rem 1.4rem; border-radius: 50px; font-weight: 600; font-size: .95rem;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  transition: transform .25s, box-shadow .25s;
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(37,211,102,.6); color: #fff; }
.whatsapp-float i { font-size: 1.5rem; }
@media (prefers-reduced-motion: reduce) { .whatsapp-float { transition: none; } }

/* ===================== CTA ===================== */
.cta { background: linear-gradient(135deg, #000 0%, #0a0a0a 100%); color: #fff; text-align: center; padding: 100px 0; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,50Q250,0 500,50T1000,50L1000,100L0,100Z" fill="%230693e3" opacity="0.05"/></svg>'); }
.cta-content { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
.cta h2 { font-size: 2.2rem; margin-bottom: 1.5rem; }
.cta p { font-size: 1.1rem; margin-bottom: 2.5rem; opacity: .9; max-width: 700px; margin: 0 auto 2.5rem; }

/* ===================== CONTACTO ===================== */
.contact { padding: 100px 0; background: #f8f9fa; }
.contact .section-title { text-align: center; margin-bottom: 1rem; font-size: 2.2rem; color: #333; }
.contact .section-subtitle { text-align: center; margin-bottom: 3rem; font-size: 1.2rem; color: #666; max-width: 700px; margin: 0 auto 3rem; }
.contact-direct { text-align: center; margin: -1.5rem auto 2.5rem; color: #666; font-size: .95rem; }
.contact-direct a { color: #0693e3; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(6,147,227,.35); }
.contact-direct a:hover { color: #9b51e0; border-bottom-color: rgba(155,81,224,.5); }
.footer-email { margin-top: .75rem; }
.footer-email a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); font-size: .95rem; }
.footer-email a:hover { border-bottom-color: #fff; }
.contact-container { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.contact-info h3 { margin-bottom: 1.5rem; color: #333; font-size: 1.5rem; }
.info-item { display: flex; align-items: flex-start; margin-bottom: 1.25rem; color: #555; font-size: .95rem; }
.info-item i { color: #0693e3; margin-right: .75rem; margin-top: .1rem; flex-shrink: 0; width: 20px; }
.contact-form { background: #fff; padding: 2.5rem; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,.08); border: 1px solid #eee; }
.form-group { margin-bottom: 1.5rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 1rem; border: 1px solid #ddd; border-radius: 8px; font-size: .95rem; font-family: 'Poppins', sans-serif; transition: .3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #0693e3; box-shadow: 0 0 0 3px rgba(6,147,227,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form .btn-primary { width: 100%; padding: 1.25rem; font-size: 1rem; font-weight: 600; letter-spacing: .5px; }
.form-success { text-align: center; padding: 2rem; }
.form-success i { font-size: 3rem; color: #0693e3; margin-bottom: 1rem; }
.form-success h3 { color: #333; margin-bottom: .5rem; }
.form-success p { color: #666; line-height: 1.6; }
.form-error { margin: 0 0 1rem; padding: .875rem 1rem; border-radius: 8px; background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.25); color: #b91c1c; font-size: .9rem; }

/* Texto alternativo según el tamaño de pantalla */
.solo-movil { display: none; }

/* Etiqueta solo para lectores de pantalla */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Honeypot antispam: fuera de pantalla, nunca visible ni tabulable */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Consentimiento RGPD */
.form-consent { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1.5rem; text-align: left; }
.form-consent input[type="checkbox"] { flex-shrink: 0; width: 20px; height: 20px; margin-top: .15rem; accent-color: #0693e3; cursor: pointer; }
.form-consent-text { font-size: .875rem; color: #555; line-height: 1.5; }
.form-consent-text label { cursor: pointer; }
.link-inline { background: none; border: none; padding: 0; margin-left: .35rem; font: inherit; color: #0693e3; text-decoration: underline; cursor: pointer; }
.link-inline:hover { color: #9b51e0; }
.form-legal-basic { margin-top: 1.25rem; font-size: .72rem; line-height: 1.5; color: #888; text-align: left; }
.form-legal-basic em { font-style: normal; font-weight: 600; color: #666; }
.form-legal-basic a { color: #0693e3; }

/* ===================== FOOTER ===================== */
.footer { background: linear-gradient(135deg, #000 0%, #0a0a0a 100%); color: #fff; padding: 60px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2.5rem; margin-bottom: 2rem; }
.footer-info h3 { margin-bottom: 1rem; font-size: 1.5rem; }
/* Mismo tamaño que tenía el h3 del pie: solo cambia la tipografía y el degradado */
.footer-brand { font-family: 'Orbitron', 'Exo', 'Eurostile', sans-serif; font-weight: 900; letter-spacing: .5px; white-space: nowrap; }
.footer-info p { color: #ccc; line-height: 1.6; font-size: .95rem; }
.footer-legal { text-align: center; font-size: .85rem; color: #888; }
.footer-legal a { color: #ccc; text-decoration: none; margin: 0 .5rem; transition: .3s; }
.footer-legal a:hover { color: #fff; }

/* ===================== FAQ ===================== */
.faq { padding: 100px 0; background: #f8f9fa; }
.faq .section-title { text-align: center; margin-bottom: 1rem; font-size: 2.2rem; color: #333; }
.faq .section-subtitle { text-align: center; margin-bottom: 3rem; font-size: 1.2rem; color: #666; max-width: 700px; margin: 0 auto 3rem; }
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.06); border: 1px solid #eee; overflow: hidden; }
.faq-item summary { 
  display: flex; justify-content: space-between; align-items: center; 
  padding: 1.5rem 2rem; cursor: pointer; list-style: none; 
  font-weight: 600; color: #333; font-size: 1.05rem; 
  transition: background .2s; 
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #fafafa; }
.faq-item summary i { color: #0693e3; transition: transform .3s; font-size: 1rem; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-answer { padding: 0 2rem 1.5rem; color: #555; line-height: 1.7; animation: faqFadeIn .3s ease; }
.faq-answer p { margin: 0; font-size: .95rem; }
@keyframes faqFadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
  .faq { padding: 60px 0; }
  .faq .section-title { font-size: 1.8rem; }
  .faq-item summary { padding: 1.25rem 1.5rem; font-size: 1rem; }
  .faq-answer { padding: 0 1.5rem 1.25rem; }
}
@media (max-width: 480px) {
  .faq-item summary { padding: 1rem 1.25rem; }
  .faq-answer { padding: 0 1.25rem 1rem; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.4rem; }
  .hero .subtitle { font-size: 1.15rem; }
  .problem-solution .container, .ps-content, .servicios-grid { grid-template-columns: 1fr; text-align: center; }
  .ps-image { order: -1; margin-bottom: 2rem; }
  .problem-list li { justify-content: center; }
}

/* El texto largo del botón de cabecera necesita unos 270px y la cabecera no se
   los puede dar hasta ~900px de ancho. Por debajo de eso: texto corto, fuera el
   nombre de empresa, y el botón nunca parte el texto en varias líneas. */
@media (max-width: 900px) {
  .solo-escritorio { display: none; }
  .solo-movil { display: inline; }
  .header .btn-primary { white-space: nowrap; }
}

@media (max-width: 768px) {
  .header { padding: 0.75rem 0; }
  .header .container { 
    flex-direction: row;           /* horizontal */
    justify-content: space-between; /* logo izq, botón dcha */
    align-items: center; 
    text-align: left; 
    gap: 1rem; 
  }
  .logo img { height: 44px; max-width: 140px; }  /* más pequeño */
  .header .btn-primary {
    width: auto;                    /* no full-width */
    max-width: none;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    min-height: 40px;
    white-space: nowrap;
  }
  .solo-escritorio { display: none; }
  .solo-movil { display: inline; }
  .header-actions { width: auto; margin-top: 0; }
  .hero { padding: 80px 0 60px; min-height: auto; }
  .hero h1 { font-size: 2rem; }
  .hero .subtitle { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn-primary, .hero-buttons .btn-secondary { width: 100%; max-width: 300px; justify-content: center; }
  .servicios, .problem-solution, .how-it-works, .benefits, .about, .cta, .contact { padding: 60px 0; }
  .about-content { grid-template-columns: 1fr; gap: 2rem; text-align: left; }
  .about-photo { max-width: 260px; margin: 0 auto; }
  .about-text h2 { font-size: 1.8rem; }
  .about-lead { font-size: 1.05rem; }
  /* En móvil el botón se reduce a icono, para no tapar contenido */
  .whatsapp-float { right: 16px; bottom: 16px; padding: 0; width: 56px; height: 56px; justify-content: center; }
  .whatsapp-label { display: none; }
  .section-title { font-size: 1.8rem; }
  .section-subtitle { font-size: 1rem; margin-bottom: 2rem; }
  .ps-text h2 { font-size: 1.8rem; }
  .steps-container { grid-template-columns: 1fr; }
  .contact-container { grid-template-columns: 1fr; gap: 2rem; }
  .contact-info { order: -1; text-align: center; }
  .info-item { justify-content: center; }
  .contact-form { padding: 1.5rem; }
  .btn-primary, .btn-secondary { padding: 1rem 1.5rem; font-size: 1rem; min-height: 48px; }
  img { max-width: 100%; height: auto; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem; }
  .hero .subtitle { font-size: .95rem; }
  .logo img { height: 48px; }
  .section-title { font-size: 1.6rem; }
  .btn-primary, .btn-secondary { padding: .875rem 1.25rem; font-size: .9rem; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .footer-legal { flex-direction: column; gap: 1rem; }
  .contact { padding: 60px 0; }
  .contact-form { padding: 1rem; }
}

/* ===================== FOOTER LINK BUTTONS ===================== */
.footer-link-btn {
  background: none; border: none; color: #ccc; font: inherit;
  cursor: pointer; padding: 0; text-decoration: underline;
  transition: color .2s;
}
.footer-link-btn:hover { color: #fff; }
.footer-separator { margin: 0 0.75rem; color: #666; }

/* ===================== MODALS ===================== */
.modal {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem; overflow-y: auto;
}
.modal[open], .modal.is-open { display: flex; }
.modal-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.6);
  backdrop-filter: blur(2px); animation: fadeIn .2s ease;
}
.modal-container {
  position: relative; background: #fff; border-radius: 16px;
  max-width: 720px; width: 100%; max-height: 90vh;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,.2); animation: slideUp .3s ease;
}
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 2rem; border-bottom: 1px solid #eee;
  position: sticky; top: 0; background: #fff; border-radius: 16px 16px 0 0;
  z-index: 1;
}
.modal-header h2 { margin: 0; font-size: 1.5rem; color: #333; }
.modal-close {
  background: none; border: none; font-size: 2rem; line-height: 1;
  color: #999; cursor: pointer; padding: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background .2s, color .2s;
}
.modal-close:hover { background: #f5f5f5; color: #333; }
.modal-body {
  padding: 2rem; overflow-y: auto; flex: 1;
  color: #444; line-height: 1.7; font-size: .95rem;
}
.modal-body h3 { margin: 1.5rem 0 0.75rem; color: #333; font-size: 1.1rem; }
.modal-body h3:first-child { margin-top: 0; }
.modal-body p { margin: 0 0 1rem; }
.modal-body ul { margin: 0 0 1rem 1.25rem; }
.modal-body li { margin-bottom: 0.5rem; }
.modal-body a { color: #0693e3; text-decoration: underline; }
.modal-body a:hover { color: #9b51e0; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
  .modal-container { border-radius: 12px; max-height: 95vh; }
  .modal-header { padding: 1.25rem 1.5rem; }
  .modal-header h2 { font-size: 1.25rem; }
  .modal-body { padding: 1.5rem; }
  .footer-legal { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
  .footer-separator { display: none; }
}
@media (max-width: 480px) {
  .modal { padding: 1rem; align-items: flex-start; }
  .modal-container { border-radius: 0 0 12px 12px; max-height: 100vh; height: 100%; }
  .modal-header { position: sticky; top: 0; border-radius: 0; }
  .modal-body { padding: 1.25rem; font-size: .9rem; }
}
