/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background-color: #1a1a1a;
    --text-color: #fff;
    --footer-bg: #2D2D2D;
}

body {
    min-height: 100vh;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

.page-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: transparent;
    overflow-y: auto;
}

/* Home page specific - no scroll */
.page-wrapper.home-page {
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

/* Nav Elements */
.nav-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    pointer-events: none;
}

.nav-elements .logo-link,
.nav-elements .menu-button,
.nav-elements .menu-panel {
    pointer-events: auto;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: clamp(0.5rem, 1vh, 1rem) 0;
    z-index: 101;
}

.logo {
    height: clamp(3.5rem, 10vh, 6rem);
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

/* Override for pages with scrollable class (about page) */
.page-wrapper.scrollable .logo {
    filter: brightness(0) invert(1);
}

/* About page specific override */
.page-wrapper.about-page .logo {
    filter: none;
}

/* Menu toggle and hamburger */
.menu-toggle {
    display: none;
}

.hamburger-menu {
    position: fixed;
    top: 40px;
    right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 25px;
    background: none;
    border: none;
    padding: 0;
    z-index: 1001;
}

.bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Menu Panel */
.menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(400px, 100vw);
    height: 100vh;
    height: 100dvh;
    background-color: #000;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    padding-top: 200px;
    transform: translateX(100%);
}

.menu-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.menu-panel ul li {
    margin: 20px 0;
    padding-left: 60px;
}

.menu-link {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    padding-left: 0;
    font-family: 'Montserrat', sans-serif;
}

.menu-link:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: translateX(20px);
}

.menu-link::after {
    display: none;
}

.menu-toggle:checked ~ .menu-panel {
    transform: translateX(0);
}

/* Menu button: lives inside the fixed .nav-elements flex row so it stays vertically
   aligned with the logo (no more 'logo-lower-than-hamburger' offset). */
.menu-button {
    position: relative;
    z-index: 1001;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 12px;
}

.menu-button .bar {
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}

/* Override for pages with scrollable class (pricing page) */
.page-wrapper.scrollable .menu-button .bar {
    background-color: #fff;
}

/* About page specific override */
.page-wrapper.about-page .menu-button .bar {
    background-color: #000;
}

.menu-toggle:checked ~ .menu-button .bar {
    background-color: #fff;
}

.menu-toggle:checked ~ .menu-button .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle:checked ~ .menu-button .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked ~ .menu-button .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Footer */
.minimal-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--footer-bg);
    padding: 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
    width: 100%;
    padding: 0 2rem;
}

.footer-left {
    display: flex;
    align-items: center;
    justify-self: start;
    grid-column: 1;
}

