/* =====================================================
   Orlando & Asoc. - Productores de Seguros
   Premium Landing Page Stylesheet
   ===================================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
    /* Primary Palette */
    --primary: #1B8C3D;
    --primary-dark: #14692E;
    --primary-light: #22A84A;
    --primary-glow: rgba(27, 140, 61, 0.1);

    /* Accent / Gold */
    --accent: #D4A843;
    --accent-light: #E8C36A;

    /* Neutrals - Light Theme */
    --bg-main: #FFFFFF;
    --bg-surface: #F9FAFB;
    --bg-card: #FFFFFF;
    
    --text-main: #1F2937;
    --text-heading: #0F172A;
    --text-muted: #6B7280;
    --text-light: #FFFFFF; /* Actual white for dark backgrounds */

    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;

    /* Feedback */
    --success: #22C55E;
    --error: #EF4444;
    --warning: #F59E0B;

    /* Gradients - Light Mode */
    --gradient-primary: linear-gradient(135deg, #1B8C3D 0%, #22A84A 50%, #14692E 100%);
    --gradient-bg: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
    --gradient-hero: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 50%, #F3F4F6 100%);
    --gradient-card: linear-gradient(145deg, #FFFFFF, #F9FAFB);

    /* Typography */
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Sizing */
    /* Sizing */
    --nav-height: 120px;
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Shadows - Soft Light Mode */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.03);
    --shadow-green: 0 4px 20px rgba(27, 140, 61, 0.08);
    --shadow-green-lg: 0 10px 30px rgba(27, 140, 61, 0.12);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-normal: 0.35s var(--ease-out);
    --transition-slow: 0.5s var(--ease-out);

    /* Form Specifics */
    --form-bg: #f8fafc;
    --form-border: #e2e8f0;
    --form-focus: var(--primary);
    --form-shadow-focus: 0 0 0 4px rgba(27, 140, 61, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Utility Classes --- */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-green {
    color: var(--primary-light);
}

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

.text-dark {
    color: var(--text-heading);
}

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

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 140, 61, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    height: 68px;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1001;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.85rem;
    color: #1D2B5B;
    line-height: 0.95;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.nav-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #1D2B5B;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
    margin-top: 3px;
}

.nav-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: all var(--transition-fast);
}

.navbar.scrolled .nav-logo img {
    height: 52px;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
    text-decoration: none;
}

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

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

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

.nav-cta {
    background: var(--gradient-primary);
    color: var(--text-light) !important;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-left: 8px;
    box-shadow: var(--shadow-green);
    transition: all var(--transition-fast);
}

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

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-green-lg);
}

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

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--text-heading);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.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(6px, -6px);
}

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

/* Background decorative shapes */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

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

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    animation: float-shape 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    animation: float-shape 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    top: 40%;
    left: 50%;
    animation: float-shape 25s ease-in-out infinite;
}

@keyframes float-shape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 10px) scale(1.02); }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(27, 140, 61, 0.06);
    border: 1px solid rgba(27, 140, 61, 0.15);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-dark);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 1rem;
    color: var(--primary);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-main);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-green-lg);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-primary .fa-paper-plane {
    transition: transform 0.3s var(--ease-bounce);
}

.btn-primary:hover .fa-paper-plane {
    transform: translate(4px, -4px) rotate(15deg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid rgba(27, 140, 61, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(27, 140, 61, 0.08);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 0.82rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--gray-700), transparent);
}

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

.hero-scroll-indicator a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--gray-500);
    animation: scroll-bounce 2s ease-in-out infinite;
    transition: all var(--transition-fast);
}

.hero-scroll-indicator a:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* =====================================================
   SECTIONS - General
   ===================================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-light {
    background: var(--gray-50);
}

.section-light h3,
.section-light h4 {
    color: var(--text-heading);
}

.section-light p {
    color: var(--text-main);
}

.section-dark {
    background: var(--bg-surface);
}

