/* ════════════════════════════════════════════
   VARIABLES & RESET
════════════════════════════════════════════ */
:root {
    --primary: #4D4AB7;
    --primary-hover: #3D3A9A;
    --primary-light: #7B79D4;
    --primary-glow: rgba(77, 74, 183, .25);
    --accent: #EBC54C;
    --accent-dark: #C9A230;
    --secondary: #4CAF50;
    --dark: #1F2937;
    --dark2: #111827;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --gray: #6B7280;
    --border: #E5E7EB;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, .06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, .10);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .14);
    --shadow-primary: 0 8px 30px rgba(77, 74, 183, .30);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ════════════════════════════════════════════
   PLACEHOLDER HUELLA — imagen no encontrada
════════════════════════════════════════════ */

/* Contenedor que reemplaza la imagen rota */
.paw-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(145deg, #ede9ff 0%, #f5f3ff 60%, #e8e4fb 100%);
    border-radius: inherit;
    overflow: hidden;
    /* Fondo de huellas tenues repetidas */
    background-image:
        radial-gradient(ellipse at 20% 30%, rgba(77, 74, 183, .06) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(235, 197, 76, .07) 0%, transparent 50%);
}

/* Huella SVG principal con animación de latido suave */
.paw-svg {
    width: 52px;
    height: 52px;
    fill: var(--primary);
    opacity: .55;
    animation: pawPulse 2.4s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(77, 74, 183, .25));
}

@keyframes pawPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: .55;
    }

    50% {
        transform: scale(1.14);
        opacity: .80;
    }
}

/* Etiqueta de texto debajo de la huella */
.paw-placeholder-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    opacity: .65;
    letter-spacing: .6px;
    text-transform: uppercase;
    text-align: center;
    padding: 0 8px;
    max-width: 120px;
    line-height: 1.4;
}

/* Versión compacta para thumbnails (botones .thumb) */
.thumb .paw-placeholder {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.thumb .paw-svg {
    width: 28px;
    height: 28px;
}

.thumb .paw-placeholder-label {
    display: none;
}

/* Versión compacta para el phone-frame de capturas */
.phone-frame .paw-placeholder {
    border-radius: 24px;
    min-height: 260px;
}

.phone-frame .paw-svg {
    width: 60px;
    height: 60px;
}

/* Versión para el carrusel hero */
.img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-wrap .paw-placeholder {
    min-height: 200px;
}

.img-wrap .paw-svg {
    width: 64px;
    height: 64px;
    opacity: .5;
}

/* ════════════════════════════════════════════
   GALERÍA — overlay con huella SVG al hover
════════════════════════════════════════════ */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(77, 74, 183, .65), rgba(235, 197, 76, .45));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .35s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* La huella SVG dentro del overlay */
.paw-overlay-svg {
    width: 64px;
    height: 64px;
    fill: white;
    opacity: .92;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .25));
    transform: scale(.8) rotate(-10deg);
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), opacity .35s;
}

.gallery-item:hover .paw-overlay-svg {
    transform: scale(1.1) rotate(0deg);
    opacity: 1;
}

/* ════════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}

.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 {
    transition-delay: .1s;
}

.reveal-delay-2 {
    transition-delay: .2s;
}

.reveal-delay-3 {
    transition-delay: .3s;
}

.reveal-delay-4 {
    transition-delay: .4s;
}

.reveal-delay-5 {
    transition-delay: .5s;
}

.reveal-delay-6 {
    transition-delay: .6s;
}

.reveal-delay-7 {
    transition-delay: .7s;
}

/* ════════════════════════════════════════════
   HEADER
════════════════════════════════════════════ */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 4px 20px rgba(0, 0, 0, .04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 50px;
    transition: padding .3s;
}

