/* =========================================================
   INICIO ARCHIVO: css/styles.css
   Función: estilos principales compartidos por toda la web.
   Aquí vive la identidad visual base de Aigopura:
   colores, tipografía, botones, tarjetas, secciones y formularios.
   ========================================================= */

/* =========================================================
   VARIABLES GLOBALES DE DISEÑO
   Cambiando estos valores se modifica toda la estética.
   ========================================================= */
:root{
  --color-bg:#F8FAFC;
  --color-bg-soft:#F1F5F9;
  --color-white:#FFFFFF;
  --color-dark:#0F172A;
  --color-text:#334155;
  --color-muted:#64748B;
  --color-border:#E2E8F0;
  --color-turquoise:#00E5FF;
  --color-green:#36D399;
  --shadow-soft:0 20px 55px rgba(15,23,42,.08);
  --shadow-turquoise:0 22px 65px rgba(0,229,255,.24);
  --radius-xl:28px;
  --radius-lg:20px;
  --radius-md:14px;
  --container:1180px;
}
/* =========================================================
   FIN VARIABLES GLOBALES DE DISEÑO
   ========================================================= */

/* =========================================================
   RESET BÁSICO
   Evita comportamientos diferentes entre navegadores.
   ========================================================= */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Inter',Arial,sans-serif;background:var(--color-bg);color:var(--color-text);line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
/* =========================================================
   FIN RESET BÁSICO
   ========================================================= */

/* =========================================================
   CONTENEDOR GENERAL
   Limita el ancho del contenido para lectura premium.
   ========================================================= */
.container{width:min(var(--container),calc(100% - 40px));margin:0 auto}
.section{padding:96px 0}
/* =========================================================
   FIN CONTENEDOR GENERAL
   ========================================================= */

/* =========================================================
   ACCESIBILIDAD
   skip-link aparece al navegar con teclado.
   ========================================================= */
.skip-link{position:absolute;left:-999px;top:16px;background:var(--color-white);color:var(--color-dark);padding:12px 16px;border-radius:12px;z-index:9999;font-weight:800;box-shadow:var(--shadow-soft)}
.skip-link:focus{left:16px}
:focus-visible{outline:3px solid rgba(0,229,255,.55);outline-offset:3px}
/* =========================================================
   FIN ACCESIBILIDAD
   ========================================================= */

/* =========================================================
   HEADER / CABECERA
   Cabecera fija visualmente limpia con navegación principal.
   ========================================================= */
