/* ============================================
   ACCEL FIRE SYSTEMS, INC. — Main Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
    --red-primary: #c0392b;
    --red-dark: #a93226;
    --red-darker: #8B1A1A;
    --red-light: #e74c3c;
    --red-accent: #d63031;
    --dark-bg: #2c2c2c;
    --dark-overlay: rgba(44, 44, 44, 0.85);
    --white: #ffffff;
    --off-white: #f8f8f8;
    --light-gray: #f0f0f0;
    --pink-bg: #fdf0f0;
    --text-dark: #333333;
    --text-medium: #555555;
    --text-light: #cccccc;
    --gold-star: #f5a623;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --max-width: 1200px;
    --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   FIX 1 & 7 — DISPLAY-ONLY PHONE/EMAIL TEXT
   Looks identical to surrounding white text but
   is not a link and never underlines.
   ============================================ */
.phone-display {
    color: inherit;
    font-weight: 700;
    cursor: default;
    user-select: text;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--red-primary);
    color: var(--white);
    padding: 12px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar__social {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* FIX 1: Restore circular background on each social icon */
.top-bar__social a {
    color: var(--white);
    font-size: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.top-bar__social a:hover {
    background: rgba(255, 255, 255, 0.38);
}

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

.top-bar__emergency {
    font-family: var(--font-heading);
    font-size: 1.35rem;   /* FIX 2: was 1.1rem */
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.top-bar__toll-free {
    font-size: 1.15rem;   /* FIX 2: was 0.95rem */
    margin-top: 4px;
    color: var(--white);
}

.top-bar__phones {
    text-align: right;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--white);
}

/* FIX 3: use > span so only the two outer spans become block-level;
   the inner .phone-display spans stay inline, keeping each city on one line */
.top-bar__phones > span {
    display: block;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background: var(--white);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__logo img {
    height: 70px;
    width: auto;
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.navbar__menu a {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    transition: background var(--transition), color var(--transition);
}

.navbar__menu a:hover,
.navbar__menu a.active {
    background: var(--red-primary);
    color: var(--white);
}

.navbar__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.navbar__hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #111111;
}

.hero__bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
}

.hero__logo {
    max-width: 500px;
    margin: 0 auto 30px;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}

.hero__cta {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* ============================================
   RED BANNER — DESIGN, INSTALLATION...
   FIX 3: hover state is now readable — removed
   inline color:white !important from HTML so
   the CSS rule below can apply on hover.
   ============================================ */
.intro-banner {
    background: var(--red-primary);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.intro-banner__title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--white);
}

.intro-banner__text {
    max-width: 900px;
    margin: 0 auto 30px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--white);
    opacity: 0.95;
}

.intro-banner__cta {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 30px;
    transition: background var(--transition), color var(--transition);
}

/* On hover: white background, red text — fully readable */
.intro-banner__cta:hover {
    background: var(--white);
    color: var(--red-primary);
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services {
    padding: 70px 0;
    background: var(--white);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 60px;
}

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

.service-card__image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: transform var(--transition);
}

.service-card:hover .service-card__image {
    transform: scale(1.02);
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--red-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.service-card__title a {
    color: var(--red-primary);
}

.service-card__title a:hover {
    color: var(--red-dark);
}

.service-card__text {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* Knox Box special card styling */
.service-card--knox .service-card__image {
    border: 2px solid var(--text-dark);
    border-radius: 10px;
    object-fit: contain;
    background: var(--white);
    padding: 10px;
}

/* ============================================
   DARK SECTION — FIRE SERVICE DESIGN & BUILD
   ============================================ */
.design-build {
    position: relative;
    padding: 80px 0;
    color: var(--white);
    overflow: hidden;
}

.design-build__bg {
    position: absolute;
    inset: 0;
    background: var(--dark-bg);
    z-index: 0;
}

.design-build__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--dark-overlay);
}

.design-build .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.design-build__image {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.design-build__content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.design-build__content p {
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 20px;
    opacity: 0.92;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 70px 0;
    background: var(--white);
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about__content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about__content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 18px;
}

.about__image {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* ============================================
   REVIEWS SECTION
   FIX 6: Carousel layout hardened — track is
   display:flex with no-wrap; width is set by JS.
   ============================================ */
.reviews {
    background: var(--pink-bg);
    padding: 60px 0;
}

.reviews__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.reviews__carousel {
    position: relative;
    max-width: 900px;
    overflow: hidden;
}

/* FIX 4: Track width & card widths are set by JS using percentages.
   No min-width here — that was causing all cards to collapse onto each other. */
.reviews__track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease;
    will-change: transform;
}

.review-card {
    flex-shrink: 0;
    background: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.review-card__stars {
    color: var(--gold-star);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.review-card__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 15px;
}

.review-card__author {
    font-weight: 700;
    color: var(--text-dark);
}

.reviews__nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.reviews__btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--red-primary);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.reviews__btn:hover {
    background: var(--red-dark);
}

.reviews__dots {
    display: flex;
    gap: 8px;
}

.reviews__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: background var(--transition);
}

.reviews__dot.active {
    background: var(--red-primary);
}

/* ============================================
   SPRINKLER SYSTEMS PAGE — CONTENT SECTIONS
   ============================================ */

/* --- Everything You Need to Stay Safe --- */
.ss-content {
    padding: 70px 0;
    background: var(--white);
}

.ss-content__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.ss-content__heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.ss-content__text p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 16px;
}

