/* ========================================================================
   BYRON ALTAMIRANO - PREMIUM PERSONAL BRAND WEBSITE
   ======================================================================== */

/* ========================= CSS VARIABLES =========================  */
:root {
    /* Paleta Azul / Blanco / Negro — Autoridad & Confianza */
    --primary: #1E40AF;
    --primary-dark: #1E3A8A;
    --primary-light: #3B82F6;
    --secondary: #0A0A0A;
    --accent: #3B82F6;
    --warm: #60A5FA;
    --dark: #0A0A0A;
    --dark-blue: #030712;
    --cream: #F8FAFC;
    --light: #F1F5F9;
    --light-gray: #E2E8F0;
    --white: #ffffff;
    --text-dark: #0F172A;
    --text-body: #475569;
    --text-light: #94A3B8;
    --whatsapp: #25D366;
    --gradient-hero: linear-gradient(135deg, #0A0A0A 0%, #111827 40%, #1E293B 100%);
    --gradient-primary: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    --blue-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.14);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Cormorant Garamond', Georgia, serif;
}

/* ========================= RESET & BASE ========================= */

/* ---------- SPLASH INTRO (Shrink to Navbar) ---------- */
.splash {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
}

.splash-logo {
    width: clamp(140px, 28vw, 280px);
    opacity: 0;
    transform: scale(0.8);
    animation: splashIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
    /* Will be animated via JS for the shrink move */
    transition: none;
}

@keyframes splashIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Phase 2: logo shrinks & moves to navbar */
.splash-logo.shrink {
    animation: none !important;
    opacity: 1 !important;
    transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s ease 0.6s;
}

/* Phase 3: background fades out */
.splash.fade-bg {
    transition: opacity 0.5s ease 0.1s, visibility 0.5s ease 0.1s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.splash-active {
    overflow: hidden;
}

body.splash-active .navbar {
    opacity: 0;
}

body .navbar {
    transition: opacity 0.4s ease, padding 0.3s cubic-bezier(0.4,0,0.2,1), background 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ---------- END SPLASH ---------- */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-body);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================= SECTION UTILITIES ========================= */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 12px;
    position: relative;
    padding-left: 40px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 2px;
    background: var(--warm);
    border-radius: 2px;
}

.section-tag.dark {
    color: var(--warm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--secondary);
    letter-spacing: 0.5px;
}

.section-title.light {
    color: var(--white);
}

.section-title.dark {
    color: var(--secondary);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-desc.light {
    color: rgba(255, 255, 255, 0.7);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* ========================= ANIMATIONS ========================= */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-right"] {
    transform: translateX(-60px);
}

[data-animate="fade-left"] {
    transform: translateX(60px);
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* ========================= NAVBAR ========================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    height: 75px;
    width: auto;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.logo-img:hover {
    transform: scale(1.05);
}

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

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border-radius: 100px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--warm);
    border-radius: 2px;
}

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 4px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================= BUTTONS ========================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--warm);
    background: rgba(224, 169, 109, 0.1);
    transform: translateY(-3px);
}

.btn-cta {
    background: var(--primary);
    color: var(--white);
    font-size: 1.1rem;
    padding: 18px 42px;
    box-shadow: var(--shadow-md);
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.btn-service {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 28px;
    background: var(--whatsapp);
    color: var(--white);
    font-weight: 700;
    border-radius: var(--radius-md);
    font-size: 1rem;
    margin-top: auto;
}

.btn-service:hover {
    background: #1fb855;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.25);
}

/* ========================= HERO ========================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 120px 0 80px;
}

/* Fullscreen Hero with Background Image */
.hero-fullscreen {
    padding: 0;
    justify-content: flex-start;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1.15) translateY(40px);
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1.15) translateY(40px) translateX(0);
    }
    100% {
        transform: scale(1.25) translateY(20px) translateX(-20px);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.6) 40%,
            rgba(0, 0, 0, 0.3) 70%,
            rgba(0, 0, 0, 0.15) 100%);
    z-index: 2;
}

.hero-container-fullscreen {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center !important;
    justify-content: flex-start !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 24px 0 80px !important;
    min-height: 100vh;
    position: relative;
    z-index: 3;
    text-align: left;
}

.hero-content-centered {
    max-width: 500px;
    padding-left: 20px;
}

.hero-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(30, 64, 175, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero-badge-inline .badge-number {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent);
}

.hero-badge-inline .badge-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.05;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -150px;
    right: -100px;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: var(--accent);
    bottom: -100px;
    left: -80px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #3B82F6;
    top: 40%;
    left: 50%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-container.hero-container-fullscreen {
    display: flex;
    grid-template-columns: none;
    max-width: 100%;
    margin: 0;
    padding: 0 24px 0 80px;
    justify-content: flex-start;
    min-height: 100vh;
    z-index: 3;
    text-align: left;
    gap: 0;
}

