/* =========================================
   DR. LUIS VELASCO — STYLES
   Paleta basada en el logotipo
   ========================================= */

:root {
    /* Colores premium basados en el logo */
    --c-blue: #004179;
    /* Azul base del logo */
    --c-blue-dark: #002b54;
    --c-blue-deep: #081b2e;
    /* Ink blue mucho más rico */
    --c-blue-soft: #f0f4f8;
    --c-yellow: #e5a532;
    /* Dorado del logo */
    --c-green: #00b3a6;
    /* Verde teal del logo */
    --c-white: #ffffff;
    --c-cream: #fcfbfa;
    /* Crema más elegante */
    --c-ink: #0a1625;
    --c-muted: #64748b;
    --c-border: #e2e8f0;

    /* Tipografía */
    --f-display: 'Fraunces', Georgia, serif;
    --f-body: 'Outfit', system-ui, sans-serif;
    --f-number: 'Roboto', system-ui, sans-serif;

    /* Layout */
    --container: 1240px;
    --radius: 16px;
    --radius-lg: 28px;

    /* Easing */
    --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-ink);
    background: var(--c-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.01em;
}

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

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

ul {
    list-style: none;
}

em {
    font-style: italic;
    color: var(--c-yellow);
    font-family: var(--f-display);
    font-weight: 500;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

/* =========================================
   TIPOGRAFÍA HELPER
   ========================================= */
.section__eyebrow {
    display: inline-block;
    font-family: var(--f-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-blue);
    margin-bottom: 18px;
    position: relative;
    padding-left: 38px;
}

.section__eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 1px;
    background: var(--c-yellow);
    transform: translateY(-50%);
}

.section__eyebrow--light {
    color: var(--c-cream);
}

.section__eyebrow--light::before {
    background: var(--c-yellow);
}

.section__title {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--c-ink);
    margin-bottom: 28px;
}

.section__title--light {
    color: var(--c-white);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--f-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    white-space: nowrap;
}

.btn--primary {
    background: var(--c-yellow);
    color: var(--c-blue-deep);
}

.btn--primary:hover {
    background: var(--c-blue-deep);
    color: var(--c-yellow);
    transform: translateY(-2px);
}

.btn--accent {
    background: var(--c-green);
    color: var(--c-white);
}

.btn--accent:hover {
    background: var(--c-yellow);
    color: var(--c-blue-deep);
}

.btn--ghost {
    background: transparent;
    color: var(--c-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
    background: var(--c-white);
    color: var(--c-blue-deep);
    border-color: var(--c-white);
}

.btn--whatsapp {
    background: #25D366;
    color: var(--c-white);
    padding: 16px 32px;
}

.btn--whatsapp svg {
    width: 20px;
    height: 20px;
}

.btn--whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* =========================================
   HEADER / NAV
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
}

.header.is-scrolled {
    background: rgba(8, 27, 46, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--c-white);
    line-height: 0;
}

.header__logo picture {
    display: block;
}

.header__logo img {
    height: 52px;
    width: auto;
    transition: height 0.3s var(--ease);
}

.header.is-scrolled .header__logo img {
    height: 42px;
}

.header__logo-fallback {
    display: none;
    align-items: center;
    gap: 10px;
    font-family: var(--f-display);
    font-size: 1.2rem;
    font-weight: 500;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--c-white);
    color: var(--c-blue);
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav__list {
    display: flex;
    gap: 32px;
}

.nav__link {
    color: var(--c-white);
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    transition: color 0.3s var(--ease);
    white-space: nowrap;
}

.nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--c-yellow);
    transition: width 0.4s var(--ease);
}

.nav__link:hover {
    color: var(--c-yellow);
}

.nav__link:hover::after,
.nav__link.is-active::after {
    width: 100%;
}

.nav__link.is-active {
    color: var(--c-yellow);
}