.ss-content__image {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* ============================================
   BACKFLOW SERVICES PAGE — CONTENT SECTION
   ============================================ */
.bf-content {
    padding: 70px 0;
    background: var(--white);
}

.bf-content__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.bf-content__heading {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 18px;
    line-height: 1.3;
}

.bf-content__left p,
.bf-content__right p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 14px;
}

/* Indented bullet list (left column "We provide:") */
.bf-content__list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
}

.bf-content__list li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-medium);
    padding: 4px 0 4px 20px;
    position: relative;
}

.bf-content__list li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

/* Bullet list (right column) */
.bf-content__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bf-content__bullets li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-medium);
    padding: 0 0 16px 20px;
    position: relative;
}

.bf-content__bullets li:last-child {
    padding-bottom: 0;
}

.bf-content__bullets li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .bf-content__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ============================================
   FIRE EXTINGUISHERS PAGE — CONTENT SECTION
   ============================================ */
.fe-content {
    padding: 70px 0;
    background: var(--white);
}

/* Image left, text right */
.fe-content__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.fe-content__image {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

.fe-content__heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 18px;
    line-height: 1.3;
}

.fe-content__text p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 14px;
}

/* Full-width bullet list below the two-column row */
.fe-content__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fe-content__bullets li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-medium);
    padding: 0 0 14px 22px;
    position: relative;
}

.fe-content__bullets li:last-child {
    padding-bottom: 0;
}

.fe-content__bullets li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .fe-content__grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
}

/* --- Common Types bullet list --- */
.ss-types {
    padding: 50px 0;
    background: var(--off-white);
}

.ss-types__heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 28px;
}

.ss-types__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}

.ss-types__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ss-types__list li {
    font-size: 0.95rem;
    color: var(--text-medium);
    padding: 6px 0 6px 20px;
    position: relative;
    line-height: 1.5;
}

.ss-types__list li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--red-primary);
    font-size: 1.1rem;
    line-height: 1.4;
}

/* --- FAQ Accordion --- */
.ss-faq {
    padding: 60px 0 40px;
    background: var(--white);
}

.ss-faq__heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 28px;
}

.faq-item {
    border: 1px solid var(--red-primary);
    border-radius: 2px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-item__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--white);
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    transition: background var(--transition);
}

.faq-item__trigger:hover {
    background: var(--light-gray);
}

.faq-item__icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--red-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-left: 16px;
    transition: transform var(--transition);
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon {
    transform: rotate(180deg);
}

/* Body hidden by default via CSS, revealed by JS adding .is-open */
.faq-item__body {
    display: none;
    padding: 4px 24px 24px;
}

