/* =============================================================================
   SUNDROP THEME — MAIN STYLESHEET
   Replicates HOUS Luxe Woningen design
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   ----------------------------------------------------------------------------- */
:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-btn: #32373c;
    --color-dark-section: #1a1a1a;
    --color-gray-light: #f5f5f5;
    --color-gray-mid: #888888;
    --color-gray-border: #e0e0e0;
    --font-family: Arial, Helvetica, sans-serif;
    --font-weight-normal: 400;
    --font-weight-bold: 700;
    --border-radius-pill: 9999px;
    --max-width: 1200px;
    --section-padding: 80px 0;
    --container-padding: 0 32px;
    --transition: 0.2s ease;
    --header-height: 80px;
}

/* -----------------------------------------------------------------------------
   2. RESET & BASE
   ----------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-black);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

address {
    font-style: normal;
}

/* -----------------------------------------------------------------------------
   3. TYPOGRAPHY
   ----------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1rem; margin-bottom: 8px; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* -----------------------------------------------------------------------------
   4. LAYOUT UTILITIES
   ----------------------------------------------------------------------------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

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

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

.section-gray {
    background: var(--color-gray-light);
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

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

.grid-2.grid-reverse {
    direction: rtl;
}
.grid-2.grid-reverse > * {
    direction: ltr;
}

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

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

/* -----------------------------------------------------------------------------
   5. BUTTONS
   ----------------------------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius-pill);
    background: var(--color-btn);
    color: var(--color-white);
    font-family: var(--font-family);
    font-weight: var(--font-weight-bold);
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity var(--transition);
    line-height: 1;
}

.btn:hover {
    opacity: 0.82;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-black);
    opacity: 1;
}

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

/* -----------------------------------------------------------------------------
   6. SITE HEADER & NAVIGATION
   ----------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: background var(--transition), box-shadow var(--transition);
}

/* Transparent header on hero pages */
body.has-hero .site-header {
    background: transparent;
}

/* White header when scrolled or on non-hero pages */
body:not(.has-hero) .site-header,
.site-header.header--scrolled {
    background: var(--color-white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

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

/* Logo */
.site-logo {
    display: block;
    flex-shrink: 0;
}

.site-logo img {
    height: 44px;
    width: auto;
}

/* Dual logo logic */
.logo-light { display: none; }
.logo-dark  { display: block; }

body.has-hero .site-header:not(.header--scrolled) .logo-dark  { display: none; }
body.has-hero .site-header:not(.header--scrolled) .logo-light { display: block; }
body.has-hero .site-header.header--scrolled .logo-dark  { display: block; }
body.has-hero .site-header.header--scrolled .logo-light { display: none; }

/* Navigation */
.primary-nav {
    display: flex;
    align-items: center;
}

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

.nav-list li a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--color-black);
    text-decoration: none;
    transition: opacity var(--transition);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.nav-list li a:hover {
    opacity: 0.6;
    text-decoration: none;
}

/* White nav links on transparent header */
body.has-hero .site-header:not(.header--scrolled) .nav-list li a {
    color: var(--color-white);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--color-black);
    transition: all var(--transition);
}

body.has-hero .site-header:not(.header--scrolled) .nav-toggle span {
    background: var(--color-white);
}

/* Mobile nav open state */
body.nav--open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.nav--open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav--open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Offset content below fixed header */
body:not(.has-hero) .site-main,
body:not(.has-hero) main {
    padding-top: var(--header-height);
}

/* -----------------------------------------------------------------------------
   7. HERO SECTIONS
   ----------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 90vh;
    min-height: 90svh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

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

.hero-content h1 {
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* Short hero variant for inner pages */
.hero-short {
    min-height: 45vh;
    min-height: 45svh;
}

.hero-short h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

/* -----------------------------------------------------------------------------
   8. PROJECT CARDS
   ----------------------------------------------------------------------------- */
.project-card {
    position: relative;
    overflow: hidden;
    background: var(--color-black);
    border-radius: 4px;
}

.project-card a {
    display: block;
    text-decoration: none;
}

.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.9;
}

.project-card:hover img {
    transform: scale(1.04);
    opacity: 0.7;
}

.project-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
    color: var(--color-white);
}