.nav__cta {
    padding: 10px 22px;
    font-size: 0.88rem;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-white);
    transition: all 0.3s var(--ease);
}

.nav__toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   HERO / SLIDER
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    background: var(--c-blue-deep);
}

.hero__swiper,
.hero__swiper .swiper-wrapper {
    height: 100%;
}

.hero__slide {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

.hero__slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--slide-bg);
    background-size: var(--slide-size, cover);
    background-position: var(--slide-pos, center center);
    background-repeat: no-repeat;
    z-index: -2;
    transition: transform 10s linear;
    transform: scale(1);
}

.hero__slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(120deg, rgba(8, 27, 46, 0.9) 0%, rgba(0, 43, 84, 0.75) 60%, rgba(8, 27, 46, 0.65) 100%);
    z-index: -1;
}

.swiper-slide-active.hero__slide::before {
    transform: scale(1.04);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(0, 179, 166, 0.2), transparent 60%);
    pointer-events: none;
    mix-blend-mode: screen;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    color: var(--c-white);
}

.hero__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--c-yellow);
    margin-bottom: 24px;
    padding: 8px 18px;
    border: 1px solid rgba(244, 181, 63, 0.4);
    border-radius: 999px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.9s var(--ease) 0.3s forwards;
}

.hero__title {
    font-family: var(--f-display);
    font-weight: 300;
    font-size: clamp(2.4rem, 5.5vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s var(--ease) 0.5s forwards;
}

.hero__text {
    font-size: 1.15rem;
    line-height: 1.65;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s var(--ease) 0.7s forwards;
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s var(--ease) 0.9s forwards;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reset animation cuando el slide cambia */
.swiper-slide-active .hero__eyebrow,
.swiper-slide-active .hero__title,
.swiper-slide-active .hero__text,
.swiper-slide-active .hero__actions {
    animation: heroFadeIn 1s var(--ease) forwards;
}

/* Swiper nav personalizada */
.hero__nav {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero__arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--c-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    backdrop-filter: blur(8px);
}

.hero__arrow svg {
    width: 22px;
    height: 22px;
}

.hero__arrow:hover {
    background: var(--c-yellow);
    color: var(--c-blue-deep);
    border-color: var(--c-yellow);
}

.hero__pagination {
    position: absolute;
    bottom: 116px !important;
    left: 40px !important;
    width: auto !important;
    z-index: 10;
}

.hero__pagination .swiper-pagination-bullet {
    width: 32px;
    height: 3px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 4px !important;
    transition: all 0.4s var(--ease);
}

.hero__pagination .swiper-pagination-bullet-active {
    background: var(--c-yellow);
    width: 56px;
}

/* Indicador scroll */
.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    z-index: 10;
}

.hero__scroll span {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--c-yellow);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    80% {
        transform: translate(-50%, 16px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* =========================================
   SOBRE MÍ
   ========================================= */
.about {
    padding: 140px 0;
    background: var(--c-cream);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(43, 182, 163, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
    position: relative;
}

.about__media {
    position: relative;
}

.about__image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: transparent;
    box-shadow: 0 40px 80px -20px rgba(8, 27, 46, 0.25);
}

.about__image-wrap::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--c-yellow);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about__image-wrap picture {
    display: block;
    width: 100%;
    height: 100%;
}

.about__image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.about__media:hover .about__image-wrap img {
    transform: scale(1.04);
}

.about__badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--c-blue);
    color: var(--c-white);
    padding: 24px 28px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 40px -10px rgba(0, 31, 64, 0.4);
}

.about__badge-num {
    font-family: var(--f-number);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--c-yellow);
    line-height: 1;
}

.about__badge-text {
    font-size: 0.85rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about__lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--c-muted);
    margin-bottom: 32px;
    max-width: 580px;
}

.about__list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 40px;
}

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

.about__icon {
    color: var(--c-green);
    font-size: 0.9rem;
    margin-top: 4px;
}