.faq-item__body.is-open {
    display: block;
}

.faq-item__body p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 14px;
}

.faq-item__body p:last-child {
    margin-bottom: 0;
}

/* --- What Are Common Types — full description section --- */
.ss-types-detail {
    padding: 50px 0 70px;
    background: var(--off-white);
}

.ss-types-detail__heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 28px;
}

.ss-types-detail__subhead {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    margin: 28px 0 8px;
}

.ss-types-detail__subhead:first-of-type {
    margin-top: 0;
}

.ss-types-detail__subtype {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--red-primary);
    margin: 16px 0 6px;
}

.ss-types-detail__body {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .ss-content__grid {
        grid-template-columns: 1fr;
    }
    .ss-content__image-wrap {
        order: -1;
    }
    .ss-types__grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CONTACT PAGE — INFO + INQUIRY FORM
   ============================================ */
.contact-info {
    padding: 70px 0;
    background: var(--white);
}

.contact-info__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info__heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.contact-info__heading--spaced {
    margin-top: 32px;
}

.contact-info__text {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 4px;
}

.contact-info__phone {
    font-size: 1rem;
    font-weight: 700;
    color: var(--red-primary);
    margin: 8px 0 4px;
}

.contact-info__phone-inline {
    font-weight: 700;
    color: var(--red-primary);
}

.contact-info__hours-row {
    display: flex;
    gap: 32px;
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 8px;
}

/* Credit card images */
.contact-info__cards {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.contact-info__card-img {
    height: 36px;
    width: auto;
    border-radius: 4px;
    display: block;
}

/* Association logos — single combined image */
.contact-info__logos {
    margin-top: 16px;
}

.contact-info__assoc-img {
    display: block;
    width: 100%;
    max-width: 460px;
    height: auto;
}

/* Service Inquiry Form */
.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--light-gray);
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: border-color var(--transition);
    appearance: auto;
}

.inquiry-form input::placeholder {
    color: var(--text-medium);
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: var(--red-primary);
}

.inquiry-form textarea {
    resize: vertical;
    min-height: 100px;
}

.inquiry-form__label {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: -4px;
}

.inquiry-form__submit {
    padding: 15px 40px;
    background: var(--red-primary);
    color: var(--white);
    border: none;
    border-radius: 3px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    align-self: flex-start;
    transition: background var(--transition);
}

.inquiry-form__submit:hover {
    background: var(--red-dark);
}

/* ============================================
   CONTACT PAGE — STAFF DIRECTORY
   ============================================ */
.staff {
    padding: 60px 0 70px;
    background: var(--off-white);
    border-top: 1px solid var(--light-gray);
}

.staff__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}

/* Last item (Patrick Rhodes) centered across all 3 cols */
.staff__card--center {
    grid-column: 2 / 3;
}

.staff__card {
    text-align: center;
}

.staff__name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.staff__title {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.staff__contact {
    font-size: 0.88rem;
    color: var(--text-medium);
    margin-bottom: 3px;
}

.staff__phone {
    font-weight: 700;
    color: var(--red-primary);
}

.staff__email {
    font-weight: 600;
    color: var(--red-primary);
}

@media (max-width: 768px) {
    .contact-info__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .staff__grid {
        grid-template-columns: 1fr 1fr;
    }
    .staff__card--center {
        grid-column: 1 / -1;
    }
}

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

/* ============================================
   GALLERY PAGE — VIDEO SECTION
   ============================================ */
.gallery-video {
    padding: 60px 0;
    background: var(--white);
}

.gallery-video__wrap {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.gallery-video__thumb {
    display: block;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    text-decoration: none;
}

.gallery-video__thumb img {
    width: 100%;
    display: block;
}

.gallery-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(192, 57, 43, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.gallery-video__thumb:hover .gallery-video__play {
    background: var(--red-primary);
}

.gallery-video__play-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 16px 0 16px 32px;
    border-color: transparent transparent transparent var(--white);
    margin-left: 6px;
}

.gallery-video__link {
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--text-medium);
}

.gallery-video__link a {
    color: var(--red-primary);
    font-weight: 600;
}

.gallery-video__link a:hover {
    text-decoration: underline;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: var(--red-primary);
    padding: 50px 0;
    text-align: center;
}

.cta-banner__text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================
   MAPS SECTION
   ============================================ */
.maps {
    padding: 50px 0;
    background: var(--off-white);
}

.maps .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.maps__iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    color: var(--white);
    padding: 60px 0 0;
    overflow: hidden;
}