.hero-tag {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 16px;
}

.hero-title {
    margin-bottom: 16px;
}

.hero-tagline {
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-tagline.visible {
    opacity: 1;
}

.hero-tagline-top {
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.hero-tagline-bottom {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 300;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.75);
}

.hero-name-line {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--white);
    overflow: hidden;
    white-space: nowrap;
    min-height: 1.1em;
}

.hero-name-line.accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-name-line.typing-cursor::after {
    content: '|';
    display: inline-block;
    color: var(--white);
    -webkit-text-fill-color: var(--white);
    animation: cursorBlink 0.7s step-end infinite;
    margin-left: 2px;
    font-weight: 300;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-subtitle em {
    color: var(--white);
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-social {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-img-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-img-border {
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: var(--primary);
    z-index: -1;
}

.hero-badge {
    position: absolute;
    bottom: 20px;
    right: 10px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--warm);
}

.badge-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--warm);
    border-radius: 4px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(8px);
        opacity: 0.3;
    }
}

/* ========================= ABOUT ========================= */
.about {
    background: var(--secondary);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-wrapper img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
    transition: transform 0.6s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

.about-img-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 3px solid var(--warm);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

.about-content .section-tag {
    color: var(--warm);
}

.about-content .section-tag::before {
    background: var(--warm);
}

.about-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--white);
}

.about-text.highlight {
    color: var(--warm);
    font-size: 1.15rem;
    padding: 20px;
    background: rgba(224, 169, 109, 0.08);
    border-left: 3px solid var(--warm);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-top: 16px;
}

.about-text.highlight em {
    color: var(--white);
}

/* ========================= STATS ========================= */
.stats {
    padding: 120px 0;
    background: var(--dark-blue);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: var(--primary);
    filter: blur(300px);
    opacity: 0.04;
    bottom: -300px;
    right: -200px;
    border-radius: 50%;
}

.stats .section-header {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--blue-glow);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    transition: transform var(--transition);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(-3deg);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.stat-unit {
    font-size: 1rem;
    font-weight: 700;
    color: var(--warm);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 4px 0 12px;
}

.stat-label {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* ========================= DIFERENCIAL ========================= */
.diferencial {
    padding: 120px 0;
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}

.diferencial::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(200px);
    opacity: 0.05;
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.diferencial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.dif-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dif-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--warm);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.dif-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 24px;
}

.dif-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.dif-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* ========================= TESTIMONIOS ========================= */
.testimonios {
    padding: 120px 0;
    background: var(--light-gray);
}

/* --- Video Carousel --- */
.video-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 480px;
    margin: 0 auto;
}

.carousel-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 9/16;
    background: var(--secondary);
    overflow: hidden;
}

.carousel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.4);
    transition: opacity var(--transition);
    cursor: pointer;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-md);
}

.video-play-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.video-play-btn i {
    margin-left: 4px;
}

/* Carousel Arrows */
.carousel-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(10, 10, 10, 0.15);
    background: var(--white);
    color: var(--secondary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.carousel-arrow:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(10, 10, 10, 0.2);
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* ========================= SERVICIOS ========================= */
.servicios {
    padding: 120px 0;
    background: var(--light);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.servicio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.servicio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 60px rgba(30, 64, 175, 0.12);
}

.servicio-card:hover::before {
    transform: scaleX(1);
}

.servicio-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.servicio-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    transition: transform var(--transition);
}

.servicio-card:hover .servicio-icon {
    transform: scale(1.1) rotate(-3deg);
}

.servicio-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.servicio-body {
    flex: 1;
    margin-bottom: 28px;
}

.servicio-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.servicio-features li {
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
}

.servicio-features li i {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

.servicio-features li strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 2px;
}

.servicio-note {
    margin-top: 20px;
    padding: 16px;
    background: rgba(30, 64, 175, 0.05);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.5;
}

.servicio-note i {
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ========================= CONTACTO (fusionado con Portfolio CTA) ========================= */
.contacto {
    padding: 120px 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contacto-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.05;
}

.shape-4 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.shape-5 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: -80px;
    right: -60px;
}

.contacto-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

/* CTA section (formerly portfolio) */
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 32px;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
    line-height: 1.8;
}

.cta-text strong {
    color: var(--white);
}