.footer-center {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.footer-right {
    display: flex;
    justify-self: end;
    align-items: center;
    margin-left: auto;
    grid-column: 3;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.minimal-footer .social-icon {
    display: flex;
    margin-left: 0;
}

.phone-number {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.phone-icon {
    width: 1.2rem;
    height: 1.2rem;
}

.social-icon img {
    width: 1.2rem;
    height: 1.2rem;
    transition: opacity 0.3s ease;
}

.social-icon:hover img {
    opacity: 0.8;
}

.copyright {
    color: #fff;
    font-size: 0.9rem;
    margin: 0;
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    /* Compact two-row layout: row 1 = phone (left) + socials (right),
       row 2 = full-width centered copyright. Prevents the 3-column squeeze
       that caused the phone number to wrap and the copyright to overflow. */
    .minimal-footer {
        padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom));
    }

    .minimal-footer .footer-content {
        grid-template-columns: auto auto;
        grid-template-areas:
            "phone social"
            "copyright copyright";
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem 1rem;
        padding: 0 1.25rem;
    }

    .minimal-footer .footer-left {
        grid-area: phone;
        grid-column: auto;
        justify-self: start;
    }

    .minimal-footer .footer-center {
        grid-area: social;
        position: static;
        transform: none;
        justify-self: end;
    }

    .minimal-footer .footer-right {
        grid-area: copyright;
        grid-column: auto;
        justify-self: center;
        margin: 0;
    }

    .phone-number {
        font-size: 0.85rem;
        gap: 0.4rem;
    }

    .copyright {
        text-align: center;
        white-space: normal;
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    .text-container {
        padding: 0 15px;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .social-icon {
        margin-left: 1.5rem;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 768px) {
    .text-container {
        padding: 0 10px;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .social-icon {
        margin-left: 1.5rem;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 480px) {
    .text-container {
        padding: 0 5px;
    }

    .footer-content {
        padding: 0 0.8rem;
    }

    .social-icon {
        margin-left: 1rem;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }

    .phone-number, .footer-center p {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .pricing-section {
        padding: 3rem 1rem;
    }

    .pricing-section h1 {
        font-size: 3rem;
    }

    .pricing-card {
        width: 100%;
        max-width: 400px;
        padding: 2rem;
    }

    .faq-section {
        padding: 4rem 1rem;
    }

    .faq-section h2 {
        font-size: 2.5rem;
    }
}

@media (hover: hover) {
    .arc-container:hover,
    .diz-container:hover {
        transform: translateX(0);
    }

    .arc-container:hover .word,
    .diz-container:hover .word {
        opacity: 0.8;
    }

    .arc-container:hover .subtitle,
    .diz-container:hover .subtitle {
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Canvas positioning */
#background-canvas,
#c,
#blob-canvas,
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Pricing Section Styles */
.pricing-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--text-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-top: 80px;
    height: auto;
}

.pricing-section h1 {
    font-size: 4rem;
    margin-bottom: 4rem;
    text-shadow: 
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff,
        0 0 10px rgba(255, 255, 255, 0.8);
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    width: 100%;
}

.pricing-card {
    flex: 0 1 350px;
    max-width: 350px;
    height: auto;
    background: transparent;
    backdrop-filter: blur(10px);
    border: 2px solid #000;
    border-radius: 20px;
    padding: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 255, 255, 0.1),
        0 0 30px rgba(255, 255, 255, 0.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2),
        0 0 50px rgba(255, 255, 255, 0.1);
}

.pricing-card h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 20px rgba(255, 255, 255, 0.5);
}

.pricing-card .price {
    font-size: 3.5rem;
    font-weight: bold;
    margin: 1.5rem 0;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 0 20px rgba(255, 255, 255, 0.5);
}

.pricing-card li {
    margin: 1rem 0;
    font-size: 1.3rem;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.pricing-card li:hover {
    transform: translateX(10px);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: transparent;
    color: var(--text-color);
    text-decoration: none;
    border: 2px solid #000;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-top: 2rem;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.1),
        0 0 10px rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
    background: var(--text-color);
    color: var(--background-color);
    transform: scale(1.05);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
}

/* FAQ Section Styles */
.faq-section {
    width: 100%;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--text-color);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid #fff;
}

.faq-item:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

.faq-item.active {
    box-shadow: none;
}

.faq-question {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 300px;
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    .text-container {
        padding: 0 15px;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .social-icon {
        margin-left: 1.5rem;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 768px) {
    .text-container {
        padding: 0 10px;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .social-icon {
        margin-left: 1.5rem;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 480px) {
    .text-container {
        padding: 0 5px;
    }

    .footer-content {
        padding: 0 0.8rem;
    }

    .social-icon {
        margin-left: 1rem;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }

    .phone-number, .footer-center p {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .pricing-section {
        padding: 3rem 1rem;
    }

    .pricing-section h1 {
        font-size: 3rem;
    }

    .pricing-card {
        width: 100%;
        max-width: 400px;
        padding: 2rem;
    }

    .faq-section {
        padding: 4rem 1rem;
    }

    .faq-section h2 {
        font-size: 2.5rem;
    }
}

@media (hover: hover) {
    .arc-container:hover,
    .diz-container:hover {
        transform: translateX(0);
    }

    .arc-container:hover .word,
    .diz-container:hover .word {
        opacity: 0.8;
    }

    .arc-container:hover .subtitle,
    .diz-container:hover .subtitle {
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Canvas positioning */
#background-canvas,
#c,
#blob-canvas,
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Pricing Section Styles */
.pricing-main {
    background-color: #1a1a1a;
    min-height: 100vh;
    padding: 40px 60px;
    color: white;
    max-width: 1400px;
    margin: 0 auto;
}

/* These rules are now handled by the default styles above */

.services-section {
    padding: 0;
    margin-bottom: 100px;
}

.section-title {
    font-size: 4em;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 60px;
    line-height: 1;
}

.section-title br {
    display: block;
}

.service-tabs {
    margin: 40px 0;
    display: flex;
    gap: 30px;
}

.tab {
    font-size: 1em;
    text-transform: uppercase;
    color: #666;
    cursor: pointer;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.tab.active {
    color: white;
    border-bottom: 1px solid white;
}

.service-description {
    max-width: 800px;
    margin-bottom: 40px;
}

.service-description p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.service-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    position: relative;
    margin-top: 20px;
}

.learn-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9em;
    margin-top: 20px;
}

/* FAQ Section */
.faq-section {
    padding: 0 0 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.faq-title {
    font-size: 3.5rem;
    margin-bottom: 60px;
    font-weight: 300;
    text-align: left;
    color: #fff;
    letter-spacing: 2px;
}

.faq-container {
    max-width: 100%;
}

.faq-item {
    border-bottom: 1px solid #333;
    padding: 20px 0;
    cursor: pointer;
}

.question {
    font-size: 1.3rem;
    position: relative;
    padding-left: 25px;
    color: white;
    font-weight: 400;
}

.question::before {
    content: '>';
    position: absolute;
    left: 0;
    transition: transform 0.3s;
    font-size: 0.9rem;
}

.faq-item.active .question::before {
    transform: rotate(90deg);
}

.answer {
    display: none;
    padding: 15px 0 0 25px;
    color: #b7b7b7;
    font-size: 1.1rem;
    line-height: 1.7;
}

.faq-item.active .answer {
    display: block;
}

@media (max-width: 768px) {
    .pricing-main {
        padding: 20px;
    }
    
    .section-title {
        font-size: 3em;
    }
    
    .service-tabs {
        flex-direction: column;
    }
}

/* Services Section Styles */
.services-section {
    padding: 50px 20px;
    background-color: #1a1a1a;
    color: white;
}

.section-title {
    font-size: 3.5em;
    font-weight: 300;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-tabs {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
}

.tab {
    font-size: 1.2em;
    cursor: pointer;
    padding-bottom: 5px;
    position: relative;
}

.tab.active {
    color: white;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
}

.service-descriptions {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-description {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.service-description.active {
    display: flex;
}

.service-description p {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 600px;
}

.service-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

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

.learn-more {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: black;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

.learn-more:hover {
    background-color: #333;
}

/* FAQ Section Styles - Duplicate removed, using main FAQ styles above */

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5em;
    }
    
    .service-tabs {
        flex-direction: column;
    }
    
    .service-image {
        height: 200px;
    }
}

/* Center Logo */
.center-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    transform: translate(20px, 20px);
}

.logo-text {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
    background: transparent;
}

.logo-group {
    position: relative;
    background: transparent;
    /* Scales with viewport so .diz-group's stagger stays visible on mobile */
    margin: clamp(8px, 3vw, 40px) 0;
}

.diz-group {
    /* Always larger than .logo-group margin-top so Diz stays visually below Arc */
    margin-top: clamp(20px, 5vw, 60px);
}

.arc, .diz {
    /* Fluid font-size: scales smoothly between 4.5rem (small phones) and 11rem (desktop) */
    font-size: clamp(4.5rem, 18vw, 11rem);
    font-weight: 400;
    line-height: 1.1;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
}

/* All offsets below use em so they scale proportionally with the fluid font-size above */
.arc {
    transform: translateY(-0.182em);
    width: 1.818em;
    padding: 0 0.091em 0 0.182em;
}

.arc span {
    display: block;
    transform: translateX(0.091em);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.arc:hover span {
    transform: translateX(-0.182em);
}

.diz {
    margin-top: 0.486em;
    width: 2em;
    padding: 0 0.17em 0 0;
    transform: translateX(-0.023em);
    position: relative;
    overflow: hidden;
    color: var(--text-color);
}

.diz::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0.318em;
    height: 100%;
    background-color: transparent;
    z-index: 1;
}

.diz span {
    display: block;
    transform: translateX(-0.045em);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding-right: 0.364em;
}

.diz:hover {
    transform: translateX(-0.014em);
}

.diz:hover span {
    transform: translateX(0.091em);
}

/* Base subtitle styles */
.subtitle {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 400;
    color: #666666;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    left: 50%;
    transform: translateX(-50%);
}

/* Arc subtitle specific */
.arc-group .subtitle {
    bottom: 1rem;
    text-align: left;
    left: 0;
    right: auto;
    transform: none;
}

/* Diz subtitle specific */
.diz-group .subtitle {
    bottom: -0.5rem;
    text-align: right;
    right: 2rem;
    left: auto;
    transform: none;
}

/* Show subtitles on hover */
.arc-group:hover .subtitle,
.diz-group:hover .subtitle {
    opacity: 1;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .subtitle {
        font-size: 1.2rem;
    }
    
    .arc-group .subtitle {
        bottom: 0.5rem;
    }
    
    .diz-group .subtitle {
        bottom: -0.3rem;
    }
}

@media screen and (max-width: 768px) {
    .center-logo {
        transform: translate(10px, 10px);
    }

    .subtitle {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .center-logo {
        transform: none;
    }

    .subtitle {
        font-size: 0.7rem;
    }
}

@media screen and (max-height: 600px) {
    .center-logo {
        transform: scale(0.8) translate(10px, 10px);
    }
    
    .diz-group {
        margin-top: 20px;
    }
    
    .subtitle {
        margin-top: 0.5rem;
    }
}
/* --- Projects controls --- */
.projects-controls {
    margin: 1.5rem 0 1rem;
  }
  .filters {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
  }
  .filter-button {
    padding: .5rem .8rem;
    border: 1px solid var(--line, #2a2a2a);
    background: var(--surface, #0f0f10);
    color: var(--text, #fff);
    border-radius: 999px;
    font: 500 0.9rem/1.2 Montserrat, system-ui, sans-serif;
    cursor: pointer;
  }
  .filter-button.is-active {
    outline: 2px solid var(--accent, #8bd3dd);
  }
  
  /* --- Projects grid --- */
  .projects-grid .grid {
    list-style: none;
    margin: 1rem 0 2rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
  .card {
    background: var(--surface, #0c0c0f);
    border: 1px solid var(--line, #2a2a2a);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .card:hover { transform: none; box-shadow: none; }
  
  .card-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .card-body { padding: 12px 14px 16px; }
  .card-title { margin: 0 0 4px; font-size: 1.15rem; }
  .card-meta {
    display: flex; align-items: center; justify-content: space-between;
    color: var(--sub, #b7b7b7); font-size: .85rem;
  }
  .pill {
    border: 1px solid var(--line, #2a2a2a);
    padding: 2px 8px;
    border-radius: 999px;
  }
  
  /* --- Image modal --- */
  .image-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,.75);
    display: none; align-items: center; justify-content: center;
    padding: 24px; z-index: 1000;
  }
  .image-modal.is-open { display: flex; }
  .modal-figure { max-width: 90vw; max-height: 85vh; }
  .modal-img { max-width: 100%; max-height: 80vh; display: block; margin: 0 auto; }
  .modal-caption { color: #ddd; font-size: .9rem; margin-top: .5rem; text-align: center; }
  .modal-close {
    position: absolute; top: 12px; right: 16px;
    font-size: 2rem; background: transparent; color: #fff;
    border: none; cursor: pointer; line-height: 1;
  }
  
  /* --- Responsive tweaks --- */
  @media (max-width: 960px){
    .projects-grid .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 640px){
    .projects-grid .grid { grid-template-columns: 1fr; }
  }

  /* CONTACT PAGE — layout */
.contact-main { padding: 40px 20px 80px; }
.contact-container { max-width: 900px; margin: 0 auto; }
.contact-container h1 { margin: 0 0 16px; }

/* Contact info */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 10px 0 24px;
}
.contact-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1px solid var(--line, #2a2a2a);
  border-radius: 12px; background: var(--surface, #0f0f10);
}
.contact-item a { color: var(--text, #fff); }

/* Form */
.contact-form { border: 1px solid var(--line, #2a2a2a); border-radius: 14px; padding: 18px; background: var(--surface, #0f0f10); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { position: relative; display: flex; flex-direction: column; gap: 6px; }

.form-group input,
.form-group textarea {
  width: 100%; padding: 14px 12px 12px;
  border: 1px solid var(--line, #2a2a2a);
  border-radius: 10px; background: #0d1017; color: var(--text, #fff);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent, #8bd3dd); }

.form-group label { font-size: .9rem; color: var(--sub, #b7b7b7); }

/* Floating label (works with placeholder=" ") */
.form-group input[placeholder=" "],
.form-group textarea[placeholder=" "] { padding-top: 20px; }
.form-group label {
  position: absolute; left: 12px; top: 10px; pointer-events: none;
  transition: transform .15s ease, font-size .15s ease, opacity .15s ease;
  background: transparent;
}
.form-group input:not(:placeholder-shown) + .field-hint,
.form-group textarea:not(:placeholder-shown) + .field-hint { opacity: 1; }
.form-group input:focus + .field-hint,
.form-group textarea:focus + .field-hint { opacity: 1; }

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  transform: translateY(-12px);
  font-size: .8rem; opacity: .85;
}

/* Hints & consent */
.field-hint { font-size: .8rem; color: var(--sub, #a7a7a7); opacity: .8; }
.form-consent { display: flex; align-items: center; gap: 8px; margin-top: 4px; }

/* Status messages */
.form-status { margin-top: 12px; min-height: 1.2em; }
.form-status.info { color: #b7c1ff; }
.form-status.success { color: #8bd3a0; }
.form-status.error { color: #ff8b8b; }

/* Honeypot */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Button */
.submit-btn {
  margin-top: 10px; padding: 12px 16px; border-radius: 10px;
  border: 1px solid var(--line, #2a2a2a);
  background: var(--muted, #161922); color: var(--text, #fff);
  cursor: pointer;
}
.submit-btn:hover { filter: brightness(1.08); }

/* Responsive */
@media (max-width: 840px) {
  .contact-info { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ABOUT PAGE STYLES */
.about-main {
    /* Horizontal padding handled by .about-container.
       Top padding is large enough to clear the fixed nav (logo + hamburger ~96px tall on phones). */
    padding: clamp(6.5rem, 14vw, 8rem) 0 2.5rem;
    background-color: #f5f5f5;
    color: #000;
}

/* Removed - handled by overrides below */

.about-container {
    max-width: 100rem;
    margin: 0 auto;
    /* Horizontal padding scales fluidly: roomy side margins on phones (min 1.5rem)
       and grows up to 3.75rem on desktop. The founder bio gets extra inner padding
       on mobile (see .founder-text rule below) so the text doesn't feel edge-pinned. */
    padding: 0 clamp(1.5rem, 6vw, 3.75rem);
}

.about-header {
    text-align: center;
    padding: clamp(1.25rem, 5vw, 2.5rem) clamp(1.5rem, 5vw, 3.75rem);
    background-color: #d3d3d3;
    margin-bottom: clamp(1.5rem, 5vw, 2.5rem);
    margin-top: clamp(1.25rem, 4vw, 2.5rem);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.about-header h1 {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 2px;
    color: #000;
}

.founder-section {
    margin-bottom: 60px;
}

.founder-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.founder-content.reverse {
    flex-direction: row-reverse;
}

.founder-text {
    flex: 1;
    color: #000;
}

.founder-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.founder-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
}

.founder-name {
    font-weight: 600;
    margin-top: 30px;
}

.founder-image {
    flex: 0 0 400px;
    min-height: 500px;
}

.founder-image-wrapper {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.founder-image-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.founder-image-wrapper img {
    max-width: 350px;
    height: auto;
    object-fit: contain;
}

.founder-image-wrapper .founder-name {
    margin-top: 15px;
    font-weight: 500;
    font-size: 0.95rem;
}

.architect-image-wrapper {
    align-items: flex-start;
    text-align: left;
}

/* The architect photo (Varant.jpg) is a wide landscape shot, while the designer
   photo (Sako.png) is portrait. Crop the architect to the same portrait ratio and
   size so the two photos visually match. object-position can be tuned to keep the
   subject framed. */
.architect-image-wrapper img {
    width: 350px;
    max-width: 100%;
    aspect-ratio: 680 / 960;
    height: auto;
    object-fit: cover;
    object-position: 72% 25%;
}

.architect-image-wrapper .image-placeholder {
    width: 350px;
    height: 400px;
    min-height: 400px;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    min-height: 500px;
    background-color: #d0d0d0;
    border: 1px solid #ccc;
}

.tagline-section {
    text-align: center;
    padding: 25px 20px;
    background-color: #000;
    color: #fff;
    margin: 60px 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.tagline-section h2 {
    font-size: clamp(1.3rem, 5vw, 2.5rem);
    font-weight: 400;
    font-style: italic;
}

.architect-cta {
    margin-top: 40px;
    padding: 20px;
    border: 1px solid #000;
    background-color: #f9f9f9;
}

.cta-text {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.cta-text a {
    color: #0066cc;
    text-decoration: underline;
}

.btn-send-request {
    padding: 15px 30px;
    background-color: #fff;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.btn-send-request:hover {
    background-color: #8bd3dd;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 211, 221, 0.3);
}

.about-footer-info {
    margin-top: 60px;
    padding: 40px 0;
}

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

.info-column h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-column p {
    line-height: 1.8;
    color: #333;
}

/* MODAL STYLES */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #8bd3dd;
}

/* Consultation Modal */
.consultation-modal-content h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
    color: #fff;
}

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

.consultation-form .form-row .form-group {
    margin-bottom: 0;
}

.consultation-form .form-row:last-of-type {
    margin-bottom: 25px;
}

.consultation-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
    position: relative;
}

.consultation-form label {
    margin-bottom: 10px;
    font-weight: 500;
    color: #e0e0e0;
    display: block;
    position: relative;
    z-index: 1;
}

.consultation-form .form-group > label:first-child {
    margin-bottom: 12px;
}

.consultation-form input,
.consultation-form textarea {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

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

.consultation-form input:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: #8bd3dd;
    background: rgba(255, 255, 255, 0.08);
}

.consultation-form input::placeholder,
.consultation-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.consultation-form input[type="file"] {
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #b7b7b7;
    width: 100%;
}

.consultation-form input[type="file"]::file-selector-button {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    margin-right: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.consultation-form input[type="file"]::file-selector-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #8bd3dd;
}

.btn-choose-file {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-choose-file:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #8bd3dd;
}

.radio-group {
    display: flex;
    gap: 25px;
    margin-top: 5px;
    padding: 10px 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #e0e0e0;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #8bd3dd;
}

.form-note {
    margin-top: 25px;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #b7b7b7;
}

.form-disclaimer {
    margin-top: 5px;
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    line-height: 1.4;
    padding: 0 10px;
}

/* Contact Modal */
.contact-modal-content h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
    color: #fff;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}

.contact-method p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
}

/* PRICING CARDS */
.pricing-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 auto;
    margin-top: 150px;
    margin-bottom: 200px;
    max-width: 1200px;
}

.pricing-card-new {
    background-color: #fff;
    border: none;
    padding: 40px 30px;
    border-radius: 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.pricing-card-new h3 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 400;
    color: #000;
    text-transform: none;
}

.price-tag {
    font-size: 2rem;
    font-weight: bold;
    margin: 20px 0;
    color: #000;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.features-list li {
    padding: 12px 0;
    border-bottom: none;
    font-size: 0.9rem;
    color: #666;
}

.features-list li:before {
    content: "";
    display: none;
}

.btn-consultation {
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-consultation:hover {
    background-color: #333;
}

/* Initial Consultation Section */
.initial-consultation-section {
    background-color: transparent;
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
    border: 1px solid #333;
}

.initial-consultation-section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    color: #fff;
}

.consultation-points {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.consultation-points li {
    padding: 12px 0;
    font-size: 1rem;
    position: relative;
    padding-left: 30px;
    color: #fff;
}

.consultation-points li:before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.5rem;
    color: #fff;
}

.btn-free-consultation {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 15px;
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-free-consultation:hover {
    background-color: #fff;
    color: #000;
}

/* Old Additional Services - REMOVED to prevent conflicts */

/* Responsive Styles */
@media (max-width: 768px) {
    .founder-content,
    .founder-content.reverse {
        flex-direction: column;
        gap: 24px;
    }

    /* Extra inner side-padding so the bio text has a clearly visible inset from the screen
       edges. Combined with the container's clamp padding this lands around 48-56px total
       from each edge on phones. */
    .founder-text {
        padding: 0 1.25rem;
    }

    .founder-image {
        flex: 0 0 auto;
        width: 100%;
        height: 300px;
    }

    .founder-image-wrapper,
    .architect-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .founder-image-wrapper img {
        max-width: min(350px, 100%);
    }

    .architect-image-wrapper .image-placeholder {
        width: min(350px, 100%);
        height: clamp(280px, 80vw, 400px);
        min-height: 0;
    }

    .founder-section {
        margin-bottom: 40px;
    }

    .tagline-section {
        margin: 40px 0;
    }

    .pricing-cards-container {
        grid-template-columns: 1fr;
    }

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

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

/* ============================================
   NEW CONTACT PAGE STYLES
   ============================================ */

.contact-main-new {
    background-color: #1a1a1a;
    min-height: 100vh;
    padding: 120px 40px 80px;
    color: white;
}

.contact-hero {
    text-align: center;
    margin-bottom: 60px;
}

.contact-hero h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #b7b7b7;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-container-new {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* Contact Info Section */
.contact-info-section {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.contact-info-section h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.info-description {
    font-size: 1.1rem;
    color: #b7b7b7;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-methods-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-method-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.method-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.method-details {
    flex: 1;
}

.method-details h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-details a {
    color: #8bd3dd;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.method-details a:hover {
    color: #fff;
}

.social-connect {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-connect h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.social-links-large {
    display: flex;
    gap: 15px;
}

.social-link-large {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-link-large:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-link-large i {
    font-size: 1.3rem;
}

/* Contact Form Section */
.contact-form-section {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.contact-form-section h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.form-intro {
    font-size: 1rem;
    color: #b7b7b7;
    margin-bottom: 35px;
}

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

.form-group-new {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group-new label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #e0e0e0;
}

.form-group-new input,
.form-group-new textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-group-new input:focus,
.form-group-new textarea:focus {
    outline: none;
    border-color: #8bd3dd;
    background: rgba(255, 255, 255, 0.08);
}

.form-group-new input::placeholder,
.form-group-new textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

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

.form-consent-new {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
}

.form-consent-new input[type="checkbox"] {
    margin-top: 5px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-consent-new label {
    font-size: 0.9rem;
    color: #b7b7b7;
    line-height: 1.5;
    cursor: pointer;
}

.submit-btn-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    background: #fff;
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn-new:hover {
    background: #8bd3dd;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 211, 221, 0.3);
}

.submit-btn-new i {
    font-size: 1rem;
}

/* CTA Section */
.contact-cta-section {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(139, 211, 221, 0.1), rgba(139, 211, 221, 0.05));
    border: 1px solid rgba(139, 211, 221, 0.2);
    border-radius: 20px;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: #b7b7b7;
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

.btn-cta-large {
    padding: 18px 45px;
    background: #fff;
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cta-large:hover {
    background: #8bd3dd;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 211, 221, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-main-new {
        padding: 100px 20px 60px;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-info-section,
    .contact-form-section {
        padding: 30px 20px;
    }
    
    .contact-info-section h2,
    .contact-form-section h2 {
        font-size: 2rem;
    }
    
    .form-row-new {
        grid-template-columns: 1fr;
    }
    
    .social-links-large {
        flex-direction: column;
    }
    
    .contact-cta-section {
        padding: 40px 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

/* ========================================
   PORTFOLIO / DESIGN PAGE STYLES
   ======================================== */

/* Design page specific overrides */
.page-wrapper.design-page {
    background-color: #fff;
}

.page-wrapper.design-page .logo {
    filter: none;
}

.page-wrapper.design-page .menu-button .bar {
    background-color: #000;
}

.page-wrapper.design-page .menu-toggle:checked ~ .menu-button .bar {
    background-color: #fff;
}

/* Main container */
.design-main {
    padding: 120px 40px 60px;
    background-color: #fff;
    color: #000;
    min-height: 100vh;
    display: block;
    align-items: flex-start;
    justify-content: flex-start;
}

.design-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 40px;
    position: relative;
    margin-bottom: 30px;
    justify-content: center;
}

.category-tab {
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    padding: 10px 0;
    color: rgba(0, 0, 0, 0.4);
    transition: color 0.3s ease;
    position: relative;
}

.category-tab.active {
    color: #000;
}

.category-tab:hover {
    color: #000;
}

.tab-underline {
    position: absolute;
    bottom: 0;
    height: 2px;
    background: #000;
    transition: left 0.4s ease, width 0.4s ease;
}

/* Content Slider */
.content-slider {
    position: relative;
    /* Keep horizontal containment for slide-in/out animations, but allow
       absolutely-positioned children (e.g. the style filter dropdown) to
       overflow vertically so they don't get clipped when the panel is short. */
    overflow-x: clip;
    overflow-y: visible;
}

.content-panel {
    display: none;
    animation: slideIn 0.4s ease;
}

.content-panel.active {
    display: block;
}

.content-panel.slide-out-left {
    animation: slideOutLeft 0.4s ease forwards;
}

.content-panel.slide-out-right {
    animation: slideOutRight 0.4s ease forwards;
}

.content-panel.slide-in-left {
    animation: slideInLeft 0.4s ease forwards;
}

.content-panel.slide-in-right {
    animation: slideInRight 0.4s ease forwards;
}

@keyframes slideOutLeft {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-100%); opacity: 0; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@keyframes slideInLeft {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.design-title {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
    color: #000;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    margin-bottom: 40px;
    flex-wrap: wrap;
    min-height: 60px;
}

/* Keep the photos toggle anchored to the right edge of the bar */
.filter-photos {
    margin-left: auto;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label {
    font-size: 0.85rem;
    color: #666;
    margin-right: 5px;
}

.filter-btn {
    padding: 8px 14px;
    border: 1px solid #ddd;
    background: transparent;
    color: #333;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0;
}

.filter-btn:hover {
    border-color: #000;
    color: #000;
}

.filter-btn.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

/* Dropdown styles */
.filter-dropdown {
    position: relative;
}

.dropdown-btn {
    padding: 8px 14px;
    border: 1px solid #ddd;
    background: transparent;
    color: #333;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    /* Fixed width so selecting a longer style (e.g. "Contemporary Scandinavian") doesn't reflow the filter bar */
    min-width: 15rem;
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 0.6rem;
    transition: transform 0.2s ease;
}

.filter-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    min-width: 230px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.filter-dropdown.open .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 10px 14px;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s ease;
}

.dropdown-content a:hover {
    background: #f5f5f5;
}

.dropdown-content a.active {
    background: #000;
    color: #fff;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 40px;
    height: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ddd;
    transition: 0.3s;
    border-radius: 20px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #000;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

/* Portfolio Grid - Masonry Style */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 80px;
}

/* Portfolio Item */
.portfolio-item {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: #fff;
}

.portfolio-item:nth-child(1) { grid-row: span 1; }
.portfolio-item:nth-child(2) { grid-row: span 1; }
.portfolio-item:nth-child(3) { grid-row: span 1; }
.portfolio-item:nth-child(4) { grid-row: span 1; }
.portfolio-item:nth-child(5) { grid-row: span 1; }
.portfolio-item:nth-child(6) { grid-row: span 1; }

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
    transition: transform 0.5s ease, filter 0.3s ease;
    /* Promote to its own GPU layer so the browser uses the GPU's high-quality
       bilinear filter for downscaling. This gives noticeably crisper thumbnails
       on Windows/Chrome which otherwise uses a faster CPU scaler. */
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Real photos badge */
.real-photos-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.7rem;
    border-radius: 3px;
    border: none;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

/* Portfolio Overlay */
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.project-name {
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0 0 8px 0;
    color: #fff;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.project-type {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.project-size {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.project-location {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Hidden items (filtered out) */
.portfolio-item.hidden {
    display: none;
}

/* Footer override for design page */
.design-footer {
    position: relative;
    background-color: #1a1a1a;
}

.design-footer .phone-number,
.design-footer .copyright {
    color: #fff;
}

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

@media (max-width: 768px) {
    .design-main {
        padding: 100px 20px 60px;
    }

    /* Tighten the category-tabs gap so 'Interior Design' / 'Architecture' don't crowd
       the viewport edges on small phones. */
    .category-tabs {
        gap: clamp(20px, 6vw, 40px);
        margin-bottom: 24px;
    }

    /* Single column with generous spacing between cards. */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        min-height: 0;
        padding: 16px 0 8px;
        margin-bottom: 28px;
    }

    .filter-group {
        flex-wrap: wrap;
    }

    /* Put the 'Number of rooms' label on its own line so the Any/2/3/4+ buttons stay
       together on one row instead of '4+' wrapping alone with empty space beside it. */
    .filter-rooms .filter-label {
        flex: 1 1 100%;
        margin-right: 0;
        margin-bottom: 2px;
    }

    /* Style dropdown spans full-width on phones for an easier tap target. */
    .filter-dropdown,
    .dropdown-btn {
        width: 100%;
    }
    .dropdown-content {
        width: 100%;
    }

    /* Anchor the real-photos toggle to the start when the bar is stacked. */
    .filter-photos {
        margin-left: 0;
    }

    .project-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .design-title {
        font-size: 0.85rem;
    }

    /* Keep filter buttons large enough to hit comfortably on small phones (~44px target). */
    .filter-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}

/* ========================================
   PROJECT DETAIL PAGE STYLES
   ======================================== */

/* Project detail page overrides */
.page-wrapper.project-detail-page {
    background-color: #fff;
}

.page-wrapper.project-detail-page .logo {
    filter: none;
}

.page-wrapper.project-detail-page .menu-button .bar {
    background-color: #000;
}

.page-wrapper.project-detail-page .menu-toggle:checked ~ .menu-button .bar {
    background-color: #fff;
}

/* Main container */
.project-main {
    padding-top: 100px;
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 80px;
    background-color: #fff;
    color: #000;
}

.project-container {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #666;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #000;
}

.breadcrumb-separator {
    color: #999;
    font-size: 1rem;
}

.breadcrumb-current {
    color: #999;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #555;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.2s ease;
    z-index: 999;
}

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

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 50px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #000;
}

/* Project Header - Matching reference layout */
.project-header {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    margin-bottom: 80px;
    align-items: start;
}

.project-info {
    padding-right: 0;
}

.project-title {
    font-size: 2.8rem;
    font-weight: 400;
    margin: 0 0 30px 0;
    color: #000;
    line-height: 1.1;
}

.project-details {
    margin-bottom: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.detail-label {
    font-size: 0.9rem;
    color: #333;
}

.detail-value {
    font-size: 0.9rem;
    color: #333;
}

.detail-location {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 30px;
    display: block;
}

.project-style {
    margin-bottom: 30px;
    padding-bottom: 0;
    border-bottom: none;
}

.project-style span {
    font-size: 0.9rem;
    color: #333;
}

.project-materials {
    margin-bottom: 30px;
}

.project-materials ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-materials li {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.7;
}

.project-services {
    padding-top: 30px;
    border-top: none;
}

.project-services p {
    font-size: 0.85rem;
    color: #666;
    font-style: normal;
}

/* Featured Image */
.project-featured-image {
    position: relative;
}

.project-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    image-rendering: auto;
}

/* Project Gallery - Hidden by default, show as scrollable row */
.project-gallery {
    display: none;
}

/* Floor Plan */
.project-floorplan {
    margin-bottom: 80px;
    text-align: center;
}

.project-floorplan h2 {
    display: none;
}

.floorplan-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Contact CTA */
.project-cta {
    text-align: center;
    padding: 60px 20px;
    background: #f8f8f8;
    margin: 0 -60px;
}

.project-cta p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
}

.project-cta .cta-button {
    display: inline-block;
    padding: 14px 40px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: background 0.2s ease;
}

.project-cta .cta-button:hover {
    background: #333;
}

/* Project Detail Responsive */
@media (max-width: 1024px) {
    .project-header {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }
    
    .project-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .project-main {
        padding: 100px 20px 40px;
    }
    
    .project-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .project-cta {
        margin: 0 -20px;
        padding: 40px 20px;
    }

    /* When the project header collapses to a single column, the absolutely-positioned
       featured image (used on desktop to match the text column's height) has no implicit
       height to fill. Restore a natural flow with a sensible aspect ratio. */
    .project-featured-image {
        position: static !important;
        height: auto !important;
        overflow: visible !important;
        aspect-ratio: 4 / 3;
    }
    .project-featured-image img {
        position: static !important;
        inset: auto !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Footer override */
.project-footer {
    position: relative;
    background-color: #1a1a1a;
}

.project-footer .phone-number,
.project-footer .copyright {
    color: #fff;
}

/* ========================================
   SERVICES PAGE STYLES
   ======================================== */

.services-page .logo {
    filter: none !important;
}

.services-page .menu-button .bar {
    background-color: #000 !important;
}

.services-main {
    padding: 120px 60px 60px !important;
    background-color: #fff !important;
    color: #000 !important;
    min-height: auto !important;
    display: block !important;
    width: 100%;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: block !important;
    position: relative;
}

.services-header {
    margin-bottom: 40px;
    width: 100%;
}

.services-subtitle {
    font-size: 0.9rem;
    color: #666;
    letter-spacing: 0.2em;
    display: block;
}

.services-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0;
}

.services-description {
    max-width: 800px;
    margin-bottom: 60px;
    width: 100%;
}

.description-box h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.description-box p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 10px;
}

/* Service Cards */
.services-cards-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin-bottom: 40px;
    width: 100%;
}

.service-card {
    background: #1a1a1a !important;
    color: #fff !important;
    overflow: hidden;
    display: block !important;
}

.service-card .card-image {
    height: 180px;
    overflow: hidden;
    width: 100%;
}

.service-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card .card-content {
    padding: 25px;
}

.service-card .card-label {
    font-size: 0.8rem;
    color: #999;
    display: block;
    margin-bottom: 10px;
}

.service-card .card-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.service-card .card-price .price-unit {
    font-size: 1rem;
    font-weight: 400;
}

.service-card .card-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 25px 0 !important;
}

.service-card .card-features li {
    font-size: 0.85rem;
    color: #ccc;
    padding: 6px 0;
    border-bottom: 1px solid #333;
}

.service-card .card-features li:last-child {
    border-bottom: none;
}

.service-card .btn-learn-more {
    width: 100%;
    padding: 12px;
    background: #333;
    color: #fff;
    border: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.service-card .btn-learn-more:hover {
    background: #555;
}

/* Consultation CTA */
.consultation-cta {
    text-align: center;
    margin: 60px 0;
    width: 100%;
}

.btn-get-consultation {
    padding: 15px 50px;
    background: transparent;
    color: #000;
    border: 2px solid #000;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-get-consultation:hover {
    background: #000;
    color: #fff;
}

.cta-note {
    font-size: 0.75rem;
    color: #999;
    margin-top: 15px;
    letter-spacing: 0.05em;
}

/* Additional Services */
.additional-services {
    margin: 60px 0;
    width: 100% !important;
    display: block !important;
}

.additional-services .section-title {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

.additional-services .service-box {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    width: 100%;
    background: #fff;
}

.additional-services .service-box-content {
    flex: 1;
    padding-right: 30px;
}

.additional-services .service-box-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
}

.additional-services .service-box-content ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.additional-services .service-box-content li {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.8;
    position: relative;
    padding-left: 15px;
}

.additional-services .service-box-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #999;
}

.additional-services .service-box-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end;
    min-width: 120px;
}

.box-price-label {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 5px;
}

.box-price-value {
    font-size: 1.2rem;
    font-weight: 600;
}

.box-price-value span {
    font-size: 0.8rem;
    font-weight: 400;
}

/* FAQ Section New */
.faq-section-new {
    margin: 60px 0;
    padding-top: 40px;
    border-top: 1px solid #eee;
    width: 100% !important;
    display: block !important;
}

.faq-section-new .faq-title-new {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.faq-section-new .faq-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px;
    width: 100%;
}

.faq-section-new .faq-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
}

.faq-section-new .faq-item-new {
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.faq-question {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.faq-answer {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background: #fff;
    max-width: 500px;
    margin: 50px auto;
    padding: 40px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.modal-close:hover {
    color: #000;
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.modal-divider {
    border: none;
    border-top: 2px solid #000;
    margin: 20px 0 30px;
}

/* Contact Modal */
.contact-modal-content {
    max-width: 450px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #000;
    transition: opacity 0.2s ease;
}

.contact-method:hover {
    opacity: 0.7;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.contact-method span {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* Consultation Form Modal */
.consultation-modal-content {
    max-width: 450px;
    background: #1a1a1a;
    color: #fff;
}

.consultation-modal-content h2 {
    color: #fff;
}

.consultation-modal-content .modal-close {
    color: #fff;
}

.consultation-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.consultation-form .form-group {
    flex: 1;
    margin-bottom: 15px;
}

.consultation-form label {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 8px;
}

.consultation-form input,
.consultation-form textarea {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.consultation-form input:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: #888;
}

.file-input-wrapper {
    position: relative;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.btn-choose-file {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-choose-file:hover {
    border-color: #888;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #ccc;
    cursor: pointer;
}

.radio-label input {
    width: auto;
}

.consultation-form .btn-send-request {
    width: 100%;
    padding: 15px;
    background: #fff;
    color: #1a1a1a;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.consultation-form .btn-send-request:hover {
    background: #ddd;
}

.form-note {
    font-size: 0.75rem;
    color: #888;
    margin-top: 15px;
}

.form-disclaimer {
    font-size: 0.7rem;
    color: #666;
    margin-top: 10px;
    line-height: 1.5;
}

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

@media (max-width: 768px) {
    .services-main {
        padding: 100px 20px 40px;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .services-cards-container {
        grid-template-columns: 1fr;
    }
    
    .service-box {
        flex-direction: column;
    }
    
    .service-box-content {
        padding-right: 0;
        margin-bottom: 15px;
    }
    
    .service-box-price {
        align-items: flex-start;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   EXPANDED FOOTER STYLES (About & Portfolio)
   ======================================== */

.expanded-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 40px 30px;
    position: relative;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.footer-about-info p {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-about-info p i {
    color: #fff;
    width: 16px;
}

.footer-about-info a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-about-info a:hover {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    color: #fff;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-cta-text {
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-cta-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    background: transparent;
}

.footer-cta-btn:hover {
    background: #fff;
    color: #1a1a1a;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #fff;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    font-size: 0.8rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-column:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .expanded-footer {
        padding: 40px 20px 20px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column:last-child {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .project-header {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .project-info {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .project-main {
        padding: 100px 20px 40px;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .project-gallery {
        grid-template-columns: 1fr;
    }
    
    .project-cta {
        margin: 0 -20px;
        padding: 40px 20px;
    }
}

/* ===========================
   Image Lightbox
   =========================== */
.lightbox-trigger {
    cursor: zoom-in;
}

body.lightbox-locked {
    overflow: hidden;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lightbox-overlay.is-open {
    display: flex;
    opacity: 1;
}

.lightbox-figure {
    margin: 0;
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    font-family: inherit;
    line-height: 1;
    padding: 0;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

.lightbox-close {
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 28px;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 64px;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-counter {
    position: absolute;
    top: 26px;
    left: 28px;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    pointer-events: none;
}

@media (max-width: 600px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 54px;
    }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close { right: 12px; top: 12px; width: 40px; height: 40px; font-size: 24px; }
    .lightbox-counter { top: 18px; left: 14px; font-size: 12px; }
}
