/* =====================
   RESET + BASE
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

/* =====================
   VARIABLES
===================== */
:root {
  --bg-main: #f6f8fc;
  --bg-section: #ffffff;
  --bg-accent: #eef1fb;

  --blue-light: #6fa8ff;
  --purple-light: #b69cff;

  --gradient-main: linear-gradient(135deg, #4690ff, #a788fd);

  --text-main: #1f2937;
  --text-soft: #6b7280;
  --text-white: #ffffff;

  --border-soft: #e5e7eb;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);

  --cta-bg: #6fa8ff;
  --cta-hover: #5b95f5;

  --max-width: 1150px;
}

/* =====================
   GLOBAL ELEMENTS
===================== */
section {
  padding: 80px 20px;
}

h1, h2, h3 {
  line-height: 1.25;
}

h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

p {
  color: var(--text-soft);
}

ul {
  list-style: none;
}

.btn-cta {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 28px;
  background-color: var(--cta-bg);
  color: var(--text-white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-cta:hover {
  background-color: var(--cta-hover);
  transform: translateY(-2px);
}

/* ---------- NAV ---------- */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 60;
  color: var(--text-main);
  padding: 18px 20px;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

/* LOGO CON IMAGEN */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 90px;      /* ajusta aquí si lo quieres más grande */
  width: auto;
  display: block;
}


/* toggle button (mobile) */
.nav-toggle {
  display: none;
}

/* hide default focus outline but keep accessible outline */
.nav-toggle:focus {
  outline: 2px solid rgba(255,255,255,0.12);
}

/* =========================
   NAV LINKS – CLEAN + FIXED
   ========================= */

/* NAV LIST */
.nav-links {
  display: none; /* mobile first */
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;

  display: flex;
  align-items: baseline; /* 🔴 CLAVE: alinea texto y CTA */
}

/* ITEMS */
.nav-links li {
  display: flex;
  align-items: baseline;
  height: auto;
  margin-top: -20px;
}

/* LINKS NORMALES */
.nav-links li a {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s ease;
  line-height: 1.2; /* 🔴 MISMA BASELINE */
}

/* HOVER LINE */
.nav-links li a:not(.btn-cta)::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  background: var(--blue-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links li a:not(.btn-cta):hover::after {
  transform: scaleX(1);
}

/* CTA CONTENEDOR */
.nav-cta {
  display: flex;
  align-items: baseline;
}

/* CTA BUTTON */
.btn-cta.small {
  display: inline-flex;
  align-items: baseline; /* 🔴 */
  justify-content: center;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2; /* 🔴 */
  color: var(--text-white);
  background: var(--gradient-main);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(111, 168, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  vertical-align: baseline;
  margin-left: 10px;
}

/* CTA HOVER */
.btn-cta.small:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(111, 168, 255, 0.45);
  filter: brightness(1.05);
}

/* ---------- HERO: alinear texto a la izquierda ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url("../images/hero.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* important: left align content */
}

/* ajustar hero-content para quedar pegado a la izquierda y con buen padding */
.hero-content {
  position: relative;
  z-index: 20;
  max-width: 680px;
  padding: 280px 20px;
  margin-left: clamp(18px, 6vw, 90px); /* responsive left offset */
  margin-top: 20px;
  text-align: left;
  color: var(--text-main);
}

/* texto hero más definido (más reducido) */
/* texto hero */
.hero h1 {
  font-size: clamp(1.3rem, 3.2vw, 2.7rem);
  max-width: 680px;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

/* gradiente solo en parte del texto */
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}



.hero p {
  margin-top: 12px;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  color: var(--text-soft);
  max-width: 600px;
}

/* mantener el CTA visible y separado */
.hero .btn-cta {
  font-size: 18px;
  margin-top: 20px;
}

/* DESKTOP – ajusta margen */
@media (min-width: 1024px) {
  .hero-content {
    margin-left: 100px;
    margin-top: 130px;
    padding: 0;
  }
}

/* TABLET */
@media (min-width: 641px) and (max-width: 1023px) {
  .hero {
    min-height: 85vh;
    justify-content: flex-start;
    align-items: center;
  }
  .hero-content {

    margin-left: 40px;
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .hero {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 80vh;
    background-position: center top;
  }

  .hero-content {
    margin-left: 0;
    padding: 60px 20px 20px;
    text-align: center;
    margin-top: 140px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .hero .btn-cta {
    width: 100%;
    max-width: 280px;
    font-size: 1rem;
  }
}

/* =====================
   TESTIMONIOS MINIMAL
===================== */
.social-proof {
  padding: 80px 20px;
  text-align: center;
}

.section-intro {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 40px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
}

.testimonial-card img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.stars {
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: rgb(233, 233, 19);
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-soft);
}

/* =====================
   PROBLEMS – ESTRUCTURA MEJORADA
===================== */
.problems {
  background-color: var(--bg-accent);
  padding: 90px 20px;
}

.problems-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}

/* imagen */
.problems-image img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
}

/* contenido */
.problems-content h2 {
  margin-bottom: 36px;
  font-weight: 600;
  line-height: 1.25;
  max-width: 520px;
}

/* lista */
.problems-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* item */
.problem-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border-left: 3px solid rgba(111, 168, 255, 0.45);
  position: relative;
  transition: background 0.25s ease, transform 0.25s ease;
}