.cta-text.highlight-text {
    color: var(--warm);
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.cta-text.highlight-text em {
    color: var(--white);
}

/* Divider between CTA and contact info */
.contacto-divider {
    width: 60px;
    height: 2px;
    background: var(--warm);
    margin: 48px auto;
    border-radius: 2px;
}

.contacto-content .section-tag {
    color: var(--warm);
}

.contacto-content .section-tag::before {
    background: var(--warm);
}

.contacto-subtitle {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.contacto-role {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

.contacto-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 28px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    text-align: left;
}

.contact-card.whatsapp {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.contact-card.whatsapp:hover {
    background: var(--whatsapp);
    border-color: var(--whatsapp);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.2);
}

.contact-card.email {
    background: rgba(30, 64, 175, 0.1);
    border: 1px solid rgba(30, 64, 175, 0.2);
}

.contact-card.email:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.contact-card>.fas {
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.contact-card:hover>.fas {
    color: var(--white);
    transform: translateX(4px);
}

.contacto-social {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: var(--warm);
    transform: translateY(-3px);
}

.social-link i {
    font-size: 1.2rem;
}

.contacto-cta-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Word highlight effect */
.word-highlight {
    position: relative;
    display: inline-block;
    color: var(--primary);
}

.word-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated .word-highlight::after,
.word-highlight.active::after {
    width: 100%;
}

/* ========================= FOOTER ========================= */
.footer {
    background: var(--dark);
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--warm);
    transform: translateY(-2px);
}

/* ========================= WHATSAPP CHATBOX WIDGET ========================= */
.wa-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: var(--font-primary);
}

/* --- FAB Button --- */
.wa-fab {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    font-size: 1.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    z-index: 10;
}

.wa-fab:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.wa-fab-icon-close {
    display: none;
    font-size: 1.5rem;
}

.wa-fab.active .wa-fab-icon-open {
    display: none;
}

.wa-fab.active .wa-fab-icon-close {
    display: block;
}

.wa-fab.active {
    background: linear-gradient(135deg, #1E3A8A, #1E40AF);
    box-shadow: var(--shadow-md);
}

.wa-fab.active:hover {
    box-shadow: var(--shadow-lg);
}

/* --- Chatbox --- */
.wa-chatbox {
    position: absolute;
    bottom: 78px;
    right: 0;
    width: 370px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: scale(0.85) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.wa-chatbox.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Chatbox Header */
.wa-chatbox-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 50%, #3B82F6 100%);
    color: var(--white);
    position: relative;
}

.wa-chatbox-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    position: relative;
    backdrop-filter: blur(8px);
}

.wa-chatbox-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.wa-chatbox-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.wa-chatbox-role {
    font-size: 0.78rem;
    opacity: 0.8;
    letter-spacing: 0.3px;
}

.wa-chatbox-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.wa-chatbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Chatbox Body */
.wa-chatbox-body {
    padding: 20px 18px 14px;
    background: #ECE5DD url('data:image/svg+xml,\
    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" opacity="0.04">\
      <text x="10" y="30" font-size="20">💬</text>\
      <text x="80" y="70" font-size="16">🧠</text>\
      <text x="150" y="40" font-size="18">✨</text>\
      <text x="40" y="120" font-size="14">📱</text>\
      <text x="120" y="150" font-size="20">💡</text>\
      <text x="20" y="180" font-size="16">🎯</text>\
      <text x="160" y="110" font-size="14">🌟</text>\
    </svg>');
    max-height: 360px;
    overflow-y: auto;
}

/* Welcome bubble */
.wa-msg-bubble {
    background: var(--white);
    border-radius: 0 16px 16px 16px;
    padding: 14px 18px;
    margin-bottom: 16px;
    position: relative;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    animation: waBubbleIn 0.5s ease 0.2s both;
}

.wa-msg-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 10px 0;
    border-color: transparent var(--white) transparent transparent;
}

.wa-msg-bubble p {
    font-size: 0.92rem;
    color: var(--text-dark);
    line-height: 1.55;
    margin: 0;
}

.wa-msg-bubble strong {
    color: var(--primary);
}

.wa-msg-time {
    display: block;
    text-align: right;
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 6px;
}

