/* ============================================
   DATSAN CLEANING — REFINED STYLESHEET
   Colors: Original palette (#333, #A78BBA, etc.)
   Fonts: DM Serif Display (headings) + DM Sans (body)
   ============================================ */

:root {
    --dark: #333;
    --dark-deep: #2b2b2b;
    --dark-border: #272727;
    --purple: #A78BBA;
    --purple-hover: #7e5f92;
    --purple-light: #c4aed4;
    --white: #ffffff;
    --light-bg: #f1f1f1;
    --light-bg-alt: #f9f9f9;
    --text-white: #fff;
    --text-dark: #333;
    --text-muted: #555;
    --error: #ff6b6b;
    --success: #2e7d32;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', 'Poppins', sans-serif;
    background: var(--dark);
    color: var(--text-white);
    -webkit-font-smoothing: antialiased;
}

.layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
}

/* ---------- TYPOGRAPHY ---------- */
h2 {
    margin: 0;
    font-family: 'DM Serif Display', 'Georgia', serif;
    font-size: clamp(1.25rem, 8vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

h3 {
    margin: 0;
    font-family: 'DM Serif Display', 'Georgia', serif;
    font-size: clamp(1.1rem, 6vw, 2.5rem);
    font-weight: 400;
    line-height: 1.25;
}

h4 {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.9rem, 4.5vw, 1.5rem);
    font-weight: 600;
}

p {
    margin: 0;
    font-size: clamp(0.875rem, 4vw, 1.15rem);
    line-height: 1.6;
}

/* ---------- FOCUS & ACCESSIBILITY ---------- */
:focus-visible {
    outline: 3px solid var(--purple-light);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* ---------- CONTAINER ---------- */
.container {
    margin: 0 auto;
    width: 90%;
}

/* ---------- BUTTONS ---------- */
.btn {
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    background: var(--purple);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.875rem, 4vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    background: var(--purple-hover);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   HEADER
   ============================================ */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid black;
    height: 112px;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

header .container {
    position: relative;
    margin: 0.5rem;
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

header a {
    display: flex;
}

.logo {
    border-radius: 25px;
    width: clamp(13rem, 40vw, 19rem);
    height: auto;
}

/* ---------- HAMBURGER MENU ---------- */
.menu-icon {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.menu-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-icon .bar {
    height: 3px;
    margin: 4px 0;
    width: 25px;
    background-color: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.25s ease;
}

.menu-icon.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-icon.active .bar:nth-child(2) {
    opacity: 0;
}
.menu-icon.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- NAVIGATION ---------- */
nav ul {
    margin: 0;
    padding: 0;
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--dark);
    width: 200px;
    box-shadow: var(--shadow-md);
    list-style: none;
    z-index: 1000;
}

nav ul.active {
    display: flex;
}

nav ul li {
    margin: 0;
    text-align: left;
}

nav ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    font-size: clamp(0.875rem, 4vw, 1.2rem);
    text-decoration: none;
    padding: 12px 20px;
    min-height: 44px;
    transition: background 0.2s ease, color 0.2s ease;
}

nav ul li a:hover {
    background: rgba(167, 139, 186, 0.2);
}

nav ul li a i {
    font-size: clamp(0.875rem, 4vw, 1.2rem);
}

#nav-links a.selected {
    border-bottom: 2px solid var(--purple);
    color: var(--purple);
    font-weight: bold;
}

/* ============================================
   SPLASH / HERO
   ============================================ */
.landing-page {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.splash {
    flex: 1;
    background: url('../images/cleaning_2.jpg') no-repeat center center/cover;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2);
    display: flex;
    color: var(--white);
    text-align: center;
    transition: background 1.5s ease;
    align-items: center;
    justify-content: center;
}

.splash .container {
    display: flex;
    flex-direction: column;
    max-width: 1135px;
    z-index: 2;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeInUp 0.8s ease both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.splash h2 {
    width: 100%;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 5%;
    line-height: 1.2;
}

.splash .btn-container {
    width: 90%;
    max-width: 580px;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.15s both;
}

.splash .btn {
    font-size: clamp(0.875rem, 3vw, 2rem);
    flex: 1;
    padding: 0.8rem 1.5rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    display: flex;
    flex-direction: column;
    background: var(--dark);
    color: var(--white);
    text-align: center;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2);
}

.services .container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.services h2 {
    margin-top: 3rem;
    margin-bottom: 0.5rem;
    font-size: clamp(1.5rem, 6.5vw, 6rem);
    text-decoration: underline 3px solid var(--purple);
    text-shadow: #272727 2px 2px 4px;
    z-index: 2;
}

.services p {
    margin: 1rem 0;
    font-size: clamp(0.875rem, 4.5vw, 4rem);
    z-index: 2;
}

.service-image-container {
    margin-top: 2rem;
    margin-bottom: 4rem;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
    align-items: center;
    gap: 4rem;
    z-index: 2;
}

.service-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: clamp(10rem, 65vw, 60rem);
    width: clamp(10rem, 65vw, 60rem);
    border-radius: 50px;
    box-shadow: #272727 0px 0px 4px 4px;
    border: var(--purple) 2px solid;
    overflow: hidden;
    z-index: 2;
    transition: transform 0.4s ease;
}

.service-item:hover {
    transform: translateY(-20px);
}

.service-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-radius: 50px;
}