.problem-item:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(6px);
}

/* icon container */
.problem-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle at top left,
    rgba(111, 168, 255, 0.35),
    rgba(111, 168, 255, 0.1)
  );
}

/* icon */
.problem-icon i {
  font-size: 1.1rem;
  color: var(--text-main);
}

/* texto */
.problem-item p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-main);
}

/* responsive */
@media (max-width: 768px) {
  .problem-item {
    grid-template-columns: 40px 1fr;
    padding: 18px;
  }

  .problem-item:hover {
    transform: none;
  }
}

/* =====================
   SOLUTION
===================== */
.solution {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 20px;
}

/* Texto */
.solution-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue-light);
  font-weight: 600;
}

.solution-text h2 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

.solution-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

/* Lista */
.solution-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 20px;
}

.solution-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.solution-list i {
  font-size: 1.4rem;
  color: var(--blue-light);
  margin-top: 4px;
}

.solution-list strong {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.solution-list span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Imagen */
.solution-image {
  position: relative;
}

.solution-image img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.solution-image {
  position: relative;
}

.doctor-bar {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  border-radius: 30px;
  border: #b69cff solid 1px;

  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);

  display: flex;
  justify-content: center;
  gap: 8px;

  padding: 14px 20px;

  font-size: 0.95rem;
  color: #0a1428;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
}

.doctor-bar strong {
  font-weight: 700;
}

.doctor-bar span {
  font-weight: 500;
  opacity: 0.85;
}


/* Responsive */
@media (max-width: 768px) {
  .solution {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .solution-text h2 {
    font-size: 1.8rem;
  }
}
/* =====================
   OFFER – NUEVO PATRÓN
===================== */
.offer {
  background: var(--bg-main);
  padding: 70px 20px;
}

.offer-layout {
  max-width: var(--max-width);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
}

/* Columna izquierda */
.offer-sticky {
  position: sticky;
  top: 120px;

  background: var(--bg-section);
  padding: 36px 28px;
  border-radius: 18px;

  box-shadow: var(--shadow-soft);
}

.offer-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.offer-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.offer-price span {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.offer-mini {
  margin: 16px 0 24px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* CTA */
.btn-cta-offer {
  width: 100%;
  padding: 14px;
  background: var(--cta-bg);
  color: var(--text-white);
  font-weight: 600;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  display: block;
}

.btn-cta-offer{
  background-color: var(--cta-hover);
  transform: translateY(-2px);
}

.offer-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-soft);
  text-align: center;
}

/* Contexto */
.offer-context h2 {
  margin-bottom: 20px;
}

.offer-context p {
  max-width: 560px;
  color: var(--text-soft);
  margin-bottom: 32px;
}

.offer-points {
  display: grid;
  gap: 18px;
}

.offer-points div {
  padding-left: 22px;
  position: relative;
  color: var(--text-main);
}

.offer-points div::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--blue-light);
}
/* =====================
   CONSEQUENCES
===================== */
.consequences {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 20px;
}

.consequences-header {
  max-width: 680px;
  margin-bottom: 56px;
}

.consequences-header h2 {
  margin-bottom: 16px;
  color: var(--text-main);
}

.consequences-header p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* Grid */
.consequences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

