
/* =========================================================
   SUPERVOLANTE.COM 2027
   Archivo: assets/css/responsive.css

   Diseño adaptable:
   - Escritorios grandes
   - Laptops
   - Tabletas
   - Celulares
   - Pantallas pequeñas

   Orden de carga:
   1. Bootstrap
   2. style.css
   3. componentes.css
   4. responsive.css
   ========================================================= */


/* =========================================================
   01. PANTALLAS GRANDES
   Desde 1400px
   ========================================================= */

@media (min-width: 1400px) {

  .hero-principal {
    min-height: 720px;
    padding: 100px 0;
  }

  .hero-contenido h1 {
    font-size: 4.45rem;
  }

  .hero-imagen img {
    max-width: 720px;
  }

  .seccion {
    padding: 115px 0;
  }

  .sv-section {
    padding: 105px 0;
  }

}


/* =========================================================
   02. LAPTOPS Y ESCRITORIOS MEDIANOS
   Hasta 1399px
   ========================================================= */

@media (max-width: 1399.98px) {

  .logo-principal {
    width: 175px;
  }

  .navbar-nav .nav-link {
    padding: 10px 9px !important;
    font-size: 0.88rem;
  }

  .header-actions .btn {
    padding: 10px 15px;
    font-size: 0.85rem;
  }

  .hero-contenido h1 {
    font-size: clamp(2.7rem, 4vw, 4rem);
  }

  .hero-imagen img {
    max-width: 620px;
  }

}


/* =========================================================
   03. TABLETAS Y LAPTOPS PEQUEÑAS
   Hasta 1199px
   ========================================================= */

@media (max-width: 1199.98px) {

  .site-header .navbar {
    min-height: 78px;
  }

  .logo-principal {
    width: 160px;
  }

  .navbar-nav .nav-link {
    font-size: 0.83rem;
    padding: 9px 7px !important;
  }

  .header-actions {
    gap: 6px !important;
  }

  .header-actions .btn {
    padding: 9px 12px;
    font-size: 0.81rem;
  }

  .hero-principal {
    min-height: 600px;
    padding: 70px 0;
  }

  .hero-contenido h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
  }

  .hero-descripcion {
    font-size: 1.05rem;
  }

  .hero-precio strong {
    font-size: 1.8rem;
  }

  .hero-imagen img {
    max-width: 540px;
  }

  .seccion {
    padding: 85px 0;
  }

  .sv-section {
    padding: 80px 0;
  }

  .tarjeta-beneficio,
  .tarjeta-servicio {
    padding: 28px 22px;
  }

  .producto-contenido {
    padding: 27px 22px;
  }

  .producto-imagen {
    height: 195px;
  }

  .paso-proceso {
    padding: 32px 20px;
  }

}


/* =========================================================
   04. TABLETAS
   Hasta 991px
   Bootstrap cambia el menú a hamburguesa
   ========================================================= */

@media (max-width: 991.98px) {

  html {
    scroll-padding-top: 85px;
  }

  /* HEADER */

  .site-header .navbar {
    min-height: 75px;
    padding: 10px 0;
  }

  .logo-principal {
    width: 185px;
    max-height: 60px;
  }

  .navbar-collapse {
    margin-top: 15px;
    padding: 15px 0 20px;

    border-top: 1px solid var(--sv-border);
  }

  .navbar-nav {
    align-items: stretch;
    gap: 3px;

    margin-bottom: 18px;
  }

  .navbar-nav .nav-link {
    padding: 12px 15px !important;

    border-radius: 10px;

    font-size: 0.95rem;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background: var(--sv-background-soft);
  }

  .navbar-nav .nav-link.active::after {
    display: none;
  }

  .dropdown-menu {
    width: 100%;

    margin: 4px 0 10px;
    padding: 8px;

    border: 1px solid var(--sv-border);
    border-radius: 12px;

    box-shadow: none;
  }

  .dropdown-item {
    padding: 11px 15px;
  }

  .header-actions {
    display: flex;
    flex-wrap: wrap;

    width: 100%;
    gap: 10px !important;
  }

  .header-actions .btn {
    flex: 1;
    min-width: 150px;

    padding: 12px 16px;
    font-size: 0.92rem;
  }

  /* HERO */

  .hero-principal {
    min-height: auto;

    padding: 75px 0 85px;
    text-align: center;
  }

  .hero-contenido {
    max-width: 720px;
    margin: 0 auto;
  }

  .hero-contenido h1 {
    font-size: clamp(2.6rem, 5.5vw, 4rem);
  }

  .hero-descripcion {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-precio {
    justify-content: center;
  }

  .hero-botones {
    justify-content: center;
  }

  .hero-nota {
    justify-content: center;
  }

  .hero-imagen {
    margin-top: 15px;
  }

  .hero-imagen img {
    max-width: 620px;
  }

  /* SECCIONES */

  .seccion {
    padding: 75px 0;
  }

  .sv-section {
    padding: 70px 0;
  }

  .encabezado-seccion {
    margin-bottom: 45px;
  }

  .contenido-seccion h2,
  .seccion-directorio h2,
  .seccion-ayuda h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
  }

  /* QUÉ ES SUPERVOLANTE */

  .imagen-seccion {
    max-width: 680px;
    margin: auto;
  }

  /* DIRECTORIO */

  .directorio-imagen {
    max-width: 650px;
    margin: auto;
  }

  /* AYUDA */

  .ayuda-icono-grande {
    width: 210px;
    height: 210px;
  }

  .ayuda-icono-grande i {
    font-size: 5.8rem;
  }

  /* FOOTER */

  .site-footer {
    padding-top: 65px;
  }

  .footer-marca {
    max-width: 500px;
  }

  /* COMPONENTES */

  .sv-page-header {
    padding: 65px 0;
  }

  .sv-page-header__title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  }

}