.about__list strong {
    display: block;
    font-family: var(--f-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--c-blue-deep);
    margin-bottom: 4px;
}

.about__list p {
    color: var(--c-muted);
    font-size: 0.98rem;
}

/* =========================================
   SERVICIOS
   ========================================= */
.services {
    padding: 140px 0;
    background: var(--c-blue-deep);
    color: var(--c-white);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-yellow), transparent);
}

.services::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(43, 182, 163, 0.12), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.services__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 80px;
}

.services__intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Servicio destacado: Consulta Especializada */
.service--featured {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 56px;
    margin-bottom: 60px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: visible;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service--featured>* {
    position: relative;
    z-index: 1;
}

.service--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--c-yellow), var(--c-green));
}

.service__head {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}

.service__num {
    position: absolute;
    top: -20px;
    right: 30px;
    font-family: var(--f-number);
    font-size: 10rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
    line-height: 1;
    transition: all 0.5s var(--ease);
}

.service--featured:hover .service__num {
    color: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
}

.service__title {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--c-white);
    letter-spacing: -0.01em;
}

.service__desc {
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 820px;
}

.service__sub {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--c-green);
    margin-bottom: 20px;
    font-weight: 500;
}

.service__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px 32px;
}

.service__list li {
    position: relative;
    padding-left: 26px;
    font-size: 1rem;
    color: var(--c-white);
    font-weight: 400;
    transition: all 0.3s var(--ease);
    opacity: 1 !important;
}

.service__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 9px;
    height: 9px;
    background: var(--c-yellow);
    border-radius: 50%;
    transition: transform 0.3s var(--ease);
    box-shadow: 0 0 6px rgba(229, 165, 50, 0.4);
}

.service__list li:hover {
    color: var(--c-yellow);
    padding-left: 30px;
}

.service__list li:hover::before {
    background: var(--c-green);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(0, 179, 166, 0.5);
}

/* Cards procedimientos */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    transition: all 0.5s var(--ease);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(43, 182, 163, 0.0), rgba(244, 181, 63, 0.0));
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(244, 181, 63, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.service-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(43, 182, 163, 0.08), rgba(244, 181, 63, 0.08));
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-card__num {
    position: absolute;
    top: 55px;
    right: 20px;
    font-family: var(--f-number);
    font-size: 7rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    margin-bottom: 0;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
    transition: all 0.5s var(--ease);
}

.service-card:hover .service-card__num {
    color: rgba(255, 255, 255, 0.06);
    transform: translateY(-10px);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(229, 165, 50, 0.15), rgba(229, 165, 50, 0.05));
    border: 1px solid rgba(229, 165, 50, 0.2);
    color: var(--c-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all 0.4s var(--ease);
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
}

.service-card:hover .service-card__icon {
    background: var(--c-yellow);
    color: var(--c-blue-deep);
    transform: scale(1.05) rotate(-5deg);
}

.service-card__title {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--c-white);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.service-card__sub {
    display: block;
    font-size: 0.8rem;
    color: var(--c-green);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    font-weight: 600;
}

.service-card__text {
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--c-yellow);
    font-size: 0.92rem;
    font-weight: 500;
    transition: gap 0.3s var(--ease);
}

.service-card__link svg {
    width: 16px;
    height: 16px;
}

.service-card__link:hover {
    gap: 14px;
}

.service-card--accent {
    background: linear-gradient(160deg, rgba(229, 165, 50, 0.06), rgba(0, 179, 166, 0.04));
    border-color: rgba(229, 165, 50, 0.25);
}

/* =========================================
   YOUTUBE SHORTS
   ========================================= */
.shorts {
    padding: 140px 0;
    background: var(--c-blue-deep);
    position: relative;
    overflow: hidden;
}

.shorts::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(229, 165, 50, 0.08), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.shorts::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 179, 166, 0.06), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.shorts__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.shorts__intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-top: 16px;
}