.section-gradient {
    /* Premium green background with subtle dot matrix details */
    background-color: var(--primary-dark);
    background-image: 
        radial-gradient(circle at center, rgba(255,255,255,0.08) 2px, transparent 2px),
        radial-gradient(circle at center, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 30px 30px, 15px 15px;
    background-position: 0 0, 15px 15px;
    position: relative;
}

.section-gradient::before {
    /* Optional edge highlight, leaving it empty to preserve structural balance without overwhelming */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
}

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

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(27, 140, 61, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    border: 1px solid rgba(27, 140, 61, 0.2);
    margin-bottom: 16px;
}

.badge-light {
    background: rgba(27, 140, 61, 0.15);
    color: var(--primary-light);
    border-color: rgba(27, 140, 61, 0.3);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

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

.section-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 0 auto;
}

.section-subtitle {
    font-size: 1.05rem;
    margin-top: 20px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-xl);
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.about-image-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(27, 140, 61, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(27, 140, 61, 0.3);
}

.about-image-badge i {
    color: var(--primary-light);
}

.about-content h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.about-content strong {
    color: var(--text-heading);
    font-weight: 600;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}

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

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(27, 140, 61, 0.2);
    box-shadow: var(--shadow-green);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    background: rgba(27, 140, 61, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary-light);
    transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

.service-card:hover .service-icon i {
    color: var(--text-light);
}

.service-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =====================================================
   FEATURES (Why Us) SECTION
   ===================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(27, 140, 61, 0.12);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    background: rgba(27, 140, 61, 0.08);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.feature-icon i {
    font-size: 1.6rem;
    color: var(--primary);
    transition: all var(--transition-fast);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    transform: scale(1.1);
}

.feature-card:hover .feature-icon i {
    color: var(--text-light);
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.88rem;
    line-height: 1.7;
}

/* =====================================================
   PARTNERS CAROUSEL
   ===================================================== */
.partners {
    padding: 80px 0;
    background-color: #f8fafc;
    overflow: hidden;
}

.partners-slider-container {
    width: 100%;
    margin-top: 50px;
    position: relative;
}

.partners-slider {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.partners-track {
    display: flex;
    gap: 60px;
    animation: scroll 40s linear infinite;
    padding: 10px 0;
}

.partner-logo {
    flex: 0 0 auto;
    width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    filter: grayscale(1);
    opacity: 0.6;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.partner-logo img {
    max-width: 150px;
    max-height: 50px;
    object-fit: contain;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* This should be exactly half of the total track width with duplicates */
        /* Assuming 8 icons * (180px width + 60px gap) = 1920px */
        transform: translateX(-1920px);
    }
}

/* Responsiveness for carousel */
@media (max-width: 768px) {
    .partners-track {
        gap: 40px;
        animation-duration: 30s;
    }
    
    .partner-logo {
        width: 140px;
    }

    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(-1440px); } /* 8 * (140 + 40) */
    }
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 32px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

.input-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 1rem;
    transition: all var(--transition-fast);
    z-index: 10;
    pointer-events: none;
}

.textarea-wrapper i {
    top: 18px;
    transform: none;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 16px 14px 44px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    background: var(--form-bg);
    border: 1.5px solid var(--form-border);
    border-radius: var(--radius-md);
    outline: none;
    transition: all var(--transition-fast);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: var(--gray-400);
    font-weight: 400;
}

.input-wrapper input:hover,
.input-wrapper select:hover,
.input-wrapper textarea:hover {
    border-color: var(--gray-300);
    background: #fff;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: var(--primary);
    box-shadow: var(--form-shadow-focus);
    background: #fff;
}

.input-wrapper:focus-within i {
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.textarea-wrapper:focus-within i {
    transform: scale(1.1);
}

.input-wrapper select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10L6 8z' fill='%237A7F86'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.input-wrapper select option {
    background: var(--bg-main);
    color: var(--text-main);
}

.input-wrapper textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    display: block;
    font-size: 0.78rem;
    color: var(--error);
    margin-top: 6px;
    min-height: 18px;
}

.input-wrapper.error input,
.input-wrapper.error select,
.input-wrapper.error textarea {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Success Message */
.form-success {
    text-align: center;
    padding: 40px 20px;
    animation: fadeInUp 0.5s var(--ease-out);
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 20px;
    animation: success-pulse 2s ease-in-out infinite;
}

@keyframes success-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--gray-600);
    margin-bottom: 24px;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.info-card h3 {
    font-size: 1.15rem;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 140, 61, 0.1);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.1rem;
    color: var(--primary-light);
}

