/* === Import Fonts (Optional - Choose fonts that match logo vibe) === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap'); /* Example: Poppins is clean */

/* === CSS Variables for Brand Colors === */
:root {
    --primary-blue: #193869; /* Deep blue from logo text */
    --accent-blue: #5cacee;  /* Lighter blue from window panes */
    --dark-text: #333333;     /* Dark grey for text */
    --light-background: #f8f9fa; /* Very light grey page background */
    --white: #ffffff;
    --black: #000000; /* Keep for borders or specific elements if needed */

    /* Action/CTA Colors - Using brand blue */
    --cta-color: var(--primary-blue);
    --cta-color-hover: #112747; /* Darker shade of primary blue */

    /* Optional: Keep green for specific alerts/success messages if needed */
    --success-green: #28a745;
    --success-green-darker: #218838;
}

/* === Basic Reset & Global Styles === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

body {
    font-family: 'Poppins', 'Arial', sans-serif; /* Use imported font */
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-background);
    font-size: 16px; /* Base font size */
}

.container {
    max-width: 1140px; /* Slightly wider container */
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-blue); /* Use primary blue for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    /* color: var(--accent-blue); Slightly lighter on hover */
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--primary-blue); /* Make headings use primary blue */
    font-weight: 600; /* Slightly bolder */
}
h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
}
p.lead {
    font-size: 1.1rem;
    color: #555;
}


img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevents bottom space under images */
}

ul {
    list-style: none;
}

/* === Header & Navigation === */
.navbar {
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08); /* Softer shadow */
    position: sticky; /* Make navbar sticky */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee; /* Subtle bottom border */
    /* Calculate actual height - often around 65-75px */
    /* height: 70px; /* You might need to set an explicit height */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%; /* Ensure container takes full navbar height */
}

.navbar .logo {
    font-size: 1.6rem; /* Adjust as needed */
    font-weight: 700; /* Bold logo text */
    color: var(--primary-blue); /* Logo text in brand blue */
    text-decoration: none;
    display: flex; /* Align image and text if using both */
    align-items: center;
}
.navbar .logo img {
    max-height: 45px; /* Adjust logo image size */
    margin-right: 10px; /* Space between image and text */
    vertical-align: middle;
}

/* Default DESKTOP nav links */
.navbar .nav-links {
    display: flex; /* Displayed by default on desktop */
    align-items: center; /* Vertically align items */
}

.navbar .nav-links li {
    margin-left: 25px; /* Slightly more space */
}

.navbar .nav-links a {
    color: var(--dark-text); /* Default link color in nav */
    padding: 5px 0; /* Padding top/bottom only */
    font-weight: 600;
    position: relative; /* For underline effect */
    text-decoration: none; /* Remove default underline */
    transition: color 0.3s ease;
}

/* Underline hover effect for non-button links */
.navbar .nav-links a:not(.cta-button)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}
.navbar .nav-links a:not(.cta-button):hover::after,
.navbar .nav-links a:not(.cta-button).active::after { /* Add .active class manually or via JS */
    width: 100%;
}

.navbar .nav-links a:not(.cta-button):hover,
.navbar .nav-links a:not(.cta-button).active {
    color: var(--primary-blue); /* Brand color on hover/active */
}
/* Specific active style if needed beyond underline */
.navbar .nav-links a.active {
     color: var(--primary-blue);
     font-weight: 700; /* Example: make active link bolder */
}


/* === Call-to-Action Button Styles === */
.cta-button {
    background-color: var(--cta-color);
    color: var(--white); /* White text on buttons */
    padding: 10px 25px; /* Slightly more padding */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600; /* Bolder CTA text */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease, border-color 0.3s ease;
    display: inline-block; /* Ensure it behaves well */
    text-align: center;
}

.cta-button:hover {
    background-color: var(--cta-color-hover);
    color: var(--white); /* Keep text white on hover */
    text-decoration: none;
    transform: translateY(-2px); /* Slight lift on hover */
}

.cta-button.large {
    padding: 15px 35px;
    font-size: 1.15rem;
}

/* === Specific Navbar CTA Button Styles === */
/* Ensure the Navbar CTA button text is white by default */
.navbar .nav-links .cta-button {
    color: var(--white); /* *** FIX: Explicitly set white text *** */
    margin-left: 15px; /* Space before button in nav */
}

/* Ensure Navbar CTA button hover DOES NOT change text color from link hover */
.navbar .nav-links .cta-button:hover {
    color: var(--white) !important; /* *** FIX: Force white text on hover *** */
    background-color: var(--cta-color-hover); /* Ensure background hover applies */
    /* The transform effect from .cta-button:hover will also apply */
}

/* Remove underline effect specifically for the button in nav */
.navbar .nav-links .cta-button::after {
    display: none;
}


/* === Mobile Menu Toggle === */
/* Hidden by default, shown in media query */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-blue); /* Use brand blue for hamburger */
    padding: 5px; /* Easier to tap */
}

/* === Hero Section === */
.hero {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}
.hero h1 {
    color: var(--white);
}
.hero p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* === Services Overview Section === */
.services-overview {
    padding: 4rem 0;
    text-align: center;
}
.services-overview h2 {
    margin-bottom: 3rem;
}
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}
.card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--accent-blue);
    display: flex;
    flex-direction: column;
}
.card > *:last-child {
    margin-top: auto;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.card p {
    flex-grow: 1;
}
.card a {
    font-weight: 600;
    color: var(--primary-blue);
    display: inline-block;
    margin-top: 1rem;
}
.card a:hover {
    color: var(--accent-blue);
}

/* === Why Choose Us Section === */
.why-choose-us {
    padding: 4rem 0;
    background-color: var(--white);
}
.why-choose-us h2 {
    text-align: center;
    margin-bottom: 3rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.feature-item {
    padding: 20px;
}
.feature-item .icon-placeholder { /* Style your icons */
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    display: inline-block;
}
.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* === Testimonials Section === */
.testimonials {
    padding: 4rem 0;
    background-color: var(--light-background);
}
.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}
.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    border-top: 4px solid var(--accent-blue);
    font-style: italic;
}
.testimonial-card p {
    margin-bottom: 1rem;
    color: #555;
}
.testimonial-card cite {
    font-style: normal;
    font-weight: 600;
    color: var(--primary-blue);
    display: block;
    text-align: right;
}
.testimonial-card { margin: 0; display: flex; flex-direction: column; }
.testimonial-card blockquote { margin: 0 0 1rem; flex: 1; }
.testimonial-stars { color: #f5a623; font-style: normal; letter-spacing: 2px; margin-bottom: 0.6rem; }
.testimonial-stars span { color: #d9dee5; }
.testimonial-meta { display: block; text-align: right; font-style: normal; font-size: 0.85rem; color: #718096; margin-top: 2px; }
.testimonial-links { text-align: center; margin-top: 2rem; display: flex; gap: 1rem 1.5rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.testimonial-leave { font-weight: 600; color: var(--primary-blue); }

/* === Secondary Button Style === */
.cta-button.secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}
.cta-button.secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* === Final CTA Section === */
.final-cta {
    padding: 4rem 0;
    background-color: var(--accent-blue);
    text-align: center;
}
.final-cta h2 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}
.final-cta p {
     color: var(--dark-text);
     opacity: 0.9;
     max-width: 600px;
     margin: 1rem auto 2rem auto;
}
.final-cta .cta-button { /* Specific overrides if needed */
     background-color: var(--primary-blue);
     color: var(--white);
     margin: 5px;
}
.final-cta .cta-button:hover {
     background-color: var(--cta-color-hover);
}
.final-cta .cta-button.secondary {
     background-color: var(--white);
     color: var(--primary-blue);
     border: 2px solid var(--primary-blue);
}
.final-cta .cta-button.secondary:hover {
     background-color: var(--primary-blue);
     color: var(--white);
}

/* === Service Detail Page Styles === */
.page-header {
    padding: 2rem 0;
    text-align: center;
    background-color: var(--light-background);
}
.page-header h1 {
    margin-bottom: 0.5rem;
}

.service-detail {
    padding: 4rem 0;
}
.service-detail:nth-child(even) { /* Target 2nd, 4th, etc. service-detail section */
     background-color: var(--white);
}
/* Or use class: .service-detail.alt-layout { background-color: var(--white); } */

.service-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}
.service-image {
    flex-basis: 40%;
    flex-shrink: 0;
}
.service-image img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.service-content {
    flex-basis: 60%;
}
.service-detail.alt-layout .service-layout {
    flex-direction: row-reverse;
}
.service-content h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}
.service-content h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.service-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1.5rem;
}
.service-content ul li {
    margin-bottom: 0.5rem;
    color: #444;
}
.service-content .cta-button {
    margin-top: 1.5rem;
}

