/**
 * Do It All Demo Theme Stylesheet
 * 
 * Design System for Professional Residential Demolition Services
 * 
 * Table of Contents:
 * 1. CSS Custom Properties (Design Tokens)
 * 2. Reset & Base Styles
 * 3. Typography
 * 4. Layout & Container
 * 5. Buttons
 * 6. Forms
 * 7. Cards
 * 8. Header
 * 9. Footer
 * 10. Components
 * 11. Sections
 * 12. Utilities
 * 13. Responsive
 */

/* ==========================================================================
   1. CSS Custom Properties (Design Tokens)
   Section 2.1 Color Palette & Section 2.3 Spacing System
   ========================================================================== */

:root {
    /* Colors - Section 2.1 */
    --color-navy-primary: #1B365D;
    --color-amber-accent: #D97706;
    --color-clean-white: #FFFFFF;
    --color-light-gray: #F8FAFC;
    --color-text-dark: #1E293B;
    --color-text-muted: #64748B;
    --color-success-green: #059669;
    --color-alert-red: #DC2626;

    /* Derived Colors */
    --color-amber-hover: #B45309;
    --color-navy-hover: #152849;
    --color-border: #E2E8F0;

    /* Typography - Section 2.2 */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Font Sizes */
    --font-size-hero: 3rem;      /* 48px */
    --font-size-h1: 2.25rem;     /* 36px */
    --font-size-h2: 1.875rem;    /* 30px */
    --font-size-h3: 1.5rem;      /* 24px */
    --font-size-body-lg: 1.125rem; /* 18px */
    --font-size-body: 1rem;      /* 16px */
    --font-size-small: 0.875rem; /* 14px */

    /* Font Weights */
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Line Heights */
    --line-height-tight: 1.1;
    --line-height-snug: 1.2;
    --line-height-normal: 1.4;
    --line-height-relaxed: 1.6;

    /* Spacing - Section 2.3 (8px base) */
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-2xl: 3rem;     /* 48px */
    --space-3xl: 4rem;     /* 64px */
    --space-4xl: 6rem;     /* 96px */

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: var(--space-md);

    /* Header Height */
    --header-utility-height: 36px;
    --header-main-height: 64px;
    --header-total-height: calc(var(--header-utility-height) + var(--header-main-height));
}

/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-dark);
    background-color: var(--color-clean-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
}

a {
    color: var(--color-navy-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-amber-accent);
}

ul,
ol {
    list-style: none;
}

/* Screen Reader Only */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    background-color: var(--color-light-gray);
    clip: auto;
    color: var(--color-text-dark);
    display: block;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    height: auto;
    left: 5px;
    line-height: normal;
    padding: var(--space-md) var(--space-lg);
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Skip Link */
.skip-link {
    background: var(--color-navy-primary);
    color: var(--color-clean-white);
    padding: var(--space-sm) var(--space-md);
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-sm);
    color: var(--color-clean-white);
}

/* ==========================================================================
   3. Typography
   Section 2.2 Typography System
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-snug);
    color: var(--color-navy-primary);
}

h1 {
    font-size: var(--font-size-h1);
    line-height: var(--line-height-snug);
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
}

h4 {
    font-size: var(--font-size-body-lg);
    font-weight: var(--font-weight-semibold);
}

p {
    margin-bottom: var(--space-md);
}

p:last-child {
    margin-bottom: 0;
}

.text-muted {
    color: var(--color-text-muted);
}

.text-large {
    font-size: var(--font-size-body-lg);
}

.text-small {
    font-size: var(--font-size-small);
}

/* ==========================================================================
   4. Layout & Container
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.site-content {
    min-height: calc(100vh - var(--header-total-height));
}

.site-main {
    padding-top: var(--header-total-height);
}

/* ==========================================================================
   5. Buttons
   Section 2.4 Component Specifications
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--color-amber-accent);
    color: var(--color-clean-white);
    border-color: var(--color-amber-accent);
}

.btn--primary:hover {
    background-color: var(--color-amber-hover);
    border-color: var(--color-amber-hover);
    color: var(--color-clean-white);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-navy-primary);
    border-color: var(--color-navy-primary);
}

.btn--secondary:hover {
    background-color: var(--color-navy-primary);
    color: var(--color-clean-white);
}

.btn--secondary-white {
    background-color: transparent;
    color: var(--color-clean-white);
    border-color: var(--color-clean-white);
}

.btn--secondary-white:hover {
    background-color: var(--color-clean-white);
    color: var(--color-navy-primary);
}

.btn--ghost {
    background-color: transparent;
    color: var(--color-navy-primary);
    border-color: transparent;
    padding-left: 0;
    padding-right: 0;
}

.btn--ghost:hover {
    text-decoration: underline;
    color: var(--color-navy-primary);
}

.btn--small {
    padding: 8px 16px;
    font-size: var(--font-size-small);
}

.btn--large {
    padding: 16px 32px;
    font-size: var(--font-size-body-lg);
}

.btn:disabled,
.btn--disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==========================================================================
   6. Forms
   Section 2.4 Form Inputs
   ========================================================================== */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-dark);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    font-size: var(--font-size-body);
    color: var(--color-text-dark);
    background-color: var(--color-clean-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-navy-primary);
    box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.1);
}