.service-item h2 {
    width: 90%;
    font-size: clamp(1rem, 6.5vw, 6rem);
    position: relative;
    color: var(--white);
    z-index: 2;
    text-shadow: #272727 2px 2px 4px;
    text-decoration: underline 4px solid var(--purple);
}

.service-item p {
    width: 90%;
    font-size: clamp(0.875rem, 4.5vw, 4rem);
    position: relative;
    color: #e8f5e9;
    text-shadow: #272727 2px 2px 4px;
    z-index: 2;
}

.item-one { background: url('../images/standard.jpg') no-repeat center center/cover; border-radius: 50px; }
.item-two { background: url('../images/deepclean.jpg') no-repeat center center/cover; border-radius: 50px; }
.item-three { background: url('../images/move-in-out.jpg') no-repeat center center/cover; border-radius: 50px; }
.item-four { background: url('../images/custom.jpg') no-repeat center center/cover; border-radius: 50px; }

/* ============================================
   PRICING SECTION
   ============================================ */
.no-data-message {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
}

.no-data-message i { color: #ffc107; margin-right: 10px; }

.warning-message {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.pricing {
    background: url('../images/Lavender.jpg') no-repeat center center/cover;
    text-align: center;
    padding-bottom: 2rem;
}

.pricing h2 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: #272727 2px 2px 4px;
    z-index: 2;
    border-bottom: 2px solid var(--purple);
}

.pricing p {
    color: var(--text-dark);
    margin-bottom: 2rem;
    z-index: 2;
}

.pricing .container {
    width: 80%;
    max-width: 736px;
}

.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
    align-items: flex-start;
}

.pricing-plans {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ---------- PRICING CARDS — IMPROVED ---------- */
.pricing-card {
    background: rgba(51, 51, 51, 0.92);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: left;
    transition: transform var(--transition), box-shadow var(--transition);
    /* IMPROVED: consistent inner padding via the container inside */
    overflow: hidden;
}

.pricing-card > .container {
    padding: 1.2rem 0 1.5rem;
}

.pricing-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--purple);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    text-decoration: none;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(167, 139, 186, 0.25);
}

.pricing-card h3 i {
    color: var(--purple);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 0;
    min-height: 44px;
    display: flex;
    cursor: pointer;
}

.form-group label i {
    color: var(--purple);
}

.form-group input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--purple);
}

#bedrooms, #bathrooms, #services {
    width: 100%;
}

.form-group input,
.form-group select {
    padding: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.875rem, 4vw, 1rem);
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(167, 139, 186, 0.3);
    outline: none;
}

.form-group input.invalid,
.form-group select.invalid {
    border-color: #e53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.2);
}

.pricing-card .form-group {
    margin-bottom: 15px;
}

.pricing-card label {
    display: flex;
    font-size: clamp(0.875rem, 4vw, 1.2rem);
    color: var(--white);
    margin-bottom: 0.5rem;
}

.pricing-card input {
    padding: 10px;
    font-size: clamp(0.875rem, 1vw, 2rem);
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.pricing-card input,
.pricing-card select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.pricing-card .btn {
    width: 100%;
}

.pricing-card .btn:hover {
    background: var(--purple-hover);
}

.service-disclaimer {
    color: #ccc !important;
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    font-style: italic;
    line-height: 1.5;
}

/* IMPROVED: selected services box */
#selected-services {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: rgba(167, 139, 186, 0.08);
    border: 1px solid rgba(167, 139, 186, 0.15);
    border-radius: var(--radius-sm);
}