header.scrolled {
    padding: 10px 50px;
    box-shadow: 0 2px 24px rgba(0, 0, 0, .10);
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -.5px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo span {
    color: var(--accent);
}

nav {
    display: flex;
    gap: 6px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
    padding: 7px 14px;
    border-radius: 10px;
    transition: color .25s, background .25s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width .3s;
}

nav a:hover {
    color: var(--primary);
    background: rgba(77, 74, 183, .07);
}

nav a:hover::after {
    width: 60%;
}

/* ── HAMBURGUESA ──────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger span {
    display: block;
    height: 2.5px;
    width: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: transform .35s ease, opacity .35s ease, width .35s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8.75px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8.75px) rotate(-45deg);
}

/* ── MENÚ MÓVIL ───────────────────────────── */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
    position: sticky;
    top: 57px;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s cubic-bezier(.4, 0, .2, 1), padding .45s;
}

.mobile-menu.open {
    max-height: 520px;
    padding: 10px 0;
}

.mobile-menu a {
    padding: 13px 28px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    transition: background .2s, color .2s, padding-left .2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    background: #F5F4FF;
    color: var(--primary);
    padding-left: 36px;
}

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 60px;
    background: linear-gradient(135deg, #F0EFFE 0%, #FAFBFF 45%, #EEF2FF 100%);
    gap: 50px;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(77, 74, 183, .08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: floatBubble 8s ease-in-out infinite;
}

.hero::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(235, 197, 76, .10) 0%, transparent 70%);
    bottom: -100px;
    left: 5%;
    animation: floatBubble 10s ease-in-out infinite reverse;
}

@keyframes floatBubble {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.04);
    }
}

.hero-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(77, 74, 183, .10);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    margin-bottom: 22px;
    border: 1px solid rgba(77, 74, 183, .20);
    animation: fadeSlideDown .8s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text h1 {
    font-size: 58px;
    line-height: 1.12;
    margin-bottom: 22px;
    font-weight: 800;
    letter-spacing: -.5px;
    animation: heroTitleIn 1s cubic-bezier(.4, 0, .2, 1) .1s both;
}

@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text h1 em {
    font-style: normal;
    color: var(--primary);
}

.hero-text p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 36px;
    max-width: 560px;
    line-height: 1.75;
    animation: heroTitleIn 1s cubic-bezier(.4, 0, .2, 1) .25s both;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: heroTitleIn 1s cubic-bezier(.4, 0, .2, 1) .4s both;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
    animation: heroTitleIn 1s cubic-bezier(.4, 0, .2, 1) .55s both;
}

.stat-item {
    text-align: left;
}

.stat-num {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--gray);
    margin-top: 2px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.hero-image {
    flex: 1;
    text-align: center;
    min-width: 0;
    position: relative;
    z-index: 1;
    animation: heroTitleIn 1s cubic-bezier(.4, 0, .2, 1) .2s both;
}

/* ── BOTONES ──────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    cursor: pointer;
    font-size: 15px;
    letter-spacing: .2px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .15);
    opacity: 0;
    transition: opacity .3s;
}

.btn:hover::after {
    opacity: 1;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(0) scale(.97);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(77, 74, 183, .35);
}

.btn-primary:hover {
    box-shadow: 0 12px 32px rgba(77, 74, 183, .45);
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--dark);
    border: none;
    box-shadow: 0 6px 20px rgba(235, 197, 76, .35);
}

.btn-accent:hover {
    box-shadow: 0 12px 32px rgba(235, 197, 76, .5);
}

/* ── CARRUSEL HERO ────────────────────────── */
.carousel {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(77, 74, 183, .22), 0 0 0 1px rgba(77, 74, 183, .10);
    background: #f0eeff;
    animation: floatCarousel 6s ease-in-out infinite;
}

@keyframes floatCarousel {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-12px) rotate(.3deg);
    }

    66% {
        transform: translateY(-6px) rotate(-.2deg);
    }
}

.carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform .6s cubic-bezier(.4, 0, .2, 1), opacity .6s cubic-bezier(.4, 0, .2, 1);
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

