/* ============================================
   M & M Roofing, Siding & Windows — Styles
   Bold Editorial | Forest Green + Off-White
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #1a1a1a;
    background-color: #F7F5F0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.15;
    color: #1B4332;
}

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

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(247, 245, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 24px rgba(27, 67, 50, 0.08);
}

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

/* ---------- Logo ---------- */
.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-mark {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1B4332;
    letter-spacing: -0.02em;
}

.logo-wordmark {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    color: #1B4332;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 2px;
}

.logo--light .logo-mark,
.logo--light .logo-wordmark {
    color: #F7F5F0;
}

/* ---------- Nav ---------- */
.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1B4332;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #D4A843;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.nav-link:hover,
.nav-link:focus {
    opacity: 0.75;
}

.nav-link--cta {
    background: #1B4332;
    color: #F7F5F0 !important;
    padding: 10px 20px;
    border-radius: 6px;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: #2D6A4F;
    opacity: 1;
}

/* ---------- Nav Toggle ---------- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #1B4332;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Nav Overlay (Mobile) ---------- */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(247, 245, 240, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.nav-overlay-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.nav-overlay-link {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1B4332;
    transition: color 0.2s ease;
}

.nav-overlay-link:hover {
    color: #D4A843;
}

.nav-overlay-link--cta {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    background: #1B4332;
    color: #F7F5F0 !important;
    padding: 14px 32px;
    border-radius: 8px;
    margin-top: 8px;
}

.nav-overlay-link--cta:hover {
    background: #2D6A4F;
    color: #F7F5F0 !important;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #1B4332;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(45, 106, 79, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212, 168, 67, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, #143326 0%, #1B4332 40%, #234E3C 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(247, 245, 240, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 245, 240, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.eyebrow-line {
    display: block;
    width: 40px;
    height: 1.5px;
    background: #D4A843;
}

.eyebrow-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #D4A843;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-headline {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #F7F5F0;
    line-height: 1.08;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: #D4A843;
}

.hero-subhead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(247, 245, 240, 0.75);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 56px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(247, 245, 240, 0.7);
    letter-spacing: 0.04em;
}

.trust-item svg {
    color: #D4A843;
    flex-shrink: 0;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(247, 245, 240, 0.4);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn--primary {
    background: #D4A843;
    color: #1B4332;
}

.btn--primary:hover,
.btn--primary:focus {
    background: #C49A38;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(212, 168, 67, 0.3);
}

.btn--ghost {
    background: transparent;
    color: #F7F5F0;
    border: 1.5px solid rgba(247, 245, 240, 0.3);
}

.btn--ghost:hover,
.btn--ghost:focus {
    border-color: #F7F5F0;
    background: rgba(247, 245, 240, 0.08);
}

.btn--outline-light {
    background: transparent;
    color: #1B4332;
    border: 1.5px solid #1B4332;
}

.btn--outline-light:hover,
.btn--outline-light:focus {
    background: #1B4332;
    color: #F7F5F0;
}

.btn--large {
    padding: 18px 36px;
    font-size: 1rem;
}

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

/* ---------- Section Labels ---------- */
.section-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #D4A843;
    margin-bottom: 16px;
}

.section-label--light {
    color: rgba(247, 245, 240, 0.6);
}

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

.section-header--centered {
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    max-width: 600px;
}

.section-header--centered .section-subtitle {
    margin: 0 auto;
}

/* ---------- Services ---------- */
.services {
    padding: 120px 0;
    background: #F7F5F0;
}

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

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(27, 67, 50, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 67, 50, 0.12);
}

.service-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-number {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(247, 245, 240, 0.2);
    line-height: 1;
}

.service-card-body {
    padding: 32px;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1B4332;
    border-radius: 10px;
    color: #D4A843;
    margin-bottom: 20px;
}

.service-name {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 24px;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    font-size: 0.88rem;
    color: #444;
    line-height: 1.8;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #D4A843;
    border-radius: 50%;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1B4332;
    transition: gap 0.2s ease, color 0.2s ease;
}

.service-link:hover {
    gap: 10px;
    color: #D4A843;
}

.service-link svg {
    transition: transform 0.2s ease;
}

.service-link:hover svg {
    transform: translateX(2px);
}

/* ---------- Why Us ---------- */
.why-us {
    padding: 120px 0;
    background: #1B4332;
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-content .section-label {
    color: #D4A843;
}

.why-content .section-title {
    color: #F7F5F0;
}

.why-content .section-subtitle {
    color: rgba(247, 245, 240, 0.7);
    margin-bottom: 48px;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why-item {
    display: flex;
    gap: 20px;
}

.why-item-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 67, 0.15);
    border-radius: 8px;
    color: #D4A843;
    margin-top: 2px;
}

.why-item-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #F7F5F0;
    margin-bottom: 6px;
}

.why-item-desc {
    font-size: 0.9rem;
    color: rgba(247, 245, 240, 0.6);
    line-height: 1.7;
}

.why-image {
    position: relative;
}

.why-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.why-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: #D4A843;
    border-radius: 12px;
    z-index: -1;
    opacity: 0.3;
}