.form-input.is-error,
.form-textarea.is-error,
.form-select.is-error {
    border-color: var(--color-alert-red);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-error {
    margin-top: var(--space-xs);
    font-size: var(--font-size-small);
    color: var(--color-alert-red);
}

/* ==========================================================================
   7. Cards
   Section 2.4 Cards
   ========================================================================== */

.card {
    background-color: var(--color-clean-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-lg);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card--flat {
    box-shadow: none;
    border: 1px solid var(--color-border);
}

.card--flat:hover {
    box-shadow: none;
    transform: none;
    border-color: var(--color-navy-primary);
}

/* ==========================================================================
   8. Header
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-clean-white);
}

/* Utility Bar */
.site-header__utility-bar {
    background-color: var(--color-navy-primary);
    color: var(--color-clean-white);
    height: var(--header-utility-height);
    display: block !important;
}

.utility-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    font-size: var(--font-size-small);
}

.utility-bar__left {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.utility-bar__phone,
.utility-bar__service-area {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-clean-white);
}

.utility-bar__phone:hover {
    color: var(--color-amber-accent);
}

.utility-bar__divider {
    opacity: 0.5;
}

.utility-bar__icon {
    flex-shrink: 0;
}

.utility-bar__portal-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-amber-accent);
    font-weight: var(--font-weight-medium);
}

.utility-bar__portal-link:hover {
    color: var(--color-clean-white);
}

/* Main Header */
.site-header__main {
    height: var(--header-main-height);
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-clean-white);
}

.site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo */
.site-header__branding {
    flex-shrink: 0;
    min-width: 0; /* Allow shrinking on mobile */
}

.site-header__logo-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.site-header__logo-image {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-header__logo-image img.site-logo {
    max-height: 48px;
    width: auto;
    display: block;
    transition: max-height var(--transition-fast);
}

.site-header__logo-text {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: font-size var(--transition-fast);
}

.site-header__logo-main {
    color: var(--color-navy-primary);
}

.site-header__logo-accent {
    color: var(--color-amber-accent);
}

/* Navigation */
.site-header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.site-header__menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.site-header__menu li a {
    font-weight: var(--font-weight-semibold);
    color: var(--color-amber-accent);
    padding: var(--space-sm) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.site-header__menu li a:hover {
    color: var(--color-navy-primary);
}

.site-header__menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-navy-primary) 0%, var(--color-amber-accent) 100%);
    border-radius: 2px;
    transition: width var(--transition-fast);
}

.site-header__menu li a:hover::after,
.site-header__menu li.current-menu-item a::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.site-header__menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.site-header__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.site-header__hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-amber-accent);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Header CTA */
.site-header__cta {
    flex-shrink: 0;
}

/* ==========================================================================
   9. Footer
   ========================================================================== */

.site-footer {
    background-color: var(--color-navy-primary);
    color: var(--color-clean-white);
}

.site-footer__main {
    padding: var(--space-4xl) 0;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
}

/* Company Info */
.site-footer__company {
    max-width: 300px;
}

.site-footer__branding {
    margin-bottom: var(--space-md);
}

.site-footer__logo-text {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
}

.site-footer__logo-main {
    color: var(--color-clean-white);
}

.site-footer__logo-accent {
    color: var(--color-amber-accent);
}

.site-footer__tagline {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
}

.site-footer__contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.site-footer__phone,
.site-footer__email {
    color: var(--color-clean-white);
}