.site-header{position:sticky;top:0;z-index:1000;background:rgba(248,250,252,.82);backdrop-filter:blur(18px);border-bottom:1px solid rgba(226,232,240,.72)}
.header-grid{height:86px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px}
.brand{display:flex;align-items:center;gap:12px;font-weight:900;color:var(--color-dark);letter-spacing:-.03em}
.brand-logo{max-height:52px;width:auto}
.brand-text{display:none;font-size:24px;line-height:1}.brand-text small{display:block;font-size:12px;letter-spacing:.35em;color:var(--color-muted)}
.main-nav{display:flex;align-items:center;justify-content:center;gap:24px;font-size:14px;font-weight:700;color:var(--color-dark)}
.main-nav a{opacity:.82;transition:opacity .2s ease,color .2s ease}.main-nav a:hover,.main-nav a.active{opacity:1;color:#009DB0}
.header-cta{background:var(--color-dark);color:var(--color-white);padding:12px 18px;border-radius:14px;font-weight:800;box-shadow:0 12px 28px rgba(15,23,42,.20)}
.menu-toggle{display:none;background:none;border:0;padding:8px;cursor:pointer}.menu-toggle span{display:block;width:26px;height:2px;background:var(--color-dark);margin:6px 0;border-radius:2px}
/* =========================================================
   FIN HEADER / CABECERA
   ========================================================= */

/* =========================================================
   BOTONES
   btn-primary: acción principal.
   btn-secondary: acción secundaria clara.
   ========================================================= */
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:16px;padding:15px 22px;font-weight:900;min-height:52px;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:linear-gradient(135deg,var(--color-dark),#133B5C 55%,#00CFEA);color:var(--color-white);box-shadow:0 18px 35px rgba(15,23,42,.22)}
.btn-secondary{background:var(--color-white);color:var(--color-dark);border:1px solid var(--color-border);box-shadow:var(--shadow-soft)}
/* =========================================================
   FIN BOTONES
   ========================================================= */

/* =========================================================
   HERO SECTION
   Primera sección de impacto de la HOME.
   ========================================================= */
.hero-section{position:relative;overflow:hidden;padding:98px 0 90px;background:radial-gradient(circle at 78% 22%,rgba(0,229,255,.18),transparent 34%),linear-gradient(180deg,#fff,var(--color-bg))}
.hero-grid{display:grid;grid-template-columns:1.03fr .97fr;gap:64px;align-items:center}
.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-weight:900;font-size:12px;color:#008FA3;margin:0 0 14px}.eyebrow.dark{color:var(--color-turquoise)}
h1{font-size:clamp(42px,6vw,78px);line-height:.98;letter-spacing:-.065em;color:var(--color-dark);margin:0 0 24px}
.hero-subtitle{font-size:19px;max-width:690px;color:var(--color-text);margin:0 0 30px}.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:24px}
.trust-pills{display:flex;flex-wrap:wrap;gap:10px}.trust-pills span{background:rgba(255,255,255,.75);border:1px solid var(--color-border);padding:9px 12px;border-radius:999px;font-size:13px;font-weight:800;color:var(--color-dark)}
.hero-visual{position:relative;min-height:520px;border-radius:var(--radius-xl);background:rgba(255,255,255,.55);box-shadow:var(--shadow-soft);border:1px solid rgba(255,255,255,.8);display:flex;align-items:center;justify-content:center;overflow:hidden}
.water-drop{position:absolute;width:180px;height:180px;border-radius:56% 44% 61% 39%/60% 48% 52% 40%;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(0,229,255,.64),rgba(54,211,153,.72));filter:drop-shadow(0 28px 38px rgba(0,229,255,.25));transform:rotate(45deg);top:58px;left:56px;opacity:.9}
.hero-product{position:absolute;filter:drop-shadow(0 32px 42px rgba(15,23,42,.18))}.hero-product-main{max-width:340px;right:62px;bottom:80px}.hero-product-secondary{max-width:230px;left:70px;bottom:58px}
/* =========================================================
   FIN HERO SECTION
   ========================================================= */

/* =========================================================
   AVAL CORPORATIVO
   Franja breve de autoridad y confianza.
   ========================================================= */
.authority-strip{background:rgba(15,23,42,.96);color:var(--color-white);padding:22px 0}.authority-strip p{margin:0;text-align:center;font-size:16px}.authority-strip strong{color:var(--color-turquoise)}
/* =========================================================
   FIN AVAL CORPORATIVO
   ========================================================= */

/* =========================================================
   CABECERAS DE SECCIÓN
   Reutilizable para soluciones, productos, etc.
   ========================================================= */
.section-heading{text-align:center;max-width:850px;margin:0 auto 46px}.section-heading h2{font-size:clamp(32px,4.5vw,54px);line-height:1.05;letter-spacing:-.05em;color:var(--color-dark);margin:0 0 18px}.section-heading p{font-size:18px;color:var(--color-muted);margin:0}
/* =========================================================
   FIN CABECERAS DE SECCIÓN
   ========================================================= */

/* =========================================================
   TARJETAS DE SOLUCIONES
   Base de las 5 tarjetas interactivas de la HOME.
   ========================================================= */
.solution-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.solution-card{background:var(--color-white);border:1px solid rgba(226,232,240,.85);border-radius:var(--radius-lg);padding:22px;box-shadow:var(--shadow-soft);min-height:360px;display:flex;flex-direction:column;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.solution-card:hover{transform:translateY(-10px);box-shadow:var(--shadow-turquoise);border-color:rgba(0,229,255,.48)}
.solution-card img{height:120px;object-fit:contain;margin:0 auto 18px}.solution-icon{font-size:25px;color:#009DB0}.solution-card h3{font-size:20px;line-height:1.16;color:var(--color-dark);margin:10px 0}.solution-card p{font-size:14px;color:var(--color-muted);margin:0 0 18px}.solution-card a{margin-top:auto;color:#008FA3;font-weight:900}
/* =========================================================
   FIN TARJETAS DE SOLUCIONES
   ========================================================= */

/* =========================================================
   SECCIÓN MITO
   Bloque oscuro para contraste y ruptura de patrón visual.
   ========================================================= */
.myth-section{background:radial-gradient(circle at 80% 20%,rgba(0,229,255,.20),transparent 32%),var(--color-dark);color:var(--color-white);padding:92px 0}.myth-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:46px;align-items:center}.myth-copy h2{font-size:clamp(32px,4.2vw,56px);line-height:1.06;letter-spacing:-.05em;margin:0 0 22px;color:var(--color-white)}.myth-copy p{font-size:17px;color:#CBD5E1}.myth-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:var(--radius-xl);padding:38px;box-shadow:0 20px 60px rgba(0,0,0,.20)}.myth-card strong{display:block;font-size:34px;line-height:1.05;color:var(--color-turquoise);margin-bottom:14px}.myth-card span{font-size:17px;color:#E2E8F0}
/* =========================================================
   FIN SECCIÓN MITO
   ========================================================= */

/* =========================================================
   CALCULADORA
   Estilo visual de calculadora hogar/horeca.
   ========================================================= */
.calculator-section{background:linear-gradient(180deg,var(--color-bg),#fff)}.calculator-shell{background:var(--color-white);border:1px solid var(--color-border);border-radius:var(--radius-xl);box-shadow:var(--shadow-soft);overflow:hidden}.calculator-head{background:linear-gradient(135deg,var(--color-dark),#12324A);color:var(--color-white);padding:42px}.calculator-head h2{font-size:clamp(30px,4vw,52px);line-height:1.05;letter-spacing:-.05em;margin:0 0 14px;color:var(--color-white)}.calculator-head p{color:#D8F7FB;margin:0}.calculator-body{padding:38px}.calc-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.calc-field.full{margin-bottom:18px}.calc-field label{display:block;font-weight:900;color:var(--color-dark);margin-bottom:8px}.calc-field input,.calc-field select,.form-row input,.form-row select,.form-row textarea{width:100%;border:1px solid var(--color-border);border-radius:14px;padding:14px 15px;background:#fff;color:var(--color-dark);transition:border-color .2s ease,box-shadow .2s ease}.calc-field input:focus,.calc-field select:focus,.form-row input:focus,.form-row select:focus,.form-row textarea:focus{border-color:var(--color-turquoise);box-shadow:0 0 0 4px rgba(0,229,255,.18);outline:none}.calc-field small{display:block;color:var(--color-muted);margin-top:6px;font-size:13px}.calc-panel{display:none}.calc-panel.is-active{display:block}.calc-results{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:28px}.calc-result{background:var(--color-bg-soft);border:1px solid var(--color-border);border-radius:18px;padding:18px;text-align:center}.calc-result span{display:block;font-size:12px;font-weight:900;color:var(--color-muted);text-transform:uppercase}.calc-result strong{display:block;font-size:21px;color:var(--color-dark);margin-top:7px}.calc-saving{background:rgba(54,211,153,.12);border-color:rgba(54,211,153,.34)}.calc-cta{margin-top:28px;background:linear-gradient(135deg,rgba(0,229,255,.13),rgba(54,211,153,.12));border:1px solid rgba(0,229,255,.24);border-radius:20px;padding:22px;display:flex;gap:18px;align-items:center;justify-content:space-between}.calc-cta p{margin:0;color:var(--color-dark)}
/* =========================================================
   FIN CALCULADORA
   ========================================================= */

/* =========================================================
   PRODUCTOS DESTACADOS
   Muestra rápida de equipos reales en la HOME.
   ========================================================= */
.products-section{background:#fff}.product-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-strip figure{background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:26px;margin:0;text-align:center;box-shadow:var(--shadow-soft)}.product-strip img{height:210px;object-fit:contain;margin:0 auto 16px}.product-strip figcaption{font-weight:900;color:var(--color-dark)}
/* =========================================================
   FIN PRODUCTOS DESTACADOS
   ========================================================= */

/* =========================================================
   FORMULARIO DE AUDITORÍA
   Captación principal de leads.
   ========================================================= */
.form-section{background:radial-gradient(circle at 20% 10%,rgba(0,229,255,.18),transparent 35%),var(--color-bg)}.form-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:46px;align-items:start}.form-copy h2{font-size:clamp(32px,4vw,54px);line-height:1.05;letter-spacing:-.05em;color:var(--color-dark);margin:0 0 18px}.check-list{padding:0;margin:22px 0 0;list-style:none}.check-list li{margin:10px 0;padding-left:28px;position:relative;font-weight:700}.check-list li:before{content:'✓';position:absolute;left:0;color:#009DB0;font-weight:900}.lead-form{background:var(--color-white);border:1px solid var(--color-border);border-radius:var(--radius-xl);padding:32px;box-shadow:var(--shadow-soft)}.form-row{margin-bottom:16px}.form-row label{display:block;font-weight:900;color:var(--color-dark);margin-bottom:8px}.form-note,.form-status{font-size:13px;color:var(--color-muted)}.form-status{font-weight:800;color:#008FA3}
/* =========================================================
   FIN FORMULARIO DE AUDITORÍA
   ========================================================= */

/* =========================================================
   FOOTER
   Pie de página con enlaces, contacto y transparencia.
   ========================================================= */
.site-footer{background:var(--color-dark);color:#CBD5E1}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:34px;padding:54px 0}.site-footer h3,.site-footer h4{color:#fff;margin:0 0 14px}.site-footer p{margin:0 0 10px}.site-footer a{display:block;color:#CBD5E1;margin:7px 0}.site-footer a:hover{color:var(--color-turquoise)}.footer-bottom{border-top:1px solid rgba(255,255,255,.10);padding:18px 0}.footer-bottom p{margin:0;font-size:13px}
/* =========================================================
   FIN FOOTER
   ========================================================= */

/* =========================================================
   WHATSAPP FLOTANTE
   Botón fijo para contacto directo.
   ========================================================= */
.floating-whatsapp{position:fixed;right:18px;bottom:18px;z-index:999;background:#25D366;color:#fff;padding:13px 18px;border-radius:999px;font-weight:900;box-shadow:0 14px 30px rgba(0,0,0,.22)}
/* =========================================================
   FIN WHATSAPP FLOTANTE
   ========================================================= */

/* =========================================================
   FIN ARCHIVO: css/styles.css
   ========================================================= */


/* =========================================================
   INICIO BLOQUE CSS: MAPA LOCAL PREMIUM AIGOPURA
   Archivo afectado: css/styles.css
   Función del bloque:
   - Diseña la sección del mapa bajo el footer.
   - Mantiene estética clara premium con tarjeta flotante.
   - Evita que el iframe parezca un bloque genérico sin marca.
   - Refuerza SEO local y confianza visual.
   ========================================================= */
.map-section{
  background:
    radial-gradient(circle at 12% 18%, rgba(0,229,255,.12), transparent 32%),
    linear-gradient(180deg, #0F172A 0%, #111827 100%);
  padding:76px 0;
  color:#ffffff;
}

.map-grid{
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
  gap:28px;
  align-items:stretch;
}

.map-info-card,
.map-frame-card{
  border:1px solid rgba(255,255,255,.12);
  border-radius:28px;
  background:rgba(255,255,255,.08);
  box-shadow:0 28px 80px rgba(0,0,0,.24);
  overflow:hidden;
}

.map-info-card{
  padding:34px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.map-info-card h2{
  color:#ffffff;
  font-size:clamp(2rem, 3vw, 3.2rem);
  line-height:1.08;
  margin:0 0 18px;
}

.map-info-card p{
  color:rgba(255,255,255,.82);
  font-size:1.05rem;
  line-height:1.75;
}

.map-contact-list{
  list-style:none;
  padding:0;
  margin:22px 0 0;
  display:grid;
  gap:12px;
}

.map-contact-list li{
  color:rgba(255,255,255,.84);
  line-height:1.6;
  padding-left:18px;
  position:relative;
}

.map-contact-list li::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#00E5FF;
  box-shadow:0 0 18px rgba(0,229,255,.85);
  position:absolute;
  left:0;
  top:.7em;
}

.map-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.map-frame-card{
  min-height:430px;
  background:#ffffff;
  padding:10px;
}

.map-frame-card iframe{
  display:block;
  width:100%;
  height:430px;
  border:0;
  border-radius:22px;
  filter:saturate(.92) contrast(1.02);
}
/* =========================================================
   FIN BLOQUE CSS: MAPA LOCAL PREMIUM AIGOPURA
   ========================================================= */


/* =========================================================
   INICIO BLOQUE COOKIE BANNER AIGOPURA
   Función:
   - Muestra aviso de cookies premium en la parte inferior.
   - Mantiene estética azul noche + turquesa.
   - Es responsive y no bloquea la lectura completa en móvil.
   ========================================================= */
.cookie-banner-aigopura{position:fixed;left:18px;right:18px;bottom:18px;z-index:10000;display:none;align-items:flex-start;justify-content:space-between;gap:22px;max-width:1180px;margin:0 auto;padding:20px 22px;border-radius:24px;background:rgba(6,17,31,.92);color:#fff;border:1px solid rgba(0,229,255,.28);box-shadow:0 24px 80px rgba(0,0,0,.34);backdrop-filter:blur(16px)}
.cookie-banner-aigopura.is-visible{display:flex}.cookie-banner-aigopura strong{display:block;color:#fff;font-size:18px;margin-bottom:6px}.cookie-banner-aigopura p{margin:0;color:rgba(255,255,255,.78);line-height:1.6;font-size:14px}.cookie-banner-aigopura a{color:#00E5FF;text-decoration:underline;text-underline-offset:3px}.cookie-actions-aigopura{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;min-width:340px}.cookie-actions-aigopura button{border:1px solid rgba(255,255,255,.18);border-radius:999px;min-height:42px;padding:0 16px;font-weight:900;cursor:pointer}.cookie-accept{background:linear-gradient(135deg,#0F172A,#00A8C8);color:#fff}.cookie-reject{background:rgba(255,255,255,.08);color:#fff}.cookie-config{background:#fff;color:#0F172A}.cookie-preferences-aigopura{display:none;margin-top:14px;padding:14px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}.cookie-preferences-aigopura.is-open{display:block}.cookie-preferences-aigopura label{display:flex;gap:10px;align-items:flex-start;color:#fff;font-size:14px;line-height:1.45;margin:8px 0}.cookie-preferences-aigopura input{margin-top:3px}.privacy-consent{margin-top:10px}.privacy-consent-label{display:flex!important;gap:12px;align-items:flex-start;font-size:14px;line-height:1.55;color:#475569;font-weight:600!important}.privacy-consent-label input{width:18px!important;height:18px!important;min-width:18px;margin-top:2px;accent-color:#00E5FF}.privacy-consent-label a{color:#0F172A;font-weight:900;text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){.cookie-banner-aigopura{left:10px;right:10px;bottom:10px;flex-direction:column;padding:18px;border-radius:20px}.cookie-actions-aigopura{width:100%;min-width:0;display:grid;grid-template-columns:1fr}.cookie-actions-aigopura button{width:100%}}
/* =========================================================
   FIN BLOQUE COOKIE BANNER AIGOPURA
   ========================================================= */


/* =========================================================
   INICIO ENLACES LEGALES FOOTER AIGOPURA
   Función:
   - Muestra Aviso Legal, Política de Privacidad y Política de Cookies
     en la franja inferior del footer de todas las URLs.
   - Mantiene los enlaces pequeños, discretos y visibles para cumplir
     criterios legales, SEO, confianza y campañas publicitarias.
   ========================================================= */
.footer-bottom-grid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.footer-legal-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}
.footer-legal-links a,
.footer-top-link{
  display:inline-block;
  margin:0;
  color:#CBD5E1;
  font-size:13px;
  line-height:1.4;
  text-decoration:none;
}
.footer-legal-links a:hover,
.footer-legal-links a:focus,
.footer-top-link:hover,
.footer-top-link:focus{
  color:var(--color-turquoise);
}
@media(max-width:767px){
  .footer-bottom-grid{
    flex-direction:column;
    align-items:flex-start;
  }
  .footer-legal-links{
    justify-content:flex-start;
  }
}
/* =========================================================
   FIN ENLACES LEGALES FOOTER AIGOPURA
   ========================================================= */



/* =========================================================
   INICIO CORRECCIÓN GLOBAL FOOTER LEGAL V4 - NEXO
   Motivo:
   - Unifica el pie legal en todas las URLs.
   - Evita que Aviso legal, Privacidad y Cookies aparezcan en columna
     en escritorio.
   - Fuerza una presentación horizontal, compacta y premium.
   ========================================================= */
.footer-bottom .container.footer-bottom-grid,
.site-footer .footer-bottom .container.footer-bottom-grid,
section.footer-map-panorama .footer-bottom .container.footer-bottom-grid{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  flex-wrap:wrap !important;
}

.footer-bottom-grid p{
  margin:0 !important;
  font-size:13px !important;
  line-height:1.5 !important;
}

.footer-bottom-grid .footer-legal-links{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  gap:14px !important;
  flex-wrap:wrap !important;
}

.footer-bottom-grid .footer-legal-links a,
.footer-bottom-grid .footer-top-link{
  display:inline-flex !important;
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
  color:#CBD5E1 !important;
  font-size:13px !important;
  line-height:1.5 !important;
  text-decoration:none !important;
}

.footer-bottom-grid .footer-legal-links a:hover,
.footer-bottom-grid .footer-legal-links a:focus,
.footer-bottom-grid .footer-top-link:hover,
.footer-bottom-grid .footer-top-link:focus{
  color:#00E5FF !important;
}

@media(max-width:767px){
  .footer-bottom .container.footer-bottom-grid,
  .site-footer .footer-bottom .container.footer-bottom-grid,
  section.footer-map-panorama .footer-bottom .container.footer-bottom-grid{
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
  }

  .footer-bottom-grid .footer-legal-links{
    justify-content:flex-start !important;
  }
}
/* =========================================================
   FIN CORRECCIÓN GLOBAL FOOTER LEGAL V4 - NEXO
   ========================================================= */



/* =========================================================
   INICIO CORRECCIÓN GLOBAL VOLVER ARRIBA V5 - NEXO
   Función:
   - Activa scroll suave en toda la web.
   - Crea un botón flotante premium para volver arriba.
   - Mantiene coherencia visual Aigopura: azul noche, turquesa y glass.
   ========================================================= */
html{
  scroll-behavior:smooth;
}

.back-to-top-floating{
  position:fixed;
  right:24px;
  bottom:104px;
  z-index:999;
  width:52px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(15,23,42,.88);
  color:#ffffff;
  text-decoration:none;
  font-size:24px;
  font-weight:900;
  line-height:1;
  border:1px solid rgba(0,229,255,.38);
  box-shadow:0 18px 44px rgba(15,23,42,.24), 0 0 0 rgba(0,229,255,0);
  backdrop-filter:blur(12px);
  opacity:0;
  pointer-events:none;
  transform:translateY(14px);
  transition:opacity .24s ease, transform .24s ease, box-shadow .24s ease, background .24s ease, border-color .24s ease;
}

.back-to-top-floating.is-visible{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.back-to-top-floating:hover,
.back-to-top-floating:focus{
  background:linear-gradient(135deg,#0F172A,#00A8C8);
  color:#ffffff;
  border-color:rgba(0,229,255,.95);
  box-shadow:0 20px 52px rgba(0,229,255,.20), 0 18px 44px rgba(15,23,42,.26);
  outline:none;
}

@media(max-width:767px){
  .back-to-top-floating{
    right:16px;
    bottom:92px;
    width:46px;
    height:46px;
    font-size:21px;
  }
}
/* =========================================================
   FIN CORRECCIÓN GLOBAL VOLVER ARRIBA V5 - NEXO
   ========================================================= */
