/* 
  SOONER STATE DEMOLITION - CONSOLIDATED STYLESHEET
  Professional demolition services website
  Built using prebuilt templates from website-templates/
*/

/* ============================================
   DESIGN SYSTEM - COLOR PALETTE
   ============================================ */
:root {
    /* Brand Colors */
    --primary-color: #2C3E50;        /* Slate Blue */
    --accent-color: #E67E22;          /* Safety Orange */
    --neutral-color: #95A5A6;         /* Concrete Gray */
    --background-color: #FFFFFF;       /* Pure White */
    --text-color: #1A1A1A;            /* Deep Charcoal */
    --secondary-accent: #F39C12;      /* Yukon Gold */
    
    /* Additional Colors */
    --primary-dark: #1A252F;
    --primary-light: #34495E;
    --accent-dark: #D35400;
    --text-light: #575760;
    --background-alt: #f7f8f9;
    --border-color: #E5E5E5;
    --white: #FFFFFF;
    
    /* Spacing */
    --space-2: 0.5rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --space-8: 6rem;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    
    /* Border Radius */
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
}

.full-width {
    width: 100%;
}

/* ============================================
   STICKY HEADER STYLES
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.site-header.hidden {
    transform: translateY(-100%);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    flex: 1;
}

.logo-link {
    text-decoration: none;
    color: var(--primary-color);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.main-nav a:hover {
    color: var(--accent-color);
}

.header-cta {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.header-cta:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

/* ============================================
   MOBILE HAMBURGER MENU STYLES
   ============================================ */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100%;
    background: var(--white);
    z-index: 999;
    padding: 1.5rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-nav-logo .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 0.5rem;
}

.mobile-nav-links a {
    display: block;
    padding: 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.mobile-nav-links a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--accent-color);
    padding-left: 1.5rem;
}

.mobile-nav-links .mobile-cta {
    background: var(--accent-color);
    color: var(--white);
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

.mobile-nav-links .mobile-cta:hover {
    background: var(--accent-dark);
    padding-left: 1rem;
}

body.menu-open {
    overflow: hidden;
}

/* ============================================
   HERO SECTION STYLES
   ============================================ */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 6rem 2rem 4rem;
    margin-top: 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    font-weight: 700;
    line-height: 1.2;
}

.hero-description {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
    font-weight: 500;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    border: 2px solid var(--accent-color);
    cursor: pointer;
    min-height: 44px; /* Thumb-friendly */
}

.button:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.button.secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.button.secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

/* ============================================
   SERVICE CARDS STYLES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-content h3 i {
    color: var(--accent-color);
    flex-shrink: 0;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 1;
}

/* ============================================
   SERVICE HIGHLIGHTS / ABOUT STORY STYLES
   ============================================ */
.service-highlight-section {
    padding: 4rem 1rem;
    margin: 2rem 0;
    background: var(--white);
}

.service-highlight-section:nth-child(even) {
    background: var(--background-alt);
}

.about-why-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about-why-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-why-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-why-benefits {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
}

.about-why-benefits li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--primary-color);
    font-weight: 500;
}

.about-why-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.about-why-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-why-photo img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    object-fit: cover;
}

.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SERVICE AREAS STYLES
   ============================================ */
.service-areas {
    padding: 4rem 0;
    background-color: var(--background-alt);
}

.service-areas h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.service-areas > .container > p {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.area-item {
    flex: 0 1 200px;
    margin-bottom: 2rem;
}

.area-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.area-item:hover h3 {
    color: var(--accent-color);
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* ============================================
   CONTACT FORM STYLES
   ============================================ */
.contact {
    padding: var(--space-8) 0;
    background-color: var(--background-alt);
    position: relative;
}

.contact h2 {
    text-align: center;
    margin-bottom: var(--space-4);
    color: var(--primary-color);
    font-size: 2.2rem;
}

.contact > .container > p {
    text-align: center;
    margin-bottom: var(--space-6);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--accent-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #dc3545;
}

.form-group .error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

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

.contact-form button[type="submit"] {
    width: 100%;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: var(--space-3) var(--space-5);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
}

.contact-form button[type="submit"]:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-success {
    background-color: #28a745;
    color: white;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    text-align: center;
    margin-top: var(--space-3);
}

.form-error {
    background-color: #dc3545;
    color: white;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    text-align: center;
    margin-top: var(--space-3);
}

/* ============================================
   FEATURES / WHY CHOOSE STYLES
   ============================================ */
.features {
    padding: 4rem 1rem;
    background: var(--background-alt);
}

.features h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.features .text-center {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 1.5rem auto 3rem;
    max-width: 900px;
    color: var(--text-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    color: var(--accent-color);
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 1.5rem;
    stroke-width: 2;
}

.feature-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* ============================================
   CTA SECTION STYLES
   ============================================ */
.cta-section {
    background: #F3F4F6;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 800;
}

.cta-section p {
    color: var(--text-color);
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 44px;
}

.cta-section .btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-height: 44px;
}

.cta-section .btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: var(--space-6) 0 var(--space-4);
    text-align: center;
    overflow: hidden;
    margin-top: auto;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-light));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

