﻿/* ===== IMPORTS & VARIABLES ===== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --teal: #009da5;
  --teal-dark: #087f87;
  --coral: #f36f61;
  --coral-soft: #ffa59f;
  --yellow: #ffd96c;
  --ink: #111111;
  --sub: rgb(0, 0, 0);
  --body: #f6fafb;
  --paper: #ffffff;
  --mist: #f3f8f9;
  --font-main: "Montserrat", sans-serif;
  --font-secondary: "Poppins", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background-color: var(--body);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  line-height: 1.12;
}

h1 {
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  font-family: var(--font-secondary);
}

h2 span {
  color: var(--teal);
}

h3 {
  font-size: 2.5rem;
  font-family: var(--font-secondary);
}

h4 {
  font-size: 1.8rem;
}

p {
  margin: 0;
}

/* ===== UTILIDADES ===== */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.text-center {
  text-align: center;
}

.text-teal {
  color: var(--teal);
}

.text-coral {
  color: var(--coral);
}

.fw-bold {
  font-weight: 800;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 3rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-10 {
  margin-top: 3rem;
}

.max-w-800 {
  max-width: 890px;
  margin-inline: auto;
  font-size: 1.28rem;
}

.bg-teal {
  background: var(--teal);
}

.bg-coral {
  background: var(--coral);
}

.bg-yellow {
  background: var(--yellow);
}

.relative {
  position: relative;
}

.img-centered {
  display: block;
  margin: 0 auto;
}

.bg-white {
  background-color: var(--paper);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ===== COMPONENTES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.78rem 1.7rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-family: var(--font-main);
  font-size: 1.7rem;
  line-height: 1.7rem;
  text-align: center;
  box-shadow: 5px 3px 10px 5px rgba(0, 0, 0, 0.1);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.btn-coral {
  background: var(--coral);
  color: var(--paper);
  animation: pulse-coral 1.2s infinite;
}

@keyframes pulse-coral {
  0% {
    box-shadow: 0 0 0 0 rgba(243, 111, 97, 0.9);
  }
  70% {
    box-shadow: 0 0 0 25px rgba(243, 111, 97, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(243, 111, 97, 0);
  }
}

.btn-coral:hover {
  background: #e85f52;
  color: var(--paper);
  transform: translateY(-1px);
  animation: none; /* Detenemos el latido al pasar el mouse */
}

.center-btn {
  margin-top: 6rem;
  text-align: center;
}

.contact-alert {
  width: min(100%, 680px);
  margin: 1rem auto 0;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
}

.contact-alert-ok {
  background: rgba(0, 157, 165, 0.1);
  color: var(--teal-dark);
}

.contact-alert-error {
  background: rgba(243, 111, 97, 0.14);
  color: #bd3d31;
}

/* ===== NAVBAR ===== */
.navbar {
  background-image: url("onda-fondo-navbar.png");
  background-position: bottom center;
  background-repeat: no-repeat;
  padding: 15px 15px 75px 15px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.menu-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  max-width: 255px;
}

.navbar .btn {
  min-height: 30px;
  padding: 0.5rem 1.2rem;
  box-shadow: none;
  font-size: 1.1rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: 30px 0;
}

.hero-content {
  flex: 0 1 520px;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
  letter-spacing: 0;
  font-family: var(--font-secondary);
  font-size: clamp(2.35rem, 3.4vw, 3.35rem);
  line-height: 1.08;
}

.hero-content p {
  max-width: 470px;
  margin-bottom: 1.45rem;
  color: var(--sub);
  font-size: 1.3rem;
  line-height: 1.45;
  font-weight: 500;
}

.hero-content h1 span {
  color: var(--teal);
}

.hero-image {
  /* flex: 0 1 700px; */
  max-width: min(52vw, 700px);
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== SECCIÃƒâ€œN INTRO TEXT ===== */
.section-text-center {
  position: relative;
  text-align: center;
}

.section-text-center h2 {
  margin-bottom: 2.5rem;
}

.section-text-center .subtitle {
  max-width: 850px;
  margin: 0 auto 2.5rem;
  color: var(--sub);
  font-size: 1.3rem;
}

.section-text-center p:not(.subtitle) {
  max-width: 850px;
  margin-inline: auto;
  font-size: 1.3rem;
}

.section-text-center p:not(.subtitle) strong {
  color: var(--teal);
}

/* ===== FEATURES ===== */
.features-section {
  padding: 3.8rem 0 5.2rem;
}

.features-section h2,
.features-section .max-w-800,
.timeline-section h2,
.timeline-section > .container > p,
.experience-section h2,
.experience-section > .container > p,
.for-who-section h2,
.for-who-section > .container > p {
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 2.7rem;
}

.feature-card {
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(20, 70, 75, 0.06);
}

.feature-card {
  min-height: 255px;
  padding: 2rem 1.45rem;
  text-align: center;
}

.feature-icon {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.feature-card h4 {
  margin-bottom: 2rem;
  color: var(--teal);
}

.feature-card:nth-child(2) h4,
.feature-card:nth-child(5) h4 {
  color: var(--coral);
}

.feature-card:nth-child(3) h4,
.feature-card:nth-child(6) h4 {
  color: #d4a522;
}

.feature-card p {
  color: var(--sub);
  font-size: 1.28rem;
}

/* ===== VIDEO ===== */
.video-section {
  overflow: hidden;
}

.video-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1.28fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border-radius: 18px;
  background: var(--paper);
}

.video-content h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
}

.video-content p {
  max-width: 340px;
  font-size: 1.28rem;
  line-height: 1.45;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  box-shadow: 0 16px 34px rgba(20, 70, 75, 0.12);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.play-button {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  padding-left: 5px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--paper);
  font-size: 1.85rem;
  box-shadow: 0 12px 24px rgba(243, 111, 97, 0.3);
}

/* ===== TIMELINE ===== */
.timeline-section {
  position: relative;
  padding: 4rem 0 0 0;
  background: var(--paper);
}

.timeline-list {
  display: grid;
  max-width: 980px;
  margin: 3rem auto 0;
  gap: 1rem;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 50px;
  min-height: 173px;
  padding: 1.5rem;
  border-radius: 40px;
  background: var(--body);
}

.timeline-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-content h4 {
  margin-bottom: 0.2rem;
  font-weight: 800;
}

.timeline-content p {
  color: var(--sub);
  font-size: 1.2rem;
}

/* ===== EXPERIENCIA ===== */
.experience-section {
  position: relative;
  padding: 1rem 0 0 0;
  background: var(--paper);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 2.5rem;
}

.exp-item {
  padding: 1.3rem 1rem;
  text-align: center;
}

.exp-icon {
  margin-bottom: 0.65rem;
  color: var(--coral);
  font-size: 4rem;
}

.exp-item h4 {
  font-weight: 800;
  margin: 30px 0 15px 0;
  font-size: 1.5rem;
}

.exp-item p {
  font-size: 1.2rem;
  text-align: left;
}

/* ===== PARA QUIÃƒâ€°N ES ===== */
.for-who-section {
  background: var(--body);
}

.for-who-section > .container > p {
  margin: 20px auto;
  font-size: 1.38rem;
  max-width: 1045px;
}

.for-who-section > .container > p.bold {
  font-weight: 600;
}

.for-who-section > .container > p span {
  color: var(--teal);
}

.check-list {
  display: grid;
  max-width: 1100px;
  margin: 2rem auto 0;
  gap: 0.85rem;
}

.check-item {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 40px;
  background: var(--paper);
  min-height: 127px;
}

.check-dot {
  min-width: 62px;
  min-height: 62px;
  border-radius: 50%;
}

.check-item h4 {
  margin-bottom: 0.2rem;
}

.check-item p {
  font-size: 1.2rem;
}

.for-who-section .center-btn .btn {
  width: 100%;
  max-width: 1100px;
}

/* ===== TESTIMONIOS ===== */
.testimonials-section {
  padding: 5.4rem 0 0;
  background: var(--mist);
}

/* Capa que contiene carousel + dots, con padding para los botones */
.testimonials-carousel-row {
  max-width: calc(min(100% - 2rem, 1320px) + 7rem);
  margin: 2.4rem auto 0;
  padding-inline: 3.5rem;
}

.testimonials-carousel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonials-viewport {
  flex: 1;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 1.35rem;
  transition: transform 480ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  margin-bottom: 3rem;
}

.carousel-btn {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--coral);
  color: var(--paper);
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(243, 111, 97, 0.35);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.carousel-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 22px rgba(243, 111, 97, 0.45);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: -1.8rem;
  margin-bottom: 1rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 157, 165, 0.22);
  cursor: pointer;
  transition:
    background 200ms ease,
    transform 200ms ease;
}

.carousel-dot.is-active {
  background: var(--teal);
  transform: scale(1.25);
}

.testimonial-card {
  position: relative;
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 1.6rem;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(20, 70, 75, 0.06);
  text-align: left;
  border: 1px solid rgba(0, 157, 165, 0.12);
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--teal);
}

