

@media (max-width:1600px){

    .container{

        max-width:1400px;

    }

    .hero{

        min-height:100vh;

    }

    .hero__title{

        font-size:clamp(5rem,8vw,7.5rem);

    }

    .section{

        padding:8rem 0;

    }

}

@media (max-width:1440px){

    .container{

        max-width:1240px;

        padding-inline:3rem;

    }

    .hero{

        padding-top:8rem;

    }

    .hero__inner{

        gap:6rem;

    }

    .hero__image{

        border-radius:28px;

    }

    .page-intro{

        gap:5rem;

    }

    .grid-3{

        gap:2rem;

    }

    .grid-4{

        gap:2rem;

    }

    .section{

        padding:7rem 0;

    }

}

@media (max-width:1200px){

    .container{

        max-width:1080px;

        padding-inline:2rem;

    }

    

    .header{

        padding:.75rem 0;

    }

    .nav{

        min-height:72px;

    }

    .nav__menu{

        gap:2rem;

    }

    .nav__actions{

        gap:1rem;

    }

    

    .hero{

        min-height:auto;

        padding-top:8rem;

        padding-bottom:5rem;

    }

    .hero__inner{

        gap:5rem;

        align-items:center;

    }

    .hero__title{

        font-size:clamp(4.5rem,7vw,6.5rem);

    }

    .hero__text{

        max-width:540px;

    }

    .hero__image{

        border-radius:24px;

    }

    

    .page-intro{

        gap:4rem;

    }

    

    .section{

        padding:6rem 0;

    }

    

    .card{

        padding:2.5rem;

    }

    .service-card{

        padding:2.5rem;

    }

    

    .project-card img{

        height:460px;

    }

    

    .cta-box{

        padding:4rem;

    }

    

    .footer{

        padding-top:6rem;

    }

    .footer__grid{

        gap:3rem;

    }

}

    

@media (max-width:992px){

    

    .container{

        padding-inline:2rem;

    }

    

    .nav{

        min-height:72px;

    }

    .nav__menu{

        display:none;

    }

    .nav-toggle{

        display:flex;

    }

    .nav__actions .btn{

        display:none;

    }

    

    .hero{

        padding-top:7rem;

        padding-bottom:4rem;

    }

    .hero__inner{

        display:grid;

        grid-template-columns:1fr;

        gap:4rem;

    }

    .hero__content{

        max-width:720px;

    }

    .hero__title{

        font-size:clamp(4rem,8vw,5.5rem);

    }

    .hero__text{

        max-width:100%;

    }

    .hero__actions{

        flex-wrap:wrap;

    }

    .hero__media{

        order:2;

    }

    .hero__image{

        width:100%;

        height:auto;

    }

    

    .page-intro{

        grid-template-columns:1fr;

        gap:2rem;

    }

    

    .grid-2{

        grid-template-columns:1fr;

    }

    .grid-3{

        grid-template-columns:repeat(2,1fr);

    }

    .grid-4{

        grid-template-columns:repeat(2,1fr);

    }

    

    .service-card{

        padding:2rem;

    }

    

    .project-card img{

        height:420px;

    }

    

    .stats{

        grid-template-columns:repeat(2,1fr);

    }

    

    .cta-box{

        padding:3.5rem;

    }

    

    .footer__grid{

        grid-template-columns:repeat(2,1fr);

        gap:3rem;

    }

    .footer__bottom{

        flex-direction:column;

        gap:1rem;

        text-align:center;

    }

}