/* img-wrap cubre toda la diapositiva */
.carousel-slide .img-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-label {
    position: absolute;
    bottom: 52px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, .90);
    backdrop-filter: blur(10px);
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    padding: 6px 18px;
    border-radius: 30px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(77, 74, 183, .18);
    z-index: 5;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .90);
    backdrop-filter: blur(8px);
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 26px;
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
    transition: all .25s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-primary);
}

.carousel-btn--prev {
    left: 12px;
}

.carousel-btn--next {
    right: 12px;
}

.carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    align-items: center;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid rgba(77, 74, 183, .6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all .3s;
}

.dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.4);
    width: 20px;
    border-radius: 4px;
}

.dot:hover:not(.active) {
    background: rgba(77, 74, 183, .4);
}

.carousel-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, .45);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: .5px;
    z-index: 10;
}

/* ════════════════════════════════════════════
   SECCIONES GENERALES
════════════════════════════════════════════ */
section {
    padding: 100px 60px;
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-title .eyebrow {
    display: inline-block;
    background: rgba(77, 74, 183, .10);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 30px;
    margin-bottom: 14px;
    border: 1px solid rgba(77, 74, 183, .15);
}

.section-title h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -.5px;
}

.section-title p {
    color: var(--gray);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto;
}

/* ── TARJETAS ─────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.card {
    background: white;
    padding: 32px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, .04);
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(77, 74, 183, .04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .35s;
}

.card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 50px rgba(77, 74, 183, .14), 0 0 0 1px rgba(77, 74, 183, .08);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover::after {
    opacity: 1;
}

.card-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: block;
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(-5deg);
}

.card h3 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 17px;
    font-weight: 700;
}

.card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.65;
}

.community {
    background: white;
}

/* ════════════════════════════════════════════
   CAPTURAS DE PANTALLA
════════════════════════════════════════════ */
.screenshots-section {
    background: linear-gradient(160deg, #111827 0%, #1F2937 50%, #263348 100%);
    padding: 100px 60px;
    position: relative;
    overflow: hidden;
}

.screenshots-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(77, 74, 183, .12) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.screenshots-section .section-title h2 {
    color: #fff;
}

.screenshots-section .section-title p {
    color: rgba(255, 255, 255, .55);
}

.screenshots-section .section-title .eyebrow {
    background: rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .8);
    border-color: rgba(255, 255, 255, .15);
}

.screenshots-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    position: relative;
    z-index: 1;
}

.phone-track-container {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.screenshots-track {
    position: relative;
    width: 100%;
}

.screenshot-item {
    display: none;
    animation: fadeInScr .5s cubic-bezier(.4, 0, .2, 1);
}

.screenshot-item.active {
    display: block;
}

@keyframes fadeInScr {
    from {
        opacity: 0;
        transform: translateY(24px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.phone-frame {
    position: relative;
    background: #0D1117;
    border-radius: 40px;
    padding: 16px 10px 22px;
    box-shadow:
        0 0 0 1px #2D3748,
        0 0 0 3px #1A202C,
        0 40px 100px rgba(0, 0, 0, .7),
        inset 0 1px 0 rgba(255, 255, 255, .05);
}

.phone-notch {
    width: 88px;
    height: 20px;
    background: #0D1117;
    border-radius: 0 0 14px 14px;
    margin: 0 auto 10px;
    position: relative;
    z-index: 1;
}

.phone-notch::after {
    content: '';
    width: 9px;
    height: 9px;
    background: #1A202C;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 2px #2D3748;
}

.phone-frame img {
    width: 100%;
    border-radius: 24px;
    display: block;
    aspect-ratio: 9/19.5;
    object-fit: cover;
}

.scr-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .12);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s;
    z-index: 10;
}

.scr-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
    transform: translateY(-50%) scale(1.1);
}

.scr-btn--prev {
    left: -58px;
}

.scr-btn--next {
    right: -58px;
}

.screenshots-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    max-width: 100%;
}

.screenshots-thumbs::-webkit-scrollbar {
    display: none;
}

.thumb {
    flex-shrink: 0;
    width: 54px;
    height: 96px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, .12);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: none;
    transition: all .3s;
    position: relative;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb.active {
    border-color: var(--accent);
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(235, 197, 76, .25);
}