.testimonial-card:nth-child(4n + 2)::before {
  background: var(--coral);
}

.testimonial-card:nth-child(4n + 3)::before {
  background: var(--yellow);
}

.testimonial-card:nth-child(4n)::before {
  background: var(--teal-dark);
}

.testimonial-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: rgba(0, 157, 165, 0.1);
  color: var(--teal);
}

.testimonial-card:nth-child(4n + 2) .testimonial-mark {
  background: rgba(243, 111, 97, 0.12);
  color: var(--coral);
}

.testimonial-card:nth-child(4n + 3) .testimonial-mark {
  background: rgba(255, 217, 108, 0.24);
  color: #c69513;
}

.testimonial-card:nth-child(4n) .testimonial-mark {
  background: rgba(8, 127, 135, 0.1);
  color: var(--teal-dark);
}

.testimonial-card p {
  flex: 1;
  margin-bottom: 1.3rem;
  color: var(--ink);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.65;
}

.testimonial-card h5 {
  margin-bottom: 0.25rem;
  color: var(--teal);
  font-size: 1rem;
}

.testimonial-meta span {
  display: block;
  color: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ===== FAQ ===== */
.faq-section {
  position: relative;
  overflow: hidden;
  padding: 5.4rem 0 4.6rem;
  background: var(--paper);
}

.faq-section h2 {
  position: relative;
  margin-bottom: 2.6rem;
}

.faq-list {
  position: relative;
  display: grid;
  max-width: 850px;
  margin: 0 auto;
  gap: 0.8rem;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #c8cdd1;
  border-radius: 14px;
  background: var(--paper);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding: 1.15rem 1.6rem;
  cursor: pointer;
}

.faq-question h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.4rem;
  transition: color 180ms ease;
}