.footer__bg {
    position: absolute;
    inset: 0;
    background: var(--dark-bg);
    z-index: 0;
}

.footer__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--dark-overlay);
}

/* Only the main inner container gets the two-column grid */
.footer > .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.footer__locations h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.footer__location-block {
    margin-bottom: 30px;
}

.footer__location-block p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
    color: var(--white);
}

.footer__location-block .phone {
    font-weight: 700;
    font-size: 1rem;
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer__social a {
    color: var(--white);
    font-size: 18px;
    transition: opacity var(--transition);
}

.footer__social a:hover {
    opacity: 0.7;
}

/* Contact Form */
.footer__contact h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--red-primary);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-radius: 3px;
    transition: border-color var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--white);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form__submit {
    display: inline-block;
    width: auto;
    align-self: flex-start;
    padding: 14px 40px;
    background: var(--red-primary);
    border: 2px solid var(--white);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.contact-form__submit:hover {
    background: var(--white);
    color: var(--red-primary);
}

/* ============================================
   FIX 8 — FOOTER BOTTOM: centered, full-width
   Removed the "container" class from the HTML
   element and styled it independently so it is
   not pulled into the two-column grid above.
   ============================================ */
.footer__bottom {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    width: 100%;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: var(--white);
    opacity: 0.7;
    line-height: 1.6;
}

.footer__bottom a {
    color: var(--white);
    text-decoration: underline;
}

/* ============================================
   FIX 4 — FLOATING ACTION BUTTONS REMOVED
   Styles kept commented out in case re-enabled.
   ============================================ */
/*
.fab-container { ... }
.fab { ... }
.fab--phone { ... }
.fab--location { ... }
*/

/* ============================================
   ANIMATIONS
   ============================================ */

/* fade-in starts fully visible so content always shows regardless of JS.
   The 'visible' class triggers the upward-slide animation. */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When JS hasn't yet run, elements stay at rest. When JS is active it
   sets the initial hidden state via the .js-ready class on <body>,
   then adds .visible on scroll. Without .js-ready the rule below is
   never applied so content remains visible as a safe fallback. */
body.js-ready .fade-in {
    opacity: 0;
    transform: translateY(20px);
}

body.js-ready .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HERO — PAGE VARIANTS
   ============================================ */
.hero__page-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.hero__cta-label {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero__phone {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero__phone a {
    color: var(--white);
}

.hero__phone a:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .navbar__menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .navbar__menu.open {
        display: flex;
    }

    .navbar__menu a {
        padding: 14px 20px;
        border-bottom: 1px solid var(--light-gray);
    }

    .navbar__hamburger {
        display: flex;
    }

    .navbar {
        position: relative;
    }

    .services__grid {
        gap: 40px 30px;
    }

    .design-build .container {
        grid-template-columns: 1fr;
    }

    .about .container {
        grid-template-columns: 1fr;
    }

    .about__image {
        order: -1;
    }

    .footer > .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

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

    .intro-banner__title {
        font-size: 1.6rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .maps .container {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 400px;
    }

    .hero__logo {
        max-width: 320px;
    }

    .hero__page-title {
        font-size: 2rem;
    }

    .hero__phone {
        font-size: 1.4rem;
    }

    .cta-banner__text {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero__logo {
        max-width: 260px;
    }

    .hero__cta {
        font-size: 1.2rem;
    }

    .intro-banner__title {
        font-size: 1.3rem;
    }

    .design-build__content h2 {
        font-size: 1.5rem;
    }
}

.footer-form__feedback {
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}
 
.footer-form__feedback--success {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
}
 
.footer-form__feedback--error {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.4);
}