:root {
    /* Backgrounds (Light Luxury Theme) */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;

    /* Primary Accent (Yellow Pipi Stop) */
    --primary-50: #FEFCE8;
    --primary-100: #FEF9C3;
    --primary-200: #FEF08A;
    --primary-300: #FDE047;
    --primary-400: #FACC15;
    /* Hover states/Mid-bright */
    --primary-500: #EAB308;
    /* Main brand color (#EAB308 or #FACC15 can be used) */
    --primary-600: #CA8A04;
    /* Buttons/Deeper accents */
    --primary-700: #A16207;
    --primary-800: #854D0E;
    --primary-900: #713F12;
    --primary-rgb: 234, 179, 8;

    /* Texts */
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-tertiary: #64748B;
    --text-quaternary: #94A3B8;

    /* Accents */
    --success: #22C55E;
    --info: #3B82F6;
    --warning: #F59E0B;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

/* ─── Contenedor principal: mobile-first ─── */
.container {
    width: 100%;          /* nunca supera el ancho de la pantalla */
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;      /* base móvil */
    box-sizing: border-box;
}

@media (min-width: 480px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 768px) {
    .container { padding: 0 2rem; }
}

.icon {
    font-size: 1.5rem;
}

/* Particles Background */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 10%, rgba(var(--primary-rgb), 0.05) 0%, transparent 40%);
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(var(--primary-rgb), 0.2);
    border-radius: 50%;
    pointer-events: none;
    animation: float-particle 20s infinite ease-in-out;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.logo img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.3));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-600);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-400);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: #fff;
    box-shadow: 0 10px 20px -5px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 30px -8px rgba(var(--primary-rgb), 0.4);
    filter: brightness(1.05);
}

.btn-secondary {
    background: var(--text-primary);
    color: #fff;
}

.btn-secondary:hover {
    background: #000;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-400);
    color: var(--primary-700);
}

.btn-outline:hover {
    background: var(--primary-50);
}

.btn-glow {
    animation: pulse-glow 3s infinite ease-in-out;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* hero-grid: mobile-first → 1 col → 2 cols en desktop */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;   /* base: móvil, 1 columna */
    gap: 2rem;
    align-items: center;
    width: 100%;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
    }
}

/* Keep hero-content children stacked tightly without extra stretch */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
}

.label-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    border-radius: 99px;
    margin-bottom: 2rem;
    animation: fade-in-up 0.8s forwards;
    opacity: 0;
}

.label-badge .text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-700);
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fade-in-up 0.8s 0.2s forwards;
    opacity: 0;
}

.hero-title .highlight {
    color: var(--primary-500);
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
    animation: fade-in-up 0.8s 0.4s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    animation: fade-in-up 0.8s 0.6s forwards;
    opacity: 0;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fade-in-right 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-visual img {
    max-width: 100%;
    z-index: 2;
    filter: drop-shadow(0 30px 60px rgba(var(--primary-rgb), 0.2));
}

.sphere-bg {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle at center, var(--primary-200) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    opacity: 0.4;
    animation: float 8s infinite ease-in-out;
}

/* Stats Section */
.social-proof {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--bg-tertiary);
    border-bottom: 1px solid var(--bg-tertiary);
}

/* stats-grid: mobile-first → 2 cols → 4 cols */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* base: 2 en móvil */
    gap: 1.25rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.stat-number {
    font-size: 2.5rem;
    color: var(--primary-600);
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Service Cards (Flip) */
.services {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    max-width: 600px;
    margin: 0 auto;
}

/* services-grid: mobile-first → 1 col → auto-fit en ≥640px */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2.5rem;
    }
}

.service-card-flip {
    perspective: 1000px;
    height: 450px;
    cursor: pointer;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.service-card-flip:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
}

.service-card-front {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-flip:hover .service-image {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
}

.service-card-back {
    background: var(--bg-primary);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--primary-100);
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.1);
}

.service-title-back {
    color: var(--primary-600);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.feature-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0.25rem;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

/* about-grid: mobile-first → 1 col → 2 cols en ≥1024px */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.about-visual {
    position: relative;
}

.glass-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 40px;
    padding: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.circle-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary-400);
    filter: blur(80px);
    opacity: 0.3;
}

.glow-primary {
    max-width: 180px;
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.5));
}

.about-list {
    list-style: none;
    margin: 2rem 0;
}

.about-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-weight: bold;
}

/* CTA Final */
.cta-final {
    padding: 8rem 0;
}

.cta-container {
    padding: 6rem;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--primary-50) 100%);
    border: 1px solid var(--primary-100);
}

.cta-title {
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--text-tertiary);
    margin-bottom: 3rem;
}

.btn-large {
    padding: 1.25rem 3.5rem;
    font-size: 1.125rem;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: #fff;
    padding: 6rem 0 3rem;
}

/* footer-grid: mobile-first → 1 col → 3 cols en ≥768px */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 4rem;
        margin-bottom: 4rem;
    }
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-quaternary);
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.footer-links h4 {
    margin-bottom: 2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-quaternary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-quaternary);
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.contact-card {
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--primary-100);
}

/* contact-grid: mobile-first → 1 col → 2 cols en ≥992px */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact-visual {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.contact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.contact-visual:hover .contact-img {
    transform: scale(1.05);
}

.visual-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.2), transparent);
    pointer-events: none;
}