/* =========================================================
   05. CELULARES GRANDES Y TABLETAS PEQUEÑAS
   Hasta 767px
   ========================================================= */

@media (max-width: 767.98px) {

  html {
    scroll-padding-top: 75px;
  }

  body {
    font-size: 15px;
    line-height: 1.7;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  /* HEADER */

  .site-header .navbar {
    min-height: 70px;
  }

  .logo-principal {
    width: 165px;
  }

  /* HERO */

  .hero-principal {
    padding: 65px 0 70px;
  }

  .hero-etiqueta {
    margin-bottom: 18px;

    font-size: 0.72rem;
    padding: 7px 13px;
  }

  .hero-contenido h1 {
    font-size: clamp(2.25rem, 7vw, 3.2rem);

    line-height: 1.16;
    letter-spacing: -0.035em;

    margin-bottom: 20px;
  }

  .hero-descripcion {
    font-size: 1rem;
    line-height: 1.8;

    margin-bottom: 22px;
  }

  .hero-precio {
    gap: 5px 9px;
    margin-bottom: 25px;
  }

  .hero-precio strong {
    font-size: 1.8rem;
  }

  .hero-botones {
    gap: 12px !important;
  }

  .hero-botones .btn {
    min-width: 205px;
  }

  .hero-imagen img {
    max-width: 510px;
  }

  /* SECCIONES */

  .seccion {
    padding: 65px 0;
  }

  .sv-section {
    padding: 60px 0;
  }

  .encabezado-seccion {
    margin-bottom: 35px;
  }

  .encabezado-seccion h2 {
    font-size: 2rem;
  }

  .encabezado-seccion p {
    font-size: 0.97rem;
  }

  .subtitulo-seccion {
    font-size: 0.75rem;
  }

  /* QUÉ ES */

  .imagen-seccion {
    padding: 15px;
    border-radius: 20px;
  }

  .imagen-seccion img {
    border-radius: 15px;
  }

  .contenido-seccion h2 {
    font-size: 2rem;
  }

  .contenido-seccion p {
    font-size: 0.97rem;
  }

  /* BENEFICIOS */

  .tarjeta-beneficio {
    padding: 29px 25px;
  }

  .icono-beneficio {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  /* PRODUCTOS */

  .tarjeta-producto {
    max-width: 550px;
    margin-inline: auto;
  }

  .producto-imagen {
    height: 235px;
  }

  .producto-contenido {
    padding: 28px 25px;
  }

  /* SERVICIOS */

  .tarjeta-servicio {
    padding: 30px 25px;
  }

  /* PROCESO */

  .paso-proceso {
    padding: 35px 25px;
  }

  /* DIRECTORIO */

  .directorio-imagen {
    padding: 16px;
  }

  /* AYUDA */

  .ayuda-icono-grande {
    width: 180px;
    height: 180px;
    border-width: 9px;
  }

  .ayuda-icono-grande i {
    font-size: 5rem;
  }

  /* CTA */

  .seccion-cta h2 {
    font-size: 2.2rem;
  }

  .seccion-cta p {
    font-size: 1rem;
  }

  /* FOOTER */

  .site-footer {
    padding: 55px 0 25px;
  }

  .footer-logo {
    max-width: 185px;
  }

  .footer-titulo {
    margin-bottom: 18px;
  }

  .footer-separador {
    margin: 40px 0 20px;
  }

  /* COMPONENTES */

  .sv-page-header {
    padding: 55px 0;
  }

  .sv-page-header__title {
    font-size: 2.35rem;
  }

  .sv-page-header__description {
    font-size: 1rem;
  }

  .sv-card,
  .sv-testimonial {
    padding: 26px;
  }

  .sv-pricing-card {
    padding: 30px 25px;
  }

  .sv-form-card {
    padding: 28px 24px;
  }

  .sv-info-box {
    padding: 20px;
  }

}


/* =========================================================
   06. CELULARES
   Hasta 575px
   ========================================================= */

@media (max-width: 575.98px) {

  /* GENERAL */

  body {
    font-size: 14.5px;
  }

  .container {
    padding-left: 19px;
    padding-right: 19px;
  }

  .seccion {
    padding: 55px 0;
  }

  .sv-section {
    padding: 55px 0;
  }

  /* BOTONES */

  .btn {
    padding: 12px 20px;
    font-size: 0.91rem;
  }

  .btn-lg {
    padding: 14px 22px;
    font-size: 0.95rem;
  }

  /* HEADER */

  .site-header .navbar {
    min-height: 66px;
    padding: 8px 0;
  }

  .logo-principal {
    width: 150px;
    max-height: 52px;
  }

  .navbar-toggler {
    padding: 7px 10px;
  }

  .navbar-toggler-icon {
    width: 1.25em;
    height: 1.25em;
  }

  .navbar-collapse {
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .header-actions {
    flex-direction: column;
  }

  .header-actions .btn {
    flex: none;
    width: 100%;
  }

  /* HERO */

  .hero-principal {
    padding: 50px 0 55px;
  }

  .hero-etiqueta {
    font-size: 0.68rem;
    line-height: 1.45;

    max-width: 100%;
    text-align: center;
  }

  .hero-contenido h1 {
    font-size: clamp(2rem, 8vw, 2.7rem);

    line-height: 1.17;

    margin-bottom: 18px;
  }

  .hero-descripcion {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .hero-precio {
    flex-direction: column;
    align-items: center;

    gap: 2px;
  }

  .hero-precio span {
    font-size: 0.9rem;
  }

  .hero-precio strong {
    font-size: 2rem;
  }

  .hero-precio small {
    font-size: 0.74rem;
  }

  .hero-botones {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    width: 100%;
  }

  .hero-botones .btn {
    width: 100%;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;
  }

  .hero-nota {
    align-items: flex-start;
    text-align: left;

    font-size: 0.82rem;
    line-height: 1.55;
  }

  .hero-nota i {
    margin-top: 3px;
    flex-shrink: 0;
  }

  .hero-imagen {
    margin-top: 0;
  }

  .hero-imagen img {
    max-width: 100%;
  }

  /* ENCABEZADOS */

  .encabezado-seccion {
    margin-bottom: 30px;
  }

  .encabezado-seccion h2,
  .contenido-seccion h2,
  .seccion-directorio h2,
  .seccion-ayuda h2 {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .encabezado-seccion p {
    font-size: 0.94rem;
  }

  /* QUÉ ES */

  .imagen-seccion {
    padding: 12px;
  }

  .lista-beneficios li {
    font-size: 0.91rem;
  }

  /* BENEFICIOS */

  .tarjeta-beneficio {
    padding: 26px 23px;
  }

  .tarjeta-beneficio h3 {
    font-size: 1.13rem;
  }

  /* PRODUCTOS */

  .producto-imagen {
    height: 205px;
  }

  .producto-contenido {
    padding: 25px 23px;
  }

  .producto-contenido h3 {
    font-size: 1.3rem;
  }

  .producto-precio strong {
    font-size: 1.45rem;
  }

  /* SERVICIOS */

  .tarjeta-servicio {
    padding: 27px 23px;
  }

  /* PROCESO */

  .paso-proceso {
    padding: 30px 23px;
  }

  .paso-proceso > i {
    width: 70px;
    height: 70px;
    font-size: 1.7rem;
  }

  /* DIRECTORIO */

  .seccion-directorio .btn {
    width: 100%;
  }

  /* AYUDA */

  .seccion-ayuda .d-flex.gap-3 {
    flex-direction: column;
    align-items: stretch;
  }

  .seccion-ayuda .btn {
    width: 100%;
  }

  .ayuda-icono-grande {
    width: 155px;
    height: 155px;
  }

  .ayuda-icono-grande i {
    font-size: 4.2rem;
  }

  /* FAQ */

  .accordion-button {
    padding: 18px 17px;

    font-size: 0.92rem;
    line-height: 1.5;
  }

  .accordion-body {
    padding: 18px 17px;
    font-size: 0.9rem;
  }

  /* CTA */

  .seccion-cta h2 {
    font-size: clamp(1.85rem, 7vw, 2.2rem);
  }

  .seccion-cta p {
    font-size: 0.95rem;
  }

  .seccion-cta .d-flex.gap-3 {
    flex-direction: column;
    align-items: stretch;
  }

  .seccion-cta .btn {
    width: 100%;
  }

  /* FOOTER */

  .footer-marca p {
    font-size: 0.89rem;
  }

  .footer-links a {
    font-size: 0.87rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;

    text-align: left;
  }

  .footer-bottom p {
    font-size: 0.78rem;
  }

  /* VOLVER ARRIBA */

  .btn-volver-arriba {
    right: 16px;
    bottom: 17px;

    width: 44px;
    height: 44px;

    font-size: 1.15rem;
  }

  /* COMPONENTES */

  .sv-page-header {
    padding: 45px 0;
  }

  .sv-page-header__title {
    font-size: 2rem;
  }

  .sv-page-header__description {
    font-size: 0.95rem;
  }

  .sv-breadcrumb {
    gap: 6px;
  }

  .sv-breadcrumb li {
    font-size: 0.78rem;
  }

  .sv-breadcrumb li + li::before {
    margin-right: 6px;
  }

  .sv-card,
  .sv-testimonial {
    padding: 23px;
  }

  .sv-pricing-card {
    padding: 27px 22px;
  }

  .sv-pricing-card__description {
    min-height: auto;
  }

  .sv-pricing-card__price {
    font-size: 2.2rem;
  }

  .sv-form-card {
    padding: 25px 19px;
  }

  .sv-form-card__title {
    font-size: 1.25rem;
  }

  .sv-info-box {
    gap: 13px;
    padding: 18px;
  }

  .sv-info-box__icon {
    width: 44px;
    height: 44px;

    font-size: 1.3rem;
  }

  .sv-project-card__body,
  .sv-business-card__body {
    padding: 21px;
  }

  .sv-filters {
    gap: 8px;
  }

  .sv-filter {
    padding: 9px 14px;
    font-size: 0.79rem;
  }

  .sv-search__input {
    min-height: 54px;
    font-size: 0.9rem;
  }

  .sv-empty-state {
    padding: 40px 20px;
  }

}


/* =========================================================
   07. CELULARES MUY PEQUEÑOS
   Hasta 375px
   ========================================================= */

@media (max-width: 375px) {

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .logo-principal {
    width: 138px;
  }

  .hero-contenido h1 {
    font-size: 1.95rem;
  }

  .hero-etiqueta {
    font-size: 0.63rem;
    padding: 6px 10px;
  }

  .hero-descripcion {
    font-size: 0.91rem;
  }

  .hero-precio strong {
    font-size: 1.8rem;
  }

  .encabezado-seccion h2 {
    font-size: 1.75rem;
  }

  .producto-imagen {
    height: 180px;
  }

  .tarjeta-beneficio,
  .tarjeta-servicio,
  .producto-contenido {
    padding: 22px 19px;
  }

  .sv-form-card {
    padding: 22px 16px;
  }

  .sv-btn {
    padding: 12px 16px;
  }

}


/* =========================================================
   08. DISPOSITIVOS TÁCTILES
   ========================================================= */

@media (hover: none) and (pointer: coarse) {

  .tarjeta-beneficio:hover,
  .tarjeta-producto:hover,
  .tarjeta-servicio:hover,
  .paso-proceso:hover,
  .sv-card--hover:hover,
  .sv-project-card:hover,
  .sv-business-card:hover,
  .sv-pricing-card:hover {
    transform: none;
  }

  .btn:hover,
  .sv-btn:hover {
    transform: none;
  }

  .navbar-nav .nav-link,
  .dropdown-item {
    min-height: 44px;

    display: flex;
    align-items: center;
  }

  .sv-filter {
    min-height: 44px;
  }

  .sv-search__button {
    min-width: 44px;
    min-height: 44px;
  }

}


/* =========================================================
   09. ORIENTACIÓN HORIZONTAL EN MÓVILES
   ========================================================= */

@media (max-height: 500px) and (orientation: landscape) {

  .navbar-collapse {
    max-height: calc(100dvh - 75px);
    overflow-y: auto;
  }

  .hero-principal {
    padding-top: 40px;
    padding-bottom: 45px;
  }

  .hero-imagen img {
    max-height: 350px;
    width: auto;
  }

}


/* =========================================================
   10. ACCESIBILIDAD
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

}


/* =========================================================
   FIN DE RESPONSIVE.CSS
   SUPERVOLANTE.COM 2027
   ========================================================= */
