/* 
   - ServiGodGroup | Design System v2.0 -
   - Aesthetic: Premium, Modern, Trustworthy
-------------------------------------------------- */

:root {
    /* Color Palette - Vibrant & Professional */
    --primary: #004528;
    --primary-light: #00663a;
    --primary-vibrant: #10b981;
    --primary-soft: #ecfdf5;
    
    --secondary: #0f172a;
    --accent: #22c55e;
    
    --surface: #ffffff;
    --surface-off: #f8fafc;
    --surface-glass: rgba(255, 255, 255, 0.8);
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-on-dark: #f8fafc;

    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
    
    --gradient-primary: linear-gradient(135deg, #004528 0%, #00663a 100%);
    --gradient-surface: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Typography */
    --font-head: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--secondary);
}

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

a {
    transition: all 0.3s ease;
}

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

/* 2. Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    gap: 0.625rem;
    text-decoration: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(0, 69, 40, 0.4);
    filter: brightness(1.1);
}

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

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

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

.btn-white:hover {
    background: var(--primary-soft);
    transform: scale(1.05);
}

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

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

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

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--primary-soft);
    color: var(--primary-vibrant);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.accent {
    color: var(--primary-vibrant);
    position: relative;
    display: inline-block;
}

.accent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-vibrant);
    opacity: 0.15;
    z-index: -1;
}

.mobile-only {
    display: none !important;
}

@media (max-width: 1024px) {
    .mobile-only {
        display: block !important;
    }
    .desktop-only {
        display: none !important;
    }
}

/* 4. Utilities */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.01em;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9375rem;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

/* 4. Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: var(--gradient-surface);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-img-container img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
}

/* 5. Sections General */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* 7. Benefits */
.benefits {
    background: var(--surface-off);
}

.benefits-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--primary-soft);
    color: var(--primary-vibrant);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.benefit-item {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon .material-symbols-outlined {
    font-size: 32px;
}

/* 8. Mission */
.mission-section {
    background: var(--surface-off);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.mission-img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
}

.mission-content h2 {
    font-size: 2.75rem;
    margin-bottom: 2rem;
}

.mission-text {
    margin-bottom: 1.75rem;
    font-size: 1.15rem;
    color: var(--text-muted);
}

.trust-check {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.trust-check span {
    color: var(--primary-vibrant);
    font-size: 28px;
}

.trust-check p {
    font-weight: 600;
    color: var(--secondary);
}

/* 9. Video Testimonials */
.testimonials-section {
    background: var(--primary);
    color: white;
    position: relative;
}

.testimonials-section .section-header h2 {
    color: white;
}

.testimonials-section .section-header p {
    color: white;
    opacity: 0.8;
}

.video-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-soft);
}

.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.6s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.1);
    opacity: 1;
}

.video-badge span {
    font-size: 14px !important;
}

.video-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 69, 40, 0.8);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 50%);
    transition: background 0.3s ease;
}

.play-btn-circle {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.play-btn-circle .material-symbols-outlined {
    font-size: 32px;
    color: var(--primary);
    margin-left: 4px; /* Align slightly for play icon visual balance */
}

.video-card:hover .play-btn-circle {
    transform: scale(1.15);
    background: white;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    color: var(--primary);
}

.video-info p {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-muted);
    font-style: italic;
}

/* 10. Step CTA */
.cta-steps {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-steps h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4.5rem;
}

.steps-grid h3 {
    color: white;
    margin-bottom: 1rem;
}

.step-num {
    font-size: 4rem;
    font-weight: 900;
    opacity: 0.2;
    margin-bottom: 1rem;
}

.step-desc {
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* 11. FAQ Summary */
.summary-section {
    background-color: white;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.summary-item h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.summary-item .material-symbols-outlined {
    color: var(--primary-vibrant);
}

/* 12. Footer */
footer {
    padding: 5rem 0 3rem;
    background: var(--surface-off);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-content .logo {
    font-size: 1.5rem;
}

.footer-copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-credit {
    margin-top: 0.25rem;
    display: inline-block;
    opacity: 0.6;
    font-size: 0.75rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
}

/* 13. Contact Section */
.contact-section {
    background: var(--primary);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.75rem;
    margin-bottom: 2rem;
    color: white;
}

.contact-info p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.8);
}

.contact-details {
    list-style: none;
    padding: 0;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: white;
}

.contact-details .material-symbols-outlined {
    color: var(--primary-vibrant);
    font-size: 24px;
}

.social-links {
    display: flex;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-vibrant);
    color: white;
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 30px -10px rgba(16, 185, 129, 0.5);
    border-color: var(--primary-vibrant);
}

.social-links a i {
    transition: transform 0.3s ease;
}

.social-links a:hover i {
    transform: rotate(5deg);
}

.footer-social {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    color: var(--primary);
    background: white;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-sm);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 10px 20px -5px rgba(0, 69, 40, 0.3);
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-size: 0.9rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-md);
    background: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.btn-full {
    width: 100%;
}

/* 14. Floating elements */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

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

.pulse {
    animation: pulse 2s infinite, float 3s ease-in-out infinite;
}

.whatsapp-float svg {
    width: 24px;
}

.nav-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%) translateX(100px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dots.visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

/* 14. Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1100;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid, .mission-grid, .contact-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 3rem;
    }
    
    .hero { padding: 100px 0 60px; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 4rem 2rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

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

    .nav-links a {
        font-size: 1.5rem;
        margin: 1rem 0;
        text-align: center;
    }

    .hamburger { display: flex; }
    .nav-actions { display: none; } /* Hide in small screens, optionally show in mobile menu */
    
    .contact-info { margin-bottom: 2rem; }
    .contact-details li { justify-content: center; }
}

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

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem !important; }

    .steps-grid, .summary-grid, .video-testimonial-grid { 
        grid-template-columns: 1fr; 
        gap: 2rem;
    }

    .nav-dots { display: none; }
    
    .hero-img-container {
        max-width: 100%;
        margin-top: 2rem;
    }

    .benefit-item, .contact-form {
        padding: 2rem 1.5rem;
    }
}

/* 15. Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.video-modal.active {
    display: flex;
}

.video-modal .modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