#selected-services h4 {
    margin-bottom: 12px;
    color: var(--white);
    display: flex;
    text-align: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(167, 139, 186, 0.25);
}

#selected-services h4 i {
    color: var(--purple);
}

#selected-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* IMPROVED: service list items with subtle background and better spacing */
#selected-list li {
    font-size: clamp(0.875rem, 4vw, 1rem);
    color: var(--white);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: rgba(167, 139, 186, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(167, 139, 186, 0.08);
}

#selected-list li button {
    background: var(--purple);
    color: var(--white);
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: clamp(0.875rem, 4vw, 1rem);
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    min-height: 32px;
    transition: background var(--transition);
}

#selected-list li button:hover {
    background: var(--purple-hover);
}

/* ---------- CALCULATED PRICE — IMPROVED ---------- */
.calculated-price {
    width: 100%;
    background: rgba(167, 139, 186, 0.9);
    border: 1px solid rgba(51, 51, 51, 0.5);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-bottom: 0;
    overflow: hidden;
}

.calculated-price .container {
    position: relative;
    padding: 1.2rem 5%;
}

.calculated-price h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin: 0;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: none;
    padding-bottom: 0;
}

.calculated-price p {
    color: var(--white);
    margin-top: 5px;
    margin-bottom: 0;
}

/* IMPROVED: price display is more prominent */
#price-summary {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.25rem, 7vw, 3.5rem);
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    margin: 0.3rem 0;
}

.calculated-price .btn {
    width: 80%;
    margin-top: 15px;
    background: var(--dark);
    color: var(--white);
    padding: 10px 10px;
    border: none;
    border-radius: 5px;
    font-size: clamp(1rem, 3vw, 2rem);
    transition: background var(--transition);
}

.calculated-price .btn:hover {
    background: var(--purple-hover);
}

#error-message {
    color: var(--error);
    display: none;
    font-size: 14px;
    margin-top: 1rem;
    font-weight: 600;
}

.required-asterisk {
    color: red;
    font-weight: bold;
    margin-left: 0.2rem;
    visibility: hidden;
}

.required-asterisk.visible {
    visibility: visible !important;
    text-decoration: none !important;
}

/* ---------- PRICE DISCLAIMER ---------- */
.price-disclaimer {
    position: relative;
}

.disclaimer-icon {
    color: var(--text-dark);
    font-size: clamp(0.875rem, 4vw, 1.3rem);
    transition: color var(--transition);
    position: absolute;
    left: -10%;
    cursor: help;
}

.disclaimer-icon:hover {
    color: var(--white);
}

.disclaimer-tooltip {
    width: 200px;
    border-radius: 6px;
    padding: 10px;
    background-color: var(--dark);
    color: var(--white);
    text-align: center;
    position: absolute;
    left: 3%;
    visibility: hidden;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: clamp(0.8rem, 0.5vw, 10rem);
    line-height: 1.4;
}

.disclaimer-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 1%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark) transparent transparent transparent;
}

.price-disclaimer:hover .disclaimer-tooltip {
    visibility: visible;
    opacity: 1;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    flex: 1;
    background: url('../images/flower_3.jpg') no-repeat center center/cover;
    justify-content: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    color: var(--white);
    padding-bottom: 2rem;
}

.contact .container {
    height: 100%;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact h2 {
    margin-top: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-decoration: underline 4px solid var(--purple);
}

.subheading {
    margin-top: 0.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact form button {
    background: var(--purple);
    color: var(--white);
    border: none;
    border-radius: 5px;
}

/* ---------- FORM + RECEIPT LAYOUT ---------- */
.contact-form-and-receipt {
    margin-top: 2rem;
    margin-bottom: 2rem;
    min-height: 500px;
    width: 100%;
    gap: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ---------- CONTACT FORM — IMPROVED ---------- */
#contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-radius: var(--radius-md);
    background: var(--dark);
    border: 2px solid var(--purple);
    padding: 1.5rem 0;
    box-shadow: var(--shadow-lg);
}

#contact-form p {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: clamp(0.8rem, 1.2vw, 1.1rem);
    width: 85%;
    color: #ccc;
}

#contact-form input,
#contact-form textarea {
    width: 85%;
    margin-bottom: 0.6rem;
    padding: 0.75rem 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.875rem, 4vw, 1rem);
    border: 1px solid #555;
    border-radius: var(--radius-sm);
    box-sizing: border-box;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--white);
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 8px rgba(167, 139, 186, 0.4);
    outline: none;
}