/* Grid de shorts */
.shorts__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    min-height: 200px;
}

/* Loading state */
.shorts__loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 80px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.shorts__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--c-yellow);
    border-radius: 50%;
    animation: spinShorts 0.8s linear infinite;
}

@keyframes spinShorts {
    to { transform: rotate(360deg); }
}

/* Card individual */
.shorts__card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s var(--ease);
    cursor: pointer;
    aspect-ratio: 9 / 16;
}

.shorts__card:hover {
    transform: translateY(-8px);
    border-color: rgba(229, 165, 50, 0.3);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
}

/* Thumbnail */
.shorts__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.shorts__card:hover .shorts__thumb {
    transform: scale(1.05);
}

/* Overlay gradient */
.shorts__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8, 27, 46, 0.95) 0%,
        rgba(8, 27, 46, 0.3) 40%,
        transparent 70%
    );
    pointer-events: none;
    transition: background 0.4s var(--ease);
}

.shorts__card:hover .shorts__overlay {
    background: linear-gradient(
        to top,
        rgba(8, 27, 46, 0.9) 0%,
        rgba(8, 27, 46, 0.15) 40%,
        transparent 70%
    );
}

/* Play button */
.shorts__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(229, 165, 50, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s var(--ease);
    pointer-events: none;
}

.shorts__play svg {
    width: 22px;
    height: 22px;
    color: var(--c-blue-deep);
    margin-left: 3px;
}

.shorts__card:hover .shorts__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Card info */
.shorts__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px;
    pointer-events: none;
}

.shorts__card-title {
    font-family: var(--f-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--c-white);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* YouTube badge */
.shorts__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(255, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--c-white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.shorts__badge svg {
    width: 14px;
    height: 14px;
}

/* Iframe active state */
.shorts__card.is-playing {
    aspect-ratio: 9 / 16;
}

.shorts__card.is-playing .shorts__thumb,
.shorts__card.is-playing .shorts__overlay,
.shorts__card.is-playing .shorts__play,
.shorts__card.is-playing .shorts__info,
.shorts__card.is-playing .shorts__badge {
    display: none;
}

.shorts__iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius);
}

/* CTA Button */
.shorts__cta {
    text-align: center;
    margin-top: 52px;
}

.shorts__btn {
    gap: 10px;
}

.shorts__btn svg {
    width: 22px;
    height: 22px;
}

/* Error state */
.shorts__error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
}

.shorts__error p {
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1100px) {
    .shorts__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .shorts__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .shorts__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .shorts__card-title {
        font-size: 0.78rem;
        -webkit-line-clamp: 2;
    }

    .shorts__info {
        padding: 14px 12px;
    }
}

/* =========================================
   CONTACTO
   ========================================= */
.contact {
    padding: 140px 0;
    background: var(--c-cream);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 58, 122, 0.06), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
}

.contact__lead {
    font-size: 1.1rem;
    color: var(--c-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.contact__list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 40px;
}

.contact__list li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact__ico {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--c-white);
    color: var(--c-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px -8px rgba(0, 31, 64, 0.2);
}

.contact__ico svg {
    width: 22px;
    height: 22px;
}

.contact__list strong {
    display: block;
    font-family: var(--f-display);
    font-size: 1.1rem;
    color: var(--c-blue-deep);
    margin-bottom: 4px;
}

.contact__list a,
.contact__list span {
    color: var(--c-muted);
    transition: color 0.3s var(--ease);
}

.contact__list a:hover {
    color: var(--c-blue);
}

.contact__social {
    display: flex;
    gap: 14px;
}

.contact__social a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--c-white);
    color: var(--c-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s var(--ease);
    box-shadow: 0 6px 16px -8px rgba(0, 31, 64, 0.25);
}

.contact__social svg {
    width: 20px;
    height: 20px;
}

.contact__social a:hover {
    background: var(--c-blue);
    color: var(--c-yellow);
    transform: translateY(-3px);
}