.footer-info h3,
.footer-nav h3 {
    color: var(--white);
    margin-bottom: var(--space-4);
    position: relative;
    padding-bottom: var(--space-2);
    font-family: var(--font-primary);
    font-weight: 700;
}

.footer-info h3::after,
.footer-nav h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-info p {
    margin-bottom: var(--space-2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.footer-info a {
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-info a:hover {
    color: var(--accent-color);
}

.footer-nav {
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-2);
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: var(--space-2);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-credit {
    margin-top: var(--space-3);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-credit a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   EXPERTISE / TOPICAL AUTHORITY SECTION STYLES
   ============================================ */
.expertise-section {
    padding: 6rem 0;
    background: var(--white);
}

.expertise-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.expertise-intro {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.expertise-item {
    background: var(--background-alt);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.expertise-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.expertise-icon {
    width: 64px;
    height: 64px;
    color: var(--accent-color);
    stroke-width: 2;
}

.expertise-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.expertise-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.expertise-item p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .expertise-section {
        padding: 4rem 1rem;
    }
    
    .expertise-section h2 {
        font-size: 2rem;
    }
    
    .expertise-intro {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .expertise-item {
        padding: 2rem 1.5rem;
    }
    
    .expertise-item h3 {
        font-size: 1.3rem;
    }
    
    .expertise-icon {
        width: 56px;
        height: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .expertise-item {
        transition: none;
    }
    
    .expertise-item:hover {
        transform: none;
    }
}

/* ============================================
   FAQ ACCORDION STYLES
   ============================================ */
.faq {
    background: var(--background-alt);
    padding: 6rem 0 4rem 0;
}

.faq h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.08);
    background: var(--white);
    overflow: hidden;
}

.accordion-item + .accordion-item {
    border-top: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.accordion-header::after {
    content: '\25BC';
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-left: auto;
    transition: transform 0.3s;
}

.accordion-header.active {
    background: var(--background-alt);
    color: var(--accent-color);
}

.accordion-header.active::after {
    transform: rotate(180deg);
}

.accordion-body {
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 2rem;
}

.accordion-header.active + .accordion-body {
    max-height: 2000px;
    padding: 1.5rem 2rem 2rem 2rem;
}

.accordion-body p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

.accordion-body ol,
.accordion-body ul {
    color: var(--text-light);
    line-height: 1.8;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
}

.accordion-body strong {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .faq {
        padding: 4rem 1rem 3rem;
    }
    
    .faq .container {
        padding: 0;
    }
    
    .accordion {
        border-radius: 0;
        margin: 0 -1rem;
    }
    
    .faq h2 {
        font-size: 2rem;
    }
    
    .accordion-header {
        font-size: 1.1rem;
        padding: 1.25rem 1.5rem;
        min-height: 44px;
    }
    
    .accordion-body {
        padding: 0 1.5rem;
    }
    
    .accordion-header.active + .accordion-body {
        padding: 1.25rem 1.5rem 1.5rem 1.5rem;
    }
    
    .accordion-header::after {
        font-size: 0.9rem;
        margin-left: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .button {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
    
    .expertise-section h2 {
        font-size: 1.75rem;
    }
    
    .faq h2 {
        font-size: 1.75rem;
    }
    
    .accordion-header {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }
    
    .service-content h3 {
        font-size: 1.1rem;
    }
    
    .feature-item h3 {
        font-size: 1.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .accordion-body,
    .accordion-header::after {
        transition: none;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (min-width: 769px) and (max-width: 1023px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 1023px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 1rem;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .header-cta {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-section {
        padding: 4rem 1.5rem 3rem;
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .button {
        width: 100%;
        max-width: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-why-container {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .about-why-photo {
        order: -1;
    }
    
    .service-highlight-section:nth-child(even) .about-why-container {
        grid-template-columns: 1fr !important;
    }
    
    .about-why-text h2 {
        font-size: 1.6rem;
    }
    
    .service-areas {
        padding: 3rem 1rem;
    }
    
    .service-areas h2 {
        font-size: 1.75rem;
    }
    
    .areas-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .area-item {
        width: 100%;
        max-width: 300px;
    }
    
    .contact {
        padding: var(--space-6) 0;
    }
    
    .contact-form {
        padding: var(--space-4);
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .features {
        padding: 3rem 1rem;
    }
    
    .features h2 {
        font-size: 1.75rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-section {
        padding: 3rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-section .btn-primary,
    .cta-section .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .footer {
        padding: var(--space-5) 0 var(--space-3);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .footer-info h3::after,
    .footer-nav h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}