@keyframes waBubbleIn {
    from {
        transform: translateY(10px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Quick Options */
.wa-quick-options {
    margin-bottom: 14px;
    animation: waBubbleIn 0.5s ease 0.45s both;
}

.wa-quick-label {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wa-quick-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    margin-bottom: 8px;
    border-radius: 12px;
    border: 1.5px solid rgba(30, 64, 175, 0.25);
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    font-family: var(--font-primary);
}

.wa-quick-btn i {
    color: var(--accent);
    font-size: 0.85rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.wa-quick-btn:hover {
    background: rgba(30, 64, 175, 0.06);
    border-color: var(--accent);
    transform: translateX(4px);
}

.wa-quick-btn.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.wa-quick-btn.selected i {
    color: var(--white);
}

/* Textarea */
.wa-custom-msg {
    animation: waBubbleIn 0.5s ease 0.6s both;
}

.wa-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    background: var(--white);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--text-dark);
    resize: none;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    line-height: 1.5;
}

.wa-textarea::placeholder {
    color: var(--text-light);
    font-size: 0.85rem;
}

.wa-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

/* Chatbox Footer */
.wa-chatbox-footer {
    padding: 14px 18px 18px;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.wa-send-btn {
    width: 100%;
    padding: 14px 24px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.3px;
}

.wa-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.wa-send-btn:active {
    transform: translateY(0) scale(0.98);
}

.wa-send-btn i {
    font-size: 1.25rem;
}

/* --- Chatbox Responsive --- */
@media (max-width: 480px) {
    .wa-widget {
        bottom: 16px;
        right: 16px;
    }

    .wa-fab {
        width: 56px;
        height: 56px;
        font-size: 1.7rem;
    }

    .wa-chatbox {
        width: calc(100vw - 32px);
        right: 0;
        bottom: 72px;
        border-radius: 16px;
    }

    .wa-chatbox-header {
        padding: 14px 16px;
    }

    .wa-chatbox-body {
        padding: 16px 14px 12px;
        max-height: 300px;
    }

    .wa-chatbox-footer {
        padding: 12px 14px 14px;
    }
}

/* ========================= CITAS / QUOTES (Peterson-style) ========================= */
.citas {
    padding: 100px 0;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.citas::before {
    display: none;
}

.citas-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cita-quote {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 500;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 32px;
    position: relative;
    padding: 0 20px;
}

.cita-quote::before {
    display: none;
}

.cita-author {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.cita-role {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

.cita-divider {
    width: 50px;
    height: 2px;
    background: var(--primary);
    margin: 24px auto;
    border-radius: 2px;
}

/* ========================= PILARES (Robbins-style) ========================= */
.pilares {
    padding: 120px 0;
    background: var(--dark-blue);
    position: relative;
    overflow: hidden;
}

.pilares::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: var(--primary);
    filter: blur(300px);
    opacity: 0.04;
    bottom: -300px;
    right: -200px;
    border-radius: 50%;
}

.pilares .section-header {
    position: relative;
    z-index: 2;
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.pilar-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pilar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pilar-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--blue-glow);
}

.pilar-card:hover::before {
    transform: scaleX(1);
}

.pilar-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    transition: transform var(--transition);
}

.pilar-card:hover .pilar-icon {
    transform: scale(1.1) rotate(-3deg);
}

.pilar-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.pilar-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

/* ========================= CTA BANNER ========================= */
.cta-banner {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-banner-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    line-height: 1.7;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* ========================= ENHANCED FOOTER ========================= */
.footer-enhanced {
    background: var(--dark);
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-col a i {
    font-size: 0.8rem;
    width: 16px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-social {
    display: flex;
    gap: 16px;
}

.footer-bottom-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-social a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .hero-img-wrapper {
        width: 320px;
        height: 320px;
    }

    .about-grid {
        gap: 50px;
    }

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

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

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 40px;
        transition: right 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-overlay {
        background: linear-gradient(to top,
                rgba(0, 0, 0, 0.9) 0%,
                rgba(0, 0, 0, 0.6) 50%,
                rgba(0, 0, 0, 0.3) 100%);
    }

    .hero-container-fullscreen {
        align-items: flex-end;
        padding-bottom: 100px;
        text-align: center;
    }

    .hero-content-centered {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-social {
        justify-content: center;
    }

    .hero-badge-inline {
        margin-bottom: 24px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-img-wrapper img {
        aspect-ratio: 1;
        max-height: 400px;
    }

    .about-img-decoration {
        display: none;
    }

    .section-tag {
        padding-left: 0;
    }

    .section-tag::before {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-card {
        padding: 28px 20px;
    }

    .stat-number {
        font-size: 2.8rem;
    }

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

    .video-carousel {
        max-width: 360px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .video-play-btn {
        width: 56px;
        height: 56px;
        font-size: 1.2rem;
    }

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

    .contacto-social {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        justify-content: center;
        text-align: center;
    }

    .pilares-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

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

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

    .hero-img-wrapper {
        width: 220px;
        height: 220px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .contact-card>.fas {
        display: none;
    }

    .video-carousel {
        max-width: 280px;
    }

    .carousel-arrow {
        width: 34px;
        height: 34px;
        font-size: 0.75rem;
    }

    .video-play-btn {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .carousel-dots {
        bottom: -32px;
    }
}