/* === Gallery Page Styles === */
.gallery-section {
    padding: 4rem 0;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.gallery-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.gallery-item a {
    display: block;
    position: relative;
}
.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.gallery-item .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(25, 56, 105, 0.7);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}
.gallery-item .overlay span {
     font-weight: 600;
     font-size: 1.1rem;
}
.gallery-item a:hover .overlay {
    opacity: 1;
}
.gallery-item .caption {
    padding: 10px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-text);
    background-color: var(--white);
    margin-bottom: 0;
}

/* === Before & after sliders (gallery) === */
.ba-hint { margin: 0.75rem auto 0; color: var(--dark-text); font-size: 0.95rem; }
.ba-note { max-width: 640px; margin: 0.4rem auto 0; color: #666; font-size: 0.85rem; }
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.ba { margin: 0; background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.ba figcaption { padding: 12px 16px; text-align: center; font-weight: 600; color: var(--dark-text); }
.ba__frame { position: relative; aspect-ratio: 1 / 1; overflow: hidden; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; background: #e9eef3; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,0.35); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--primary-blue, #193869); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; font-weight: 700; letter-spacing: 2px; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.ba__frame.is-dragging .ba__knob { transform: translate(-50%, -50%) scale(1.08); }
.ba__label { position: absolute; top: 12px; padding: 4px 10px; border-radius: 4px; background: rgba(0,0,0,0.6); color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; pointer-events: none; }
.ba__label--before { left: 12px; }
.ba__label--after { right: 12px; }
.ba__range { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; }
.ba__frame:focus-within { outline: 3px solid var(--accent-blue, #58a6ff); outline-offset: -3px; }
.gallery-subhead { text-align: center; margin: 3rem 0 1.5rem; }
.page-header + .gallery-section { padding-top: 2rem; }
@media (max-width: 760px) {
  .ba-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* === Iframe Container (Booking Page) === */
.booking-section {
    padding: 3rem 0;
}
.iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 900px; /* Start with a generous min-height - ADJUST */
    margin: 2rem auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: var(--white);
}
.iframe-container iframe {
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    width: 100%; height: 100%;
    border: none;
}
.booking-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}
.booking-section .intro-text {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}
.booking-section .trouble-text {
     margin-top: 1.5rem;
     text-align: center;
     font-size: 0.9rem;
}

/* === Footer === */
footer {
    background-color: var(--primary-blue);
    color: var(--light-background);
    padding: 3rem 0;
    text-align: center;
    margin-top: 4rem;
    font-size: 0.9rem;
}
footer p {
    margin-bottom: 0.75rem;
    color: #e0e0e0;
}
footer a {
    color: var(--accent-blue);
}
footer a:hover {
    color: var(--white);
}
footer ul {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 1.5rem;
    display: inline-block;
}
footer ul li {
    display: inline-block;
    margin: 0 15px;
}
footer ul li a {
    font-weight: 600;
}


/* === Responsive Design === */
@media (max-width: 992px) {
    .container { max-width: 960px; }
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    .service-layout { gap: 30px; }
    .service-content h2 { font-size: 1.8rem; }
    .service-content h3 { font-size: 1.2rem; }
}

/* === START MOBILE STYLES (Viewport <= 768px) === */
@media (max-width: 768px) {
    .container { max-width: 720px; }
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }

    .navbar { /* Potentially adjust navbar height if needed */ }
    .navbar .container { flex-wrap: wrap; position: relative; }

    /* Show the toggle button */
    .menu-toggle {
        display: block;
        order: 3;
        margin-left: auto;
    }

    /* --- Mobile Menu Hiding/Showing with INCREASED SPECIFICITY --- */
    /* Default state: Hidden */
    .navbar .nav-links { /* Added .navbar parent selector */
        display: none !important; /* Hide by default - Using !important temporarily for testing */
        /* --- Basic Layout (Keep these) --- */
        flex-direction: column;
        width: 100%;
        background-color: var(--white);
        position: absolute;
        top: 100%; /* Position below the navbar */
        left: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
        padding-bottom: 1rem;
        max-height: calc(100vh - 70px); /* Adjust 70px if navbar height changes */
        overflow-y: auto;
        z-index: 999; /* Ensure menu is on top */
        /* Remove transition/opacity/visibility styles */
    }

    /* Active state: Shown */
    .navbar .nav-links.active { /* Added .navbar parent selector */
        display: flex !important; /* Show when active - Using !important temporarily for testing */
        /* Remove transition/opacity/visibility styles */
    }
    /* --- End Mobile Menu Hiding/Showing --- */


    /* Styling for items within the mobile dropdown */
    .navbar .nav-links li { margin: 0; text-align: center; }
    .navbar .nav-links a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        width: 100%;
    }
    .navbar .nav-links li:last-child a { border-bottom: none; }
    .navbar .nav-links a:not(.cta-button)::after { display: none; } /* Remove desktop hover underline */
    .navbar .nav-links .cta-button {
        margin: 15px auto;
        display: inline-block;
        width: auto;
        padding: 12px 28px;
    }

    /* === FIX for Mobile Menu Overlap (Keep this) === */
    body.mobile-menu-open main {
        padding-top: 250px; /* --- ADJUST THIS VALUE based on your open menu height --- */
        transition: padding-top 0.3s ease-out;
    }
     main {
        transition: padding-top 0.3s ease-out;
    }
    /* body.mobile-menu-open { overflow: hidden; } */
    /* === End FIX === */

    /* --- Other Mobile Styles --- */
    .hero { padding: 4rem 0; }
    .hero p { font-size: 1.1rem; }
    .service-cards { grid-template-columns: 1fr; }
    .card { padding: 25px; }
    .features-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
    .testimonial-cards { grid-template-columns: 1fr; gap: 20px; }
    .final-cta .cta-button { margin-bottom: 10px; }
    .final-cta .cta-button + .cta-button { margin-left: 0; }
    .service-layout,
    .service-detail.alt-layout .service-layout {
        flex-direction: column; text-align: center;
    }
    .service-image { flex-basis: auto; width: 80%; margin: 0 auto 2rem auto; }
    .service-content { flex-basis: auto; text-align: left; }
    .service-content ul { margin-left: 25px; text-align: left; }
    .service-content .cta-button { display: block; margin-left: auto; margin-right: auto; max-width: 300px; }
    .iframe-container { min-height: 700px; }
    footer { padding: 2.5rem 0; }
    footer ul { margin-top: 1rem; padding-top: 0.75rem; }
    footer ul li { margin: 0 10px; }
    main section { padding: 3rem 0; }
    main section.hero { padding: 4rem 0; }
    main section.hero + section { padding-top: 3rem; }

}
/* === END MOBILE STYLES === */


@media (max-width: 576px) {
    /* --- Styles for smaller screens --- */
    body { font-size: 15px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .container { padding: 0 15px; }
    .navbar .logo { font-size: 1.4rem; }
    .navbar .logo img { max-height: 35px; }
    .hero { padding: 3rem 0; }
    .hero h1 { font-size: 2.1rem; }
    .hero p { font-size: 1rem; }
    .card { padding: 20px; }
    .services-overview { padding: 3rem 0; }
    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
    .gallery-item .caption { font-size: 0.8rem; padding: 8px 10px; }
    .gallery-item img { aspect-ratio: 1 / 1; } /* Optional square ratio */
    .iframe-container { min-height: 600px; }
    main section { padding: 2.5rem 0; }
    main section.hero { padding: 3rem 0; }
}

/* === General Section Padding Fallback === */
main section { padding: 4rem 0; }
main section.hero { padding: 6rem 0; }
main section.hero + section { padding-top: 4rem; }

/* === About Page Specific Styles === */

/* Layout for Story Section (similar to Service Detail) */
.about-story {
    padding: 4rem 0;
    background-color: var(--light-background); /* Or keep default */
}

.about-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex-basis: 35%; /* Adjust image width */
    flex-shrink: 0;
}
.about-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-content {
    flex-basis: 65%; /* Adjust text width */
}
.about-content h2 {
    margin-bottom: 1.5rem;
}

/* Values Section Grid */
.about-values {
    padding: 4rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center; /* Center items in grid cells */
}

.value-item {
    background-color: #f0f4f8; /* Slightly different background for items */
    padding: 30px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.value-item .icon-placeholder { /* Style icons */
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: inline-block;
}
.value-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
}
.value-item p {
    font-size: 0.95rem;
    color: #444;
}


/* Team Section Grid (If you uncomment the HTML) */
.about-team {
     padding: 4rem 0;
     background-color: var(--light-background); /* Alternate background */
}

.team-intro { text-align: center; color: #555; margin: 0 auto 2.5rem; max-width: 560px; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
    gap: 30px;
    justify-content: center; /* Center grid items if they don't fill row */
    text-align: center;
}

.team-member {
    background-color: var(--white);
    padding: 28px 20px 24px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(25,56,105,0.08);
}
.team-member img {
    display: block;
    width: 170px; /* Adjust size */
    height: 170px;
    border-radius: 50%; /* Circular images */
    object-fit: cover;
    margin: 0 auto 1rem auto; /* Center image */
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 3px solid var(--white); /* Optional white border */
}

.team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.team-member p {
    font-size: 0.9rem;
    color: #555; /* Title color */
    margin-bottom: 0;
}

/* --- Responsive Adjustments for About Page --- */
@media (max-width: 768px) {
    .about-layout {
        flex-direction: column; /* Stack image and text */
    }
    .about-image {
        flex-basis: auto;
        width: 60%; /* Control image width */
        max-width: 300px; /* Max width for image */
        margin: 0 auto 2rem auto;
    }
    .about-content {
        flex-basis: auto;
        text-align: center; /* Center text when stacked */
    }
    .about-content p {
        text-align: left; /* Re-align paragraphs */
    }

    .values-grid {
         grid-template-columns: 1fr; /* Stack value items */
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
     .team-member img {
        width: 120px;
        height: 120px;
    }
}

/* === Contact Page Specific Styles === */

.contact-section {
    padding: 4rem 0;
    background-color: var(--white); /* Or keep default */
}

.contact-layout {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 40px; /* Space between columns */
}

.contact-details {
    flex: 1; /* Take up available space */
    min-width: 300px; /* Minimum width before wrapping */
    background-color: #f0f4f8; /* Light background for details column */
    padding: 30px;
    border-radius: 8px;
}

.contact-details h2 {
    margin-bottom: 1.5rem;
}

.contact-details .info-item {
    display: flex;
    align-items: flex-start; /* Align icon with top of text */
    margin-bottom: 1.5rem;
    gap: 15px; /* Space between icon and text */
}

.contact-details .info-item .icon-placeholder { /* Style your icons */
    font-size: 1.8rem; /* Adjust icon size */
    color: var(--primary-blue);
    margin-top: 5px; /* Align icon slightly */
    flex-shrink: 0; /* Prevent icon shrinking */
}
.contact-details .info-item div {
    line-height: 1.5;
}
.contact-details .info-item strong {
    color: var(--primary-blue);
}
.contact-details .info-item a {
    color: var(--dark-text);
    text-decoration: underline;
}
.contact-details .info-item a:hover {
    color: var(--primary-blue);
}


.contact-form-container {
    flex: 1.5; /* Make form slightly wider if space allows */
    min-width: 320px; /* Minimum width before wrapping */
}

.contact-form-container h2 {
     margin-bottom: 1.5rem;
}

/* --- Responsive Adjustments for Contact Page --- */
@media (max-width: 768px) {
    .contact-layout {
        flex-direction: column; /* Stack columns */
        gap: 30px;
    }
    .contact-details,
    .contact-form-container {
        min-width: unset; /* Remove min-width when stacked */
    }
}

/* === Booking Hub Page Styles === */

.booking-options {
    padding: 4rem 0;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center; /* Center text within cards */
}

.option-card {
    background-color: var(--white);
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-top: 5px solid var(--primary-blue); /* Accent border */
    display: flex;
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center items horizontally */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.option-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}


.option-card .icon-placeholder { /* Style icons */
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: inline-block;
}

.option-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.option-card p {
    margin-bottom: 1.5rem;
    color: #555;
    flex-grow: 1; /* Allow paragraph to push button down */
    max-width: 90%; /* Prevent text getting too wide */
}

.option-card .cta-button {
    margin-top: auto; /* Push button to bottom */
    padding: 10px 30px;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-align: center;
}
.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}
.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* ==========================================
   Mobile sticky call / estimate bar
   ========================================== */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--white);
  }

  .mobile-cta-bar a {
    flex: 1;
    text-align: center;
    padding: 14px 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
  }

  .mobile-cta-call {
    background: var(--white);
    color: var(--primary-blue);
  }

  .mobile-cta-estimate {
    background: var(--primary-blue);
    color: var(--white);
  }

  /* Keep the footer from hiding behind the bar */
  body {
    padding-bottom: calc(52px + env(safe-area-inset-bottom));
  }

  /* Don't cover the open mobile menu */
  body.mobile-menu-open .mobile-cta-bar {
    display: none;
  }
}

