/* =========================================
   PAGE 2 CSS (CONTACT + TRY LALO)
   ========================================= */


/* =========================================
   CONTACT PAGE
   ========================================= */

/* HERO */
.contact-hero {
    padding: 40px 0 20px;
    text-align: center;
}

/* HERO STATS */
.contact-hero-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.contact-hero-stats strong {
    display: block;
    font-size: 1.6rem;
    color: var(--accent);
}

.contact-hero-stats span {
    font-size: 0.85rem;
    color: var(--grey);
}

/* SECTION */
.contact-section {
    padding: 20px;
}

/* CENTER CONTAINER */
.contact-section .container {
    display: flex;
    justify-content: center;
}

/* CARD WRAPPER */
.contact-box-wrapper {
    max-width: 900px;
    margin: 20px auto 0;
    display: flex;
    background: white;
    border: 1px solid #eee;
}

/* CARD */
.contact-box {
    flex: 1;
    padding: 50px 40px;
    text-align: center;
    border-right: 1px solid #eee;
    transition: all 0.3s ease;
}

.contact-box:last-child {
    border-right: none;
}

/* HOVER */
.contact-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

/* ICON */
.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fafafa;
    border: 1px solid #eee;
    margin-bottom: 15px;
}

/* TEXT */
.contact-box p {
    color: var(--grey);
    font-size: 0.95rem;
    margin-top: 10px;
}

/* LINK */
.contact-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
}


/* =========================================
   TRY LALO PAGE
   ========================================= */

.trylalo-section {
    padding: 50px 0;
    background: #f9f9f9;
}

/* GRID */
.trylalo-grid {
    display: flex;
    gap: 100px;
    align-items: flex-start;
}

/* LEFT */
.trylalo-content {
    flex: 1;
    padding-right: 20px;
}

/* RIGHT */
.trylalo-form-box {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* CARD */
.trylalo-form-card {
    width: 100%;
    max-width: 480px;
    background: white;
    padding: 45px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 30px 80px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.trylalo-form-card:hover {
    transform: translateY(-6px);
}

/* TITLE */
.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

/* SUBTEXT */
.form-subtext {
    font-size: 0.9rem;
    color: var(--grey);
    margin-bottom: 25px;
}

/* FORM GROUP */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

/* LABEL */
.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
    color: var(--ink);
}

/* INPUT */
.trylalo-input {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-family: 'Inter', sans-serif;
    transition: 0.25s ease;
}

.trylalo-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255,77,0,0.15);
}

/* SELECT */
select.trylalo-input {
    appearance: none;
    background: white;
}

/* BUTTON */
.trylalo-form-card .btn-main {
    width: 100%;
    height: 56px;
    font-size: 13px;
    margin-top: 10px;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {
    .contact-box-wrapper {
        flex-direction: column;
    }

    .trylalo-grid {
        flex-direction: column;
        gap: 40px;
    }

    .trylalo-form-box {
        justify-content: center;
    }

    .trylalo-form-card {
        max-width: 100%;
        padding: 30px;
    }

    .trylalo-content {
        padding-right: 0;
    }
}

/* Wrapper */
.cms-wrapper {
    padding: 50px 20px;
    background: #f7f9fc;
    min-height: 90vh;
}

/* Card */
.cms-card {
    max-width: 900px;
    margin: auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Heading */
.cms-card h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #111;
}

/* Grid */
.cms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

/* Inputs */
.cms-card input,
.cms-card textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    background: #fafafa;
    transition: 0.2s;
}

.cms-card input:focus,
.cms-card textarea:focus {
    border-color: #111;
    background: #fff;
    outline: none;
}

/* Textarea */
.cms-card textarea {
    min-height: 90px;
    margin-bottom: 15px;
}

/* 🔥 FIXED Checkbox Wrapper */
.cms-check-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;

}

/* Checkbox */
.cms-check {
    display: inline-flex; /* changed from flex */
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

/* Checkbox input */
.cms-check input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Button wrapper (NEW for better alignment) */
.cms-actions {
    display: flex;
    justify-content: flex-start;
    margin: 0px;
}

/* Button */
.cms-btn {
    background: #ff4d00;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

/* FAQ Styling */
.faq-list {
    margin-top: 20px;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.faq-question {
    font-weight: 700;
    cursor: pointer;
}

.faq-answer {
    margin-top: 8px;
    font-size: 14px;
    color: #555;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* ================= RESPONSIVE FIXES (PAGES ONLY) ================= */

/* Prevent overflow */
body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------------- GENERAL CONTAINER FIX ---------------- */

@media (max-width: 991px) {
    .container {
        padding: 0 16px;
    }
}

/* ---------------- FORM FIXES ---------------- */

@media (max-width: 768px) {
    form {
        width: 100%;
    }

    input,
    textarea,
    select {
        width: 100%;
        font-size: 14px;
    }
}

/* ---------------- BUTTON FIX ---------------- */

@media (max-width: 576px) {
    button,
    .btn {
        width: 100%;
    }
}

/* ---------------- SECTION SPACING ---------------- */

@media (max-width: 768px) {
    section {
        padding: 40px 0 !important;
    }
}

/* ---------------- CARD / BOX FIX ---------------- */

@media (max-width: 768px) {
    .card,
    .box,
    .form-card {
        padding: 20px !important;
    }
}

/* ================= FAQ RESPONSIVE + SMOOTH FIX ================= */

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* Optional spacing fix for mobile */
@media (max-width: 768px) {
    .faq-item {
        margin-bottom: 15px;
    }

    .faq-question {
        font-size: 15px;
    }

    .faq-answer {
        font-size: 14px;
    }
}