@media (max-width:768px){

    

    h1{

        font-size:clamp(3rem,10vw,4.5rem);

    }

    h2{

        font-size:clamp(2.2rem,6vw,3rem);

    }

    h3{

        font-size:1.5rem;

    }

    

    .section{

        padding:5rem 0;

    }

    

    .hero{

        text-align:center;

    }

    .hero__content{

        margin:auto;

    }

    .hero__actions{

        justify-content:center;

    }

    .hero__image{

        border-radius:20px;

    }

    

    .btn{

        width:100%;

        justify-content:center;

    }

    .hero__actions{

        flex-direction:column;

        gap:1rem;

    }

    

    .card{

        padding:2rem;

    }

    .service-card{

        padding:2rem;

    }

    

    .grid-3,

    .grid-4{

        grid-template-columns:1fr;

    }

    

    .stats{

        grid-template-columns:1fr;

    }

    .stat-card{

        text-align:center;

    }

    

    .project-card img{

        height:340px;

    }

    

    .form{

        gap:1.25rem;

    }

    

    .cookie{

        flex-direction:column;

        align-items:flex-start;

    }

    .cookie__actions{

        width:100%;

        flex-direction:column;

    }

    .cookie__actions .btn{

        width:100%;

    }

    

    .footer{

        text-align:center;

    }

    .footer__grid{

        grid-template-columns:1fr;

    }

    .footer__text{

        margin:auto;

    }

    .social{

        justify-content:center;

    }

}

@media (max-width:576px){

    

    .container{

        padding-inline:1.5rem;

    }

    

    .header{

        padding:.5rem 0;

    }

    .nav{

        min-height:64px;

    }

    .nav__logo img{

        height:36px;

    }

    

    .hero{

        padding-top:6rem;

        padding-bottom:3rem;

    }

    .hero__eyebrow{

        font-size:.72rem;

        letter-spacing:.22em;

    }

    .hero__title{

        font-size:clamp(2.8rem,13vw,4rem);

        line-height:.95;

    }

    .hero__text{

        font-size:1rem;

    }

    .hero__actions{

        width:100%;

    }

    .hero__actions .btn{

        width:100%;

    }

    .hero__image{

        border-radius:18px;

    }

    

    .section{

        padding:4rem 0;

    }

    .section-label{

        font-size:.75rem;

    }

    

    .card,
    .service-card,
    .quote-card{

        padding:1.75rem;

        border-radius:20px;

    }

    

    .cta-box{

        padding:2.5rem 2rem;

        border-radius:24px;

    }

    

    .project-card{

        border-radius:20px;

    }

    .project-card img{

        height:280px;

    }

    

    .footer{

        padding-top:4rem;

    }

}

@media (max-width:480px){

    h1{

        font-size:clamp(2.5rem,14vw,3.5rem);

    }

    h2{

        font-size:2rem;

    }

    h3{

        font-size:1.35rem;

    }

    p{

        font-size:1rem;

    }

    .container{

        padding-inline:1.25rem;

    }

    .hero{

        min-height:auto;

    }

    .hero__title{

        margin-bottom:1rem;

    }

    .hero__text{

        margin-bottom:2rem;

    }

    .btn{

        min-height:54px;

        padding:1rem 1.4rem;

    }

    .card,
    .service-card{

        padding:1.5rem;

    }

    .stat-card{

        padding:2rem;

    }

    .stat-card__value{

        font-size:3rem;

    }

    .project-card img{

        height:240px;

    }

    .accordion__header{

        padding:1.25rem 1.5rem;

    }

    .accordion__content{

        padding:0 1.5rem 1.5rem;

    }

    .input,
    .textarea{

        padding:1rem;

    }

}

@media (max-width:390px){

    .container{

        padding-inline:1rem;

    }

    .hero{

        padding-top:5.5rem;

    }

    .hero__title{

        font-size:2.3rem;

    }

    .hero__text{

        font-size:.95rem;

    }

    .section{

        padding:3.5rem 0;

    }

    .card,
    .service-card,
    .quote-card{

        padding:1.25rem;

    }

    .cta-box{

        padding:2rem 1.5rem;

    }

    .project-card img{

        height:220px;

    }

    .footer{

        padding-top:3rem;

    }

    .footer__bottom{

        font-size:.8rem;

    }

    .social{

        gap:.75rem;

    }

    .social__link{

        width:40px;

        height:40px;

    }

}

@media (max-width:992px){

    .mobile-menu{

        position:fixed;

        inset:0;

        background:#ffffff;

        display:flex;

        flex-direction:column;

        justify-content:center;

        align-items:center;

        gap:2rem;

        padding:2rem;

        z-index:999;

    }

    .mobile-menu .nav__link{

        font-size:1.5rem;

        font-weight:500;

    }

}

