/* ==================================================
   1. COLORES Y AJUSTES GENERALES
   Cambia estos colores para personalizar toda la web.
   ================================================== */
:root {
    --azul-oscuro: #031326;
    --celeste: #00c9ff;
    --azul: #087ce3;
    --verde: #08ad3e;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #081a31;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

.section {
    padding: 50px 0;
}

.section-title {
    margin-bottom: 28px;
    font-size: clamp(1.65rem, 2.7vw, 2.3rem);
    font-weight: 900;
}

.section-title span {
    color: var(--azul);
}

.eyebrow {
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    font-weight: 850;
}

/* Hace visible el enlace de accesibilidad al usar la tecla Tab. */
.saltar-contenido {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 1100;
    padding: 12px;
    color: #fff;
    background: var(--azul-oscuro);
}

.saltar-contenido:focus {
    top: 12px;
}

:focus-visible {
    outline: 3px solid var(--celeste);
    outline-offset: 4px;
}

/* 2. MENÚ SUPERIOR: permanece visible al bajar por la página. */
.navbar {
    min-height: 85px;
    background: #010a16;
    border-bottom: 1px solid #075c90;
}

.brand {
    display: flex;
    align-items: center;
    gap: 7px;
}

.brand-wolf {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.brand-word {
    width: 250px;
}

.navbar .nav-link {
    color: #f2f7ff;
    font-size: 0.87rem;
    font-weight: 650;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--celeste);
}

/* Todos los botones de WhatsApp comparten el mismo diseño. */
.btn-whatsapp {
    padding: 12px 20px;
    color: #fff;
    background: linear-gradient(125deg, #10d75a, var(--verde));
    border: 1px solid #45ef82;
    border-radius: 16px;
    font-weight: 800;
    box-shadow: 0 5px 20px #00d85833;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
    color: #fff;
    background: #079b37;
}

/* 3. INICIO: texto a la izquierda e imagen a la derecha. */
.hero {
    position: relative;
    padding-top: 85px;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(ellipse at 74% 40%, #073a65, #02172f 48%, #010912 90%);
}

/* Líneas diagonales decorativas sobre el fondo. */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, transparent 49%, #00c8ff0c 50%, transparent 51%);
    background-size: 75px 75px;
    pointer-events: none;
}

.min-vh-hero {
    min-height: 550px;
}

.hero-copy,
.hero-visual {
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 5.4rem);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero h1 span,
.hero-sub strong {
    color: var(--celeste);
}

.hero-sub {
    max-width: 540px;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.hero-sub strong {
    display: block;
    margin-top: 6px;
}

.perks i {
    display: grid;
    place-items: center;
    width: 61px;
    height: 61px;
    margin: 0 auto 9px;
    border: 2px solid #009aff;
    border-radius: 50%;
    font-size: 1.7rem;
    box-shadow: 0 0 18px #00b7ff44;
}

.perks small {
    display: block;
    font-size: 0.78rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    font-size: 0.81rem;
}

.hero-meta i {
    color: var(--celeste);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 35px;
}

.hero-halo {
    position: absolute;
    width: 75%;
    aspect-ratio: 1;
    background: #00bfff30;
    border-radius: 50%;
    filter: blur(70px);
}

.hero-wolf {
    position: relative;
    width: min(95%, 650px);
    max-height: 650px;
    object-fit: contain;
    filter: drop-shadow(0 0 24px #00baff55);
}

/* 4. SERVICIOS: Bootstrap distribuye las tarjetas en 1, 2 o 4 columnas. */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 17px;
    text-align: center;
    border: 1px solid #dce6ee;
    border-radius: 17px;
    box-shadow: 0 7px 28px #0313260b;
}

.service-art {
    display: grid;
    place-items: center;
    height: 125px;
    margin-bottom: 12px;
    background: linear-gradient(145deg, #e8f6ff, #fff);
    border-radius: 12px;
}

.service-art img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.service-art i {
    color: #087ac4;
    font-size: 5rem;
    filter: drop-shadow(3px 5px 0 #b7d7e9);
}

.service-card h3 {
    min-height: 40px;
    color: #0054a8;
    font-size: 1rem;
    font-weight: 900;
}

.service-card p {
    font-size: 0.9rem;
}

.service-card a {
    margin-top: auto;
    padding-top: 12px;
    color: #0074c9;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
}

/* 5. MARCAS: nueve columnas en pantallas grandes. */
.brands {
    background: #f2f6fb;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 12px;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 80px;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px #0000000a;
}

.brand-item img {
    width: 100%;
    max-width: 130px;
    height: 45px;
    object-fit: contain;
}

/* 6. PROCESO: seis pasos en escritorio, reorganizados en celular. */
.process-compact {
    padding: 28px 0;
    color: #fff;
    background: linear-gradient(110deg, #001321, #062747);
}

.process-compact__title {
    margin-bottom: 22px;
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    font-weight: 800;
}

.process-compact__title span {
    color: var(--celeste);
}

.process-compact__steps {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.process-compact__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.process-compact__icon span {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    color: #002039;
    background: var(--celeste);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
}

.process-compact__icon i {
    color: #78ddff;
    font-size: 30px;
}

.process-compact__steps h3 {
    font-size: 0.9rem;
    font-weight: 700;
}

.process-compact__steps p {
    max-width: 210px;
    margin: 0 auto;
    color: #c6d8e7;
    font-size: 0.8rem;
}

/* 7. TESTIMONIOS: tarjetas preparadas para colocar reseñas reales. */
.review {
    height: 100%;
    min-height: 170px;
    padding: 22px;
    border: 1px solid #e1e9f2;
    border-radius: 16px;
}

.review h3 {
    font-size: 1.05rem;
    font-weight: 800;
}

.review p {
    color: #52616f;
    font-size: 0.9rem;
}

.stars {
    margin-bottom: 8px;
    color: #ffb000;
    letter-spacing: 3px;
}

/* 8. CONTACTO: fondo oscuro y formulario blanco. */
.contact {
    color: #fff;
    background: linear-gradient(130deg, #031429, #074377);
}

.contact h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    font-weight: 950;
}

.contact p {
    font-size: 1.1rem;
}

.contact-form {
    padding: 28px;
    color: #142d44;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 35px #0003;
}

.contact-form h3 {
    font-size: 1.4rem;
    font-weight: 850;
}

.contact-form .form-label {
    font-weight: 650;
}

/* 9. PIE DE PÁGINA Y BOTÓN FLOTANTE. */
.footer {
    padding: 22px 0 90px;
    color: #a7bfd2;
    background: #010b17;
    font-size: 0.8rem;
}

.float-wa {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1040;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: #fff;
    background: #0acb4d;
    border-radius: 50%;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 5px 25px #0005;
}

.float-wa:hover {
    color: #fff;
    background: #079b37;
}

/* ==================================================
   10. ADAPTACIÓN A DIFERENTES PANTALLAS
   Estos cambios se aplican al reducir el ancho.
   ================================================== */

/* Portátiles y tabletas: menú plegable y logotipo más pequeño. */
@media (max-width: 1199.98px) {
    .brand-word { width: 200px; }
    .brand-wolf { width: 50px; height: 50px; }
    .navbar-collapse { max-height: 75vh; overflow-y: auto; padding-block: 12px; }
    .process-compact__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .brand-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Tabletas: la imagen principal pasa debajo del texto. */
@media (max-width: 991.98px) {
    .hero-copy { text-align: center; }
    .hero-sub { margin-inline: auto; }
    .hero-meta { justify-content: center; }
    .hero-visual { padding-top: 0; }
    .hero-wolf { max-height: 380px; }
}

/* Teléfonos: espacios más pequeños y marcas en tres columnas. */
@media (max-width: 575.98px) {
    .section { padding: 35px 0; }
    .brand { margin-right: 5px; }
    .brand-word { width: 155px; }
    .brand-wolf { width: 40px; height: 40px; }
    .hero h1 { font-size: clamp(2rem, 10vw, 3.5rem); }
    .hero-meta { gap: 12px; font-size: 0.75rem; }
    .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .brand-item { padding: 10px; }
    .process-compact__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-form { padding: 20px; }
    .contact .btn-whatsapp { width: 100%; }
    .float-wa { right: 14px; bottom: 14px; }
}

/* Pantallas muy estrechas: un paso por fila para mantener la lectura. */
@media (max-width: 359.98px) {
    .process-compact__steps { grid-template-columns: 1fr; }
}

/* Respeta a quienes prefieren evitar animaciones. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