#contact-form input.invalid,
#contact-form textarea.invalid {
    border-color: #e53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.2);
}

#contact-form textarea {
    height: clamp(3rem, 24vmin, 10rem);
    resize: none;
}

#contact-form button {
    margin-top: 0.5rem;
}

#contact-form button:hover {
    background: var(--purple-hover);
    transform: translateY(-2px);
}

/* ---------- RECEIPT BOX — IMPROVED ---------- */
.receipt-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: var(--dark);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    color: var(--white);
    border: 2px solid var(--purple);
    align-items: center;
    justify-content: space-around;
    padding: 1rem 0;
}

.receipt-box h3 {
    width: 80%;
    color: var(--purple);
    text-align: center;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(167, 139, 186, 0.3);
}

.receipt-box p {
    font-size: clamp(0.875rem, 4vw, 1.2rem);
    margin-bottom: 0.4rem;
}

#receipt-content-container {
    width: 75%;
}

.summary {
    align-content: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: solid 1px #444;
}

.receipt-box ul { list-style: none; padding: 0; margin: 0; }

.receipt-box ul li {
    max-width: 190px;
    font-size: clamp(0.875rem, 1.2vw, 2.5rem);
    margin-top: 5px;
    margin-bottom: 5px;
    color: var(--white);
}

.add-services {
    margin-top: 1.2rem;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(50px, 1fr));
    column-gap: 0.5rem;
    max-height: clamp(4.5rem, 7.8vw, 20rem);
    padding-bottom: 1.2rem;
    width: 100%;
    overflow-y: auto;
    border-bottom: solid 1px #444;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    touch-action: pan-y;
}

.add-services::-webkit-scrollbar { width: 8px; }
.add-services::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 4px; }

.add-services p {
    grid-column: 1 / -1;
    position: sticky;
    top: 0;
    background: var(--dark);
    z-index: 1;
    padding-top: 0.2rem;
    padding-bottom: 0.5rem;
    margin: 0;
    text-decoration: underline;
}

#receipt-services-list { display: contents; list-style: none; padding: 0; margin: 0; }

#receipt-services-list li {
    display: flex;
    background: rgba(167, 139, 186, 0.2);
    padding: 0.2rem;
    border-radius: 4px;
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    align-items: center;
    justify-content: center;
}

.button-container {
    width: 65%;
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    align-self: center;
    gap: 10%;
}

.button-container .btn {
    flex: 1;
}

#success-message {
    display: none;
    background: rgba(46, 125, 50, 0.15);
    color: #66bb6a;
    padding: 7px;
    border-radius: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    border: 1px solid rgba(102, 187, 106, 0.3);
    width: 80%;
}

#success-message.show { display: block; }
#success-message p { margin: 0; font-size: 16px; }
#success-message i { margin-right: 10px; color: #66bb6a; }

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    background: var(--dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 0.2px solid var(--dark-border);
    padding: 2rem 0;
    align-items: center;
    justify-content: center;
}

.faq .container {
    margin: 0 auto 3rem;
    padding: 1.5rem;
    width: 92%;
    max-width: 1170px;
    background: var(--light-bg);
    border-radius: 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.faq-item-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 95%;
    gap: 0.75rem;
}

.faq h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    padding: 0 2rem;
    color: var(--white);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid var(--purple);
}

/* IMPROVED: FAQ items have cleaner corners and subtle borders */
.faq-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: var(--white);
    border: none;
    padding: 1rem 1.2rem;
    font-size: clamp(0.875rem, 4.5vw, 4rem);
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition);
    gap: 0.3rem;
    cursor: pointer;
    min-height: 48px;
}

.faq-question p {
    font-size: clamp(0.875rem, 4.5vw, 1.5rem);
    text-align: center;
    flex: 1;
    font-weight: 500;
}