.faq-item.is-open .faq-question h4 {
  color: var(--teal);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 1.6rem;
  color: var(--ink);
  font-size: 1rem;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    grid-template-rows 280ms ease,
    opacity 220ms ease,
    transform 220ms ease,
    padding-bottom 280ms ease;
}

.faq-answer > * {
  overflow: hidden;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  padding-bottom: 1.35rem;
  opacity: 1;
  transform: translateY(0);
}

/* ===== CONTACTO ===== */
.contact-section {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.contact-heading {
  padding: 2.8rem 0 2rem;
  text-align: center;
}

.contact-heading h2 {
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.contact-heading p {
  color: var(--ink);
  font-size: 1.38rem;
}

.contact-background {
  position: relative;
  min-height: 620px;
  padding: 2.2rem 0 5.6rem;
  background-image: url("fondo-seccion-contacto.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
}

.contact-layout {
  display: grid;
  max-width: 1120px;
  grid-template-columns: minmax(300px, 590px) minmax(260px, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.contact-card {
  display: grid;
  width: min(100%, 560px);
  gap: 0.85rem;
  padding: clamp(2.2rem, 5vw, 4.25rem) clamp(1.8rem, 5vw, 5.4rem);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: #e7f4f5;
  color: var(--ink);
  font: 500 1rem/1.3 var(--font-main);
  outline: none;
  transition:
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.contact-card input {
  height: 46px;
  padding: 0 0.9rem;
}

.contact-card textarea {
  min-height: 185px;
  resize: vertical;
  padding: 0.9rem;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
  color: #8d969b;
  opacity: 1;
}

.contact-card input:focus,
.contact-card textarea:focus {
  background: #effafa;
  box-shadow: 0 0 0 3px rgba(0, 157, 165, 0.18);
}

.contact-submit {
  justify-self: center;
  min-width: min(280px, 100%);
  min-height: 58px;
  margin-top: 2.7rem;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: var(--paper);
  cursor: pointer;
  font: 500 1.2rem/1 var(--font-main);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-submit:hover {
  background: #e85f52;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.contact-social {
  max-width: 450px;
  color: var(--paper);
}

.contact-social h3 {
  margin-bottom: 0.2rem;
  color: var(--paper);
  font-size: clamp(1.75rem, 3vw, 2.05rem);
  font-weight: 800;
}

.contact-social p {
  max-width: 390px;
  color: var(--paper);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.25;
}

.contact-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.contact-social-links a {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--coral);
  font-size: 2rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.contact-social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
}

/* ===== CTA FINAL ===== */
.final-cta {
  padding: 3rem 0 3rem;
  background-color: var(--paper);
  background-image: url("onda-borde-cta-final.png");
  background-position: center;
  background-repeat: no-repeat;
}

.final-cta-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.final-cta-content {
  max-width: 650px;
}

.final-cta h2 {
  margin-bottom: 1.1rem;
  color: var(--paper);
}

.final-cta p {
  max-width: 560px;
  margin-bottom: 2.5rem;
  color: var(--paper);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
}

.final-cta .btn {
  min-width: min(100%, 440px);
  min-height: 50px;
  justify-content: space-between;
  padding: 0.55rem 1.25rem 0.55rem 1.1rem;
  font-size: 1.55rem;
  font-weight: 800;
}

.final-cta .btn i {
  font-size: 2.1rem;
}

/* ===== FOOTER ===== */
.footer {
  padding: 3.4rem 0 2.6rem;
  background: var(--paper);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-logo {
  display: inline-flex;
  width: min(275px, 62vw);
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-social-links {
  margin-top: 0;
}

.footer-social-links a {
  background: var(--coral);
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--sub);
  font-weight: 500;
}

.footer-credit {
  font-size: 0.72rem;
  color: var(--sub);
  opacity: 0.45;
  letter-spacing: 0.01em;
}

.footer-credit-name {
  font-style: italic;
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 1000;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.22),
    0 0 0 10px rgba(37, 211, 102, 0.14);
  font-size: 2.45rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.whatsapp-float:hover {
  background: #20bd5a;
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.25),
    0 0 0 12px rgba(37, 211, 102, 0.18);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.32);
  outline-offset: 4px;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 900px) {
  .container {
    padding-bottom: 15px;
  }
  .hero-content h1 {
    margin-bottom: 1.1rem;
    font-size: clamp(2rem, 4vw, 2.55rem);
    line-height: 1.12;
  }
  .container {
    width: min(100% - 28px, 720px);
    padding-bottom: 15px;
    padding-top: 15px;
  }

  .logo {
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 0;
  }

  .hero-grid {
    flex-direction: column-reverse;
    gap: 2rem;
    text-align: center;
  }

  .video-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .video-content p {
    max-width: 620px;
    margin-inline: auto;
  }

  .video-frame {
    max-width: 760px;
  }

  .hero-content {
    flex-basis: auto;
    max-width: 520px;
  }

  .hero-content p {
    margin-inline: auto;
  }

  .hero-image {
    max-width: min(100%, 600px);
  }

  .features-grid,
  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-item,
  .check-item {
    border-radius: 18px;
  }

  /* Carrusel: tablet muestra 2 cards */
  .testimonials-carousel-row {
    padding-inline: 3rem;
  }

  .contact-background {
    min-height: auto;
    padding: 2.2rem 0 4.2rem;
    background-size: initial;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2.4rem;
  }

  .contact-social {
    text-align: center;
  }

  .contact-social p {
    margin-inline: auto;
  }

  .contact-social-links {
    justify-content: center;
  }

  .final-cta {
    min-height: auto;
    background-position: bottom center;
  }

  .final-cta-grid {
    flex-direction: column-reverse;
    align-items: center;
    gap: 40px;
    flex: 1;
    text-align: center;
  }

  .final-cta-content {
    margin-inline: auto;
  }

  .final-cta p {
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .hero-grid {
    flex-direction: column-reverse;
    gap: 1.8rem;
    text-align: center;
  }

  .hero-content {
    max-width: 640px;
    text-align: center;
  }

  .hero-content p {
    margin-inline: auto;
  }

  .hero-image {
    max-width: min(100%, 560px);
  }
}

@media (max-width: 650px) {
  .navbar {
    background-position: top center;
  }

  .navbar .container {
    flex-direction: column;
    justify-content: center;
  }

  .navbar .logo {
    margin-bottom: 30px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .hero .container {
    padding-top: 0;
  }

  .navbar .btn {
    padding-inline: 0.85rem;
    white-space: normal;
  }

  .hero-grid {
    gap: 1.4rem;
  }

  .hero-image {
    max-width: min(100%, 480px);
  }

  .features-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .testimonial-card,
  .video-grid {
    border-radius: 16px;
  }

  .video-grid {
    padding: 1.25rem;
  }

  .video-frame {
    border-radius: 14px;
  }

  /* Carrusel: mobile muestra 1 card */
  .testimonials-carousel-row {
    padding-inline: 2.5rem;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .testimonial-card {
    min-height: 280px;
  }

  .timeline-item,
  .check-item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .faq-question {
    min-height: 62px;
    padding: 1rem;
  }

  .faq-answer {
    padding-inline: 1rem;
  }

  .footer-container {
    flex-direction: column;
  }

  .contact-heading {
    padding: 2.2rem 0 1.5rem;
  }

  .contact-card {
    border-radius: 24px;
    padding: 2rem 1.35rem;
  }

  .contact-card textarea {
    min-height: 165px;
  }

  .contact-submit {
    width: 100%;
    margin-top: 1.6rem;
  }

  .contact-social-links a {
    width: 52px;
    height: 52px;
    font-size: 1.8rem;
  }

  .final-cta {
    padding: 5.8rem 0 3.8rem;
  }

  .final-cta .btn {
    min-width: 100%;
    font-size: 1.15rem;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 66px;
    height: 66px;
    font-size: 2.1rem;
  }
}

/* ===== OPTIMIZACIONES PARA MOBILE PEQUEÑO (HASTA 430PX) ===== */
@media (max-width: 480px) {
  h1 {
    font-size: 1.95rem;
    line-height: 1.25;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.65rem;
  }
  h4 {
    font-size: 1.35rem;
  }
  .max-w-800 {
    font-size: 1.15rem;
  }

  .btn {
    font-size: 1.25rem;
    padding: 0.6rem 1.2rem;
  }
  .navbar .btn {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }

  /* Hero: wrap y reducir texto introductorio */
  .hero {
    padding-top: 0;
  }
  .hero-grid {
    gap: 1.2rem;
    flex-direction: column-reverse;
  }
  .hero-content p {
    font-size: 1.15rem;
    line-height: 1.4;
  }

  .video-grid {
    padding: 1rem;
    gap: 1rem;
  }

  .video-content p {
    font-size: 1.05rem;
  }

  .hero-image {
    max-width: min(100%, 420px);
  }

  .for-who-section > .container > p {
    font-size: 1.15rem;
  }
  .max-w-800 {
    font-size: 1.15rem;
  }

  .features-grid,
  .experience-grid,
  .faq-list {
    gap: 0.6rem;
  }

  /* Reducción general de letras en cards y secciones */
  .feature-card {
    padding: 1.4rem;
  }
  .feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  .feature-card p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .check-item {
    padding: 1.2rem;
  }
  .check-item h4 {
    font-size: 1.25rem;
  }
  .check-item p {
    font-size: 1rem;
  }

  .exp-item {
    padding: 1.2rem;
  }
  .exp-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
  }
  .exp-item p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .timeline-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  .timeline-content p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .for-who-section > .container > p {
    font-size: 1.15rem;
    line-height: 1.4;
  }

  .faq-question {
    padding: 0.8rem 1rem;
    min-height: 56px;
  }
  .faq-question h4 {
    font-size: 1.15rem;
  }

  .contact-layout {
    gap: 1.5rem;
  }
  .contact-card {
    padding: 1.5rem 1rem;
  }
  .contact-submit {
    font-size: 1.15rem;
  }

  .testimonials-carousel-row {
    padding-inline: 1.25rem;
    margin-top: 1.8rem;
  }
  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  .testimonial-card {
    padding: 1.25rem;
    min-height: 250px;
  }

  .final-cta {
    padding: 4.5rem 0 3rem;
  }
  .final-cta .btn {
    font-size: 1.05rem;
    padding: 0.5rem 1rem;
  }

  .footer-container,
  .footer-bottom {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}
