/* =========================================
   VARIABLES & GLOBALS
   ========================================= */
:root {
    /* Colors */
    --primary-color: #0A66C2; /* Soft Premium Blue */
    --primary-light: #E8F4FF;
    --primary-dark: #004182;
    --text-main: #1C1E21;
    --text-muted: #5C677D;
    --bg-main: #FFFFFF;
    --bg-light: #F8FBFF;
    --gold: #F5A623;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --section-padding: 5rem 0;
    
    /* UI Elements */
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(10, 102, 194, 0.08);
    --shadow-glow: 0 8px 30px rgba(10, 102, 194, 0.25);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Nav */
    --nav-height: 80px;
}

/* =========================================
   RESET & TYPOGRAPHY
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-main);
}

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

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

ul {
    list-style: none;
}

/* =========================================
   UTILITIES
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), #00A6EB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gold {
    color: var(--gold);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 0.5rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-white {
    border-color: white;
    color: white;
    background-color: transparent;
}

.btn-outline-white:hover {
    background-color: white;
    color: var(--primary-color);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   HEADER & NAV
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    height: 70px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--text-main);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.nav-cta-mobile {
    display: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Toggle */
.toggle-btn {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.toggle-btn .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    margin: 5px 0;
    transition: var(--transition);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 5rem;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 102, 194, 0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(10, 102, 194, 0.1);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.trust-metrics {
    display: flex;
    gap: 2rem;
}

.metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
}

.metric i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
}

.image-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    background: white;
    padding: 10px;
    box-shadow: var(--shadow-md);
}

.hero-img {
    border-radius: var(--border-radius);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 6s ease-in-out infinite;
}

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

.badge-1 {
    top: 10%;
    left: -10%;
}

.badge-2 {
    bottom: 15%;
    right: -10%;
    animation-delay: 3s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    padding: 1.5rem 0;
    color: white;
    text-align: center;
}

.trust-text {
    font-size: 1.125rem;
    font-weight: 500;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

/* =========================================
   SERVICES
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

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

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.exp-number {
    display: block;
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.exp-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
}

.about-content {
    flex: 1;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.feature-list {
    margin: 2rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.05rem;
}

.feature-list i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* =========================================
   WHY CHOOSE US
   ========================================= */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.b-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem auto;
    transition: var(--transition);
}

.benefit-item:hover .b-icon {
    background: var(--primary-color);
    color: white;
}

.benefit-item h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   REVIEWS
   ========================================= */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stars {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.review-text {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.5rem;
}

.r-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
}

.r-info h5 {
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.r-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =========================================
   GALLERY
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-item:hover::after {
    opacity: 1;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    background: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 6rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 150%, rgba(255,255,255,0.1) 0%, transparent 50%), radial-gradient(circle at 80% -50%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.cta-container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* =========================================
   CONTACT
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.info-item {
    display: flex;
    gap: 1.25rem;
    margin-top: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.info-content p, .info-content a {
    color: var(--text-muted);
}

.info-content a:hover {
    color: var(--primary-color);
}

.contact-map {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: #0F172A;
    color: #E2E8F0;
    padding-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo .logo-icon {
    color: white;
}

.footer-logo .logo-title {
    color: white;
}

.footer-col p {
    color: #94A3B8;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-col h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: #94A3B8;
}

.footer-col ul a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding: 1.5rem 0;
    text-align: center;
    color: #64748B;
    font-size: 0.875rem;
}

/* =========================================
   FLOATING WHATSAPP
   ========================================= */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.float-wa:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: white;
}

/* =========================================
   ANIMATIONS (Intersection Observer)
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fade-up.visible, .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* =========================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================= */
/* Tablet (Max 992px) */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2rem auto;
    }
    
    .hero-actions, .trust-metrics {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-image-wrapper {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .services-grid, .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    
    .experience-badge {
        right: 20px;
    }
    
    .feature-list li {
        justify-content: center;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile (Max 768px) */
@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        padding-top: calc(var(--nav-height) + 2rem);
    }

    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .trust-metrics {
        flex-direction: column;
        gap: 1rem;
    }
    
    .badge-1 { left: -5%; }
    .badge-2 { right: -5%; }
    
    .services-grid, .benefits-grid, .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Mobile Menu */
    .btn-nav {
        display: none;
    }
    
    .toggle-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: white;
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        padding: 2rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .nav-cta-mobile {
        display: block;
        margin-top: 2rem;
        width: 100%;
    }
    
    .nav-cta-mobile .btn {
        width: 100%;
    }

    .toggle-btn.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .toggle-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    .toggle-btn.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Very Small Mobile (Max 480px) */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .floating-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-img {
        height: 350px;
    }
    
    .about-img {
        height: 350px;
    }
    
    .contact-map {
        min-height: 300px;
    }
}
