/* ========================================
   CHINOME HOUSE - Home Styles
   Paleta Azul: #00047b, #00afeb, #00d7e6, #0066f1
   ======================================== */

:root {
    /* Primary Colors */
    --primary-dark: #00047b;
    --primary-blue: #0066f1;
    --primary-cyan: #00afeb;
    --primary-turquoise: #00d7e6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-turquoise) 100%);
    --gradient-text: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-turquoise) 50%, var(--primary-blue) 100%);

    /* Neutral Colors */
    --white: #ffffff;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Spacing */
    --section-padding: 120px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(0, 175, 235, 0.3);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    padding: 20px 0;
    transition: var(--transition-normal);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
}

.navbar.scrolled .nav-link {
    color: var(--gray-800);
}

.navbar.scrolled .brand-text {
    color: var(--primary-dark);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.brand-accent {
    font-weight: 300;
    opacity: 0.9;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 10px 20px !important;
    position: relative;
    transition: var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-cyan) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary-cyan) !important;
}

.navbar-toggler {
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    position: relative;
}

.toggler-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    position: relative;
    transition: var(--transition-normal);
}

.toggler-icon::before,
.toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-normal);
}

.toggler-icon::before {
    top: -8px;
}

.toggler-icon::after {
    top: 8px;
}

.navbar.scrolled .toggler-icon,
.navbar.scrolled .toggler-icon::before,
.navbar.scrolled .toggler-icon::after {
    background: var(--primary-dark);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-cyan);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-turquoise);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--primary-blue);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -50px) scale(1.1);
    }

    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }

    75% {
        transform: translate(30px, 50px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
    color: var(--primary-turquoise);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 175, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 175, 235, 0.5);
    color: var(--white);
}

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

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-turquoise);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 5px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.central-circle {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: pulse 3s infinite ease-in-out;
}

.central-circle i {
    font-size: 4rem;
    color: var(--white);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 30px rgba(255, 255, 255, 0);
    }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-xl);
    animation: float-card 6s infinite ease-in-out;
}

.floating-card i {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.floating-card span {
    font-weight: 600;
    color: var(--gray-800);
}

.card-1 {
    top: 50px;
    right: 50px;
    animation-delay: 0s;
}

.card-1 i {
    background: var(--gradient-accent);
    color: var(--white);
}

.card-2 {
    bottom: 100px;
    left: 0;
    animation-delay: -2s;
}

.card-2 i {
    background: var(--gradient-primary);
    color: var(--white);
}

.card-3 {
    bottom: 50px;
    right: 80px;
    animation-delay: -4s;
}

.card-3 i {
    background: linear-gradient(135deg, var(--primary-turquoise), var(--primary-cyan));
    color: var(--white);
}

@keyframes float-card {

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

    50% {
        transform: translateY(-20px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(0, 102, 241, 0.1);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
    background: var(--gray-100);
}

.service-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    margin-bottom: 25px;
}

.icon-bg {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
}

.tech-card .icon-bg {
    background: var(--gradient-accent);
}

.parking-card .icon-bg {
    background: var(--gradient-primary);
}

.hostal-card .icon-bg {
    background: linear-gradient(135deg, var(--primary-turquoise), var(--primary-cyan));
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.service-list li i {
    color: var(--primary-cyan);
    font-size: 0.9rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
}

.card-link:hover {
    gap: 15px;
    color: var(--primary-dark);
}

.card-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    border-radius: 0 0 0 150px;
    opacity: 0.05;
}

.tech-card .card-decoration {
    background: var(--primary-cyan);
}

.parking-card .card-decoration {
    background: var(--primary-blue);
}

.hostal-card .card-decoration {
    background: var(--primary-turquoise);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background: var(--white);
}

.about-visual {
    position: relative;
}

.about-image {
    position: relative;
}

.image-frame {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: var(--gradient-primary);
    border-radius: 30px;
    padding: 20px;
    position: relative;
}

.frame-content {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.frame-content i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.9);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.exp-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.4;
}

.about-content {
    padding-left: 30px;
}

.about-text {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: rgba(0, 102, 241, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: var(--gray-100);
    padding: 0 0 var(--section-padding);
}

.cta-box {
    background: var(--gradient-primary);
    border-radius: 30px;
    padding: 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

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

.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.cta-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.deco-circle:first-child {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.deco-circle:last-child {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: var(--white);
}

.contact-info-card {
    background: var(--gray-100);
    border-radius: 24px;
    padding: 40px;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-200);
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.1rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-form {
    background: var(--gray-100);
    border-radius: 24px;
    padding: 40px;
}

.form-floating .form-control,
.form-floating .form-select {
    border: 2px solid transparent;
    border-radius: 12px;
    background: var(--white);
    padding: 20px;
    height: auto;
    transition: var(--transition-normal);
}

.form-floating .form-control:focus,
.form-floating .form-select:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 4px rgba(0, 175, 235, 0.1);
}

.form-floating label {
    padding: 20px;
    color: var(--gray-600);
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {
    transform: scale(0.85) translateY(-10px) translateX(5px);
    color: var(--primary-blue);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-top {
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand .brand-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.footer-brand .brand-text {
    font-size: 1.3rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary-cyan);
    padding-left: 5px;
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
    :root {
        --section-padding: 80px;
    }

    .navbar-collapse {
        background: rgba(0, 4, 123, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 20px;
        margin-top: 15px;
    }

    .navbar.scrolled .navbar-collapse {
        background: var(--white);
    }

    .hero-content {
        text-align: center;
        padding-top: 120px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .about-content {
        padding-left: 0;
        margin-top: 50px;
    }

    .cta-box {
        padding: 50px 30px;
    }

    .cta-box h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .service-card {
        padding: 30px;
    }

    .contact-form,
    .contact-info-card {
        padding: 25px;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .cta-box h2 {
        font-size: 1.8rem;
    }
}

/* Animation classes */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

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

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

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

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}