@media (hover:none){

    .card:hover,
    .service-card:hover,
    .project-card:hover{

        transform:none;

    }

    .project-card:hover img{

        transform:none;

    }

    .btn:hover{

        transform:none;

    }

}

@media (max-width: 1100px) {

    .header-container {
        width: min(100% - 4rem, 1080px);
    }

    .main-nav ul {
        gap: 28px;
    }

    .logo img {
        width: 160px;
    }

    .hero h1 {
        font-size: clamp(3.5rem, 7vw, 5.25rem);
    }

    .hero-image {
        width: 64%;
    }

    .service {
        gap: 3.5rem;
    }

}

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .site-header {
        position: absolute;
        padding: 18px 0;
    }

    .header-container {
        width: min(100% - 3rem, 640px);
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .logo img {
        width: 136px;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        justify-content: center;
        gap: 10px 20px;
        flex-wrap: wrap;
    }

    .main-nav a {
        font-size: .85rem;
    }

    .hero {
        display: flex;
        min-height: auto;
        padding: 142px 0 72px;
    }

    .hero-image {
        position: absolute;
        top: auto;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 44%;
        max-width: none;
        opacity: .28;
        object-position: 58% center;
    }

    .hero-overlay {
        background: linear-gradient(180deg, #fff 38%, rgba(255,255,255,.82) 72%, rgba(255,255,255,.4));
    }

    .hero-content {
        min-height: auto;
        width: min(100% - 3rem, 640px);
        padding: 0;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero .section-label {
        width: 100%;
        justify-content: center;
    }

    .hero h1 {
        max-width: 11ch;
        margin-inline: auto;
        font-size: clamp(2.8rem, 9vw, 4rem);
        line-height: .98;
    }

    .hero p {
        max-width: 34ch;
        margin-inline: auto;
        margin-bottom: 28px;
        font-size: 1.05rem;
        line-height: 1.65;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        width: min(100%, 280px);
        margin-top: 1rem;
        align-self: center;
    }

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

    .services {
        padding: 80px 0;
    }

    .section-heading {
        margin-bottom: 56px;
        text-align: center;
    }

    .section-heading p {
        margin-inline: auto;
    }

    .section-heading h2 {
        font-size: clamp(2.25rem, 8vw, 3.3rem);
    }

    .section-heading p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .service,
    .service-reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service + .service {
        margin-top: 72px;
    }

    .service-reverse .service-content {
        order: 2;
    }

    .service-reverse .service-image {
        order: 1;
    }

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

    .service-tags {
        justify-content: center;
    }

    .service-number {
        margin-bottom: 20px;
        font-size: 5.5rem;
    }

    .service h3 {
        margin-bottom: 18px;
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .service p {
        line-height: 1.7;
    }

    .service-tags {
        gap: 8px;
        margin: 24px 0 0;
    }

    .service-tags li {
        padding: .6rem .9rem;
        font-size: .82rem;
    }

    .service-image {
        border-radius: 20px;
    }

    .portfolio {
        padding: 80px 0;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .portfolio-card {
        border-radius: 16px;
    }

    .portfolio-card__overlay {
        padding: 18px;
    }

    .portfolio-card__details > p:last-child {
        font-size: .82rem;
    }

    .footer {
        padding: 64px 0 24px;
    }

    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 24px;
        margin-bottom: 48px;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }

    .footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        line-height: 1.5;
    }

}

@media (max-width: 520px) {

    .header-container,
    .hero-content,
    .container {
        width: min(100% - 2.5rem, 440px);
    }

    .main-nav ul {
        justify-content: center;
        gap: 8px 16px;
    }

    .hero {
        padding-top: 132px;
    }

    .hero h1 {
        font-size: clamp(2.55rem, 10vw, 3.4rem);
    }

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

    .portfolio-card {
        aspect-ratio: 16 / 11;
    }

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

    .footer__brand {
        grid-column: auto;
    }

}