.site-footer__phone:hover,
.site-footer__email:hover {
    color: var(--color-amber-accent);
}

/* Footer Columns */
.site-footer__column {
    /* Styles for footer columns */
}

.site-footer__heading {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
    color: var(--color-clean-white);
}

.site-footer__menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.site-footer__menu a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.site-footer__menu a:hover {
    color: var(--color-amber-accent);
}

/* Footer Bottom */
.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-lg) 0;
}

.site-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.site-footer__credentials {
    display: flex;
    gap: var(--space-lg);
    font-size: var(--font-size-small);
    color: rgba(255, 255, 255, 0.6);
}

.site-footer__copyright {
    font-size: var(--font-size-small);
    color: rgba(255, 255, 255, 0.6);
}

.site-footer__legal-menu {
    display: flex;
    gap: var(--space-lg);
    font-size: var(--font-size-small);
}

.site-footer__legal-menu a {
    color: rgba(255, 255, 255, 0.6);
}

.site-footer__legal-menu a:hover {
    color: var(--color-clean-white);
}

/* ==========================================================================
   10. Components
   ========================================================================== */

/* Star Rating */
.star-rating {
    display: inline-flex;
    gap: 2px;
}

.star--filled {
    color: var(--color-amber-accent);
}

.star--empty {
    color: var(--color-border);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: var(--space-md) 0;
    font-size: var(--font-size-small);
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
}

.breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.breadcrumbs__item:not(:last-child)::after {
    content: '/';
    color: var(--color-text-muted);
}

.breadcrumbs__item a {
    color: var(--color-text-muted);
}

.breadcrumbs__item a:hover {
    color: var(--color-navy-primary);
}

.breadcrumbs__item--current {
    color: var(--color-text-dark);
}

/* Availability Calendar */
.availability-calendar {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.availability-calendar__day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm);
    flex: 1;
}

.availability-calendar__day-name {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-muted);
}

.availability-calendar__indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.availability-calendar__day--available .availability-calendar__indicator {
    background-color: var(--color-success-green);
}

.availability-calendar__day--limited .availability-calendar__indicator {
    background-color: var(--color-amber-accent);
}

.availability-calendar__day--booked .availability-calendar__indicator {
    background-color: var(--color-text-muted);
}

.availability-legend {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    font-size: var(--font-size-small);
    color: var(--color-text-muted);
}

.availability-legend__item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.availability-legend__item::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.availability-legend__item--available::before {
    background-color: var(--color-success-green);
}

.availability-legend__item--limited::before {
    background-color: var(--color-amber-accent);
}

.availability-legend__item--booked::before {
    background-color: var(--color-text-muted);
}

/* Project Gallery */
.project-gallery__tabs {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.project-gallery__tab {
    padding: var(--space-sm) var(--space-lg);
    background: none;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.project-gallery__tab:hover {
    border-color: var(--color-navy-primary);
}

.project-gallery__tab.is-active {
    background-color: var(--color-amber-accent);
    border-color: var(--color-amber-accent);
    color: var(--color-clean-white);
}

.project-gallery__panel {
    display: none;
}

.project-gallery__panel.is-active {
    display: block;
}

.project-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.project-gallery__item {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.project-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-gallery__item a:hover img {
    transform: scale(1.05);
}

/* Project Meta */
.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    padding: var(--space-lg);
    background-color: var(--color-light-gray);
    border-radius: var(--radius-lg);
}

.project-meta__item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.project-meta__label {
    font-size: var(--font-size-small);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-meta__value {
    font-size: var(--font-size-body-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-navy-primary);
}

/* Items Removed */
.items-removed {
    margin-top: var(--space-xl);
}

.items-removed__title {
    font-size: var(--font-size-h3);
    margin-bottom: var(--space-md);
}

.items-removed__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-sm);
}

.items-removed__item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
}

.items-removed__icon {
    color: var(--color-success-green);
    flex-shrink: 0;
}

/* ==========================================================================
   11. Sections (Homepage & General)
   ========================================================================== */

.section {
    padding: var(--space-4xl) 0;
}

.section--gray {
    background-color: var(--color-light-gray);
}

.section--navy {
    background-color: var(--color-navy-primary);
    color: var(--color-clean-white);
}