.thumb:hover:not(.active) {
    border-color: rgba(255, 255, 255, .4);
    transform: scale(1.05);
}

/* ════════════════════════════════════════════
   GALERÍA DE MASCOTAS
════════════════════════════════════════════ */
.gallery-section {
    background: var(--light);
    padding: 100px 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 14px;
    max-width: 1100px;
    margin: 0 auto 50px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--border);
}

.gallery-item--tall {
    grid-row: span 2;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-cta {
    text-align: center;
}

.gallery-cta p {
    color: var(--gray);
    font-size: 18px;
    margin-bottom: 22px;
}

/* ════════════════════════════════════════════
   VETERINARIAS
════════════════════════════════════════════ */
.vets {
    padding: 100px 60px;
    background: linear-gradient(150deg, #F0EFFE 0%, #FAFBFF 100%);
}

.vets-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.vets-info {
    flex: 1;
    min-width: 280px;
}

.vets-info h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -.5px;
}

.vets-info p {
    color: var(--gray);
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.7;
}

.vets-info ul {
    list-style: none;
    padding: 0;
}

.vets-info li {
    margin-bottom: 14px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vets-info li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.vets-form {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, .04);
}

.vets-form h3 {
    margin-bottom: 24px;
    font-size: 22px;
    font-weight: 700;
}

.vets-form input,
.vets-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: border-color .3s, box-shadow .3s, background .3s;
    background: var(--light);
}

.vets-form input:focus,
.vets-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(77, 74, 183, .12);
    background: white;
}

.vets-form textarea {
    resize: vertical;
}

.vets-form button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 16px;
}