.contact__form {
    background: var(--c-white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -20px rgba(0, 31, 64, 0.15);
    border: 1px solid var(--c-border);
}

.contact__form-title {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 2rem;
    color: var(--c-blue-deep);
    margin-bottom: 24px;
    line-height: 1.1;
}

.form-group {
    margin-bottom: 18px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    font-family: var(--f-body);
    font-size: 0.95rem;
    color: var(--c-ink);
    background: var(--c-cream);
    transition: all 0.3s var(--ease);
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--c-blue);
    background: var(--c-white);
    box-shadow: 0 0 0 4px rgba(0, 65, 121, 0.08);
}

.btn--full {
    width: 100%;
    padding: 18px;
    font-size: 1rem;
    margin-top: 8px;
}

.contact__form-note {
    text-align: center;
    margin-top: 18px;
    font-size: 0.9rem;
    color: var(--c-muted);
}

.contact__form-note a {
    color: var(--c-green);
    font-weight: 500;
}

.contact__form-note a:hover {
    color: var(--c-blue-deep);
    text-decoration: underline;
}

.contact__feedback {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    animation: feedbackFade 0.4s var(--ease);
}

.contact__feedback--success {
    background: rgba(0, 179, 166, 0.12);
    color: #00897b;
    border: 1px solid rgba(0, 179, 166, 0.3);
}

.contact__feedback--error {
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

@keyframes feedbackFade {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.btn--loading {
    opacity: 0.7;
    pointer-events: none;
    cursor: not-allowed;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    padding: 32px 0;
    background: var(--c-blue-deep);
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 0;
}

.footer__logo {
    height: 38px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.3s var(--ease);
}

.footer__logo:hover {
    opacity: 1;
}

.footer__copy {
    font-size: 0.86rem;
}

/* =========================================
   WHATSAPP FLOAT
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
    z-index: 50;
    transition: all 0.35s var(--ease);
    animation: wppPulse 2.5s ease-in-out infinite;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    background: #128C7E;
}

@keyframes wppPulse {

    0%,
    100% {
        box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    50% {
        box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6), 0 0 0 14px rgba(37, 211, 102, 0);
    }
}

/* =========================================
   REVEAL ANIMATIONS (GSAP)
   ========================================= */
.reveal {
    opacity: 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
    .nav {
        gap: 24px;
    }

    .nav__list {
        gap: 24px;
    }

    .nav__link {
        font-size: 0.9rem;
    }

    .nav__cta {
        padding: 9px 18px;
        font-size: 0.85rem;
    }
}

@media (max-width: 980px) {

    .about__grid,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about__media {
        max-width: 480px;
        margin: 0 auto;
    }

    .service--featured {
        padding: 40px 32px;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .about,
    .services,
    .contact {
        padding: 90px 0;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--c-blue-deep);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 40px;
        gap: 32px;
        transition: right 0.4s var(--ease);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav.is-open {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 22px;
        width: 100%;
    }

    .nav__link {
        font-size: 1.3rem;
        font-family: var(--f-display);
    }

    .nav__toggle {
        display: flex;
    }

    .nav__cta {
        width: 100%;
        text-align: center;
    }

    .hero__nav {
        left: 20px;
        bottom: 24px;
    }

    .hero__pagination {
        left: 20px !important;
        bottom: 90px !important;
    }

    .hero__arrow {
        width: 44px;
        height: 44px;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__text {
        font-size: 1rem;
    }

    .service--featured {
        padding: 32px 24px;
    }

    .service__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

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

    .service-card {
        padding: 32px 28px;
    }

    .about__badge {
        right: 20px;
        bottom: 20px;
        padding: 18px 22px;
    }

    .about__badge-num {
        font-size: 2rem;
    }

    .contact__form {
        padding: 40px 24px;
    }

    .contact__form-title {
        font-size: 1.7rem;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
    }

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