/* Card */
.consequence-card {
  background: var(--bg-section);
  padding: 32px 26px;
  border-radius: 18px;

  box-shadow: var(--shadow-soft);
}

.consequence-card i {
  font-size: 1.6rem;
  color: var(--blue-light);
  margin-bottom: 14px;
}

.consequence-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: var(--text-main);
}

.consequence-card p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* Highlight final */
.highlight {
  margin-top: 48px;
  font-weight: 600;
  color: var(--text-main);
  max-width: 520px;
}

/* =====================
   FAQ
===================== */
.faq {
  background: var(--bg-section);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
  border-radius: 20px;
}

.faq h2 {
  margin-bottom: 48px;
  color: var(--text-main);
  text-align: center;
}

/* Lista */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

/* Item */
.faq-item {
  border-bottom: 1px solid var(--border-soft);
  padding: 24px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

/* Pregunta */
.faq-item h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: default;
}

.faq-item h3 i {
  font-size: 0.9rem;
  color: var(--blue-light);
}

/* Respuesta */
.faq-item p {
  margin-top: 14px;
  max-width: 700px;

  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* =====================
   FOOTER
===================== */
/* =====================
   FOOTER PREMIUM
===================== */

.footer-pro {
  background: linear-gradient(
    180deg,
    rgba(10, 15, 25, 0.95),
    rgba(5, 8, 15, 1)
  );
  color: var(--text-soft);
  padding: 80px 20px 40px;
  font-size: 14px;
}

/* CONTENEDOR */
.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}

/* MARCA */
.footer-brand h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-brand p {
  line-height: 1.7;
  opacity: 0.85;
  max-width: 360px;
}

/* SECCIONES */
.footer-section h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  opacity: 0.9;
}

/* ICONOS */
.footer-section li i {
  color: var(--blue-light);
  font-size: 14px;
  min-width: 18px;
}

/* REDES */
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--blue-light);
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-socials a i {
  font-size: 16px;
}

.footer-socials a:hover {
  color: #ffffff;
  transform: translateX(6px);
}

