.smarthome {
    margin: 0;
    background-color: #EBF6FF;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
}

.smarthome .header {
    padding: 28px 0;
}

.smarthome .container-header {
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: nowrap;
}

.smarthome .page-container {
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

.smarthome .logo a {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    font-size: 24px;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.smarthome .nav {
    display: flex;
    gap: 62px;
    align-items: center;
}

.smarthome .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 62px;
    align-items: center;
}

.smarthome .nav-links a {
    text-decoration: none;
    color: #333333;
    font-size: 20px;
    font-family: "JetBrains Mono", monospace;
    font-weight: 500;
}

.smarthome .nav-links a:hover {
    color: #CA380C;
}

.smarthome .cv-button {
    text-decoration: none;
    color: #EBF6FF;
    background: #000000;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 20px;
    letter-spacing: 0.3px;
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
    margin-right: 0;
}

.smarthome .cv-button:hover {
    background: #CA380C;
}

.smarthome .project-page {
    padding: 90px 0 0;
}

.smarthome .back-home a {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #333;
    font-size: 24px;
    font-weight: 400;
}

.smarthome .back-home a:hover {
    color: #CA380C;
}

.smarthome .back-arrow {
    color: #CA380C;
}

.smarthome .project-hero {
    margin-top: 35px;
    margin-bottom: 26px;
}

.smarthome .project-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.smarthome .project-flag {
    display: inline-block;
    font-size: 50px;
    line-height: 1;
    flex: 0 0 auto;
}

.smarthome .project-title h1 {
    margin: 0;
    font-size: 52px;
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
    letter-spacing: -0.6px;
}

.smarthome .project-hero > span {
    display: inline-block;
    margin-top: 10px;
    font-size: 16px;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-weight: 500;
    opacity: 0.75;
}

.smarthome .project-mockup-container {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.smarthome .project-mockup {
    display: flex;
    align-items: center;
    margin: 50px 0;
}

.smarthome .project-mockup img {
    max-width: 100%;
    width: 100%;
    max-height: 400px;
    height: auto;
    border-radius: 30px;
    display: block;
    object-fit: contain;
}

.smarthome .project-mockup-full {
    width: 100%;
    max-height: 500px;
    height: auto;
    display: block;
    border-radius: 30px;
    object-fit: contain;
}

.smarthome .about-project {
    padding: 50px 0 40px;
}

.smarthome .about-project-container,
.smarthome .responsibilities-container,
.smarthome .challenges-container,
.smarthome .UX-research-container {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 90px;
    align-items: start;
}

.smarthome .challenges-container {
    margin-top: 40px;
}

.smarthome .about-project-left h2,
.smarthome .responsibilities-left h2,
.smarthome .challenges-left h2,
.smarthome .UX-research-left h2,
.smarthome .IA-left h2,
.smarthome .user-flow-left h2,
.smarthome .wireframes-container h2,
.smarthome .final-design-left h2 {
    margin: 0;
    font-family: "JetBrains Mono", monospace;
    font-size: 40px;
    line-height: 0.95;
    font-weight: 500;
    color: #CA380C;
    letter-spacing: -0.6px;
}

.smarthome .IA-left h2,
.smarthome .user-flow-left h2 {
    padding-bottom: 30px;
}

.smarthome .about-project-right p,
.smarthome .responsibilities-right p,
.smarthome .challenges-right p,
.smarthome .UX-research-right p,
.smarthome .IA-right p,
.smarthome .user-flow-right p,
.smarthome .final-design-text p {
    margin: 0 0 24px;
    font-size: 22px;
    line-height: 1.7;
    font-weight: 400;
}

.smarthome .about-project-info {
    display: grid;
    grid-template-columns: 2.1fr 1fr;
    column-gap: 40px;
    row-gap: 22px;
    margin: 0 0 34px;
}

.smarthome .about-project-info p {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 400;
}

.smarthome .about-project-info p span {
    color: #000000;
    opacity: 0.6;
    font-weight: 400;
    margin-right: 14px;
    font-family: "JetBrains Mono", monospace;
}

.smarthome .about-project-divider,
.smarthome .responsibilities-divider,
.smarthome .UX-research-divider,
.smarthome .IA-divider,
.smarthome .user-flow-divider,
.smarthome .wireframes-divider {
    height: 1px;
    background: rgba(0,0,0,0.55);
    margin: 40px 0;
}

.smarthome .about-project-links {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.smarthome .about-project-links a {
    display: grid;
    grid-template-columns: 64px 1fr 56px;
    column-gap: 24px;
    align-items: center;
    text-decoration: none;
    color: #000000;
}

.smarthome .about-project-links a > :first-child {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
}

.smarthome .about-project-links a > img:first-child {
    width: 44px;
    height: 44px;
    display: block;
    object-fit: contain;
}

.smarthome .about-project-links a > span:first-child {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    line-height: 1;
    font-size: 26px;
}

.smarthome .about-project-links a span:nth-child(2) {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.smarthome .about-project-links a:hover span:nth-child(2) {
    color: #CA380C;
}

.smarthome .about-project-links a span:last-child {
    width: 35px;
    height: 35px;
    border-radius: 15px;
    background: #000;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
}

.smarthome .about-project-links a:hover span:last-child {
    background: #CA380C;
}

.smarthome .responsibilities-mockups {
    width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
}

.smarthome .responsibilities-mockups img {
    width: 100%;
    max-height: 400px;
    height: auto;
    display: block;
    object-fit: contain;
}

.smarthome .IA-container,
.smarthome .user-flow-container,
.smarthome .final-design-container {
    display: block;
    padding-top: 10px;
}

.smarthome .IA-image,
.smarthome .user-flow-image {
    display: flex;
    justify-content: center;
}

.smarthome .IA-image img,
.smarthome .user-flow-image img {
    width: min(100%, 980px);
    height: auto;
    display: block;
}

.smarthome .wireframes-box.wireframes-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0;
}

.smarthome .wireframes-box.two-column-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0;
}

.smarthome .wireframes-box.two-column-images img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

.smarthome .wireframes-box.wireframes-stack img {
    width: 100%;
    max-height: 400px;
    height: auto;
    display: block;
    object-fit: contain;
}

.smarthome .final-design-card {
    display: flex;
    flex-direction: column;
    gap: 31px;
    padding: 0;
    margin-top: 30px;
}

.smarthome .final-design-card img {
    max-width: 100%;
    max-height: 400px;
    height: auto;
    width: 100%;
    object-fit: contain;
    display: block;
}

.smarthome .gallery-section {
    padding: 80px 0;
    width: 100%;
}

.smarthome .gallery-box1 {
    background: rgba(0,0,0,0.08);
    border-radius: 32px;
    padding: 60px 80px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
}

.smarthome .gallery-box1 img {
    height: 400px;
    width: auto;
    flex: 0 0 auto;
    display: block;
    object-fit: contain;
}

.smarthome .gallery-box2 {
    width: 1240px;
    margin: 30px auto 0;
    padding: 0;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.smarthome .gallery-box2 img {
    width: 100%;
    max-height: 400px;
    height: auto;
    object-fit: contain;
    display: block;
}

.smarthome .grey-card {
    background: rgba(0,0,0,0.08) !important;
    padding: 40px !important;
    border-radius: 32px !important;
}

.smarthome .mobile-block {
    width: 100%;
    margin: 50px 0;
}

.smarthome .mobile-mockups {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.smarthome .mobile-mockups img {
    height: 500px;
    width: auto;
    flex: 0 0 auto;
    display: block;
    object-fit: contain;
}
.smarthome .final-design-card.two-column-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
    align-items: start;
}

.smarthome .final-design-card.two-column-images img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}
.smarthome .three-column-images {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
    justify-items: center;
    margin: 50px 0;
}

.smarthome .three-column-images img {
    width: 100%;
    max-width: 320px;
    height: auto;
    max-height: none !important;
    display: block;
    object-fit: contain;
    border-radius: 24px;
}
.smarthome .project-mockup-container.three-column-images {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
    justify-items: center;
    margin: 60px 0;
}

.smarthome .project-mockup-container.three-column-images img {
    width: 100%;
    max-width: 320px;
    height: auto;
    max-height: none !important;
    object-fit: contain;
    border-radius: 24px;
}
.contact {
    padding: 100px 0 40px;
}

.container-contact {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

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

.contact-left h3 {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-size: 72px;
    line-height: 0.95;
    font-weight: 700;
    color: #333;
}

.contact-right {
    display: flex;
    justify-content: flex-start;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-links a {
    font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #CA380C;
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 8px;
}

.contact-links a:hover {
    opacity: 0.8;
}

.footer {
    margin-top: 130px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-size: 24px;
    opacity: 0.9;
}

.footer a {
    font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: #333;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
}

@media (max-width: 900px) {
    .smarthome .project-mockup-container.three-column-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .smarthome .project-mockup-container.three-column-images {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .smarthome .three-column-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .smarthome .three-column-images {
        grid-template-columns: 1fr;
    }

    .smarthome .three-column-images img {
        max-width: 280px;
    }
}

@media (max-width: 1024px) {
    .smarthome .page-container,
    .smarthome .container-header {
        padding-left: 24px;
        padding-right: 24px;
    }

    .smarthome .container-header {
        gap: 24px;
    }

    .smarthome .logo a {
        font-size: 20px;
    }

    .smarthome .nav,
    .smarthome .nav-links {
        gap: 28px;
    }

    .smarthome .nav-links a {
        font-size: 16px;
    }

    .smarthome .cv-button {
        font-size: 16px;
        padding: 10px 18px;
    }

    .smarthome .project-title h1,
    .smarthome .project-flag {
        font-size: 44px;
    }

    .smarthome .about-project-container,
    .smarthome .responsibilities-container,
    .smarthome .challenges-container,
    .smarthome .UX-research-container {
        grid-template-columns: 320px 1fr;
        gap: 50px;
    }

    .smarthome .about-project-left h2,
    .smarthome .responsibilities-left h2,
    .smarthome .challenges-left h2,
    .smarthome .UX-research-left h2 {
        font-size: 36px;
    }

    .smarthome .about-project-right p,
    .smarthome .responsibilities-right p,
    .smarthome .challenges-right p,
    .smarthome .UX-research-right p,
    .smarthome .IA-right p,
    .smarthome .user-flow-right p,
    .smarthome .final-design-text p {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .smarthome .page-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .smarthome .container-header {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 14px;
    }

    .smarthome .logo a {
        font-size: 20px;
    }

    .smarthome .nav {
        width: 100%;
        justify-content: space-between;
        gap: 14px;
    }

    .smarthome .nav-links {
        gap: 18px;
        flex-wrap: wrap;
    }

    .smarthome .project-page {
        padding-top: 60px;
    }

    .smarthome .back-home a {
        font-size: 18px;
        gap: 12px;
    }

    .smarthome .cv-button {
        font-size: 16px;
        padding: 10px 18px;
    }

    .smarthome .project-title h1,
    .smarthome .project-flag {
        font-size: 38px;
    }

    .smarthome .about-project-container,
    .smarthome .responsibilities-container,
    .smarthome .challenges-container,
    .smarthome .UX-research-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .smarthome .about-project-left h2,
    .smarthome .responsibilities-left h2,
    .smarthome .challenges-left h2,
    .smarthome .UX-research-left h2,
    .smarthome .IA-left h2,
    .smarthome .user-flow-left h2,
    .smarthome .wireframes-container h2,
    .smarthome .final-design-left h2 {
        font-size: 34px;
        line-height: 1.05;
    }

    .smarthome .about-project-right p,
    .smarthome .responsibilities-right p,
    .smarthome .challenges-right p,
    .smarthome .UX-research-right p,
    .smarthome .IA-right p,
    .smarthome .user-flow-right p,
    .smarthome .final-design-text p {
        font-size: 18px;
        line-height: 1.7;
    }

    .smarthome .about-project-info {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .smarthome .about-project-info p {
        font-size: 18px;
    }

    .smarthome .about-project-links a {
        grid-template-columns: 44px 1fr 44px;
        column-gap: 14px;
    }

    .smarthome .about-project-links a span:nth-child(2) {
        font-size: 20px;
    }

    .smarthome .gallery-box1,
    .smarthome .gallery-box2 {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 24px;
    }

    .smarthome .gallery-box1 img {
        height: auto;
        width: 100%;
        max-width: 420px;
    }

    .smarthome .gallery-box2 img {
        max-width: 520px;
    }
    .smarthome .final-design-card.two-column-images {
        grid-template-columns: 1fr;
    }

    .smarthome .wireframes-box.two-column-images {
        grid-template-columns: 1fr;
    }

.smarthome .three-column-images {
        grid-template-columns: 1fr;
    }

.smarthome .three-column-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0;
}

.smarthome .three-column-images img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    object-fit: contain;
}

    .smarthome .project-mockup img {
        height: auto;
        max-height: 320px;
        object-fit: contain;
    }

    .smarthome .project-mockup-full {
        height: auto;
        max-height: 320px;
        object-fit: contain;
    }

    .smarthome .responsibilities-mockups img {
        height: auto;
        max-height: 320px;
        object-fit: contain;
    }

    .smarthome .gallery-box1 img {
        height: auto;
        max-height: 320px;
        object-fit: contain;
    }

    .smarthome .gallery-box2 img {
        height: auto;
        max-height: 320px;
        object-fit: contain;
    }

    .smarthome .final-design-card img {
        height: auto;
        max-height: 320px;
        object-fit: contain;
    }

    .smarthome .wireframes-box img {
        height: auto;
        max-height: 320px;
        object-fit: contain;
    }
}

@media (max-width: 390px) {
    .smarthome .project-mockup img {
        height: 320px;
        object-fit: contain;
    }

    .smarthome .project-mockup-full {
        height: 320px;
        object-fit: contain;
    }

    .smarthome .responsibilities-mockups img {
        height: 320px;
        object-fit: contain;
    }

    .smarthome .gallery-box1 img {
        height: 320px;
        object-fit: contain;
    }

    .smarthome .gallery-box2 img {
        height: 320px;
        object-fit: contain;
    }

    .smarthome .final-design-card img {
        height: 320px;
        object-fit: contain;
    }

    .smarthome .wireframes-box img {
        height: 320px;
        object-fit: contain;
    }

    .smarthome .mobile-mockups img {
        height: auto;
        max-height: 320px;
        object-fit: contain;
    }
}

@media (max-width: 390px) {
    .smarthome .project-mockup img {
        height: 320px;
        object-fit: contain;
    }

    .smarthome .project-mockup-full {
        height: 320px;
        object-fit: contain;
    }

    .smarthome .responsibilities-mockups img {
        height: 320px;
        object-fit: contain;
    }

    .smarthome .gallery-box1 img {
        height: 320px;
        object-fit: contain;
    }

    .smarthome .gallery-box2 img {
        height: 320px;
        object-fit: contain;
    }

    .smarthome .final-design-card img {
        height: 320px;
        object-fit: contain;
    }

    .smarthome .wireframes-box img {
        height: 320px;
        object-fit: contain;
    }

    .smarthome .mobile-mockups img {
        height: 320px;
        object-fit: contain;
    }
}