@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f3f5f7;
    min-height: 100vh;
}

/* Page Wrapper allows constraining on mobile */
.page-wrapper {
    min-height: auto;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background: #0f172a;
    color: #fff;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 32px;
    font-weight: 800;
    color: #ffc107;
    text-decoration: none;
}

.logo span {
    color: #fff;
    font-size: 20px;
}

.logo .c {
    display: none;
    /* Mobile only */
}

.badge {
    background: #1e293b;
    padding: 12px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
}

.badge.call {
    background: #ffc107;
    color: #111;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
}

.badge.call:hover {
    transform: scale(1.05);
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 20px;
    flex-grow: 1;
}

.container.single-col {
    grid-template-columns: 1fr;
    max-width: 700px;
}

/* Cards */
.card {
    background: #fff;
    border: 3px solid #111827;
    border-radius: 20px;
    padding: 24px;
}

.card-title,
h1,
h2 {
    margin-top: 0;
    color: #111;
}

.card p {
    color: #526072;
    line-height: 1.7;
}

hr {
    border: none;
    border-top: 1px solid #e6e6e6;
    margin: 18px 0;
}

/* Typography & Utils */
.note {
    background: #dcecff;
    border: 1px solid #8ab4ff;
    color: #2447aa;
    padding: 10px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.item {
    display: flex;
    gap: 14px;
    margin: 18px 0;
}

.item .icon {
    font-size: 30px;
}

.service {
    background: #10b981;
    color: #fff;
    padding: 18px;
    border-radius: 14px;
    margin: 10px 0;
    font-weight: 700;
}

.price {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.p {
    border: 2px solid #dbe4ea;
    border-radius: 15px;
    padding: 18px;
}

/* Forms (from booking/select) */
.field-group {
    margin-bottom: 16px;
}

.field-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 600;
}

.field-group input,
.field-group select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #dbe4ea;
    border-radius: 14px;
    background: #fff;
    font-size: 1rem;
    font-family: inherit;
}

.field-group input:focus,
.field-group select:focus {
    outline: none;
    border-color: #0f172a;
}

.split-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.btn-submit,
.btn-action {
    width: 100%;
    border: none;
    border-radius: 999px;
    background: #0f172a;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 18px;
    margin-top: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-submit:hover,
.btn-action:hover {
    background: #1e293b;
}

.alert {
    padding: 15px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-weight: 600;
}

.alert-danger {
    background: #ffebe9;
    color: #cf222e;
    border: 1px solid #ffc1c0;
}

/* Footer */
footer {
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: auto;
}

/* Mobile Overrides (copy_plus_mobile theme) */
@media (max-width: 900px) {
    body {
        background: #f4f4f4;
    }

    .page-wrapper {
        max-width: 600px;
        margin: 10px auto;
        background-size: 40px 40px;
        border-radius: 30px;
        overflow: hidden;
    }

    header {
        background: #111b34;
        padding: 16px;
    }

    .logo {
        font-size: 16px;
    }

    .logo span {
        color: #ffbf00;
    }

    .logo .c {
        display: block;
        background: #ffbf00;
        color: #ffffff;
        padding: 6px 9px;
        border-radius: 8px;
        font-size: 16px;
    }

    .badge.location,
    .badge.time {
        display: none;
    }

    .badge.call {
        padding: 10px 16px;
        border-radius: 10px;
        background: #ffbf00;
    }

    .container,
    .container.single-col {
        grid-template-columns: 1fr;
        margin: 0;
        padding: 0;
    }

    .card {
        margin: 16px;
        border: 5px solid #18233d;
        border-radius: 22px;
        padding: 22px;
    }

    .price,
    .split-fields {
        grid-template-columns: 1fr;
    }

    footer {
        background: transparent;
        border: none;
    }
}

/* ========== Desktop/Mobile View Toggle ========== */
.desktop-view {
    display: block;
}

.mobile-view {
    display: none;
}

@media (max-width: 900px) {
    .desktop-view {
        display: none !important;
    }

    .mobile-view {
        display: block !important;
    }
}

/* ========== Mobile .phone container (copy_plus_mobile.html) ========== */
.phone {
    max-width: 430px;
    margin: 10px auto;
    background: #f4f4f4;
    min-height: 100vh;
    background-image: linear-gradient(#ececec 1px, transparent 1px), linear-gradient(90deg, #ececec 1px, transparent 1px);
    background-size: 40px 40px;
}

.phone header {
    background: #111b34;
    color: #fff;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phone .logo {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 800;
    font-size: inherit;
}

.phone .logo .c {
    display: block;
    background: #ffbf00;
    color: #111;
    padding: 6px 9px;
    border-radius: 8px;
}

.phone .call {
    background: #ffbf00;
    color: #111;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}

.phone .card {
    margin: 16px;
    background: #fff;
    border: 5px solid #18233d;
    border-radius: 22px;
    padding: 22px;
}

.phone h1 {
    font-size: 28px;
}

.bottom {
    margin-top: 24px;
    background: #e7fbf1;
    border: 1px solid #55e6af;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
}

/* Legacy helper classes (kept for other pages) */
@media (max-width: 900px) {
    .desktop-only {
        display: none !important;
    }
}

@media (min-width: 901px) {
    .mobile-only {
        display: none !important;
    }
}