.project-card-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--color-white);
}

.project-card-info p {
    font-size: 13px;
    opacity: 0.8;
    margin: 0;
}

.project-card-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.project-tag {
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: var(--border-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: rgba(255, 255, 255, 0.9);
}

/* -----------------------------------------------------------------------------
   9. SECTION HEADERS
   ----------------------------------------------------------------------------- */
.section-header {
    margin-bottom: 48px;
}

.section-header h2 {
    margin-bottom: 12px;
}

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

.section-header.text-center p {
    margin-left: auto;
    margin-right: auto;
}

/* -----------------------------------------------------------------------------
   10. FOOTER
   ----------------------------------------------------------------------------- */
.site-footer {
    background: var(--color-dark-section);
    color: var(--color-white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    font-weight: var(--font-weight-bold);
}

.footer-col p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-list li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-nav-list li a:hover {
    color: var(--color-white);
    text-decoration: none;
}

.footer-contact address {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-contact address a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.footer-contact address a:hover {
    color: var(--color-white);
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: bold;
    transition: all var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 13px;
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--color-white);
}

/* -----------------------------------------------------------------------------
   11. HOMEPAGE — SPECIFIC SECTIONS
   ----------------------------------------------------------------------------- */

/* About teaser */
.about-teaser .about-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 4px;
}

.about-teaser .about-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 20px;
}

.about-teaser .about-text p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 16px;
}

/* Quality statement */
.section-quality {
    border-top: 1px solid var(--color-gray-border);
}

.section-quality h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    max-width: 700px;
    margin: 0 auto 20px;
}

.section-quality p {
    max-width: 560px;
    margin: 0 auto 32px;
    color: #555;
    font-size: 1.05rem;
}

/* -----------------------------------------------------------------------------
   12. BOUWEN PAGE
   ----------------------------------------------------------------------------- */

/* Build method sections */
.build-method {
    padding: var(--section-padding);
}

.build-method .section-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 4px;
}

.build-method .section-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.build-method .section-text p {
    color: #444;
    margin-bottom: 16px;
    line-height: 1.7;
}

/* Process steps */
.werkwijze-section {
    padding: var(--section-padding);
    background: var(--color-dark-section);
    color: var(--color-white);
}

.werkwijze-section h2 {
    text-align: center;
    margin-bottom: 56px;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.process-step {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.process-step-number {
    font-size: 4rem;
    font-weight: var(--font-weight-bold);
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    min-width: 72px;
    flex-shrink: 0;
    text-align: right;
}

.process-step-content h3 {
    font-size: 1.15rem;
    color: var(--color-white);
    margin-bottom: 8px;
}

.process-step-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

/* CTA section */
.section-cta {
    padding: var(--section-padding);
    text-align: center;
    background: var(--color-gray-light);
}

.section-cta h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 16px;
}

.section-cta p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* -----------------------------------------------------------------------------
   13. PROJECTEN PAGE — FILTER
   ----------------------------------------------------------------------------- */
.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-tab {
    padding: 10px 24px;
    border-radius: var(--border-radius-pill);
    border: 2px solid var(--color-black);
    background: transparent;
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: var(--font-weight-bold);
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background var(--transition), color var(--transition);
    color: var(--color-black);
}

.filter-tab.active,
.filter-tab:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.project-grid {
    margin-bottom: 48px;
}

.no-projects-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px;
    color: var(--color-gray-mid);
    font-size: 1rem;
}

/* -----------------------------------------------------------------------------
   14. OVER PAGE
   ----------------------------------------------------------------------------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.value-card {
    padding: 32px;
    background: var(--color-gray-light);
    border-radius: 4px;
    border-top: 3px solid var(--color-black);
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
    line-height: 1.7;
}

.sister-companies {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.sister-company {
    padding: 28px;
    border: 1px solid var(--color-gray-border);
    border-radius: 4px;
}

.sister-company h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.sister-company p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

/* Over page hero image */
.over-hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: 0;
}

