/*
Theme Name: Formfast
Theme URI: https://formfast.is
Author: Formfast
Description: Custom theme for Formfast - construction and renovation company
Version: 1.0.0
Text Domain: formfast
*/

/* ========================================
   CSS RESET & BASE
   ======================================== */

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

:root {
    /* Brand Colors */
    --ff-dark: #1a1a1a;
    --ff-charcoal: #2d2d2d;
    --ff-gray-900: #333333;
    --ff-gray-700: #555555;
    --ff-gray-500: #888888;
    --ff-gray-300: #cccccc;
    --ff-gray-100: #f2f2f2;
    --ff-white: #ffffff;
    --ff-accent: #c8a45a;
    --ff-accent-dark: #b08d3e;
    --ff-accent-light: #e8d5a0;

    /* Typography */
    --ff-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ff-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --ff-section-padding: 100px 0;
    --ff-container-width: 1200px;
    --ff-gap: 30px;

    /* Transitions */
    --ff-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ff-transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--ff-font-body);
    color: var(--ff-gray-900);
    background-color: var(--ff-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--ff-transition);
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--ff-dark);
}

/* ========================================
   UTILITY
   ======================================== */

.ff-container {
    width: 100%;
    max-width: var(--ff-container-width);
    margin: 0 auto;
    padding: 0 30px;
}

.ff-section {
    padding: var(--ff-section-padding);
}

.ff-section--dark {
    background-color: var(--ff-dark);
    color: var(--ff-white);
}

.ff-section--dark h2,
.ff-section--dark h3 {
    color: var(--ff-white);
}

.ff-section--gray {
    background-color: var(--ff-gray-100);
}

.ff-section-header {
    margin-bottom: 60px;
}

.ff-section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
}

.ff-section-header p {
    font-size: 1.1rem;
    color: var(--ff-gray-700);
    max-width: 600px;
}

.ff-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ff-accent);
    margin-bottom: 12px;
}

.ff-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--ff-font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: none;
    cursor: pointer;
    transition: all var(--ff-transition);
}

.ff-btn--primary {
    background-color: var(--ff-dark);
    color: var(--ff-white);
}

.ff-btn--primary:hover {
    background-color: var(--ff-charcoal);
    transform: translateY(-2px);
}

.ff-btn--outline {
    background: transparent;
    border: 1.5px solid var(--ff-dark);
    color: var(--ff-dark);
}

.ff-btn--outline:hover {
    background-color: var(--ff-dark);
    color: var(--ff-white);
}

.ff-btn--accent {
    background-color: var(--ff-accent);
    color: var(--ff-dark);
}

.ff-btn--accent:hover {
    background-color: var(--ff-accent-dark);
    transform: translateY(-2px);
}

.ff-btn--white {
    background-color: var(--ff-white);
    color: var(--ff-dark);
}

.ff-btn--white:hover {
    background-color: var(--ff-gray-100);
    transform: translateY(-2px);
}

.ff-btn svg {
    width: 16px;
    height: 16px;
    transition: transform var(--ff-transition);
}

.ff-btn:hover svg {
    transform: translateX(4px);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.ff-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--ff-transition);
}

.ff-header--scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.ff-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.ff-header__logo {
    font-family: var(--ff-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ff-white);
    transition: color var(--ff-transition);
}

.ff-header--scrolled .ff-header__logo {
    color: var(--ff-dark);
}

.ff-header__nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.ff-header__nav a {
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 4px 0;
    transition: color var(--ff-transition);
}

.ff-header__nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--ff-accent);
    transition: width var(--ff-transition);
}

.ff-header__nav a:hover,
.ff-header__nav a.current-menu-item > a,
.ff-header__nav a[aria-current="page"] {
    color: var(--ff-white);
}

.ff-header__nav a:hover::after,
.ff-header__nav a.current-menu-item > a::after,
.ff-header__nav a[aria-current="page"]::after {
    width: 100%;
}

.ff-header--scrolled .ff-header__nav a {
    color: var(--ff-gray-700);
}

.ff-header--scrolled .ff-header__nav a:hover,
.ff-header--scrolled .ff-header__nav a[aria-current="page"] {
    color: var(--ff-dark);
}

.ff-header__cta {
    padding: 10px 24px !important;
    font-size: 0.85rem !important;
    background-color: var(--ff-accent) !important;
    color: var(--ff-dark) !important;
}

