/* ========================================
   Aspen Contracting Inc — Stylesheet
   Burgundy + Blush · Confident Corporate
======================================== */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #5C1F2C;
    --burgundy-light: #9A3D4E;
    --blush: #E8B4B8;
    --blush-light: #F5D5D8;
    --blush-pale: #FDF0F1;
    --neutral-50: #FAFAFA;
    --neutral-100: #F5F5F5;
    --neutral-200: #EEEEEE;
    --neutral-300: #E0E0E0;
    --neutral-400: #BDBDBD;
    --neutral-500: #9E9E9E;
    --neutral-600: #757575;
    --neutral-700: #616161;
    --neutral-800: #424242;
    --neutral-900: #212121;
    --white: #FFFFFF;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(123, 45, 59, 0.08);
    --shadow-md: 0 4px 16px rgba(123, 45, 59, 0.10);
    --shadow-lg: 0 8px 32px rgba(123, 45, 59, 0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Section Shared --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burgundy);
    background: var(--blush-pale);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title--light {
    color: var(--white);
}

.section-desc,
.section-header p {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-desc {
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.btn--primary:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--burgundy);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn--light {
    background: var(--white);
    color: var(--burgundy);
    border-color: var(--white);
}

.btn--light:hover {
    background: var(--blush-light);
    border-color: var(--blush-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
    background: var(--white);
    color: var(--burgundy);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--neutral-200);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--burgundy);
}

.nav__logo-text {
    letter-spacing: -0.01em;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--burgundy);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--burgundy);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    background: var(--burgundy);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--burgundy-dark);
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--neutral-700);
}

.nav__toggle-line1,
.nav__toggle-line2,
.nav__toggle-line3 {
    transition: var(--transition);
    transform-origin: center;
}

.nav__toggle.active .nav__toggle-line1 {
    transform: translateY(6px) rotate(45deg);
}

.nav__toggle.active .nav__toggle-line2 {
    opacity: 0;
}

.nav__toggle.active .nav__toggle-line3 {
    transform: translateY(-6px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--burgundy-dark) 0%,
        var(--burgundy) 30%,
        var(--burgundy-light) 55%,
        var(--blush) 80%,
        var(--blush-light) 100%
    );
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/36866655/pexels-photo-36866655.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(92, 31, 44, 0.88) 0%,
        rgba(123, 45, 59, 0.75) 40%,
        rgba(196, 114, 127, 0.65) 70%,
        rgba(232, 180, 184, 0.60) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero__badge svg {
    opacity: 0.9;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 40px;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero__trust-item svg {
    opacity: 0.8;
    flex-shrink: 0;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--blush);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blush-pale);
    color: var(--burgundy);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-card__icon {
    background: var(--burgundy);
    color: var(--white);
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 10px;
}

.service-card__desc {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--neutral-50);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__image-wrap {
    position: relative;
}

.about__image-wrap img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--blush);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about__content {
    max-width: 520px;
}

.about__text {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 36px 0;
    padding: 28px 0;
    border-top: 1px solid var(--neutral-200);
    border-bottom: 1px solid var(--neutral-200);
}

.about__stat {
    text-align: center;
}

.about__stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 4px;
}

.about__stat-label {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    line-height: 1.4;
}

/* --- Gallery --- */
.gallery {
    padding: 100px 0;
    background: var(--white);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(92, 31, 44, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-overlay span {
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
}

.gallery__item--large {
    grid-row: span 2;
}

.gallery__item--large img {
    height: 100%;
    min-height: 400px;
}

.gallery__item--wide {
    grid-column: span 2;
}

.gallery__item--wide img {
    height: 100%;
    min-height: 250px;
}

/* --- Process --- */
.process {
    padding: 100px 0;
    background: var(--neutral-50);
}

.process__steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.process__step {
    display: flex;
    gap: 24px;
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
}

.process__step:hover {
    border-color: var(--blush);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.process__step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blush);
    line-height: 1;
    flex-shrink: 0;
    width: 56px;
}

.process__step-title {
    font-family: var(--font-heading);
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 8px;
}

.process__step-desc {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-section__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--burgundy-dark) 0%,
        var(--burgundy) 50%,
        var(--burgundy-light) 100%
    );
}

.cta-section__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.cta-section__quote {
    position: relative;
    margin-bottom: 48px;
}

.cta-section__quote-mark {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
}

.cta-section__text {
    font-family: var(--font-heading);
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 600;
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
}

.cta-section__sub {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 16px;
    margin-bottom: 40px;
}

.cta-section__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact__text {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact__detail {
    display: flex;
    gap: 16px;
}

.contact__detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blush-pale);
    color: var(--burgundy);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact__detail-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--neutral-500);
    margin-bottom: 4px;
}

.contact__detail-value {
    display: block;
    font-size: 1rem;
    color: var(--neutral-800);
    line-height: 1.6;
}

.contact__detail-link {
    font-size: 1rem;
    color: var(--burgundy);
    font-weight: 500;
    transition: var(--transition);
}

.contact__detail-link:hover {
    color: var(--burgundy-dark);
    text-decoration: underline;
}

/* --- Form --- */
.contact__form-wrap {
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--neutral-800);
    background: var(--white);
    border: 1.5px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
}

.form-input::placeholder {
    color: var(--neutral-400);
}

.form-input--select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239E9E9E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-input--textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 16px 20px;
    background: #E8F5E9;
    border: 1px solid #A5D6A7;
    border-radius: var(--radius-sm);
    color: #2E7D32;
    font-size: 0.9375rem;
    font-weight: 500;
}

.form-success svg {
    flex-shrink: 0;
    color: #4CAF50;
}

/* --- Footer --- */
.footer {
    background: var(--neutral-900);
    color: var(--white);
    padding: 64px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.footer__tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 300px;
}

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

.footer__link {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--blush);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__phone {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.footer__phone:hover {
    color: var(--blush);
}

.footer__email,
.footer__address {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer__email:hover {
    color: var(--blush);
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
}

.footer__copy {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Mobile Responsive --- */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about__inner {
        gap: 40px;
    }
    
    .about__image-wrap img {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--neutral-200);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }
    
    .nav__menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav__toggle {
        display: block;
    }
    
    .nav__link--cta {
        display: block;
        text-align: center;
    }
    
    .hero__content {
        padding: 100px 20px 60px;
    }
    
    .hero__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero__trust {
        flex-direction: column;
        gap: 12px;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .about__inner {
        grid-template-columns: 1fr;
    }
    
    .about__image-wrap {
        order: -1;
    }
    
    .about__image-wrap img {
        height: 400px;
    }
    
    .about__image-accent {
        width: 120px;
        height: 120px;
        bottom: -10px;
        right: -10px;
    }
    
    .about__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery__item--large {
        grid-row: span 1;
    }
    
    .gallery__item--large img,
    .gallery__item--wide img {
        min-height: 200px;
    }
    
    .gallery__item--wide {
        grid-column: span 1;
    }
    
    .process__steps {
        grid-template-columns: 1fr;
    }
    
    .cta-section__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-section__actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact__inner {
        grid-template-columns: 1fr;
    }
    
    .contact__form-wrap {
        padding: 24px;
    }
    
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero__title {
        font-size: 1.875rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .services,
    .about,
    .gallery,
    .process,
    .contact {
        padding: 64px 0;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr;
    }
    
    .about__stats {
        grid-template-columns: 1fr;
        text-align: left;
        flex-direction: column;
        gap: 16px;
    }
    
    .about__stat {
        display: flex;
        align-items: center;
        gap: 12px;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero__scroll {
        animation: none;
    }
}