.info-item strong {
    display: block;
    font-size: 0.82rem;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.info-item a,
.info-item span {
    font-size: 0.95rem;
    color: var(--text-main);
    transition: color var(--transition-fast);
}

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

/* Social Card */
.social-card h3 {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: #1877F2;
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.3);
}

.social-whatsapp:hover {
    background: #25D366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--bg-surface);
    padding: 60px 0 30px;
    border-top: 1px solid var(--gray-200);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 20px;
}

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

.footer-links ul li a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-left: 6px;
}

.footer-contact p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact p i {
    color: var(--primary-light);
    width: 16px;
    text-align: center;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--gray-200);
    padding-top: 24px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--gray-600);
    margin: 0;
}

.developer-credit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.developer-credit:hover {
    color: var(--primary);
}

.developer-credit img {
    height: 28px;
    object-fit: contain;
}

/* =====================================================
   WHATSAPP FLOATING BUTTON
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.6rem;
    z-index: 998;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-fast);
    opacity: 0;
    transform: scale(0) translateY(20px);
}

.whatsapp-float.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: whatsapp-pulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    box-shadow: var(--shadow-md);
    color: var(--text-heading);
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-fast);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid var(--white);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s var(--ease-out);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in up with stagger */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

/* Mobile Landscape */
@media (max-width: 768px) {
    :root {
        --nav-height: 68px;
    }

    .nav-toggle {
        display: flex;
    }

    .navbar {
        height: 70px;
    }

    .nav-logo img {
        height: 45px;
    }

    .nav-brand {
        font-size: 1.2rem;
    }

    .nav-tagline {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 4px;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--gray-200);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
    }

    .nav-link::after {
        bottom: 8px;
        left: 16px;
        transform: scaleX(0);
        transform-origin: left;
    }

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

    .nav-cta {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
        justify-content: center;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: 100svh;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-stats {
        gap: 24px;
    }

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

    .section {
        padding: 50px 0;
    }

    .partner-logo {
        width: 120px;
        height: 60px;
    }

    .partner-logo img {
        max-width: 100px;
        max-height: 40px;
    }

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

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

    .service-card {
        padding: 24px 16px;
    }

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

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

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

    .contact-form-wrapper, .info-card {
        padding: 24px 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

/* Mobile Portrait */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-lg {
        padding: 14px 28px;
    }

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

    .stat-divider {
        width: 40px;
        height: 1px;
    }

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

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .contact-form-wrapper, .info-card {
        padding: 20px 12px;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 20px;
        right: 20px;
        font-size: 1.4rem;
    }
}

}

/* =====================================================
   LOADING ANIMATION
   ===================================================== */
.btn .btn-loading {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

/* Mobile menu overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =====================================================
   MAP SECTION
   ===================================================== */
.map-section {
    margin-top: 50px;
    width: 100%;
}

.map-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-normal);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.4) contrast(1.1);
    transition: all 0.5s ease;
}

.map-wrapper:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.map-wrapper:hover iframe {
    filter: grayscale(0) contrast(1);
}

/* =====================================================
   MOBILE LOAD MORE LOGIC
   ===================================================== */
.load-more-container {
    text-align: center;
    margin-top: 32px;
}

@media (min-width: 769px) {
    .load-more-container {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .mobile-hidden {
        display: none !important;
    }
    
    /* Animation for revealing */
    .service-card:not(.mobile-hidden) {
        animation: fadeIn 0.4s ease-out forwards;
    }
}

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--gray-100);
    border-radius: 20px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.faq-header {
    width: 100%;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.faq-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    margin: 0;
    padding-right: 20px;
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: #f8fafc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    background: #fdfdfd;
}

.faq-item.active .faq-content {
    max-height: 500px;
    border-top: 1px solid #f1f5f9;
}

.faq-body {
    padding: 24px 32px 32px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-main);
}

.faq-body p {
    margin: 0;
}

@media (max-width: 768px) {
    .faq-header {
        padding: 20px 24px;
    }
    
    .faq-body {
        padding: 20px 24px 24px;
    }
}