.section--amber {
    background-color: var(--color-amber-accent);
    color: var(--color-clean-white);
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section__title {
    margin-bottom: var(--space-md);
}

.section--navy .section__title,
.section--amber .section__title {
    color: var(--color-clean-white);
}

/* Page Header */
.page-header {
    padding: var(--space-2xl) 0;
    background-color: var(--color-light-gray);
}

.page-header__title {
    font-size: var(--font-size-h1);
}

/* Archive */
.archive-header {
    padding: var(--space-2xl) 0;
    background-color: var(--color-light-gray);
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* Search */
.search-header {
    padding: var(--space-2xl) 0;
    background-color: var(--color-light-gray);
}

.search-header__title span {
    color: var(--color-amber-accent);
}

/* 404 */
.error-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-4xl) 0;
}

.error-404__code {
    display: block;
    font-size: 8rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-light-gray);
    line-height: 1;
}

.error-404__title {
    margin-bottom: var(--space-md);
}

.error-404__message {
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.error-404__actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.error-404__search {
    color: var(--color-text-muted);
}

/* ==========================================================================
   12. Utilities
   ========================================================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   13. Responsive
   Section 7.4 Breakpoints
   ========================================================================== */

/* Tablet: 768px - 1023px */
@media (max-width: 1023px) {
    :root {
        --font-size-hero: 2.5rem;
        --font-size-h1: 2rem;
        --font-size-h2: 1.5rem;
        --header-main-height: 56px;
    }

    /* Utility bar MUST be visible on tablet */
    .site-header__utility-bar {
        display: block !important;
        height: 32px;
    }

    /* Keep logo and text in a row on tablet */
    .site-header__logo-link {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: var(--space-xs);
    }

    /* Tablet logo sizing */
    .site-header__logo-image {
        flex-shrink: 0;
    }

    .site-header__logo-image img.site-logo {
        max-height: 32px;
    }

    .site-header__logo-text {
        font-size: 1.2rem;
        white-space: nowrap;
    }

    /* Header inner layout for tablet */
    .site-header__inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Show hamburger on tablet - ORANGE color - OUTSIDE nav */
    .site-header__menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        order: 3;
    }

    .site-header__hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 24px;
    }

    .site-header__hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--color-amber-accent) !important;
        border-radius: 2px;
    }

    /* Hide nav on tablet (show via hamburger) */
    .site-header__nav {
        display: none;
        position: fixed;
        top: calc(32px + var(--header-main-height));
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, var(--color-navy-primary) 0%, #0A1628 100%);
        z-index: 999;
        overflow-y: auto;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

    .site-header__nav.is-open {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .site-header__menu {
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-xl) var(--space-lg);
        gap: 0;
    }

    .site-header__menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .site-header__menu li:last-child {
        border-bottom: none;
    }

    /* Mobile menu - white text with orange accent on hover */
    .site-header__menu li a {
        display: flex;
        align-items: center;
        padding: var(--space-lg) var(--space-md);
        color: var(--color-clean-white);
        font-weight: var(--font-weight-semibold);
        font-size: 1.125rem;
        text-decoration: none;
        border-radius: var(--radius-md);
        transition: all var(--transition-fast);
        position: relative;
        overflow: hidden;
    }

    .site-header__menu li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, var(--color-amber-accent) 0%, #F59E0B 100%);
        transform: scaleY(0);
        transition: transform var(--transition-fast);
        border-radius: 0 4px 4px 0;
    }

    .site-header__menu li a:hover {
        color: var(--color-amber-accent);
        background: rgba(255, 255, 255, 0.05);
        padding-left: var(--space-lg);
    }

    .site-header__menu li a:hover::before {
        transform: scaleY(1);
    }

    .site-header__menu li a::after {
        display: none;
    }

    .site-header__cta {
        display: none !important;
    }

    body.menu-open {
        overflow: hidden;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Utility bar tablet adjustments */
    .utility-bar {
        font-size: 0.75rem;
    }

    .utility-bar__left {
        gap: var(--space-sm);
    }

    /* Hide phone number text on tablet, keep icon */
    .utility-bar__phone-text {
        display: none;
    }

    /* Hide service area text on tablet, keep icon */
    .utility-bar__service-text {
        display: none;
    }

    .utility-bar__divider {
        display: none;
    }
}

