@media (min-width: 1200px) and (max-width: 1399.98px) {
    .hero-shell {
        min-height: min(570px, calc(100vh - 88px));
    }

    .hero-copy-panel,
    .hero-visual-panel {
        min-height: min(570px, calc(100vh - 88px));
    }

    .hero-copy-panel {
        padding: clamp(2.6rem, 4vw, 4.4rem) clamp(1.4rem, 2.7vw, 3.2rem);
    }

    .hero-copy-panel h1 {
        font-size: clamp(3rem, 4.15vw, 4.65rem);
    }

    .hero-visual-panel {
        padding: 3rem 3rem 3.4rem 0;
    }

    .hero-visual-main {
        width: min(70%, 650px);
        margin-right: 18%;
    }

    .hero-visual-side {
        right: 2rem;
        bottom: 3.8rem;
        width: min(22vw, 280px);
    }

    .hero-card {
        right: min(18vw, 245px);
        bottom: 4rem;
        width: max-content;
        max-width: min(32vw, 390px);
    }
}

@media (max-width: 1199.98px) {
    .site-header .container {
        max-width: 100%;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .navbar {
        min-height: 82px;
    }

    .brand-lockup img {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
    }

    .brand-lockup strong {
        font-size: 0.86rem;
    }

    .brand-lockup small {
        font-size: 0.7rem;
    }

    .nav-link {
        padding-left: 0.58rem !important;
        padding-right: 0.58rem !important;
        font-size: 0.88rem;
    }

    .navbar .btn-primary {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .application-grid,
    .preview-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-shell {
        min-height: auto;
    }

    .hero-copy-panel,
    .hero-visual-panel {
        min-height: auto;
    }

    .hero-copy-panel {
        padding: 3.8rem 2rem 3rem;
    }

    .hero-copy-panel h1 {
        font-size: clamp(2.9rem, 4.2vw, 4.05rem);
    }

    .hero-visual-panel {
        padding: 3.4rem 2rem 3.6rem 0;
    }

    .hero-visual-main {
        width: min(70%, 560px);
        margin-right: 19%;
    }

    .hero-visual-side {
        right: 1.4rem;
        bottom: 4.2rem;
        width: min(25vw, 255px);
    }

    .hero-card {
        right: min(18vw, 190px);
        bottom: 4.6rem;
        width: max-content;
        max-width: min(39vw, 360px);
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 0.7rem 0.9rem;
    }

    .hero-card strong {
        font-size: 0.9rem;
        white-space: normal;
    }

    .hero-card > span:not(.hero-card-icon) {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }

    .hero-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-benefit:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 80px;
    }

    .navbar-toggler {
        border: 1px solid var(--border-grey);
        border-radius: var(--radius-sm);
        padding: 0.55rem 0.65rem;
    }

    .mobile-menu .nav-link {
        padding: 0.9rem 0 !important;
        font-size: 1.05rem;
    }

    .hero-section {
        padding: 0;
    }

    .hero-shell {
        background:
            radial-gradient(circle at 74% 82%, rgba(245, 160, 0, 0.2), transparent 26%),
            linear-gradient(180deg, #fffaf2 0%, #ffffff 54%, #fff3df 100%);
    }

    .hero-copy-panel {
        min-height: auto;
        padding: 4rem 2.4rem 1.6rem;
    }

    .hero-visual-panel {
        width: 100%;
        min-height: auto;
        padding: 1rem 2.4rem 3rem;
    }

    .hero-visual-main {
        width: min(82%, 720px);
        margin-right: auto;
        margin-left: 0;
    }

    .hero-visual-side {
        right: 2.4rem;
        bottom: 3rem;
        width: min(30vw, 245px);
    }

    .hero-card {
        right: min(20vw, 220px);
        bottom: 4.2rem;
        width: min(50vw, 360px);
        min-width: min(44vw, 330px);
    }

    .benefit-grid,
    .feature-grid,
    .approach-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-section {
        background: linear-gradient(135deg, rgba(255, 243, 223, 0.72), #ffffff);
    }

    .process-step,
    .process-step:nth-child(2),
    .process-step:nth-child(4) {
        margin-left: 0;
    }

    .contact-mini-grid {
        grid-template-columns: 1fr;
    }

    .contact-card-wide {
        grid-column: auto;
    }

    .footer-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .rounded-media {
        min-height: 340px;
    }
}

@media (max-width: 767.98px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        font-size: 15px;
    }

    .site-header .container {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .brand-lockup {
        gap: 0.62rem;
        min-width: 0;
    }

    .brand-lockup img {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
    }

    .brand-lockup span {
        min-width: 0;
    }

    .brand-lockup strong {
        font-size: 0.92rem;
        white-space: nowrap;
    }

    .brand-lockup small {
        font-size: 0.74rem;
        white-space: nowrap;
    }

    .section-pad {
        padding: 4rem 0;
    }

    h1 {
        font-size: clamp(2.6rem, 14vw, 4rem);
    }

    h2 {
        font-size: clamp(2.25rem, 11vw, 3.25rem);
    }

    .hero-actions,
    .dark-cta .text-lg-end {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-shell {
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-copy-panel {
        padding: 3.25rem 1.5rem 1.75rem;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }

    .hero-copy-panel .hero-copy {
        max-width: 100%;
    }

    .hero-visual-panel {
        min-height: auto;
        padding: 0 1.5rem 2.4rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-visual-side {
        position: relative;
        right: auto;
        bottom: auto;
        width: 46%;
        margin: -32% 0 0 auto;
        aspect-ratio: 1 / 1;
    }

    .hero-card {
        left: 2.25rem;
        right: 2.25rem;
        bottom: 3rem;
        width: auto;
        max-width: calc(100% - 4.5rem);
        min-width: 0;
    }

    .hero-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .hero-benefit,
    .hero-benefit:nth-child(2) {
        border-right: 0;
    }

    .image-stack {
        min-height: 390px;
    }

    .image-stack img:first-child {
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .image-stack img:last-child {
        display: none;
    }

    .service-image {
        height: 240px;
    }

    .benefit-grid,
    .feature-grid,
    .approach-grid,
    .application-grid,
    .preview-gallery {
        grid-template-columns: 1fr;
    }

    .application-card,
    .application-card img,
    .gallery-tile {
        min-height: 240px;
        height: 240px;
    }

    .check-list {
        columns: 1;
    }

    .gallery-toolbar {
        justify-content: flex-start;
    }

    .filter-btn {
        flex: 1 1 auto;
    }

    .gallery-grid {
        columns: 2 160px;
    }

    .lightbox {
        padding: 1rem;
    }

    .lightbox-nav {
        top: auto;
        bottom: 1rem;
    }

    .enquiry-form {
        padding: 1.25rem;
    }

    .contact-info-panel {
        padding: 1.25rem;
    }

    .process-flow::before {
        left: 25px;
    }

    .process-step {
        grid-template-columns: auto 1fr;
        padding: 1rem;
    }

    .process-step span {
        width: 38px;
        height: 38px;
        font-size: 0.86rem;
    }

    .footer-brand img {
        width: 240px;
        height: auto;
    }
}

@media (max-width: 575.98px) {
    .offcanvas {
        --bs-offcanvas-width: min(100vw, 360px);
    }

    .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .hero-section {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding-top: 0;
    }

    .hero-shell {
        border-radius: 0;
        width: 100%;
        max-width: 100%;
    }

    .hero-copy-panel {
        padding: 2.75rem 1rem 1.5rem;
        max-width: 100%;
    }

    .hero-copy-panel h1 {
        max-width: 350px;
        font-size: clamp(2.25rem, 10.6vw, 2.85rem);
        line-height: 0.98;
    }

    .hero-copy,
    .hero-copy-panel .hero-copy {
        font-size: 0.98rem;
        max-width: 320px;
        overflow-wrap: break-word;
    }

    .eyebrow {
        gap: 0.55rem;
        font-size: 0.7rem;
        letter-spacing: 0.11em;
    }

    .eyebrow::before {
        width: 28px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        margin-top: 1.35rem;
        width: 100%;
        max-width: 350px;
    }

    .hero-visual-panel {
        min-height: auto;
        overflow: hidden;
        padding: 0 1rem 2rem;
        max-width: 390px;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        white-space: normal;
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .hero-visual-main {
        width: 100%;
        margin: 0;
        border-width: 4px;
        border-radius: 24px;
        clip-path: polygon(10% 0, 100% 0, 92% 100%, 4% 100%, 0 50%);
    }

    .hero-visual-side {
        width: 46%;
        max-width: 180px;
        margin-top: -26%;
        border-width: 4px;
        border-radius: 22px;
    }

    .hero-card {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin: -1rem 0 0;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 0.05rem 0.75rem;
        align-items: center;
        padding: 0.75rem 0.9rem;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        border-radius: 18px;
    }

    .hero-card strong {
        grid-column: 2;
        text-align: left;
        white-space: normal;
        font-size: 0.93rem;
    }

    .hero-card > span:not(.hero-card-icon) {
        grid-column: 2;
        text-align: left;
        letter-spacing: 0.08em;
        font-size: 0.68rem;
        line-height: 1.2;
    }

    .hero-card .hero-card-icon {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 38px;
        height: 38px;
        border-radius: 14px 50% 14px 50%;
        background: linear-gradient(135deg, #fff4df, #ffffff);
    }

    .hero-card .hero-card-icon::before {
        width: 19px;
        height: 19px;
        border: 2px solid var(--brand-orange);
        border-radius: 5px;
        background:
            linear-gradient(90deg, transparent 42%, var(--brand-orange) 42% 56%, transparent 56%),
            linear-gradient(180deg, transparent 42%, var(--brand-orange) 42% 56%, transparent 56%);
    }

    .hero-card .hero-card-icon::after {
        display: none;
    }

    .hero-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem 0.75rem;
        margin-top: 1.6rem;
        max-width: 350px;
    }

    .hero-benefit {
        padding: 0;
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 0.45rem;
        align-items: center;
        font-size: 0.76rem;
        line-height: 1.08;
        border-right: 0;
    }

    .hero-benefit-icon {
        width: 36px;
        height: 36px;
    }

    .hero-benefit:nth-child(1) .hero-benefit-icon {
        border-radius: 50% 50% 50% 14px;
        background: #fff7e8;
    }

    .hero-benefit:nth-child(2) .hero-benefit-icon {
        border-radius: 10px;
        background: linear-gradient(135deg, #fffaf2, #fff0d3);
        transform: rotate(0deg);
    }

    .hero-benefit:nth-child(3) .hero-benefit-icon {
        border-radius: 16px 16px 9px 9px;
        background: #fff7e8;
    }

    .hero-benefit:nth-child(4) .hero-benefit-icon {
        border-radius: 50% 14px 50% 14px;
        background: linear-gradient(135deg, #ffffff, #fff0d3);
    }

    .inner-hero {
        padding: 4rem 0 3rem;
    }

    .gallery-grid {
        columns: 1;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        white-space: normal;
    }

    .footer-cta {
        padding: 1.4rem;
    }

    .footer-cta h2 {
        font-size: 2.3rem;
    }

    .footer-brand {
        width: min(100%, 285px);
        min-height: 82px;
    }

    .footer-brand img {
        width: 235px;
    }

    .footer-contact-list {
        gap: 0.7rem;
    }

    .footer-contact-list a {
        overflow-wrap: anywhere;
    }

    .whatsapp-float {
        right: 1rem;
        bottom: 1rem;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
