/* ==========================================================================
   Global & Theme Styles
   ========================================================================== */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* General Body & Reset */
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1f2937;
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
    box-sizing: border-box;
}
h1, h2, h3, p {
    margin: 0;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background-image: linear-gradient(to right, #3b82f6, #2563eb);
    border: none;
    cursor: pointer;
    font-weight: 600;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    background-image: linear-gradient(to right, #2563eb, #1d4ed8);
}

/* Section General */
.section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.bg-light {
    background-color: #f9fafb;
}
.page-section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    background-color: transparent
}
.page-section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
}
.page-section-header p {
    color: #4b5563;
    margin-top: 1rem;
    font-size: 1.125rem;
}
.divider {
    width: 6rem;
    height: 4px;
    background-color: #3b82f6;
    margin: 1rem auto 0;
}

/* Card Styles */
.card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    border-color: #bfdbfe;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: box-shadow 0.2s, border-color 0.2s;
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}
textarea {
    resize: vertical;
    min-height: 120px;
}
#form-message {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

/* ==========================================================================
   Floating Action Button
   ========================================================================== */

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom));
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: transform 0.3s ease;
}
.whatsapp-button svg {
    width: 30px;
    height: 30px;
}
.whatsapp-button:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

@media (min-width: 768px) { /* md */
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .section-header h2 { font-size: 2.25rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .footer-bottom .container { flex-direction: row; text-align: left; }
}

@media (min-width: 1024px) { /* lg */
    .nav-links {
        display: flex;
        gap: 2.5rem;
        align-items: center;
    }
    .nav-links a {
        color: #374151;
        font-weight: 600;
        position: relative;
        transition: color 0.2s;
        padding: 0.5rem 0;
    }
    .nav-links a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        background-color: #2563eb;
        transition: width 0.3s ease;
    }
    .nav-links a:hover {
        color: #1e3a8a;
    }
    .nav-links a:hover::after {
        width: 100%;
    }
    .header-cta {
        display: block;
    }
    .hamburger-button, #mobile-menu {
        display: none !important;
    }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}