.why-stat-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: #F7F5F0;
    padding: 28px 32px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.why-stat-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #1B4332;
    line-height: 1;
}

.why-stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    margin-top: 6px;
    line-height: 1.4;
}

/* ---------- Work / Portfolio ---------- */
.work {
    padding: 120px 0;
    background: #F7F5F0;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 24px;
}

.work-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 67, 50, 0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.work-item:hover .work-item-overlay {
    opacity: 1;
}

.work-item-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #D4A843;
    margin-bottom: 8px;
}

.work-item-title {
    font-size: 1.3rem;
    color: #F7F5F0;
    line-height: 1.3;
}

.work-item--large {
    grid-column: 1 / 8;
    aspect-ratio: 4/3;
}

.work-item--wide {
    grid-column: 5 / 13;
    aspect-ratio: 4/3;
}

.work-item:not(.work-item--large):not(.work-item--wide) {
    grid-column: span 6;
    aspect-ratio: 1;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 120px 0;
    background: #fff;
}

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

.testimonial-card {
    background: #F7F5F0;
    padding: 40px 32px;
    border-radius: 12px;
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-quote-mark {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 5rem;
    font-weight: 800;
    color: #D4A843;
    line-height: 0.8;
    position: absolute;
    top: 20px;
    left: 28px;
    opacity: 0.4;
}

.testimonial-text {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author-initials {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1B4332;
    color: #D4A843;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-author-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1B4332;
}

.testimonial-author-location {
    font-size: 0.8rem;
    color: #777;
    margin-top: 2px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    padding: 100px 0;
    background: #1B4332;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 80% at 0% 50%, rgba(212, 168, 67, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 100% 50%, rgba(45, 106, 79, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-content {
    flex: 1;
    min-width: 280px;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #F7F5F0;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.05rem;
    color: rgba(247, 245, 240, 0.7);
    line-height: 1.7;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ---------- Contact ---------- */
.contact {
    padding: 120px 0;
    background: #F7F5F0;
}

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

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-info .section-subtitle {
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1B4332;
    border-radius: 10px;
    color: #D4A843;
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 0.95rem;
    color: #1B4332;
    line-height: 1.6;
}

.contact-detail-value a {
    transition: color 0.2s ease;
}

.contact-detail-value a:hover {
    color: #D4A843;
}

/* ---------- Contact Form ---------- */
.contact-form-wrapper {
    background: #fff;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(27, 67, 50, 0.08);
}

.contact-form-title {
    font-size: 1.6rem;
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1B4332;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #1a1a1a;
    background: #F7F5F0;
    border: 1.5px solid rgba(27, 67, 50, 0.12);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #1B4332;
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #aaa;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B4332' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

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

.form-note {
    font-size: 0.78rem;
    color: #999;
    margin-top: 16px;
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 32px 16px;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(27, 67, 50, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success-title {
    font-size: 1.4rem;
    color: #1B4332;
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ---------- Footer ---------- */
.footer {
    background: #0F2B1F;
    color: #F7F5F0;
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(247, 245, 240, 0.1);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(247, 245, 240, 0.55);
    line-height: 1.7;
    margin-top: 20px;
    max-width: 300px;
}

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

.footer-col-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #D4A843;
    margin-bottom: 20px;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a,
.footer-list li:not(:has(a)) {
    font-size: 0.9rem;
    color: rgba(247, 245, 240, 0.6);
    transition: color 0.2s ease;
    line-height: 1.5;
}

.footer-list a:hover {
    color: #F7F5F0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 0;
}

.footer-copy,
.footer-legal {
    font-size: 0.8rem;
    color: rgba(247, 245, 240, 0.35);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1B4332;
    color: #D4A843;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #2D6A4F;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        justify-self: center;
    }

    .why-layout {
        gap: 48px;
    }

    .work-item--large {
        grid-column: 1 / 7;
    }

    .work-item--wide {
        grid-column: 6 / 13;
    }

    .work-item:not(.work-item--large):not(.work-item--wide) {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 64px;
    }

    .nav-list {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-headline {
        margin-bottom: 20px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-trust {
        gap: 20px;
    }

    .services {
        padding: 80px 0;
    }

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

    .service-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .why-us {
        padding: 80px 0;
    }

    .why-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .why-image {
        order: -1;
    }

    .why-image-wrapper {
        aspect-ratio: 16/9;
    }

    .why-stat-card {
        bottom: -16px;
        right: 16px;
    }

    .work {
        padding: 80px 0;
    }

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

    .work-item--large,
    .work-item--wide,
    .work-item:not(.work-item--large):not(.work-item--wide) {
        grid-column: span 1;
        aspect-ratio: 4/3;
    }

    .work-item-overlay {
        opacity: 1;
    }

    .testimonials {
        padding: 80px 0;
    }

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

    .cta-banner {
        padding: 80px 0;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-desc {
        max-width: 100%;
    }

    .cta-actions {
        justify-content: center;
    }

    .contact {
        padding: 80px 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

    .hero-headline {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

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

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-scroll {
        animation: none;
    }

    .service-card:hover,
    .testimonial-card:hover {
        transform: none;
    }

    .service-card:hover .service-card-image img,
    .work-item:hover img {
        transform: none;
    }
}