/* DIVISOR */
.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-pro {
    padding: 60px 20px 30px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

/* =====================
   RESPONSIVE
===================== */
@media (min-width: 768px) {
  h2 {
    font-size: 2.4rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .solution {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  section {
    padding: 100px 20px;
  }

  .hero h1 {
    font-size: 4rem;
  }
}

/* =========================
   NAV – MOBILE MENU
========================= */

@media (max-width: 767px) {

  .nav {
    position: fixed;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background: #ffffff;
    border-top: 1px solid var(--border-soft);

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 24px 20px 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);

    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;

    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  /* MENÚ ABIERTO */
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* ITEMS */
  .nav-links li {
    margin: 0;
    height: auto;
  }

  /* LINKS */
  .nav-links li a {
    padding: 14px 12px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 10px;
  }

  /* QUITAR LINEA HOVER EN MOBILE */
  .nav-links li a::after {
    display: none;
  }

  /* CTA */
  .nav-cta {
    margin-top: 20px;
  }

  .btn-cta.small {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 14px;
    margin-left: 0;
  }

  /* LOGO */
  .logo img {
    height: 60px;
  }

  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
  }
}

/* TABLET – 641px hasta 1023px */
@media (max-width: 1023px) and (min-width: 641px) {
  .problems-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .problems-content h2 {
    max-width: 100%;
    margin-bottom: 28px;
    text-align: center;
  }

  .problems-list {
    gap: 18px;
  }

  .problem-item {
    padding: 18px 20px;
  }

  .problem-icon {
    width: 40px;
    height: 40px;
  }

  .problem-icon i {
    font-size: 1rem;
  }
}

/* MOBILE – hasta 640px */
@media (max-width: 640px) {
  .problems {
    padding: 60px 16px;
  }

  .problems-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  /* Imagen encima */
  .problems-image {
    width: 100%;
  }

  .problems-image img {
    width: 100%;
    height: auto;
    border-radius: 18px;
  }

  /* Contenido debajo de la imagen */
  .problems-content {
    width: 100%;
  }

  .problems-content h2 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 24px;
  }

  .problems-list {
    gap: 16px;
  }

  .problem-item {
    grid-template-columns: 40px 1fr;
    padding: 16px 16px;
    border-radius: 14px;
  }

  .problem-icon {
    width: 40px;
    height: 40px;
  }

  .problem-icon i {
    font-size: 0.95rem;
  }

  .problem-item p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* TABLET – 641px hasta 1023px */
@media (max-width: 1023px) and (min-width: 641px) {
  .offer-layout {
    grid-template-columns: 1fr; /* pasa a una columna */
    gap: 48px;
  }

  .offer-sticky {
    position: relative; /* ya no sticky en tablet */
    top: auto;
    padding: 28px 20px;
  }

  .offer-context {
    max-width: 100%;
  }

  .offer-context h2 {
    font-size: 1.8rem;
    text-align: left;
  }

  .offer-context p {
    font-size: 1rem;
  }

  .btn-cta-offer {
    font-size: 1rem;
    padding: 12px 18px;
  }
}

/* MOBILE – hasta 640px */
@media (max-width: 640px) {
  .offer {
    padding: 0px 16px;
  }

  .offer-layout {
    display: flex;
    flex-direction: column;
    gap:160px;
    margin-top: -60px;
  }

  /* Sticky -> normal, full width */
  .offer-sticky {
    position: relative;
    width: 100%;
    padding: 24px 16px;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    margin-top: -50px;
  }

  .offer-tag {
    font-size: 0.65rem;
  }

  .offer-price {
    font-size: 1.8rem;
  }

  .offer-price span {
    font-size: 0.85rem;
  }

  .offer-mini {
    font-size: 0.9rem;
  }

  .btn-cta-offer {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .offer-context h2 {
    font-size: 1.6rem;
    text-align: center;
  }

  .offer-context p {
    font-size: 0.95rem;
    text-align: center;
  }

  .offer-points div {
    font-size: 0.95rem;
  }
}

/* Botones flotantes generales */
.floating-btn {
  position: fixed;
  bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  text-decoration: none;
}

/* Hover */
.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* WhatsApp - derecha */
.wp-btn {
  right: 20px;
  background-color: #25d366;
}

/* Subir arriba - izquierda */
.top-btn {
  left: 20px;
  background-color: #0f172a;
}

/* Icono dentro del botón */
.floating-btn i {
  pointer-events: none;
}

/* Mostrar/Ocultar flecha según scroll */
#backToTop {
  display: none;
}

/* =====================
   CTA PREMIUM – WHITE
===================== */
.cta-premium {
  padding: 140px 20px;
  display: flex;
  justify-content: center;
}

/* marco exterior con glow suave */
.cta-frame {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.cta-frame::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(
    circle at top,
    rgba(90, 140, 255, 0.25),
    transparent 60%
  );
  filter: blur(60px);
  z-index: 0;
}

/* caja real */
.cta-content {
  position: relative;
  z-index: 1;
  padding: 72px 64px;
  border-radius: 32px;
  background: linear-gradient(
    180deg,
    #ffffff,
    #f9fbff
  );
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* eyebrow */
.cta-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
}

/* título */
.cta-content h2 {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
}

.cta-content h2 span {
  display: block;
  color: var(--text-soft);
  font-weight: 500;
}

/* texto */
.cta-content p {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 40px;
  color: var(--text-soft);
}

/* acciones */
.cta-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* botón */
.cta-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5a8cff, #3f6fff);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  box-shadow:
    0 16px 40px rgba(90, 140, 255, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-main:hover {
  transform: translateY(-3px);
  box-shadow:
    0 26px 60px rgba(90, 140, 255, 0.55);
}

/* nota */
.cta-note {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* responsive */
@media (max-width: 768px) {
  .cta-content {
    padding: 56px 28px;
  }

  .cta-content h2 {
    font-size: 1.9rem;
  }
}

/* =====================
   AUTHORITY VISUAL
===================== */
.authority-visual {
  padding: 100px 20px;
  background: #ffffff;
}

.authority-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

/* título */
.authority-visual h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 48px;
}

/* logos */
.authority-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 56px;
}

.authority-logos img {
  height: 102px;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.authority-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* badges */
.authority-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 18px 20px;
  border-radius: 14px;
  background: #f8faff;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.badge i {
  color: var(--blue-light);
}

/* responsive */
@media (max-width: 900px) {
  .authority-badges {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .authority-badges {
    grid-template-columns: 1fr;
  }
}
