/* ----------------------------------------------
   GLOBAL DESIGN TOKENS (matches your brand)
----------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* brand colors */
    --color-primary: #D69A3B;
    --color-primary-dark: #B87A2F;
    --color-primary-light: #F2C879;
    --color-black: #111111;
    --color-charcoal: #2B2B2B;
    --color-background: #F4F4F4;
    --color-white: #FFFFFF;
    --color-text: #222222;
    --color-text-light: #666666;
    
    /* shadows */
    --shadow-sm: 0 3px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 25px rgba(0,0,0,0.12);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.18);
    --shadow-elevated: 0 25px 50px -12px rgba(0,0,0,0.25);
    
    /* transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    
    /* typography */
    --font-primary: 'Inter', 'Open Sans', sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    
    /* spacing */
    --container-padding: 20px;
    --section-space-y: clamp(48px, 6vw, 80px);
}

body {
    font-family: var(--font-primary);
    background: var(--color-background);
    color: var(--color-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* reveal animation */
.reveal-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* section intro styling - SCALED DOWN */
.section-intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 2rem;
}
.section-label {
    display: inline-block;
    font-size: 0.7rem;  /* Reduced from 0.8rem - matches homepage */
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
    margin-bottom: 0.75rem;
    background: rgba(214, 154, 59, 0.12);
    padding: 0.25rem 0.9rem;
    border-radius: 40px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);  /* Reduced from 1.8-2.6rem - matches homepage */
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--color-black);
    margin-bottom: 0.75rem;
}
.section-text {
    font-size: 0.9rem;  /* Reduced from 1rem - matches homepage */
    line-height: 1.65;
    color: var(--color-text-light);
    max-width: 680px;
    margin: 0 auto;
}

/* ==========================================
   CONTACT & QUOTE SECTION
   Light grey background with white form
========================================== */
.contact-section {
    position: relative;
    padding: var(--section-space-y) 0;
    background: #F0F2F5;  /* Matched to homepage grey sections */
    isolation: isolate;
    overflow: hidden;
    color: var(--color-text);
}

/* decorative elements - adjusted for light theme */
.contact-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(214, 154, 59, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(214, 154, 59, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* light mode overrides - text colors changed from white to dark */
.contact-section .section-label {
    background: rgba(214, 154, 59, 0.12);
    color: var(--color-primary-dark);
}
.contact-section .section-title {
    color: var(--color-black);
}
.contact-section .section-text {
    color: var(--color-text-light);
}

/* two-column layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;  /* Reduced from 3rem */
    position: relative;
    z-index: 2;
}

/* LEFT COLUMN - Contact Info (light theme version) */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;  /* Reduced from 2rem */
}

.emergency-banner {
    background: linear-gradient(135deg, #ffffff 0%, #fafcfd 100%);
    border-left: 4px solid var(--color-primary);
    padding: 1.25rem;  /* Reduced from 1.5rem */
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(17, 17, 17, 0.06);
}

.emergency-banner .label {
    font-size: 0.65rem;  /* Reduced from 0.75rem */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-dark);
    margin-bottom: 0.4rem;
}

.emergency-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;  /* Reduced from 2rem */
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 0.4rem;
}

.emergency-number a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.emergency-number a:hover {
    color: var(--color-primary-dark);
}

.emergency-text {
    font-size: 0.75rem;  /* Reduced from 0.85rem */
    color: var(--color-text-light);
    line-height: 1.5;
}

/* contact details cards - light theme */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;  /* Reduced from 1.25rem */
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;  /* Reduced from 1rem */
    padding: 0.875rem;  /* Reduced from 1rem */
    background: var(--color-white);
    border-radius: 0.875rem;  /* Reduced from 1rem */
    transition: all var(--transition-fast);
    border: 1px solid rgba(17, 17, 17, 0.06);
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    background: var(--color-white);
    border-color: rgba(214, 154, 59, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-icon {
    width: 44px;  /* Reduced from 48px */
    height: 44px;  /* Reduced from 48px */
    background: rgba(214, 154, 59, 0.12);
    border-radius: 10px;  /* Reduced from 12px */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.1rem;  /* Reduced from 1.3rem */
    color: var(--color-primary);
}

.contact-card-content h4 {
    font-size: 0.8rem;  /* Reduced from 0.9rem */
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--color-black);
}

