/* ── Smooth scroll ── */
html { scroll-behavior: smooth; }

/* ── Hero background ── */
.hero {
    background: radial-gradient(ellipse 80% 60% at 60% 40%, #f0fdf9 0%, #f8fafc 55%, #ffffff 100%);
}

/* ── Hamburger spans ── */
#hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #52525b;
    transition: all 0.2s ease;
    border-radius: 2px;
}
#hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Mobile nav ── */
@media (max-width: 768px) {
    #nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 1px solid #f4f4f5;
        padding: 1rem 1.25rem;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 8px 24px -4px rgba(0,0,0,0.08);
        display: none;
    }
    #nav-menu.show {
        display: flex;
    }
    #nav-menu li {
        list-style: none;
        padding: 0.65rem 0;
        border-bottom: 1px solid #f4f4f5;
    }
    #nav-menu li:last-child { border-bottom: none; }
    #nav-menu li a {
        font-size: 0.875rem;
        font-weight: 500;
        color: #3f3f46;
        text-decoration: none;
    }
}

/* ── Modal overlay ── */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(9, 9, 11, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal.show {
    display: flex;
}

/* ── Modal dialog ── */
.modal-content {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 1.75rem;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px -12px rgba(0,0,0,0.25);
    transform: translateY(16px) scale(0.98);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}
.modal.show .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* ── Form fields ── */
.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.875rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.form-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #3f3f46;
    margin-bottom: 0.35rem;
    letter-spacing: 0.01em;
}
.form-field input,
.form-field textarea {
    padding: 0.6rem 0.875rem;
    border: 1.5px solid #e4e4e7;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: #18181b;
    background: #fafafa;
    outline: none;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #a1a1aa;
}
.form-field input:focus,
.form-field textarea:focus {
    border-color: #012C49;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}
.form-field textarea {
    resize: none;
    line-height: 1.5;
}
form > button[type="submit"] {
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: #012C49;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}
form > button[type="submit"]:hover {
    background: #012C49 ;
}
form > button[type="submit"]:active {
    transform: scale(0.99);
}

/* ── FAQ accordion ── */
.faq-item.open .faq-icon {
    transform: rotate(180deg);
}
.faq-answer {
    animation: fadeSlide 0.2s ease;
}
@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
