:root {
    --primary: #1e56a0;
    --primary-dark: #163e75;
    --primary-light: #3b82f6;
    --accent: #10b981;
    --dark: #0f172a;
    --gray: #64748b;
    --light-bg: #f8fafc;
    --gradient: linear-gradient(135deg, #1e56a0 0%, #3b82f6 50%, #06b6d4 100%);
    --shadow: 0 10px 40px rgba(15, 23, 42, 0.1);
    --radius: 16px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: var(--dark);
    background: #fff;
}

.navbar-toggler {
    border-color: #e2e8f0;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .navbar { padding: 0.75rem 0; }

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0;
    text-decoration: none;
}

.site-logo {
    height: 44px;
    width: auto;
    display: block;
    border-radius: 8px;
    flex-shrink: 0;
}

.brand-text {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--dark);
    line-height: 1;
}

.brand-accent { color: var(--primary); }

.footer-logo {
    height: 44px;
    width: auto;
    display: block;
    border-radius: 8px;
    flex-shrink: 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.footer-brand-text {
    font-weight: 800;
    font-size: 1.35rem;
    color: #fff;
    line-height: 1;
}

.footer-brand-accent { color: #3b82f6; }

.nav-link {
    font-weight: 500;
    color: var(--gray) !important;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover { color: var(--primary) !important; }

.btn-contact-sm, .btn-whatsapp-sm {
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-contact-sm {
    background: var(--primary);
    color: #fff !important;
    text-decoration: none;
}

.btn-whatsapp-sm {
    background: #25d366;
    color: #fff !important;
    text-decoration: none;
}

/* Hero */
.hero-section {
    background: var(--gradient);
    color: #fff;
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.15);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, #a5f3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-actions .btn-primary {
    background: #fff;
    color: var(--primary);
    border: none;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 50px;
}

.hero-actions .btn-primary:hover {
    background: #f1f5f9;
    color: var(--primary-dark);
}

.hero-actions .btn-outline-light {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.75rem 2rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-size: 1.5rem;
    font-weight: 800;
}

.hero-stats span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.hero-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 2.5rem;
}

.hero-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.hero-card h3 { font-weight: 700; margin-bottom: 0.75rem; }
.hero-card p { opacity: 0.85; margin-bottom: 1.25rem; }

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-card li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-card li i { color: #a5f3fc; }

/* Services */
.services-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.section-header h2 {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-header p { color: var(--gray); margin-bottom: 3rem; }

.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 20px rgba(30, 86, 160, 0.35));
}

.service-icon {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1.25rem;
    background: none;
    box-shadow: none;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.service-card:hover .service-icon::before {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1.2;
}

.service-icon i {
    position: relative;
    z-index: 1;
    font-size: 3.25rem;
    line-height: 1;
    color: var(--primary);
    background: linear-gradient(145deg, #1e56a0 0%, #3b82f6 45%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 14px rgba(30, 86, 160, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.service-card h4 {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    max-width: 280px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
}

.service-link:hover { color: var(--primary-dark); }

/* Quote Form */
.quote-section {
    padding: 5rem 0;
}

.quote-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
}

.quote-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.quote-card-header h2 {
    font-weight: 800;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.quote-card-header p { color: var(--gray); }

.quote-form .form-label {
    font-weight: 600;
    font-size: 0.875rem;
}

.quote-form .form-control,
.quote-form .form-select {
    border-radius: 10px;
    padding: 0.65rem 1rem;
    border-color: #e2e8f0;
}

.quote-form .form-control:focus,
.quote-form .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.quote-form .btn-primary {
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    padding: 0.85rem;
}

.quote-feedback:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.35);
}

.alert-danger.quote-feedback:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.35);
}

.quote-success-modal .modal-content {
    border: none;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
}

.quote-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #10b981;
    line-height: 1;
}

.quote-success-title {
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.quote-success-message {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

.quote-success-modal .btn-primary {
    background: var(--gradient);
    border: none;
    border-radius: 50px;
    font-weight: 700;
}

/* Contact Banner */
.contact-banner {
    padding: 0 0 5rem;
}

.contact-banner-inner {
    background: var(--dark);
    color: #fff;
    border-radius: var(--radius);
    padding: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.contact-banner h3 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-banner p { opacity: 0.7; margin: 0; }

.contact-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-banner-actions .btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
}

/* Footer */
.site-footer {
    background: #0b1220;
    color: #94a3b8;
    padding: 4rem 0 0;
}

.footer-desc { font-size: 0.9rem; max-width: 300px; }

.site-footer h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-contact li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
}

.footer-contact a, .footer-contact li {
    color: #94a3b8;
    text-decoration: none;
}

.footer-contact a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 3rem;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Login */
.login-section {
    padding: 5rem 0;
    background: var(--light-bg);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.login-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.login-icon {
    font-size: 3rem;
    color: var(--primary);
}

/* Buttons global */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section { padding: 3rem 0 4rem; }
    .hero-card { margin-top: 1rem; }
    .contact-banner-inner { text-align: center; justify-content: center; }
    .contact-banner-actions { justify-content: center; }
}

@media (max-width: 576px) {
    .hero-stats { gap: 1.5rem; }
    .quote-card { padding: 1.5rem; }
}