.ff-header__cta:hover {
    background-color: var(--ff-accent-dark) !important;
}

/* Mobile Menu Toggle */
.ff-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.ff-menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--ff-white);
    transition: all var(--ff-transition);
}

.ff-header--scrolled .ff-menu-toggle span {
    background-color: var(--ff-dark);
}

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

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

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

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

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

.ff-hero__bg {
    position: absolute;
    inset: 0;
    background-color: var(--ff-dark);
    z-index: 0;
}

.ff-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.ff-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

.ff-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 40px;
}

.ff-hero__content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--ff-white);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.ff-hero__content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 550px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.ff-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ff-hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ff-hero__scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.ff-hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ff-accent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* ========================================
   PAGE HERO (Interior pages)
   ======================================== */

.ff-page-hero {
    padding: 180px 0 80px;
    background-color: var(--ff-dark);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.ff-page-hero--has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.ff-page-hero--has-image .ff-container {
    position: relative;
    z-index: 2;
}

.ff-page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(200, 164, 90, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.ff-page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--ff-white);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    position: relative;
}

.ff-page-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    position: relative;
}

.ff-page-hero .ff-label {
    position: relative;
}

/* ========================================
   PROJECTS GRID
   ======================================== */

.ff-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ff-project-card {
    position: relative;
    overflow: hidden;
    height: 320px;
    background-color: var(--ff-gray-100);
    cursor: pointer;
}

.ff-project-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ff-transition-slow);
}

.ff-project-card:hover img {
    transform: scale(1.05);
}

.ff-project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--ff-transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.ff-project-card:hover .ff-project-card__overlay {
    opacity: 1;
}

.ff-project-card__overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ff-white);
    margin-bottom: 4px;
}

.ff-project-card__overlay span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

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

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

.ff-service-card {
    padding: 40px;
    border: 1px solid var(--ff-gray-300);
    transition: all var(--ff-transition);
}

.ff-service-card:hover {
    border-color: var(--ff-accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.ff-service-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--ff-accent);
}

.ff-service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.ff-service-card p {
    font-size: 0.95rem;
    color: var(--ff-gray-700);
    line-height: 1.7;
}

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

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

.ff-about-split__image {
    aspect-ratio: 4/5;
    overflow: hidden;
    background-color: var(--ff-gray-100);
}

.ff-about-split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ff-about-split__content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.ff-about-split__content p {
    font-size: 1rem;
    color: var(--ff-gray-700);
    line-height: 1.8;
    margin-bottom: 16px;
}

.ff-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ff-gap);
    padding: 60px 0;
    border-top: 1px solid var(--ff-gray-300);
    margin-top: 60px;
}

.ff-stat h3 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--ff-accent);
    margin-bottom: 8px;
}

.ff-stat p {
    font-size: 0.85rem;
    color: var(--ff-gray-700);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ========================================
   CONTACT FORM
   ======================================== */

.ff-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.ff-contact-info {
    padding-top: 20px;
}

.ff-contact-info h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.ff-contact-info p {
    color: var(--ff-gray-700);
    line-height: 1.8;
    margin-bottom: 32px;
}

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

.ff-contact-detail__icon {
    width: 20px;
    height: 20px;
    color: var(--ff-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.ff-contact-detail span {
    font-size: 0.95rem;
    color: var(--ff-gray-700);
    line-height: 1.6;
}

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

.ff-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.ff-form__group label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ff-gray-900);
}

.ff-form__group input,
.ff-form__group textarea,
.ff-form__group select {
    padding: 14px 16px;
    border: 1px solid var(--ff-gray-300);
    font-family: var(--ff-font-body);
    font-size: 0.95rem;
    color: var(--ff-gray-900);
    background-color: var(--ff-white);
    transition: border-color var(--ff-transition);
    outline: none;
    -webkit-appearance: none;
}

.ff-form__group input:focus,
.ff-form__group textarea:focus,
.ff-form__group select:focus {
    border-color: var(--ff-accent);
}

.ff-form__group textarea {
    resize: vertical;
    min-height: 140px;
}

/* ========================================
   WORK REQUEST (Verkbeiðni)
   ======================================== */

.ff-request-form {
    max-width: 800px;
    margin: 0 auto;
}

.ff-request-form .ff-form__group--full {
    grid-column: 1 / -1;
}

.ff-form__file-upload {
    border: 2px dashed var(--ff-gray-300);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--ff-transition);
}

