﻿@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --dark: #0f172a;
    --green: #4ade80;
    --green-pale: rgba(74, 222, 128, 0.12);
    --blue: #3b82f6;
    --gold: #f59e0b;
    --muted: #64748b;
    --muted-light: #94a3b8;
    --border: rgba(255,255,255,0.1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--dark);
    color: #e2e8f0;
}

/* HERO */

.page-hero {
    background: linear-gradient(135deg, #065f46 0%, #1e3a8a 100%);
    color: #fff;
    padding: 7rem 2rem 5rem;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.page-hero-texture {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 70% at 10% 40%, rgba(74,222,128,0.1) 0%, transparent 60%), radial-gradient(ellipse 40% 60% at 90% 60%, rgba(59,130,246,0.1) 0%, transparent 60%);
}

.page-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(74,222,128,0.12);
    border: 1px solid rgba(74,222,128,0.3);
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.page-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 1.25rem;
}

    .page-heading .accent {
        color: var(--green);
        font-style: italic;
    }

.page-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* LAYOUT */

.section {
    padding: 5rem 2rem;
}

.section-alt {
    background: rgba(255,255,255,0.02);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.copy-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

/* CARDS */

.form-card,
.sidebar-contact,
.sidebar-why,
.faq-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: 0.3s ease;
}

    .form-card:hover,
    .sidebar-contact:hover,
    .sidebar-why:hover,
    .faq-item:hover {
        background: rgba(255,255,255,0.08);
        border-color: rgba(74,222,128,0.25);
        transform: translateY(-4px);
    }

.form-card-title,
.sidebar-contact-title,
.sidebar-why-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 2rem;
}

/* FORM */

.field {
    margin-bottom: 1.35rem;
}

    .field label {
        display: block;
        font-size: 0.85rem;
        font-weight: 800;
        color: #e2e8f0;
        margin-bottom: 0.45rem;
    }

        .field label span {
            color: var(--muted-light);
            font-weight: 400;
        }

    .field input:not([type="radio"]),
    .field select,
    .field textarea {
        width: 100%;
        padding: 0.95rem 1rem;
        background: #1f2937;
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 12px;
        font-family: 'DM Sans', sans-serif;
        font-size: 0.95rem;
        color: #ffffff;
        outline: none;
        transition: 0.25s ease;
    }

        .field input:not([type="radio"]):focus,
        .field select:focus,
        .field textarea:focus {
            border-color: rgba(74,222,128,0.65);
            box-shadow: 0 0 0 3px rgba(74,222,128,0.12);
        }

        .field input::placeholder,
        .field textarea::placeholder {
            color: #94a3b8;
        }

    .field textarea {
        resize: none;
        min-height: 130px;
    }

/* SELECT FIX */

.custom-select {
    width: 100%;
    background: #1f2937 !important;
    color: #ffffff !important;
    border: 1px solid rgba(74,222,128,0.25) !important;
    cursor: pointer;
}

    .custom-select option,
    select option {
        background: #1f2937 !important;
        color: #ffffff !important;
    }

/* PACKAGE RADIO CARDS */

.package-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 0.35rem;
}

.package-option {
    display: flex !important;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.1rem;
    background: #1f2937;
    border: 1px solid rgba(74,222,128,0.22);
    border-radius: 16px;
    cursor: pointer;
    transition: 0.25s ease;
    margin: 0;
}

    .package-option:hover {
        background: rgba(74,222,128,0.08);
        border-color: rgba(74,222,128,0.55);
        transform: translateY(-2px);
    }

    .package-option input[type="radio"] {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px;
        padding: 0 !important;
        margin: 0;
        accent-color: #4ade80;
        background: transparent !important;
        border-radius: 50% !important;
        box-shadow: none !important;
    }

    .package-option div {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
    }

    .package-option strong {
        color: #ffffff;
        font-size: 0.95rem;
        font-weight: 800;
    }

    .package-option small {
        color: #94a3b8;
        font-size: 0.82rem;
        font-weight: 500;
    }

/* VALIDATION */

.validation-message {
    display: block;
    font-size: 0.78rem;
    color: #f87171;
    margin-top: 0.35rem;
}

/* BUTTONS */

.submit-btn,
.card-cta {
    width: 100%;
    background: linear-gradient(135deg, #065f46, #1e3a8a);
    color: #4ade80;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 900;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: 0.25s ease;
}

    .submit-btn:hover:not(:disabled),
    .card-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    }

    .submit-btn:disabled {
        opacity: 0.55;
        cursor: not-allowed;
    }

/* ALERTS */

.alert {
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

    .alert p {
        margin: 0;
    }

.alert-success {
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.25);
    color: #86efac;
}

.alert-error {
    background: rgba(220,38,38,0.12);
    border: 1px solid rgba(220,38,38,0.25);
    color: #fca5a5;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #4ade80;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* SIDEBAR */

.sidebar-contact {
    background: linear-gradient(135deg, rgba(15,23,42,0.95), rgba(30,58,138,0.85), rgba(6,95,70,0.85));
    margin-bottom: 1.5rem;
}

.contact-detail,
.why-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

    .contact-detail:last-child,
    .why-item:last-child {
        margin-bottom: 0;
    }

.detail-icon,
.why-check {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--green-pale);
    color: var(--green);
    border: 1px solid rgba(74,222,128,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-check {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    font-size: 0.8rem;
    margin-top: 2px;
}

.detail-label {
    font-size: 0.7rem;
    color: var(--muted-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
}

.detail-value,
.why-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
}

.why-desc {
    font-size: 0.85rem;
    color: var(--muted-light);
    line-height: 1.6;
}

/* FAQ */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 3rem auto 0;
    max-width: 800px;
    text-align: left;
}

.faq-q {
    font-size: 1rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.5rem;
}

.faq-a {
    font-size: 0.9rem;
    color: var(--muted-light);
    line-height: 1.75;
}

/* CTA */

.cta-strip {
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #065f46 0%, #1e3a8a 100%);
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

    .cta-inner h2 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(2rem, 4vw, 3.5rem);
        color: #fff;
        margin-bottom: 1rem;
    }

    .cta-inner p {
        color: rgba(255,255,255,0.72);
        margin-bottom: 2rem;
    }

.cta-strip-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

    .cta-strip-btns .card-cta {
        width: auto;
    }

.card-cta-blue {
    background: linear-gradient(135deg, #1e3a8a, #065f46);
    color: #93c5fd;
}

/* MOBILE */

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 1.25rem;
    }

    .form-card,
    .sidebar-contact,
    .sidebar-why,
    .faq-item {
        padding: 1.5rem;
    }

    .page-hero {
        padding: 6rem 1.25rem 4rem;
    }

    .package-option {
        padding: 0.95rem;
    }
}