/* -----------------------------------------------------------------------------
   15. CONTACT PAGE
   ----------------------------------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.contact-info address {
    margin-bottom: 24px;
    line-height: 2;
    font-size: 15px;
    color: #333;
}

.contact-info address a {
    color: var(--color-black);
    text-decoration: none;
    transition: opacity var(--transition);
}

.contact-info address a:hover {
    opacity: 0.6;
    text-decoration: none;
}

.contact-hours {
    margin-bottom: 28px;
}

.contact-hours h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gray-mid);
    margin-bottom: 10px;
}

.contact-hours table {
    font-size: 14px;
    border-collapse: collapse;
}

.contact-hours td {
    padding: 3px 20px 3px 0;
    color: #333;
}

.contact-form-wrap h2 {
    font-size: 1.6rem;
    margin-bottom: 28px;
}

/* CF7 form styling */
.wpcf7-form p {
    margin-bottom: 16px;
}

.wpcf7-form label {
    display: block;
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #555;
    margin-bottom: 6px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-gray-border);
    border-radius: 4px;
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--color-black);
    background: var(--color-white);
    transition: border-color var(--transition);
    -webkit-appearance: none;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--color-black);
}

.wpcf7-form textarea {
    height: 140px;
    resize: vertical;
}

.wpcf7-form input[type="submit"] {
    padding: 14px 40px;
    border-radius: var(--border-radius-pill);
    background: var(--color-btn);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: var(--font-weight-bold);
    font-size: 15px;
    transition: opacity var(--transition);
    margin-top: 8px;
}

.wpcf7-form input[type="submit"]:hover {
    opacity: 0.82;
}

.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
    border: 1px solid #e03;
    padding: 12px 16px;
    font-size: 14px;
    color: #e03;
    border-radius: 4px;
    margin-top: 12px;
}

.wpcf7-mail-sent-ok {
    border: 1px solid #2a9d2a;
    padding: 12px 16px;
    font-size: 14px;
    color: #2a9d2a;
    border-radius: 4px;
    margin-top: 12px;
}

/* -----------------------------------------------------------------------------
   16. SINGLE PROJECT PAGE
   ----------------------------------------------------------------------------- */
.project-detail {
    padding: var(--section-padding);
}

.project-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 56px;
    align-items: start;
}

.project-details-table {
    width: 100%;
    border-collapse: collapse;
}

.project-details-table tr {
    border-bottom: 1px solid var(--color-gray-border);
}

.project-details-table tr:first-child {
    border-top: 1px solid var(--color-gray-border);
}

.project-details-table th {
    text-align: left;
    padding: 14px 16px 14px 0;
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gray-mid);
    width: 40%;
}

.project-details-table td {
    padding: 14px 0;
    font-size: 15px;
    color: var(--color-black);
    text-transform: capitalize;
}

.project-intro-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
}

.project-gallery-section {
    padding: 0 0 var(--section-padding);
}

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

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Nav between projects */
.project-nav {
    display: flex;
    justify-content: space-between;
    padding: 32px 0;
    border-top: 1px solid var(--color-gray-border);
    margin-top: 40px;
}

.project-nav a {
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--color-black);
    text-decoration: none;
    transition: opacity var(--transition);
}

.project-nav a:hover {
    opacity: 0.6;
}

/* -----------------------------------------------------------------------------
   17. GENERIC PAGE.PHP
   ----------------------------------------------------------------------------- */
.page-content {
    padding: var(--section-padding);
}

.page-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 32px;
}

/* -----------------------------------------------------------------------------
   18. RESPONSIVE
   ----------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 64px 0;
    }

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

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

    .footer-grid .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 56px 0;
        --container-padding: 0 20px;
    }

    /* Mobile nav */
    .nav-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        padding: 24px 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        display: none;
        z-index: 999;
    }

    .primary-nav.nav--visible {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        width: 100%;
    }

    .nav-list li a {
        color: var(--color-black) !important;
        padding: 12px 0;
        font-size: 15px;
        border-bottom: 1px solid var(--color-gray-border);
        width: 100%;
    }

    /* Grids */
    .grid-2,
    .grid-2.grid-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

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

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

    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    /* Project */
    .project-meta-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    /* Sister companies */
    .sister-companies {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 48px 0;
    }

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

    .hero {
        min-height: 80vh;
    }

    .hero-short {
        min-height: 40vh;
    }

    .project-card img {
        height: 220px;
    }

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