/* ============================================
   FERGUSON ROOFING — Classic & Elegant Style
   Emerald Green + Cream Palette
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #faf9f6;
    --cream-100: #f5f3ed;
    --cream-200: #ebe7dd;
    --cream-300: #e0dbd0;
    --charcoal: #1a1a1a;
    --charcoal-700: #2d2d2d;
    --charcoal-600: #3d3d3d;
    --charcoal-500: #555555;
    --charcoal-400: #6b6b6b;
    --charcoal-300: #949494;
    --white: #ffffff;
    --gold-accent: #b8935a;
    --gold-light: #d4af72;

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.2s ease;
    --transition-base: 0.35s var(--ease-out-expo);
    --transition-slow: 0.6s var(--ease-out-expo);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--cream-50);
    overflow-x: hidden;
}

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

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

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

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

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--charcoal);
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--charcoal-500);
    max-width: 600px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn--primary {
    background: var(--emerald-800);
    color: var(--white);
    border: 2px solid var(--emerald-800);
}

.btn--primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--ghost {
    background: transparent;
    color: var(--cream-100);
    border: 2px solid rgba(250, 249, 246, 0.4);
}

.btn--ghost:hover {
    background: rgba(250, 249, 246, 0.1);
    border-color: rgba(250, 249, 246, 0.7);
    color: var(--white);
}

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 0.95rem;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.site-header.scrolled .logo-icon,
.site-header.scrolled .logo-text {
    color: var(--emerald-900);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-icon {
    color: var(--cream-100);
    transition: color var(--transition-base);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--cream-100);
    letter-spacing: -0.01em;
    transition: color var(--transition-base);
}

.logo-dot {
    color: var(--gold-accent);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(250, 249, 246, 0.8);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold-accent);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--white);
}

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

.nav-link--cta {
    background: rgba(250, 249, 246, 0.12);
    border: 1px solid rgba(250, 249, 246, 0.25);
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    color: var(--cream-100);
    transition: all var(--transition-base);
}

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

.nav-link--cta:hover {
    background: rgba(250, 249, 246, 0.2);
    border-color: rgba(250, 249, 246, 0.5);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream-100);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--emerald-900) 0%,
        #0a3d2e 30%,
        #0d4a36 50%,
        #145a42 70%,
        var(--emerald-800) 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V2H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 860px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-accent);
    margin-bottom: 28px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--cream-100);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8;
    color: rgba(250, 249, 246, 0.7);
    max-width: 600px;
    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;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(250, 249, 246, 0.6);
}

.trust-item svg {
    color: var(--gold-accent);
    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(250, 249, 246, 0.4);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(250,249,246,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* ============================================
   SERVICES
   ============================================ */

.services {
    padding: 120px 0;
    background: var(--cream-50);
}

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

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

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    border: 1px solid var(--cream-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-700), var(--emerald-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-100);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    color: var(--emerald-700);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--emerald-800);
    color: var(--white);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.service-desc {
    font-size: 0.925rem;
    line-height: 1.75;
    color: var(--charcoal-500);
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--emerald-700);
    transition: gap var(--transition-fast);
}

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

/* ============================================
   ABOUT
   ============================================ */

.about {
    padding: 120px 0;
    background: var(--cream-100);
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--cream-100);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--emerald-800);
    border-radius: var(--radius-md);
    opacity: 0.08;
    z-index: -1;
}

.about-content {
    max-width: 520px;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--charcoal-500);
    margin-bottom: 20px;
}

.about-values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.value-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.value-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--emerald-700);
    opacity: 0.4;
    line-height: 1;
    min-width: 32px;
}

.value-item h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--charcoal);
}

.value-item p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--charcoal-400);
}

/* ============================================
   PROCESS
   ============================================ */

.process {
    padding: 120px 0;
    background: var(--emerald-900);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.process .section-header {
    position: relative;
    z-index: 1;
}

.process .section-eyebrow {
    color: var(--gold-accent);
}

.process .section-title {
    color: var(--cream-100);
}

.process .section-desc {
    color: rgba(250, 249, 246, 0.6);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: rgba(250, 249, 246, 0.15);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--emerald-700);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.6;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cream-100);
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(250, 249, 246, 0.55);
}