.contact-card-content p,
.contact-card-content a {
    font-size: 0.75rem;  /* Reduced from 0.9rem */
    color: var(--color-text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
    line-height: 1.5;
}

.contact-card-content a:hover {
    color: var(--color-primary);
}

/* office hours - light theme */
.office-hours {
    background: var(--color-white);
    border-radius: 0.875rem;
    padding: 1rem;
    border: 1px solid rgba(17, 17, 17, 0.06);
    box-shadow: var(--shadow-sm);
}

.office-hours h4 {
    font-size: 0.85rem;  /* Reduced from 1rem */
    margin-bottom: 0.6rem;
    color: var(--color-black);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;  /* Reduced from 0.5rem */
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
    font-size: 0.75rem;  /* Reduced from 0.85rem */
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    color: var(--color-text-light);
}

.hours-time {
    color: var(--color-black);
    font-weight: 500;
}

/* social links - light theme */
.social-links {
    display: flex;
    gap: 0.875rem;  /* Reduced from 1rem */
    margin-top: 0.25rem;
}

.social-link {
    width: 38px;  /* Reduced from 40px */
    height: 38px;  /* Reduced from 40px */
    background: rgba(17, 17, 17, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* RIGHT COLUMN - Quote Form (stays white) */
.quote-form-wrapper {
    background: var(--color-white);
    border-radius: 1rem;  /* Reduced from 1.5rem */
    padding: 1.5rem;  /* Reduced from 2rem */
    box-shadow: var(--shadow-elevated);
    border: 1px solid rgba(17, 17, 17, 0.06);
}

.form-header {
    margin-bottom: 1.25rem;  /* Reduced from 1.5rem */
    text-align: center;
}

.form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;  /* Reduced from 1.5rem - matches homepage */
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 0.4rem;
}

.form-header p {
    font-size: 0.8rem;  /* Reduced from 0.85rem */
    color: var(--color-text-light);
}

/* form styles (matching global-forms.css) - SCALED DOWN */
.form-group {
    margin-bottom: 1rem;  /* Reduced from 1.25rem */
}

.form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.75rem;  /* Reduced from 0.85rem */
    font-weight: 600;
    color: var(--color-text);
}

.required-mark {
    color: var(--color-primary);
}

.form-control,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.6rem 0.875rem;  /* Reduced from 0.75rem 1rem */
    border: 1px solid rgba(17, 17, 17, 0.15);
    border-radius: 0.75rem;
    font-family: var(--font-primary);
    font-size: 0.8rem;  /* Reduced from 0.9rem */
    transition: all var(--transition-fast);
    background: var(--color-white);
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(214, 154, 59, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 90px;  /* Reduced from 100px */
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;  /* Reduced from 1rem */
}

.submit-btn {
    width: 100%;
    background: var(--color-primary);
    color: var(--color-black);
    padding: 0.7rem;  /* Reduced from 0.9rem */
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.85rem;  /* Reduced from 1rem */
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(214, 154, 59, 0.3);
}

.form-note {
    font-size: 0.65rem;  /* Reduced from 0.75rem */
    color: var(--color-text-light);
    text-align: center;
    margin-top: 0.875rem;
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
========================================== */

/* Tablet portrait */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .emergency-number {
        font-size: 1.3rem;
    }
}

/* Mobile landscape */
@media (max-width: 768px) {
    .quote-form-wrapper {
        padding: 1.25rem;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .emergency-number {
        font-size: 1.2rem;
    }
    
    .contact-card {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 38px;
        height: 38px;
    }
    
    .contact-icon i {
        font-size: 0.9rem;
    }
}

/* Mobile portrait */
@media (max-width: 640px) {
    .section-title {
        font-size: 1.15rem;
    }
    
    .section-text {
        font-size: 0.8rem;
    }
    
    .quote-form-wrapper {
        padding: 1rem;
    }
    
    .form-header h3 {
        font-size: 1.1rem;
    }
    
    .form-header p {
        font-size: 0.75rem;
    }
    
    .form-label {
        font-size: 0.7rem;
    }
    
    .form-control,
    .form-select,
    .form-textarea {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .submit-btn {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .emergency-number {
        font-size: 1.1rem;
    }
    
    .emergency-text {
        font-size: 0.7rem;
    }
    
    .contact-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.6rem;
    }
    
    .contact-card-content h4 {
        font-size: 0.75rem;
    }
    
    .contact-card-content p,
    .contact-card-content a {
        font-size: 0.7rem;
    }
    
    .hours-row {
        font-size: 0.7rem;
        padding: 0.35rem 0;
    }
    
    .social-link {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .quote-form-wrapper {
        padding: 0.875rem;
    }
    
    .form-header h3 {
        font-size: 1rem;
    }
    
    .form-group {
        margin-bottom: 0.875rem;
    }
    
    .form-note {
        font-size: 0.6rem;
    }
    
    .emergency-banner {
        padding: 1rem;
    }
    
    .office-hours {
        padding: 0.875rem;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1280px;
    }
}

/* Touch device optimization - remove hover effects */
@media (hover: none) {
    .contact-card:hover {
        transform: none;
    }
    
    .social-link:hover {
        transform: none;
    }
    
    .submit-btn:hover {
        transform: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .contact-card,
    .social-link,
    .submit-btn,
    .reveal-item {
        transition: none;
    }
    
    .contact-card:hover {
        transform: none;
    }
    
    .reveal-item {
        opacity: 1;
        transform: none;
    }
}