.contact-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-content .section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.contact-content .section-subtitle {
    margin-bottom: 2.5rem;
    text-align: left;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--bg-tertiary);
    background: var(--bg-secondary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-400);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.btn-full {
    width: 100%;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-visual {
        min-height: 350px;
    }

    .contact-content {
        padding: 3rem 2rem;
    }
}

/* Animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.2;
    }

    50% {
        transform: translate(100px, -100px);
        opacity: 0.4;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 10px 20px -5px rgba(var(--primary-rgb), 0.3);
    }

    50% {
        box-shadow: 0 15px 40px 5px rgba(var(--primary-rgb), 0.6);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Mobile Menu Open */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Flip effect on mobile click */
.service-card-flip.is-flipped .service-card-inner {
    transform: rotateY(180deg);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    /* Hero */
    .hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
        min-height: unset;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Services */
    .services {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card-flip {
        height: 380px;
    }

    /* About */
    .about {
        padding: 4rem 0;
    }

    .about-grid {
        gap: 2.5rem;
    }

    .glass-container {
        padding: 2.5rem;
    }

    /* CTA Final */
    .cta-final {
        padding: 4rem 0;
    }

    .cta-container {
        padding: 3rem 1.5rem;
    }

    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Contact */
    .contact {
        padding: 4rem 0;
    }

    .contact-card {
        border-radius: 20px;
    }

    /* Footer */
    .footer {
        padding: 4rem 0 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }
}

/* =========================================
   Hero Product Carousel
   ========================================= */

.hero-carousel-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: fade-in-right 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 30px 60px -15px rgba(var(--primary-rgb), 0.2),
        0 0 0 1px rgba(var(--primary-rgb), 0.08);
    background: var(--bg-tertiary);
}

/* ---- Slides ---- */
.carousel-slide {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
    opacity: 0;
    transform: scale(1.04);
    transition:
        opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    cursor: pointer;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.carousel-slide.exiting {
    opacity: 0;
    transform: scale(0.97);
    z-index: 1;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.carousel-slide:hover .carousel-img {
    transform: scale(1.04);
}

/* ---- Caption overlay ---- */
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 2rem 1.75rem;
    background: linear-gradient(to top,
        rgba(15, 23, 42, 0.82) 0%,
        rgba(15, 23, 42, 0.4) 60%,
        transparent 100%);
    color: #fff;
    transform: translateY(0);
    transition: background 0.4s ease;
}

.carousel-slide:hover .carousel-caption {
    background: linear-gradient(to top,
        rgba(15, 23, 42, 0.92) 0%,
        rgba(15, 23, 42, 0.55) 60%,
        transparent 100%);
}

.carousel-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-300);
    background: rgba(var(--primary-rgb), 0.18);
    border: 1px solid rgba(var(--primary-rgb), 0.35);
    border-radius: 99px;
    padding: 0.25rem 0.85rem;
    margin-bottom: 0.6rem;
}

.carousel-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.3rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.carousel-desc {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

/* ---- Prev / Next buttons ---- */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.carousel-btn:hover {
    background: rgba(var(--primary-rgb), 0.75);
    border-color: var(--primary-400);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
    color: #fff;
}

.carousel-prev { left: 0.85rem; }
.carousel-next { right: 0.85rem; }

/* ---- Dot indicators ---- */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: var(--bg-tertiary);
    border: 2px solid var(--primary-200);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.carousel-dot.active {
    width: 32px;
    background: var(--primary-500);
    border-color: var(--primary-500);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.45);
}

.carousel-dot:hover:not(.active) {
    background: var(--primary-200);
    border-color: var(--primary-400);
}

/* ---- Responsive overrides ---- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-carousel-wrapper {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }

    .carousel {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 768px) {
    .carousel {
        aspect-ratio: 4 / 3;
        border-radius: 20px;
    }

    .carousel-title {
        font-size: 1.2rem;
    }

    .carousel-caption {
        padding: 1.75rem 1.25rem 1.25rem;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1EBE5D;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;  
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* ============================================================
   Libro de Reclamaciones Virtual (INDECOPI / D.S. 011-2011-PCM)
   ============================================================ */
.libro-reclamaciones-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #333;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    text-align: center;
}

.libro-reclamaciones-link {
    display: inline-block;
    background: #ffffff;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--primary-200);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.libro-reclamaciones-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.25);
}

.libro-reclamaciones-link img {
    display: block;
    height: 80px;
    width: auto;
}

.libro-reclamaciones-text {
    font-size: 0.85rem;
    color: var(--text-quaternary);
    max-width: 420px;
    line-height: 1.6;
}

.libro-reclamaciones-text strong {
    color: var(--primary-400);
}

@media (max-width: 600px) {
    .libro-reclamaciones-bar {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============================================================
   Extra small screens (< 480px)
   ============================================================ */
@media (max-width: 480px) {
    .hero {
        padding-top: 5rem;
        padding-bottom: 2.5rem;
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .label-badge {
        margin-bottom: 1.25rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .service-card-flip {
        height: 340px;
    }

    .cta-container {
        padding: 2.5rem 1.25rem;
    }

    .contact-content {
        padding: 2rem 1.25rem;
    }

    .libro-reclamaciones-link img {
        height: 60px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 16px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }

    .footer-grid {
        gap: 2rem;
    }

    .footer {
        padding: 3rem 0 2rem;
    }
}