﻿/* ============================================
   Limpieza Marrero · Static Site Styles
   Custom utilities beyond Tailwind CDN
   ============================================ */

:root {
    --brand-500: #06b6d4;
    --brand-600: #0891b2;
    --brand-700: #0e7490;
    --mint-500: #10b981;
    --navy-900: #0f172a;
}

html {
    scroll-behavior: smooth;
}
body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0f172a;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", "Inter", sans-serif;
    letter-spacing: -0.02em;
}

/* ------- Glassmorphism ------- */
.glass {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.glass-dark {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.glass-card {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 8px 32px rgba(6, 182, 212, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* ------- Gradients ------- */
.gradient-primary {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}
.gradient-hero {
    background: linear-gradient(
        135deg,
        rgba(14, 116, 144, 0.85) 0%,
        rgba(8, 145, 178, 0.7) 50%,
        rgba(16, 185, 129, 0.55) 100%
    );
}
.gradient-text {
    background: linear-gradient(135deg, #0891b2 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ------- Buttons ------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.35);
    transition: all 0.3s ease;
    border: 0;
    cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(6, 182, 212, 0.45);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ------- Layout helpers ------- */
.section-pad { padding: 4rem 1rem; }
@media (min-width: 768px) { .section-pad { padding: 6rem 2rem; } }
.container-narrow { max-width: 80rem; margin-left: auto; margin-right: auto; }

/* ------- Utilities ------- */
.text-shadow-lg { text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5); }

/* ------- Scroll Reveal ------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------- Animations ------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.7s ease-out both; }

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}
.animate-pulse-ring { animation: pulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

@keyframes typing {
    0% { opacity: 0.2; }
    20% { opacity: 1; }
    100% { opacity: 0.2; }
}
.animate-typing { animation: typing 1.4s infinite; }

/* ------- Scrollbar ------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #06b6d4, #0891b2);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0891b2, #0e7490);
}

/* ------- Reduced Motion ------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ------- FAQ smooth ------- */
.faq-item .faq-content {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition:
        grid-template-rows 0.3s ease-out,
        opacity 0.3s ease-out;
}
.faq-item.open .faq-content {
    grid-template-rows: 1fr;
    opacity: 1;
}
.faq-item .faq-content > div { overflow: hidden; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-toggle { transition: transform 0.3s ease; }