/* ============================================
   GALLERY
   ============================================ */

.gallery {
    padding: 120px 0;
    background: var(--cream-50);
}

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

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
}

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

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

.gallery-item--wide {
    grid-column: span 8;
}

.gallery-item:not(.gallery-item--wide) {
    grid-column: span 4;
}

.gallery-item:nth-child(2) {
    grid-row: 2;
}

.gallery-item:nth-child(3) {
    grid-row: 2;
}

.gallery-item:nth-child(4) {
    grid-row: 2;
}

/* ============================================
   CTA / CONTACT
   ============================================ */

.cta {
    padding: 120px 0;
    background: var(--cream-100);
}

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

.cta-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--charcoal-500);
    margin-bottom: 40px;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--charcoal-600);
    transition: color var(--transition-fast);
}

.cta-contact-item:hover {
    color: var(--emerald-700);
}

.cta-contact-item svg {
    color: var(--emerald-700);
    flex-shrink: 0;
}

.cta-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--cream-200);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal-500);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--cream-50);
    border: 1.5px solid var(--cream-300);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--charcoal-300);
}

.form-input:focus {
    border-color: var(--emerald-600);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-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='%236b6b6b' stroke-width='2.5' 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: 44px;
    cursor: pointer;
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200, #a7f3d0);
    border-radius: var(--radius-sm);
    color: var(--emerald-800);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-success svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--charcoal);
    padding: 80px 0 0;
    color: rgba(250, 249, 246, 0.6);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(250, 249, 246, 0.08);
}

.footer-brand .logo-icon {
    color: var(--cream-200);
}

.footer-brand .logo-text {
    color: var(--cream-100);
}

.footer-tagline {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
    color: rgba(250, 249, 246, 0.4);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250, 249, 246, 0.35);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    color: rgba(250, 249, 246, 0.6);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-contact span {
    font-size: 0.9rem;
    color: rgba(250, 249, 246, 0.5);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    font-size: 0.8rem;
    color: rgba(250, 249, 246, 0.3);
}

/* ============================================
   ANIMATIONS
   ============================================ */

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger children */
.services-grid [data-animate],
.gallery-grid [data-animate],
.process-steps [data-animate] {
    transition-delay: calc(var(--i, 0) * 0.1s);
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */

.nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(6, 78, 59, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.nav-mobile-overlay.is-open {
    display: flex;
}

.nav-mobile-overlay .nav-link {
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--cream-100);
}

.nav-mobile-overlay .nav-link::after {
    display: none;
}

.nav-mobile-overlay .nav-link--cta {
    font-size: 1.1rem;
    margin-top: 12px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

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

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

    .about-grid {
        gap: 60px;
    }

    .gallery-item--wide {
        grid-column: span 12;
    }

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

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4) {
        grid-row: auto;
    }

    .cta-inner {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-inner {
        padding: 100px 24px 80px;
    }

    .hero-headline {
        font-size: clamp(1.8rem, 7vw, 2.75rem);
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

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

    .hero-trust {
        gap: 20px;
    }

    .services {
        padding: 80px 0;
    }

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

    .about {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-img-secondary {
        right: -16px;
        bottom: -24px;
    }

    .process {
        padding: 80px 0;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery {
        padding: 80px 0;
    }

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

    .gallery-item--wide,
    .gallery-item:not(.gallery-item--wide) {
        grid-column: span 1;
    }

    .gallery-item {
        min-height: 240px;
    }

    .gallery-item img {
        height: 100%;
    }

    .cta {
        padding: 80px 0;
    }

    .cta-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cta-form-wrap {
        padding: 28px;
    }

    .site-footer {
        padding: 60px 0 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 40px;
    }

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

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

    .hero-inner {
        padding: 90px 16px 70px;
    }

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

    .service-card {
        padding: 28px 24px;
    }

    .cta-form-wrap {
        padding: 20px;
    }
}