/* ════════════════════════════════════════════
   CONTACTO
════════════════════════════════════════════ */
.contact-section {
    background: linear-gradient(160deg, #1F2937 0%, #2D3A50 100%);
    padding: 100px 60px;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(235, 197, 76, .06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.contact-section .section-title h2 {
    color: white;
}

.contact-section .section-title p {
    color: rgba(255, 255, 255, .55);
}

.contact-section .section-title .eyebrow {
    background: rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .8);
    border-color: rgba(255, 255, 255, .15);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-card {
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s;
}

.contact-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 255, 255, .20);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-icon {
    font-size: 44px;
    margin-bottom: 16px;
    display: block;
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.contact-card:hover .contact-icon {
    transform: scale(1.15) rotate(-5deg);
}

.contact-card h3 {
    font-size: 17px;
    color: rgba(255, 255, 255, .95);
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-card p {
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.6;
}

.contact-link {
    display: inline-block;
    margin-top: 14px;
    font-weight: 700;
    font-size: 15px;
    color: var(--accent);
    text-decoration: none;
    transition: all .25s;
    padding: 8px 20px;
    border-radius: 30px;
    border: 1.5px solid rgba(235, 197, 76, .3);
}

.contact-link:hover {
    color: var(--dark);
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.05);
}

/* ════════════════════════════════════════════
   LEGAL
════════════════════════════════════════════ */
.legal {
    max-width: 1000px;
    margin: auto;
    background: white;
    border-radius: var(--radius-md);
    padding: 50px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, .04);
}

.legal h3 {
    margin-top: 28px;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 17px;
    font-weight: 700;
}

.legal p {
    margin-bottom: 14px;
    color: var(--gray);
    line-height: 1.75;
}

.legal p strong {
    color: var(--dark);
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
footer {
    background: var(--dark2);
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer-wave {
    background: linear-gradient(90deg, var(--primary), #7B79D4, var(--primary-hover));
    height: 4px;
}

.footer-body {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 50px;
    padding: 64px 60px 48px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

footer::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(77, 74, 183, .08) 0%, transparent 65%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.footer-logo {
    font-size: 26px;
    font-weight: 800;
    color: white;
    letter-spacing: -.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-brand p {
    color: rgba(255, 255, 255, .45);
    font-size: 14px;
    line-height: 1.75;
    max-width: 240px;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .6);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all .25s;
    cursor: pointer;
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(77, 74, 183, .35);
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color .2s, padding-left .2s;
}

.footer-col a:hover {
    color: white;
    padding-left: 6px;
}

.footer-contact-col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
    margin-bottom: 18px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-contact-text strong {
    display: block;
    color: rgba(255, 255, 255, .75);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 2px;
}

.footer-contact-text a {
    color: rgba(255, 255, 255, .5);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
    display: block;
}

.footer-contact-text a:hover {
    color: var(--accent);
}

.footer-contact-text span {
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
}

.footer-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: 10px 16px;
    margin-top: 18px;
    text-decoration: none;
    transition: all .25s;
    cursor: pointer;
}

.footer-app-badge:hover {
    background: rgba(255, 255, 255, .13);
    transform: translateY(-2px);
}

.footer-app-badge-icon {
    font-size: 22px;
}

.footer-app-badge-text strong {
    display: block;
    color: white;
    font-size: 13px;
}

.footer-app-badge-text span {
    color: rgba(255, 255, 255, .45);
    font-size: 11px;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, .07);
    margin: 0 60px;
}

.footer-bottom {
    padding: 22px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-copy {
    color: rgba(255, 255, 255, .3);
    font-size: 13px;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, .3);
    text-decoration: none;
    font-size: 13px;
    transition: color .2s;
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, .7);
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .footer-body {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 900px) {
    header {
        padding: 14px 24px;
    }

    header.scrolled {
        padding: 10px 24px;
    }

    nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 24px 60px;
        min-height: auto;
        gap: 30px;
    }

    .hero-image {
        width: 100%;
        flex: none;
    }

    .carousel {
        max-width: 100%;
        border-radius: 20px;
        animation: none;
    }

    .carousel-track {
        aspect-ratio: 4/3;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .slide-label {
        font-size: 12px;
        bottom: 44px;
    }

    .hero-text {
        flex: none;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-badge {
        margin: 0 auto 18px;
        display: flex;
        width: fit-content;
    }

    section {
        padding: 70px 24px;
    }

    .screenshots-section,
    .contact-section,
    .vets {
        padding: 70px 24px;
    }

    .gallery-section {
        padding: 70px 24px;
    }

    .section-title h2,
    .vets-info h2 {
        font-size: 30px;
    }

    .phone-track-container {
        max-width: 240px;
    }

    .scr-btn--prev {
        left: -46px;
    }

    .scr-btn--next {
        right: -46px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .gallery-item--tall {
        grid-row: span 1;
    }

    .gallery-item--wide {
        grid-column: span 2;
    }

    .vets-container {
        flex-direction: column;
    }

    .vets-form {
        padding: 28px;
    }

    .footer-body {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 48px 24px 36px;
    }

    .footer-divider {
        margin: 0 24px;
    }

    .footer-bottom {
        padding: 18px 24px;
    }

    .legal {
        padding: 28px;
    }
}

@media (max-width: 580px) {
    .hero-text h1 {
        font-size: 26px;
    }

    .logo {
        font-size: 20px;
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 17px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 14px;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    .scr-btn--prev {
        left: -36px;
    }

    .scr-btn--next {
        right: -36px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 120px;
    }

    .thumb {
        width: 46px;
        height: 82px;
    }

    .phone-track-container {
        max-width: 200px;
    }

    .footer-body {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-legal-links {
        flex-wrap: wrap;
        gap: 12px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .paw-svg {
        width: 40px;
        height: 40px;
    }
}

/* ── Reduced motion ───────────────────────── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ════════════════════════════════════════════
   PLANES DE VETERINARIAS
════════════════════════════════════════════ */
.planes-section {
    background: linear-gradient(160deg, #F0EFFE 0%, #FAFBFF 50%, #EEF2FF 100%);
    padding: 100px 60px;
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 40px;
    align-items: start;
}

/* ── Tarjeta base ── */
.plan-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 2px solid rgba(0, 0, 0, .06);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1), box-shadow .35s;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(77, 74, 183, .14);
}

/* ── Tarjeta popular (Destacado) ── */
.plan-card--popular {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(77, 74, 183, .18);
    transform: translateY(-4px);
}

.plan-card--popular:hover {
    transform: translateY(-14px);
}

.plan-popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 30px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(77, 74, 183, .35);
}

/* ── Badge de plan ── */
.plan-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    width: fit-content;
}

.plan-badge--fundador {
    background: rgba(76, 175, 80, .12);
    color: #2e7d32;
}

.plan-badge--basico {
    background: rgba(77, 74, 183, .10);
    color: var(--primary);
}

.plan-badge--destacado {
    background: rgba(235, 197, 76, .18);
    color: #8a6800;
}

.plan-badge--premium {
    background: rgba(123, 121, 212, .15);
    color: #4834d4;
}

/* ── Precio ── */
.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.plan-amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -1px;
}

.plan-period {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

/* ── Descripción ── */
.plan-desc {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ── Lista de features ── */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.plan-features li {
    font-size: 14px;
    color: var(--dark);
    line-height: 1.5;
}

/* ── Gancho ── */
.plan-gancho {
    font-size: 12px;
    color: var(--gray);
    font-style: italic;
    line-height: 1.6;
    border-left: 3px solid rgba(77, 74, 183, .25);
    padding-left: 12px;
    margin: 0;
}

/* ── Botón ── */
.plan-btn {
    text-align: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
}

/* ── Nota informativa ── */
.planes-nota {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-md);
    padding: 18px 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(77, 74, 183, .10);
}

.planes-nota span {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.planes-nota p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* ── Responsive planes ── */
@media (max-width: 900px) {
    .planes-section {
        padding: 70px 24px;
    }

    .planes-grid {
        grid-template-columns: 1fr 1fr;
    }

    .plan-card--popular {
        transform: none;
    }

    .plan-card--popular:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 600px) {
    .planes-grid {
        grid-template-columns: 1fr;
    }

    .plan-amount {
        font-size: 36px;
    }
}

/* ── Select del formulario (plan de interés) ── */
.vets-form select {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    background: var(--light);
    color: var(--dark);
    transition: border-color .3s, box-shadow .3s, background .3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.vets-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(77, 74, 183, .12);
    background-color: white;
}

/* ══ ESTILOS DEL MODAL DE GALERÍA ════════════════ */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    /* Por encima del header y menús */
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    /* Fondo oscuro */
    backdrop-filter: blur(5px);
    /* Efecto desenfoque al fondo */
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Mostrar modal usando Flexbox */
.gallery-modal.show {
    display: flex;
}

/* Animación de entrada para la imagen */
.modal-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 75vh;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Botón de cerrar */
.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    user-select: none;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--primary, #4d4ab7);
    /* Se adapta al color de PetsGo */
    transform: scale(1.1);
}

/* Texto descriptivo (Atributo alt) */
.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-weight: 500;
}

/* Ajustes para pantallas móviles pequeñas */
@media only screen and (max-width: 700px) {
    .modal-content {
        max-width: 95%;
        max-height: 65vh;
    }

    .modal-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }
}

/* ══ FLECHAS DE NAVEGACIÓN DEL MODAL ════════════════ */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 36px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
    user-select: none;
}

.modal-nav-btn:hover {
    background: var(--primary, #4d4ab7);
    border-color: var(--primary, #4d4ab7);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.modal-nav-btn--prev {
    left: 25px;
}

.modal-nav-btn--next {
    right: 25px;
}

/* Ajustes adaptables para pantallas móviles */
@media only screen and (max-width: 768px) {
    .modal-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 28px;
        background: rgba(0, 0, 0, 0.5);
        /* Más visible sobre fotos completas en móviles */
    }

    .modal-nav-btn--prev {
        left: 10px;
    }

    .modal-nav-btn--next {
        right: 10px;
    }

    .modal-content {
        max-width: 82%;
        /* Espacio seguro para que las flechas no estorben la foto */
    }
}