/* Hero call-to-action: the default brand-blue button was invisible on the
   brand-blue hero background, so invert it there. */
.hero .cta-button {
  background-color: var(--white);
  color: var(--primary-blue);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.hero .cta-button:hover {
  background-color: var(--accent-blue);
  color: var(--white);
}

/* ==========================================
   No-login invoice / pay page (/pay/:token)
   ========================================== */
.pay-page { padding: 2rem 0 3rem; background: var(--light-background); }
.pay-page__inner { max-width: 760px; }
.pay-notice { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-weight: 600; }
.pay-notice--success { background: #f0fff4; color: #276749; border: 1px solid #c6f6d5; }
.pay-card { background: var(--white); border-radius: 12px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); padding: 24px; }
.pay-card__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pay-card__eyebrow { margin: 0; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: #718096; }
.pay-card__title { margin: 0; color: var(--primary-blue); font-size: 1.8rem; }
.pay-card__meta { margin: 4px 0 0; color: #4a5568; }
.pay-status { padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; background: #ebf4ff; color: var(--primary-blue); white-space: nowrap; }
.pay-status--paid { background: #f0fff4; color: #276749; }
.pay-status--overdue { background: #fff5f5; color: #c53030; }
.pay-card__summary { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.pay-card__summary > div { flex: 1 1 140px; background: var(--light-background); border-radius: 8px; padding: 10px 14px; }
.pay-card__summary span { display: block; font-size: 0.8rem; color: #718096; }
.pay-card__balance { color: var(--primary-blue); font-size: 1.3rem; }
.pay-card form { margin: 0; }
.pay-card__pay { width: 100%; border: none; cursor: pointer; font-size: 1.1rem; }
.pay-card__secure { text-align: center; color: #718096; font-size: 0.85rem; margin: 8px 0 20px; }
.pay-items { width: 100%; border-collapse: collapse; margin-top: 8px; }
.pay-items th, .pay-items td { padding: 10px 8px; border-bottom: 1px solid #edf2f7; text-align: left; }
.pay-items th { font-size: 0.8rem; text-transform: uppercase; color: #718096; }
.pay-items .num { text-align: right; white-space: nowrap; }
.pay-totals { margin: 16px 0 0 auto; max-width: 320px; }
.pay-totals > div { display: flex; justify-content: space-between; padding: 4px 0; }
.pay-totals dt, .pay-totals dd { margin: 0; }
.pay-totals__total { border-top: 1px solid #cbd5e0; font-weight: 700; padding-top: 8px !important; }
.pay-totals__deposit { color: #193869; font-weight: 600; }
.deposit-note { margin: 0.75rem 0 0; padding: 0.7rem 0.9rem; background: #f3f9ff; border-radius: 8px; font-size: 0.92rem; color: #2d3748; }
.deposit-paid { margin: 1rem 0; padding: 0.8rem 1rem; background: #e9f7ef; border: 1px solid #c3e8d0; border-radius: 10px; color: #1e6b3a; font-weight: 600; }
.pay-card__instructions { margin-top: 24px; padding: 14px 16px; background: var(--light-background); border-radius: 8px; }
.pay-card__instructions h2 { font-size: 1rem; margin: 0 0 6px; color: var(--primary-blue); }
.pay-card__footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 16px; border-top: 1px solid #edf2f7; font-size: 0.9rem; }

@media (max-width: 600px) {
  .pay-card { padding: 18px 16px; }
  .pay-items thead { display: none; }
  .pay-items tr { display: block; padding: 10px 0; border-bottom: 1px solid #edf2f7; }
  .pay-items td { display: flex; justify-content: space-between; border: none; padding: 2px 0; text-align: right; }
  .pay-items td::before { content: attr(data-label); color: #718096; font-size: 0.85rem; text-align: left; }
  .pay-items td:first-child { font-weight: 600; }
  .pay-totals { max-width: none; }
}

/* ==========================================
   Estimate review & sign page (/sign/:token)
   ========================================== */
.sign-terms { margin-top: 20px; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 14px; }
.sign-terms summary { cursor: pointer; font-weight: 600; color: var(--primary-blue); }
.sign-terms__body { max-height: 260px; overflow-y: auto; font-size: 0.9rem; margin-top: 8px; }
.sign-form { margin-top: 24px; padding-top: 20px; border-top: 1px solid #edf2f7; }
.sign-form__title { margin: 0 0 12px; font-size: 1.25rem; color: var(--primary-blue); }
.sign-form__label { display: block; font-weight: 600; margin-bottom: 4px; }
.sign-form__input { width: 100%; box-sizing: border-box; padding: 12px; font-size: 16px; border: 1px solid #cbd5e0; border-radius: 6px; margin-bottom: 16px; }
.sign-tabs { display: flex; gap: 6px; margin-bottom: 8px; }
.sign-tab { flex: 1; padding: 10px; font-size: 1rem; font-weight: 600; border: 1px solid #cbd5e0; background: #fff; color: #4a5568; border-radius: 6px; cursor: pointer; }
.sign-tab.is-active { background: var(--primary-blue); border-color: var(--primary-blue); color: #fff; }
.sign-pad__canvas { display: block; width: 100%; height: 170px; border: 2px dashed #cbd5e0; border-radius: 8px; background: #fff; touch-action: none; }
.sign-pad__row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.sign-pad__hint { font-size: 0.85rem; color: #718096; }
.sign-pad__clear { background: none; border: none; color: #c53030; font-weight: 600; cursor: pointer; padding: 6px; }
.sign-typed { height: 170px; display: flex; align-items: center; padding: 0 16px; border: 2px dashed #cbd5e0; border-radius: 8px; background: #fff; font-family: 'Dancing Script', cursive; font-weight: 600; font-size: 2.6rem; color: #1a202c; overflow: hidden; white-space: nowrap; }
.sign-consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 0.92rem; line-height: 1.45; }
.sign-consent input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; }
.sign-done { margin-top: 24px; padding: 16px; border: 1px solid #c6f6d5; background: #f0fff4; border-radius: 8px; text-align: center; }
.sign-done__image { max-width: 100%; max-height: 110px; }
.sign-done__meta { margin: 6px 0 0; color: #276749; }
.sign-next { margin-top: 20px; text-align: center; }
.sign-next h2 { font-size: 1.15rem; color: var(--primary-blue); }
.sign-next .pay-card__pay { display: block; text-decoration: none; }

/* ==========================================
   SEO landing pages (services, areas, FAQ)
   ========================================== */
.breadcrumbs { font-size: 0.85rem; padding: 10px 0; background: var(--white); border-bottom: 1px solid #edf2f7; color: #718096; }
.breadcrumbs a { color: var(--primary-blue); }
.seo-hero { background-color: var(--light-background); padding: 2.5rem 0; text-align: center; }
.seo-hero h1 { max-width: 820px; margin: 0 auto 0.75rem; }
.seo-hero .lead { max-width: 720px; margin: 0 auto 1.5rem; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.5rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary-blue); font-weight: 700; }
.seo-trust { padding: 2rem 0; background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; text-align: center; }
.trust-grid div { padding: 1rem; border-radius: 10px; background: var(--light-background); }
.trust-grid strong { display: block; color: var(--primary-blue); margin-bottom: 4px; }
.trust-grid span { font-size: 0.9rem; color: #4a5568; }
.area-links-section, .area-local { padding: 2rem 0; }
.area-links, .other-services { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.neighborhood-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.neighborhood-list li { padding: 4px 12px; border-radius: 999px; background: var(--light-background); border: 1px solid #e2e8f0; font-size: 0.9rem; }
.faq-section { padding: 2rem 0; }
.faq-list { max-width: 800px; }
.faq-item { border: 1px solid #e2e8f0; border-radius: 8px; padding: 0 16px; margin-bottom: 10px; background: var(--white); }
.faq-item summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--primary-blue); }
.faq-item p { margin: 0 0 14px; }
.card-title { font-size: 1.25rem; }
.gallery-empty { text-align: center; padding: 2rem 1rem; }
.gallery-empty__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.footer-links-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 6px 0; font-size: 0.9rem; }

/* === Refer a friend (client dashboard) === */
.referral-card { border: 2px solid var(--accent-blue); border-radius: 8px; padding: 15px; background: #f5faff; }
.referral-card h2 { margin-top: 0; }
.referral-link { display: flex; gap: 8px; margin: 0.75rem 0; }
.referral-link input { flex: 1; min-width: 0; padding: 0.55rem; border: 1px solid #cbd5e0; border-radius: 6px; font-size: 0.95rem; background: #fff; }
.referral-share, .referral-stats { font-size: 0.92rem; margin: 0.5rem 0 0; }

/* Instant estimate: quantity hint next to each service */
.service-item-hint { font-weight: normal; color: #718096; font-size: 0.9em; }

/* === Winter special === */
.promo-banner { background: #fff4d6; border-bottom: 1px solid #f3dfa2; text-align: center; font-size: 0.95rem; }
.promo-banner a { display: block; padding: 0.55rem 1rem; color: var(--primary-blue); text-decoration: none; }
.promo-banner a:hover .promo-banner__more { text-decoration: underline; }
.promo-banner__more { white-space: nowrap; margin-left: 0.4rem; opacity: 0.9; }
.winter-hero { background: linear-gradient(180deg, #eaf4fd 0%, var(--light-background) 100%); }
.winter-kicker { font-weight: 700; color: var(--primary-blue); letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.winter-code { background: #fff; border: 2px dashed var(--primary-blue); padding: 0.05rem 0.45rem; border-radius: 6px; white-space: nowrap; }
.winter-ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }
.winter-ctas .cta-button { margin: 0; }
.winter-fine { font-size: 0.85rem; color: #4a5568; margin-top: 0.9rem; }
.winter-reasons { padding: 3rem 0; }
.winter-reasons h2 { text-align: center; margin-bottom: 2rem; }
.winter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.winter-card { background: #fff; border-radius: 10px; padding: 1.4rem; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.winter-card h3 { margin: 0.4rem 0 0.5rem; font-size: 1.1rem; color: var(--primary-blue); }
.winter-card p { margin: 0; color: #555; }
.winter-icon { font-size: 1.8rem; }
.winter-steps { padding-left: 1.25rem; }
.winter-steps li { margin-bottom: 0.6rem; }

/* === Tip choice on the pay page === */
.tip-form { margin: 0; }
.tip-options { border: 0; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 0.5rem; }
.tip-options legend { font-weight: 600; margin-bottom: 0.5rem; padding: 0; color: var(--primary-blue); }
.tip-options legend span { font-weight: normal; color: #718096; font-size: 0.85rem; }
.tip-option { display: block; cursor: pointer; margin: 0; }
.tip-option input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.tip-option > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; padding: 0.4rem; border: 1.5px solid #cbd5e0; border-radius: 8px; background: #fff; font-weight: 600; text-align: center; }
.tip-option small { font-weight: normal; color: #718096; font-size: 0.8rem; }
.tip-option input[type=radio]:checked + span { border-color: var(--primary-blue); background: #eaf2fd; box-shadow: 0 0 0 1px var(--primary-blue) inset; }
.tip-option input[type=radio]:focus-visible + span { outline: 2px solid var(--primary-blue); outline-offset: 2px; }
.tip-option--custom { grid-column: span 2; }
.tip-option--custom > span { flex-direction: row; gap: 0.25rem; }
.tip-option--custom input[type=number] { width: 80px; padding: 0.3rem; border: 1px solid #cbd5e0; border-radius: 6px; }

/* === Job photos on the client's invoice page === */
.invoice-photos { margin: 1.5rem 0; }
.invoice-photos h2 { font-size: 1.1rem; margin: 0 0 0.75rem; }
.invoice-photos__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.6rem; }
.invoice-photos figure { margin: 0; }
.invoice-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }
.invoice-photos figcaption { font-size: 0.8rem; color: #4a5568; margin-top: 0.25rem; text-align: center; }
.gallery-item img { object-fit: cover; }

/* Interior window cleaning callout (services page) */
.service-interior-callout { padding: 2.5rem 0; background: #eef6ff; text-align: center; }
.service-interior-callout p { max-width: 640px; margin: 0.5rem auto 1rem; color: #4a5568; }

/* === Sign-in pages (Devise login / forgot password) === */
.auth-shell { min-height: calc(100vh - 180px); display: flex; align-items: center; justify-content: center; padding: 48px 20px; background: radial-gradient(1200px 500px at 10% -10%, rgba(92,172,238,0.25), transparent 60%), linear-gradient(180deg, #eef5fc 0%, var(--light-background) 70%); }
.auth-card { width: 100%; max-width: 960px; display: grid; grid-template-columns: 5fr 6fr; background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(25,56,105,0.16), 0 2px 6px rgba(25,56,105,0.06); }
.auth-brand { position: relative; padding: 48px 40px; color: #fff; background: linear-gradient(155deg, #1f4a8a 0%, var(--primary-blue) 55%, #102544 100%); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.auth-brand::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(92,172,238,0.18); }
.auth-brand__logo { width: 64px; height: 64px; background: #fff; border-radius: 14px; padding: 6px; box-shadow: 0 6px 16px rgba(0,0,0,0.2); }
.auth-brand__name { margin: 18px 0 4px; font-size: 1.5rem; font-weight: 700; color: #fff; }
.auth-brand__tagline { margin: 0 0 28px; color: rgba(255,255,255,0.82); font-size: 1rem; }
.auth-brand__perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.auth-brand__perks li { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; color: rgba(255,255,255,0.95); }
.auth-brand__perks span { width: 36px; height: 36px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255,255,255,0.12); }
.auth-panel { padding: 48px 48px 36px; }
.auth-panel__mobile-brand { display: none; }
.auth-title { margin: 0 0 6px; font-size: 1.9rem; color: var(--primary-blue); line-height: 1.2; }
.auth-subtitle { margin: 0 0 24px; color: #5a6472; font-size: 0.98rem; }
.auth-flash { border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; font-size: 0.95rem; }
.auth-flash--error { background: #fdecec; color: #9b1c1c; border: 1px solid #f6c9c9; }
.auth-flash--ok { background: #e9f7ef; color: #1e6b3a; border: 1px solid #c3e8d0; }
.auth-form #error_explanation { background: #fdecec; color: #9b1c1c; border: 1px solid #f6c9c9; border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; font-size: 0.92rem; }
.auth-form #error_explanation h2 { font-size: 0.95rem; margin: 0 0 4px; color: inherit; }
.auth-form #error_explanation ul { margin: 0; padding-left: 18px; }
.auth-field { margin-bottom: 18px; }
.auth-field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.92rem; color: #2d3748; }
.auth-field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.auth-input, .auth-submit, .auth-toggle { font-family: inherit; }
.auth-input { width: 100%; box-sizing: border-box; height: 50px; padding: 0 14px; font-size: 16px; color: #1a202c; background: #fbfcfe; border: 1.5px solid #d5dde8; border-radius: 10px; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; }
.auth-input::placeholder { color: #a0aab8; }
.auth-input:focus { outline: none; border-color: var(--accent-blue); background: #fff; box-shadow: 0 0 0 4px rgba(92,172,238,0.22); }
.auth-password { position: relative; }
.auth-password .auth-input { padding-right: 74px; }
.auth-toggle { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); height: 34px; padding: 0 12px; border: 0; border-radius: 8px; background: #eef3f9; color: var(--primary-blue); font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.auth-toggle:hover { background: #e1eaf5; }
.auth-check { display: inline-flex; align-items: center; gap: 10px; margin: 2px 0 22px; font-size: 0.95rem; color: #4a5568; cursor: pointer; }
.auth-check input { width: 18px; height: 18px; accent-color: var(--primary-blue); margin: 0; }
.auth-submit { width: 100%; height: 52px; border: 0; border-radius: 10px; background: var(--primary-blue); color: #fff; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.01em; cursor: pointer; box-shadow: 0 6px 16px rgba(25,56,105,0.25); transition: background 0.15s, transform 0.05s, box-shadow 0.15s; }
.auth-submit:hover { background: var(--cta-color-hover); box-shadow: 0 8px 20px rgba(25,56,105,0.3); }
.auth-submit:active { transform: translateY(1px); }
.auth-submit:focus-visible { outline: 3px solid var(--accent-blue); outline-offset: 3px; }
.auth-submit[disabled], .auth-submit[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.auth-link { color: var(--primary-blue); font-weight: 600; text-decoration: none; }
.auth-link:hover { text-decoration: underline; }
.auth-link--small { font-size: 0.88rem; font-weight: 500; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.auth-optional { font-weight: 400; color: #8a94a3; }
.auth-hint { margin: 6px 0 0; font-size: 0.82rem; color: #718096; }
.auth-fineprint { margin: 14px 0 0; text-align: center; font-size: 0.8rem; color: #8a94a3; }
.auth-fineprint .auth-link { font-weight: 500; }
.auth-alt { margin: 22px 0 0; text-align: center; color: #4a5568; font-size: 0.95rem; }
.auth-alt + .auth-alt { margin-top: 10px; }
.auth-help { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid #edf1f6; text-align: center; color: #718096; font-size: 0.88rem; }
.auth-help a { color: var(--primary-blue); font-weight: 600; text-decoration: none; }
@media (max-width: 820px) {
  .auth-shell { align-items: flex-start; padding: 20px 16px 40px; min-height: auto; }
  .auth-card { grid-template-columns: 1fr; max-width: 460px; border-radius: 16px; }
  .auth-brand { display: none; }
  .auth-panel { padding: 28px 22px 24px; }
  .auth-panel__mobile-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-weight: 700; color: var(--primary-blue); }
  .auth-panel__mobile-brand img { width: 44px; height: 44px; border-radius: 10px; }
  .auth-title { font-size: 1.6rem; }
  .auth-grid { grid-template-columns: 1fr; }
}

/* === Contact form card === */
.cf-card { background: var(--white); border: 1px solid #e3e9f1; border-radius: 16px; padding: 32px; box-shadow: 0 14px 40px rgba(25,56,105,0.10); }
.cf-title { margin: 0 0 6px; color: var(--primary-blue); }
.cf-subtitle { margin: 0 0 22px; color: #5a6472; }
.cf-flash { border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; font-size: 0.95rem; }
.cf-flash--ok { background: #e9f7ef; color: #1e6b3a; border: 1px solid #c3e8d0; }
.cf-flash--error { background: #fdecec; color: #9b1c1c; border: 1px solid #f6c9c9; }
.cf-flash ul { margin: 6px 0 0; padding-left: 18px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.cf-field { margin: 0 0 18px; }
.cf-field label, .cf-chips legend { display: block; margin: 0 0 6px; padding: 0; font-weight: 600; font-size: 0.92rem; color: #2d3748; }
.cf-optional { font-weight: 400; color: #8a94a3; }
.cf-input { width: 100%; box-sizing: border-box; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: #1a202c; background: #fbfcfe; border: 1.5px solid #d5dde8; border-radius: 10px; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; }
.cf-input::placeholder { color: #a0aab8; }
.cf-input:focus { outline: none; border-color: var(--accent-blue); background: #fff; box-shadow: 0 0 0 4px rgba(92,172,238,0.22); }
.cf-textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.cf-chips { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.cf-chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chip { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.cf-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cf-chip span { display: inline-block; padding: 9px 14px; border: 1.5px solid #d5dde8; border-radius: 999px; background: #fff; font-size: 0.92rem; color: #2d3748; transition: all 0.15s; }
.cf-chip:hover span { border-color: var(--accent-blue); }
.cf-chip input:checked + span { background: var(--primary-blue); border-color: var(--primary-blue); color: #fff; }
.cf-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(92,172,238,0.3); }
.cf-captcha { display: flex; justify-content: center; margin: 4px 0 18px; min-height: 0; }
.cf-submit { width: 100%; height: 54px; border: 0; border-radius: 10px; background: var(--primary-blue); color: #fff; font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer; box-shadow: 0 6px 16px rgba(25,56,105,0.25); transition: background 0.15s, box-shadow 0.15s, transform 0.05s; }
.cf-submit:hover { background: var(--cta-color-hover); box-shadow: 0 8px 20px rgba(25,56,105,0.3); }
.cf-submit:active { transform: translateY(1px); }
.cf-submit:focus-visible { outline: 3px solid var(--accent-blue); outline-offset: 3px; }
.cf-fineprint { margin: 14px 0 0; text-align: center; font-size: 0.88rem; color: #718096; }
.cf-fineprint a { color: var(--primary-blue); font-weight: 600; text-decoration: none; }
@media (max-width: 700px) {
  .cf-card { padding: 22px 18px; border-radius: 14px; }
  .cf-row { grid-template-columns: 1fr; }
  .contact-form-container { min-width: 0; width: 100%; }
}


/* === Customer dashboard (account) === */
.cd { padding: 2rem 0 3rem; background: linear-gradient(180deg, #eef5fc 0, var(--light-background) 260px); }
.cd-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.cd-hero h1 { margin: 0; font-size: 2rem; color: var(--primary-blue); }
.cd-hero p { margin: 0.25rem 0 0; color: #4a5568; }
.cd-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cd-action { display: inline-flex; align-items: center; padding: 0.6rem 1rem; border-radius: 10px; border: 1.5px solid #cbd5e0; background: #fff; color: var(--primary-blue); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.cd-action:hover { border-color: var(--accent-blue); }
.cd-action--primary { background: var(--primary-blue); border-color: var(--primary-blue); color: #fff; }
.cd-action--primary:hover { background: var(--cta-color-hover); color: #fff; }
.cd-alerts { display: grid; gap: 0.6rem; margin-bottom: 1.25rem; }
.cd-alert { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 0.85rem 1rem; border-radius: 12px; background: #fff8e6; border: 1px solid #f6d58e; color: #744210; }
.cd-alert__btn { flex: none; padding: 0.5rem 1rem; border-radius: 8px; background: #744210; color: #fff; font-weight: 700; text-decoration: none; }
.cd-alert__btn:hover { color: #fff; opacity: 0.92; }
.cd-top { display: grid; grid-template-columns: 3fr 2fr; gap: 1rem; margin-bottom: 1rem; }
.cd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cd-card { background: #fff; border: 1px solid #e3e9f1; border-radius: 16px; padding: 1.25rem 1.35rem; box-shadow: 0 6px 20px rgba(25,56,105,0.06); min-width: 0; }
.cd-card__label { margin: 0 0 0.5rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: #718096; }
.cd-card__title { margin: 0 0 0.75rem; font-size: 1.2rem; color: var(--primary-blue); }
.cd-next__date { margin: 0; font-size: 1.6rem; font-weight: 800; color: var(--primary-blue); line-height: 1.2; }
.cd-next__time { margin: 0.15rem 0 0.5rem; font-size: 1.05rem; color: #2d3748; }
.cd-muted { color: #5a6472; margin: 0.4rem 0 0; }
.cd-small { font-size: 0.85rem; }
.cd-empty { color: #5a6472; margin: 0 0 0.75rem; }
.cd-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.cd-pill--ok { background: #e6f4ea; color: #1e6b34; }
.cd-pill--wait { background: #fff4e5; color: #8a4b00; }
.cd-pill--late { background: #fdecec; color: #9b1c1c; }
.cd-link { display: inline-block; margin-top: 0.75rem; color: var(--primary-blue); font-weight: 600; text-decoration: none; }
.cd-link:hover { text-decoration: underline; }
.cd-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.cd-btn { display: inline-block; margin-top: 0.75rem; padding: 0.7rem 1.2rem; border-radius: 10px; background: var(--primary-blue); color: #fff; font-weight: 700; text-decoration: none; }
.cd-btn:hover { background: var(--cta-color-hover); color: #fff; }
.cd-also { list-style: none; margin: 0.75rem 0 0; padding: 0.6rem 0 0; border-top: 1px solid #edf2f7; font-size: 0.92rem; color: #4a5568; }
.cd-also li + li { margin-top: 0.25rem; }
.cd-balance__amount { margin: 0; font-size: 2rem; font-weight: 800; color: #2d3748; }
.cd-balance--due .cd-balance__amount { color: #9b2c2c; }
.cd-balance__amount--zero { color: #2f855a !important; }
.cd-credit { margin: 0.75rem 0 0; padding: 0.5rem 0.75rem; border-radius: 8px; background: #f0fff4; color: #22543d; font-size: 0.9rem; }
.cd-list { list-style: none; margin: 0; padding: 0; }
.cd-list li { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid #f1f5f9; }
.cd-list li:last-child { border-bottom: 0; }
.cd-list li > div:first-child { min-width: 0; }
.cd-list li .cd-muted { display: block; margin: 0.1rem 0 0; font-size: 0.88rem; }
.cd-list__right { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; text-align: right; }
.cd-details { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1rem; margin: 0; }
.cd-details dt { color: #718096; font-weight: 600; }
.cd-details dd { margin: 0; overflow-wrap: anywhere; }
.cd .referral-card { border: 2px solid var(--accent-blue); background: #f3f9ff; }
@media (max-width: 820px) {
  .cd-top, .cd-grid { grid-template-columns: 1fr; }
  .cd-hero h1 { font-size: 1.6rem; }
  .cd-actions { width: 100%; }
  .cd-action { flex: 1 1 auto; justify-content: center; }
}

/* Keep the desktop menu on one line (logged-in clients get two extra links). */
@media (min-width: 769px) {
  .navbar .logo { white-space: nowrap; flex: none; }
  .navbar .nav-links a { white-space: nowrap; }
}
@media (min-width: 769px) and (max-width: 1240px) {
  .navbar .nav-links li { margin-left: 16px; }
  .navbar .logo { font-size: 1.35rem; }
  .navbar .nav-links a { font-size: 0.95rem; }
}
@media (min-width: 769px) and (max-width: 1000px) {
  .navbar .nav-links li { margin-left: 10px; }
  .navbar .nav-links a { font-size: 0.86rem; }
  .navbar .nav-links .cta-button { padding: 6px 10px; }
  .navbar .logo img { max-height: 36px; margin-right: 0; }
  .navbar .logo__text { display: none; } /* the logo image alone on tablets */
}

/* Website credit at the very bottom of the footer */
footer .footer-credit { margin: 1.25rem 0 0; padding-top: 0.9rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.85rem; color: rgba(255,255,255,0.75); }
footer .footer-credit a { color: var(--accent-blue); font-weight: 600; }


/* ===== Instant estimate (ie-*) ===== */
.ie-hero { background: linear-gradient(160deg, #193869 0%, #24508f 60%, #2f6db3 100%); color: #fff; padding: 48px 0 56px; text-align: center; }
.ie-hero h1 { color: #fff; margin: 0 0 10px; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.ie-hero__eyebrow { margin: 0 0 10px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #bfe0fb; }
.ie-hero__lead { max-width: 620px; margin: 0 auto; color: #e3eefa; font-size: 1.08rem; }
.ie-hero--result { padding-bottom: 72px; }
.ie-steps { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 22px; margin: 24px 0 0; padding: 0; font-weight: 600; font-size: 0.95rem; color: #e3eefa; }
.ie-steps li { display: flex; align-items: center; gap: 8px; }
.ie-steps span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.35); font-size: 0.85rem; }
.ie-page { padding: 0 0 56px; background: var(--light-background); }
.ie-wrap { max-width: 820px; position: relative; top: -28px; }
.ie-card { background: #fff; border: 1px solid #e3e9f1; border-radius: 16px; padding: 28px; margin: 0 0 18px; box-shadow: 0 14px 40px rgba(25,56,105,0.08); }
.ie-card__head { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 20px; }
.ie-card__head h2 { margin: 0 0 2px; font-size: 1.3rem; color: var(--primary-blue); }
.ie-card__head p { margin: 0; color: #5a6472; font-size: 0.95rem; }
.ie-card__num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-blue); color: #fff; font-weight: 700; }
.ie-signed-in { margin: 0 0 16px; padding: 12px 14px; background: #f1f6fd; border-radius: 10px; color: #2d3748; }
.ie-field-last { margin-bottom: 0; }
.ie-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.ie-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ie-tile { position: relative; display: block; margin: 0; cursor: pointer; }
.ie-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ie-tile__body { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 14px; border: 2px solid #dbe3ee; border-radius: 14px; background: #fbfcfe; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
.ie-tile:hover .ie-tile__body { border-color: var(--accent-blue); }
.ie-tile input:checked + .ie-tile__body { border-color: var(--primary-blue); background: #eef5ff; box-shadow: 0 6px 18px rgba(25,56,105,0.12); }
.ie-tile input:focus-visible + .ie-tile__body { box-shadow: 0 0 0 4px rgba(92,172,238,0.35); }
.ie-tile__icon { font-size: 1.6rem; line-height: 1; }
.ie-tile__name { font-weight: 700; color: var(--primary-blue); }
.ie-tile__blurb { font-size: 0.84rem; color: #6b7685; line-height: 1.35; }
.ie-tile__check { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cbd5e1; color: transparent; font-size: 0.75rem; font-weight: 800; background: #fff; }
.ie-tile input:checked + .ie-tile__body .ie-tile__check { background: var(--primary-blue); border-color: var(--primary-blue); color: #fff; }
.ie-empty-hint { margin: 16px 0 0; padding: 14px; border: 1.5px dashed #cbd5e1; border-radius: 12px; text-align: center; color: #6b7685; }

.ie-details { margin-top: 22px; padding-top: 20px; border-top: 1px solid #e8edf4; }
.ie-details h3 { margin: 0 0 4px; font-size: 1.1rem; color: var(--primary-blue); }
.ie-details__help { margin: 0 0 12px; color: #5a6472; font-size: 0.93rem; }
.ie-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 8px; padding: 10px 12px; border: 1.5px solid #e3e9f1; border-radius: 12px; background: #fff; transition: border-color 0.15s, background 0.15s; }
.ie-item.is-on { border-color: var(--accent-blue); background: #f4f9ff; }
.ie-item__pick { display: flex; align-items: center; gap: 12px; margin: 0; cursor: pointer; flex: 1; min-width: 0; font-weight: 400; }
.ie-item__pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ie-item__box { flex: none; width: 22px; height: 22px; border: 2px solid #cbd5e1; border-radius: 6px; background: #fff; display: grid; place-items: center; transition: all 0.15s; }
.ie-item__pick input:checked + .ie-item__box { background: var(--primary-blue); border-color: var(--primary-blue); }
.ie-item__pick input:checked + .ie-item__box::after { content: "✓"; color: #fff; font-size: 0.8rem; font-weight: 800; }
.ie-item__pick input:focus-visible + .ie-item__box { box-shadow: 0 0 0 4px rgba(92,172,238,0.3); }
.ie-item__text { display: flex; flex-direction: column; min-width: 0; }
.ie-item__name { font-weight: 600; color: #1f2a37; }
.ie-item .service-item-hint { font-size: 0.82rem; }
.ie-qty { flex: none; display: flex; align-items: center; border: 1.5px solid #d5dde8; border-radius: 10px; overflow: hidden; background: #fff; }
.ie-qty--flat { display: none; }
.ie-qty__btn { width: 38px; height: 42px; border: 0; background: #f1f5fa; color: var(--primary-blue); font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.ie-qty__btn:hover { background: #e3ecf7; }
.ie-qty input { width: 64px; height: 42px; border: 0; text-align: center; font: inherit; font-size: 16px; font-weight: 600; color: #1a202c; -moz-appearance: textfield; }
.ie-qty input::-webkit-outer-spin-button, .ie-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ie-qty input:focus { outline: none; background: #f4f9ff; }

.ie-submitbar { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 20px; background: #fff; border: 1px solid #e3e9f1; border-radius: 16px; box-shadow: 0 14px 40px rgba(25,56,105,0.18); }
.ie-submitbar__count { margin: 0; font-weight: 600; color: #2d3748; }
.ie-submit { width: auto; padding: 0 28px; white-space: nowrap; flex: none; }
.ie-fineprint { margin: 14px 0 0; text-align: center; font-size: 0.85rem; color: #6b7685; }

/* Result page */
.ie-result { background: #fff; border: 1px solid #e3e9f1; border-radius: 16px; padding: 28px; margin: 0 0 18px; box-shadow: 0 14px 40px rgba(25,56,105,0.1); }
.ie-total { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 22px; border-bottom: 1px solid #e8edf4; margin-bottom: 18px; }
.ie-total__label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #6b7685; }
.ie-total__amount { font-size: clamp(2.4rem, 6vw, 3.2rem); font-weight: 800; color: var(--primary-blue); line-height: 1.1; }
.ie-total__note { font-size: 0.88rem; color: #1e6b3a; background: #e9f7ef; border-radius: 999px; padding: 3px 12px; margin-top: 6px; }
.ie-lines { width: 100%; border-collapse: collapse; }
.ie-lines th { text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: #6b7685; padding: 8px 6px; border-bottom: 1px solid #e8edf4; }
.ie-lines td { padding: 12px 6px; border-bottom: 1px solid #f0f3f7; color: #1f2a37; }
.ie-lines .num { text-align: right; white-space: nowrap; }
.ie-lines tfoot td { font-weight: 800; color: var(--primary-blue); border-bottom: 0; padding-top: 14px; }
.ie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.ie-btn { display: flex; align-items: center; justify-content: center; text-decoration: none; height: 54px; border-radius: 10px; font-weight: 700; }
a.ie-btn.cf-submit { color: #fff; }
.ie-btn--ghost { border: 2px solid var(--primary-blue); color: var(--primary-blue); background: #fff; }
.ie-btn--ghost:hover { background: #eef5ff; }
.ie-summary h2 { margin: 0 0 14px; font-size: 1.2rem; color: var(--primary-blue); }
.ie-summary dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.ie-summary dt { font-weight: 600; color: #6b7685; }
.ie-summary dd { margin: 0; color: #1f2a37; overflow-wrap: anywhere; }
.ie-summary dd p { margin: 0; }
.ie-summary .ie-fineprint { text-align: left; }
.ie-again { margin: 12px 0 0; }

@media (max-width: 768px) {
  /* Sit above the fixed Call Now / Free Estimate bar on phones. */
  .ie-submitbar { bottom: calc(62px + env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) {
  .ie-tiles { grid-template-columns: repeat(2, 1fr); }
  .ie-card, .ie-result { padding: 20px 16px; }
  .ie-hero { padding: 36px 0 48px; }
}
@media (max-width: 520px) {
  .ie-item { flex-wrap: wrap; }
  .ie-qty { margin-left: 34px; }
  .ie-submitbar { padding: 10px 10px 10px 14px; }
  .ie-submitbar__count { font-size: 0.9rem; }
  .ie-submit { padding: 0 18px; }
  .ie-actions { grid-template-columns: 1fr; }
  .ie-summary dl { grid-template-columns: 1fr; gap: 2px; }
  .ie-summary dd { margin-bottom: 8px; }
}