.faq-question:hover {
    background: #e8e8e8;
    color: var(--purple-hover);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question i.fa-question-circle {
    margin-right: 1rem;
    color: var(--purple);
    font-size: clamp(1.4rem, 4.5vw, 2.5rem);
    flex-shrink: 0;
}

.faq-question .fa-chevron-down {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question.active {
    background: var(--purple);
    color: var(--white);
}

.faq-question.active i {
    color: var(--white);
}

.faq-question.active .fa-chevron-down {
    transform: rotate(180deg);
}

.faq-answer {
    width: 100%;
    background: var(--light-bg-alt);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
    will-change: max-height;
}

.faq-answer p {
    font-size: clamp(0.875rem, 4vw, 1.2rem);
    margin: 0 2rem;
    line-height: 1.6;
}

.faq-answer.open {
    max-height: 500px;
    padding: 1rem 0;
}

/* ============================================
   FOOTER — compact, always vertical
   ============================================ */
footer {
    width: 100%;
    background: var(--dark);
    color: var(--white);
    text-align: center;
    border-top: 2px solid black;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.contact-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 1rem;
    background: var(--dark);
    text-align: center;
    border-bottom: 1px solid #333;
}

.contact-details {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
}

.contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.25rem 0.6rem;
    flex: 1;
    border-right: 1px solid #444;
}

.contact-item:last-child {
    border-right: none;
}

.contact-item i {
    display: none;
    font-size: clamp(0.85rem, 2.5vw, 1.1rem);
    color: var(--purple);
}

.contact-item p {
    color: #aaa;
    margin-bottom: 0;
    font-size: clamp(0.6rem, 2vw, 0.72rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-size: clamp(0.65rem, 2.5vw, 0.8rem);
}

.contact-item a:hover {
    color: var(--purple-light);
    text-decoration: underline;
}

.copy {
    border-top: 1px solid #555;
    width: 100%;
}

.copy p {
    font-size: 10px;
    padding: 0.15rem 0 0.3rem;
    color: #aaa;
}

/* ============================================
   HOME PAGE — no scroll, splash fills viewport
   ============================================ */
body[data-page="home"] {
    overflow: hidden;
    height: 100%;
    overscroll-behavior: none;
}

body[data-page="home"] .layout {
    height: 100dvh;
    overflow: hidden;
}

body[data-page="home"] main,
body[data-page="home"] .landing-page {
    overflow: hidden;
    min-height: 0;
}

/* ============================================
   RESPONSIVE — max 480px (very small screens)
   ============================================ */
@media (max-width: 480px) {

    header {
        height: 72px;
    }

    header .container {
        margin: 0.25rem;
        gap: 12px;
    }

    .logo {
        width: clamp(9.5rem, 44vw, 12rem);
    }

    .contact-details {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }

    .contact-item {
        flex-direction: row;
        justify-content: center;
        gap: 0.4rem;
        padding: 0.25rem 0.5rem;
        border-right: none;
        border-bottom: 1px solid #444;
        flex: none;
        width: auto;
        min-width: 200px;
    }

    .contact-item i {
        display: block;
        font-size: 0.75rem;
    }

    .contact-item:last-child {
        border-bottom: none;
    }

    .contact-item p {
        font-size: 0.58rem;
    }

    .contact-item a {
        font-size: 0.62rem;
    }

    .copy p {
        font-size: 8px;
    }

}

/* ============================================
   RESPONSIVE — 768px+
   ============================================ */
@media (min-width: 768px) {

    .contact-info {
        padding: 0.9rem 1rem;
    }

    .contact-item {
        flex-direction: column;
        gap: 0.15rem;
        padding: 0.4rem 1rem;
    }

    .contact-item i {
        display: block;
    }

    .contact-item p {
        font-size: clamp(0.6rem, 1.2vw, 0.68rem);
    }

    .contact-item a {
        font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    }

    .contact .container {
        width: 90%;
        max-width: 1170px;
    }

    .contact-form-and-receipt {
        margin-top: 4rem;
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    #contact-form {
        padding: 1.5rem 0;
    }

    .faq-item-container {
        gap: 0.5rem;
    }

}

/* ============================================
   RESPONSIVE — 930px+ (Desktop nav)
   ============================================ */
@media (min-width: 930px) {
    .menu-icon {
        display: none;
    }

    nav ul {
        position: static;
        display: flex !important;
        flex-direction: row;
        gap: 1rem;
        background: none;
        width: auto;
        box-shadow: none;
    }

    nav ul li a {
        padding: 10px 15px;
        border-radius: 6px;
    }

    nav ul li a:hover {
        background: rgba(167, 139, 186, 0.15);
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    header, footer, .menu-icon, .btn { display: none; }
    main { padding: 0; }
    .splash { background: none; color: #000; box-shadow: none; }
}