.ff-form__file-upload:hover {
    border-color: var(--ff-accent);
}

.ff-form__file-upload p {
    color: var(--ff-gray-500);
    font-size: 0.9rem;
}

.ff-form__file-upload strong {
    color: var(--ff-accent);
}

/* ========================================
   LUNDARGATA PROJECT PAGE
   ======================================== */

.ff-project-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.ff-project-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ff-project-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px 40px;
}

.ff-project-hero__overlay h1 {
    font-size: 3.5rem;
    color: var(--ff-white);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.ff-project-hero__overlay span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

.ff-project-details {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
}

.ff-project-meta {
    position: sticky;
    top: 100px;
    align-self: start;
}

.ff-project-meta__item {
    margin-bottom: 28px;
}

.ff-project-meta__item dt {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ff-gray-500);
    margin-bottom: 6px;
}

.ff-project-meta__item dd {
    font-size: 1rem;
    color: var(--ff-dark);
    font-weight: 500;
}

.ff-project-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--ff-gray-700);
}

.ff-project-body p {
    margin-bottom: 24px;
}

.ff-project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 48px 0;
}

.ff-project-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: var(--ff-gray-100);
}

/* ========================================
   TEAM
   ======================================== */

.ff-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ff-gap);
}

.ff-team-card {
    text-align: center;
}

.ff-team-card__image {
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: var(--ff-gray-100);
}

.ff-team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter var(--ff-transition);
}

.ff-team-card:hover .ff-team-card__image img {
    filter: grayscale(0%);
}

.ff-team-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.ff-team-card span {
    font-size: 0.85rem;
    color: var(--ff-gray-500);
}

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

.ff-footer {
    background-color: var(--ff-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 40px;
}

.ff-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.ff-footer__brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ff-white);
    margin-bottom: 16px;
}

.ff-footer__brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.ff-footer__col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ff-white);
    margin-bottom: 20px;
}

.ff-footer__col a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    transition: color var(--ff-transition);
}

.ff-footer__col a:hover {
    color: var(--ff-accent);
}

.ff-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.ff-footer__social {
    display: flex;
    gap: 16px;
}

.ff-footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--ff-transition);
}

.ff-footer__social a:hover {
    border-color: var(--ff-accent);
    color: var(--ff-accent);
}

/* ========================================
   CTA BANNER
   ======================================== */

.ff-cta-banner {
    background-color: var(--ff-accent);
    padding: 80px 0;
    text-align: center;
}

.ff-cta-banner h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--ff-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.ff-cta-banner p {
    font-size: 1.05rem;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 32px;
}

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

@media (max-width: 1024px) {
    .ff-hero__content h1 {
        font-size: 3rem;
    }

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

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

    .ff-about-split {
        gap: 50px;
    }

    .ff-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

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

    .ff-project-details {
        grid-template-columns: 1fr;
    }

    .ff-project-meta {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        border-bottom: 1px solid var(--ff-gray-300);
        padding-bottom: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --ff-section-padding: 70px 0;
    }

    .ff-menu-toggle {
        display: flex;
    }

    .ff-header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--ff-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right var(--ff-transition);
    }

    .ff-header__nav.active {
        right: 0;
    }

    .ff-header__nav a {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .ff-header__nav a:hover {
        color: var(--ff-white) !important;
    }

    .ff-hero__content h1 {
        font-size: 2.4rem;
    }

    .ff-hero__content p {
        font-size: 1rem;
    }

    .ff-section-header h2 {
        font-size: 2rem;
    }

    .ff-page-hero h1 {
        font-size: 2.4rem;
    }

    .ff-projects-grid {
        grid-template-columns: 1fr;
    }

    .ff-project-card {
        height: 260px;
    }

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

    .ff-about-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ff-about-split__image {
        aspect-ratio: 16/9;
    }

    .ff-contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .ff-form__row {
        grid-template-columns: 1fr;
    }

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

    .ff-footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ff-footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

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

    .ff-project-meta {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .ff-project-hero__overlay h1 {
        font-size: 2.4rem;
    }

    .ff-cta-banner h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .ff-hero__content h1 {
        font-size: 2rem;
    }

    .ff-hero__actions {
        flex-direction: column;
    }

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

    .ff-team-grid {
        grid-template-columns: 1fr;
    }

    .ff-stats {
        grid-template-columns: 1fr;
    }

    .ff-project-meta {
        grid-template-columns: 1fr;
    }
}