/* Mobile utility bar - simplified but VISIBLE */
@media (max-width: 767px) {
    /* Utility bar must show on mobile */
    .site-header__utility-bar {
        display: block !important;
        height: 32px;
    }

    .utility-bar {
        font-size: 0.7rem;
    }

    /* On mobile, hide service area completely to make room */
    .utility-bar__service-area {
        display: none !important;
    }

    /* Phone icon styling */
    .utility-bar__phone {
        padding: var(--space-xs);
    }

    .utility-bar__phone-text {
        display: none;
    }

    /* Keep contractor portal text visible */
    .utility-bar__portal-text {
        font-size: 0.75rem;
    }
}

/* Very small screens - minimal utility bar */
@media (max-width: 480px) {
    .site-header__utility-bar {
        display: block !important;
        height: 28px;
    }

    .utility-bar__portal-text {
        font-size: 0.65rem;
    }
}

/* Mobile: 320px - 767px */
@media (max-width: 767px) {
    :root {
        --font-size-hero: 2rem;
        --font-size-h1: 1.75rem;
        --font-size-h2: 1.5rem;
        --font-size-h3: 1.25rem;
        --space-4xl: 4rem;
        --header-main-height: 52px;
    }

    /* Mobile Header Fixes */
    .site-header__main {
        height: var(--header-main-height);
    }

    .site-header__inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 var(--space-sm);
    }

    /* Keep logo and text in a ROW on mobile */
    .site-header__logo-link {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: var(--space-xs);
    }

    .site-header__logo-image {
        flex-shrink: 0;
    }

    /* Scalable Logo - smaller on mobile */
    .site-header__logo-image img.site-logo {
        max-height: 26px;
    }

    .site-header__logo-text {
        font-size: 1rem;
        white-space: nowrap;
    }

    /* Hamburger Menu - MUST be visible on mobile - ORANGE */
    .site-header__menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        order: 3;
    }

    .site-header__hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 24px;
    }

    .site-header__hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--color-amber-accent) !important;
        border-radius: 2px;
        transition: all var(--transition-fast);
    }

    /* Hamburger animation when menu is open */
    .menu-open .site-header__hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-open .site-header__hamburger span:nth-child(2) {
        opacity: 0;
    }

    .menu-open .site-header__hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Mobile nav inherits tablet styles - navy gradient background */
    .site-header__nav {
        display: none;
        position: fixed;
        top: calc(32px + var(--header-main-height));
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, var(--color-navy-primary) 0%, #0A1628 100%);
        z-index: 999;
        overflow-y: auto;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

    .site-header__nav.is-open {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

    .site-header__menu {
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-xl) var(--space-lg);
        gap: 0;
    }

    .site-header__menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .site-header__menu li:last-child {
        border-bottom: none;
    }

    /* Mobile menu - white text with orange accent */
    .site-header__menu li a {
        display: flex;
        align-items: center;
        padding: var(--space-lg) var(--space-md);
        font-size: 1.125rem;
        color: var(--color-clean-white);
        font-weight: var(--font-weight-semibold);
        border-radius: var(--radius-md);
        transition: all var(--transition-fast);
    }

    .site-header__menu li a:hover {
        color: var(--color-amber-accent);
        background: rgba(255, 255, 255, 0.05);
        padding-left: var(--space-lg);
    }

    .site-header__menu li a::after {
        display: none;
    }

    /* Hide CTA button on mobile */
    .site-header__cta {
        display: none !important;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Footer Mobile */
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .site-footer__company {
        max-width: 100%;
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .site-footer__credentials {
        flex-direction: column;
        gap: var(--space-sm);
    }

    /* Archive Mobile */
    .archive-grid {
        grid-template-columns: 1fr;
        min-height: 200px;
    }

    /* Gallery Mobile */
    .project-gallery__grid {
        grid-template-columns: 1fr;
    }

    .project-gallery__tabs {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    /* 404 Mobile */
    .error-404__code {
        font-size: 5rem;
    }

    .error-404__actions {
        flex-direction: column;
    }

    .error-404__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Small mobile - even smaller logo */
@media (max-width: 480px) {
    .site-header__logo-image img.site-logo {
        max-height: 28px;
    }

    .site-header__logo-text {
        font-size: 1rem;
    }
}

/* Tablet gallery layout */
@media (min-width: 480px) and (max-width: 767px) {
    .project-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Touch targets - minimum 44x44px */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }

    .site-header__menu li a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .form-input,
    .form-textarea,
    .form-select {
        min-height: 44px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .btn,
    .skip-link {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .site-main {
        padding-top: 0;
    }
}

