/* ============================================
   GROWSYS RESPONSIVE LAYER
   Consistent 12-column grid + Bootstrap-style breakpoints
   xs: <576px | sm: ≥576px | md: ≥768px | lg: ≥992px | xl: ≥1200px
   ============================================ */

/* ---------- Global Fixes ---------- */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

img, svg, video {
    max-width: 100%;
    height: auto;
}

/* ---------- Container System ---------- */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- Fix Map Scale (was causing massive overflow) ---------- */
.mp-map,
.mp-map__inner,
.mp-map__visual,
.mp-map__svg {
    transform: none !important;
    transform-origin: initial !important;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

/* Utility Bar */
@media (max-width: 1199.98px) {
    .utility-bar .container {
        height: 40px;
    }
    .utility-right {
        gap: 16px;
    }
}

@media (max-width: 991.98px) {
    .utility-left span {
        display: none;
    }
    .utility-bar .container {
        justify-content: flex-end;
    }
    .utility-right .contact-link:first-of-type {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .utility-right .contact-link {
        display: none;
    }
    .utility-bar .container {
        justify-content: center;
    }
    .utility-right {
        gap: 8px;
    }
    .social-icons {
        gap: 4px;
    }
    .social-icons a {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
}

/* Main Nav */
@media (max-width: 1199.98px) {
    .nav-links {
        gap: 24px;
    }
    .nav-links a {
        font-size: 14px;
    }
    .cta-button {
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 991.98px) {
    .nav-links {
        display: none;
    }
    .cta-button {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .main-nav .container {
        height: 80px;
    }
    #main-header.scrolled .main-nav .container {
        height: 65px;
    }
    .logo img {
        height: 55px;
    }
}

/* Mobile Nav Panel */
@media (max-width: 991.98px) {
    .mobile-nav-panel {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
        padding-top: 100px;
        overflow-y: auto;
    }

    .mobile-nav-panel.open {
        transform: translateX(0);
    }

    body.no-scroll {
        overflow: hidden;
    }

    .mobile-nav-panel nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 24px;
        min-height: 100%;
    }

    .mobile-nav-panel ul {
        list-style: none;
        width: 100%;
        padding-bottom: 30px;
    }

    .mobile-nav-panel ul li {
        border-bottom: 1px solid #e0e0e0;
    }

    .mobile-nav-panel .mobile-link {
        color: var(--industrial-blue);
        text-decoration: none;
        font-size: 20px;
        font-weight: 600;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0;
    }

    .mobile-dropdown > a i {
        transition: transform 0.3s ease;
        font-size: 15px;
    }

    .mobile-dropdown.open > a i {
        transform: rotate(180deg);
    }

    .mobile-submenu {
        list-style: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        padding-left: 16px !important;
        padding-bottom: 0 !important;
    }

    .mobile-submenu li {
        border: none;
    }

    .mobile-submenu a {
        font-size: 16px;
        font-weight: 500;
        padding: 10px 0;
        display: block;
        color: var(--neutral-gray);
        text-decoration: none;
    }

    .cta-button-mobile {
        background: var(--brand-gradient);
        color: var(--white-color);
        padding: 14px 28px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        margin-top: 16px;
        margin-bottom: 40px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .hamburger.open .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .hamburger.open .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
@media (max-width: 1199.98px) {
    .hero-headline {
        font-size: 56px;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        height: auto;
        min-height: 500px;
        margin-top: 120px;
        padding-top: 40px;
        padding-bottom: 60px;
    }
    .hero-section .container {
        padding-top: 0;
        padding-bottom: 0;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .hero-floating-element {
        display: none;
    }
    /* Balanced overlay - visible image with readable text */
    .hero-slide .hero-overlay {
        background: linear-gradient(180deg,
            rgba(8, 11, 18, 0.78) 0%,
            rgba(8, 11, 18, 0.6) 40%,
            rgba(8, 11, 18, 0.68) 100%);
    }
    .hero-slide .hero-overlay::after {
        height: 60%;
        background: linear-gradient(to top, rgba(8, 11, 18, 0.85) 0%, transparent 100%);
    }
    .hero-slide .container {
        padding: 20px;
        text-align: center;
    }
    .hero-slide .hero-content {
        max-width: 100%;
    }
    .hero-slide .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-slide .hero-cta-group {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        margin-top: 80px;
        padding-top: 30px;
        padding-bottom: 50px;
        min-height: 400px;
        height: auto;
    }
    .hero-headline {
        font-size: 32px;
    }
    .hero-description {
        font-size: 15px;
    }
    .scroll-indicator {
        display: none;
    }
    .hero-floating-element {
        display: none;
    }
    /* Darker overlay for mobile - text readable */
    .hero-slide .hero-overlay {
        background: linear-gradient(180deg,
            rgba(8, 11, 18, 0.75) 0%,
            rgba(8, 11, 18, 0.55) 40%,
            rgba(8, 11, 18, 0.65) 100%);
    }
    .hero-slide .hero-overlay::after {
        height: 65%;
        background: linear-gradient(to top, rgba(8, 11, 18, 0.8) 0%, transparent 100%);
    }
    .hero-slide .container {
        padding: 15px;
        text-align: center;
    }
    .hero-slide .hero-content {
        max-width: 100%;
    }
    .hero-slide .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-slide .hero-cta-group {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        margin-top: 121px;
        padding-top: 2px;
        padding-bottom: 40px;
        min-height: 350px;
        height: auto;
    }
    .hero-headline {
        font-size: 28px;
        line-height: 1.2;
    }
    .hero-label {
        font-size: 11px;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }
    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    .hero-cta-group {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .cta-button-primary, .cta-button-secondary {
        padding: 12px 20px;
        font-size: 14px;
        text-align: center;
        justify-content: center;
    }
    .cta-button-secondary::after { display: none; }
    .cta-button-secondary { border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50px; }
    .hero-slider-nav { padding: 0 8px; }
    .hero-slider-arrow { width: 32px; height: 32px; font-size: 11px; }
    .hero-slider-dots { bottom: 25px; gap: 6px; }
    .hero-dot { width: 8px; height: 8px; border-width: 1px; }
    /* Overlay for small mobile - text readable */
    .hero-slide .hero-overlay {
        background: linear-gradient(180deg,
            rgba(8, 11, 18, 0.7) 0%,
            rgba(8, 11, 18, 0.5) 40%,
            rgba(8, 11, 18, 0.6) 100%);
    }
    .hero-slide .hero-overlay::after {
        height: 70%;
        background: linear-gradient(to top, rgba(8, 11, 18, 0.75) 0%, transparent 100%);
    }
    .hero-slide .container {
        padding: 10px;
        text-align: center;
    }
    .hero-slide .hero-content {
        max-width: 100%;
    }
    .hero-slide .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-slide .hero-cta-group {
        justify-content: center;
    }
    .cta-button-primary,
    .cta-button-secondary {
        text-align: center;
        justify-content: center;
        width: 100%;
    }
    .cta-button-secondary::after {
        display: none;
    }
    .cta-button-secondary {
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 50px;
        padding: 14px 28px;
    }
}

/* ============================================
   CAPABILITIES SECTION
   ============================================ */
@media (max-width: 1199.98px) {
    .capabilities-strip {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .item-title {
        font-size: 18px;
    }
    .item-description {
        font-size: 14px;
    }
}

@media (max-width: 991.98px) {
    .capabilities-section {
        padding: 80px 0;
    }
    .capabilities-strip {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .capability-item {
        padding: 32px 24px;
    }
}

@media (max-width: 575.98px) {
    .capabilities-section {
        padding: 60px 0;
    }
    .capabilities-strip {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .capability-item {
        padding: 28px 24px;
    }
    .item-icon-wrapper {
        width: 48px;
        height: 48px;
        margin-bottom: 20px;
    }
    .item-icon-wrapper i {
        font-size: 20px;
    }
    .item-number {
        font-size: 60px;
    }
    .item-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    .item-description {
        min-height: 0;
        margin-bottom: 20px;
    }
    .item-arrow {
        bottom: 24px;
        right: 24px;
    }
    .section-heading {
        margin-bottom: 40px;
    }
    .section-title {
        font-size: 28px;
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
@media (max-width: 991.98px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-visuals {
        grid-row: 2;
        height: 450px;
        margin-top: 40px;
    }
    .about-content {
        grid-column: 1 / -1;
        text-align: center;
    }
    .about-facts {
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .about-section {
        padding: 80px 0;
    }
    .about-visuals {
        height: 350px;
    }
    .about-image-secondary {
        display: none;
    }
    .about-image-primary {
        width: 100%;
    }
    .about-floating-card {
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
    }
    .about-section.in-view .about-floating-card {
        transform: translateX(-50%) translateY(0);
    }
    .section-headline {
        font-size: 32px;
    }
}

@media (max-width: 575.98px) {
    .about-section {
        padding: 60px 0;
    }
    .about-visuals {
        height: 280px;
    }
    .about-facts {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .section-headline {
        font-size: 28px;
    }
    .about-content p {
        font-size: 15px;
    }
    .cta-button-secondary-alt {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
@media (max-width: 1199.98px) {
    .solutions-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 400px repeat(2, 250px);
    }
    .solution-card.featured {
        grid-column: 1 / -1;
        grid-row: 1 / span 1;
    }
}

@media (max-width: 767.98px) {
    .solutions-section {
        padding: 80px 0;
    }
    .solutions-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 350px repeat(4, 220px);
        gap: 20px;
    }
    .featured-title {
        font-size: 28px;
    }
}

@media (max-width: 575.98px) {
    .solutions-section {
        padding: 60px 0;
    }
    .solutions-grid {
        grid-template-rows: 300px repeat(4, 200px);
        gap: 16px;
    }
    .solution-card {
        padding: 24px;
    }
    .featured-title {
        font-size: 24px;
    }
    .featured-subtitle {
        font-size: 14px;
    }
    .solution-card:not(.featured) h4 {
        font-size: 18px;
    }
    .solutions-section .section-intro-text {
        font-size: 15px;
    }
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
@media (max-width: 1199.98px) {
    .industries-grid-container {
        gap: 48px;
    }
}

@media (max-width: 991.98px) {
    .industries-grid-container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 24px;
    }
    .industries-visual-pane {
        min-height: 450px;
        padding: 32px;
    }
    .industries-navigation-pane {
        padding: 48px 0;
    }
    .industries-header {
        text-align: center;
    }
    .industries-header .section-label,
    .industries-header .section-title {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .industries-nav {
        margin-top: 32px;
    }
    .industries-nav-list {
        display: flex;
        overflow-x: auto;
        padding-bottom: 16px;
        scroll-snap-type: x mandatory;
        border-bottom: 1px solid #e0e0e0;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .industries-nav-list::-webkit-scrollbar {
        display: none;
    }
    .industries-nav-item {
        flex: 0 0 auto;
        scroll-snap-align: center;
        padding: 12px 20px;
        border-bottom: none;
    }
    .industries-nav-item.active .nav-item-title {
        color: var(--deep-blue);
    }
    .nav-active-indicator {
        bottom: 0;
        top: auto;
        height: 2px;
        transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1), width 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }
}

@media (max-width: 767.98px) {
    .industries-section {
        padding: 80px 0;
    }
    .industries-visual-pane {
        min-height: 350px;
        padding: 24px;
    }
    .industry-details-content .detail-number {
        font-size: 72px;
    }
    .industry-details-content .detail-title {
        font-size: 32px;
    }
    .industry-details-content .detail-desc {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .industries-section {
        padding: 60px 0;
    }
    .industries-grid-container {
        padding: 0 16px;
    }
    .industries-visual-pane {
        min-height: 300px;
        padding: 20px;
    }
    .industry-details-content .detail-number {
        font-size: 56px;
    }
    .industry-details-content .detail-title {
        font-size: 26px;
    }
    .industry-details-content .detail-desc {
        font-size: 13px;
    }
    .industries-header .section-title {
        font-size: 28px;
    }
    .nav-item-title {
        font-size: 16px;
    }
}

/* ============================================
   WHY GROWSYS SECTION
   ============================================ */
@media (max-width: 1199.98px) {
    .why-growsys__cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .why-growsys__cards::before,
    .growsys-card:nth-child(-n+4)::before,
    .growsys-card:nth-child(-n+4)::after {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .why-growsys__cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .why-growsys__connection {
        height: auto;
        margin-top: 40px;
    }
    .connection-line {
        display: none;
    }
    .connection-node {
        margin-top: 0;
    }
}

@media (max-width: 575.98px) {
    .why-growsys {
        padding: 45px 14px 40px;
    }
    .why-growsys__heading {
        margin-bottom: 32px;
    }
    .why-growsys__eyebrow {
        font-size: 9px;
        letter-spacing: 3px;
    }
    .why-growsys__heading h2 {
        font-size: 27px;
        line-height: 1.2;
        letter-spacing: -0.8px;
    }
    .why-growsys__heading p {
        font-size: 12px;
        line-height: 1.65;
    }
    .desktop-only {
        display: none;
    }
    .why-growsys__cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .growsys-card {
        min-height: 225px;
        padding: 20px;
        border-radius: 13px;
    }
    .growsys-card__top {
        margin-bottom: 14px;
    }
    .growsys-card__icon {
        width: 49px;
        height: 49px;
    }
    .growsys-card__number {
        font-size: 25px;
    }
    .growsys-card h3 {
        font-size: 15px;
    }
    .growsys-card p {
        max-width: 80%;
        font-size: 12px;
    }
    .growsys-card__arrow {
        right: 18px;
        bottom: 18px;
    }
    .why-growsys__connection {
        margin-top: 35px;
    }
    .connection-node {
        width: 60px;
        height: 60px;
    }
}

/* ============================================
   METRICS SECTION
   ============================================ */
@media (max-width: 991.98px) {
    .metrics-section {
        padding: 80px 0;
    }
    .achievement-strip {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 15%;
        gap: 40px;
    }
    .achievement-connector {
        top: 0;
        left: 50px;
        width: 2px;
        height: 100%;
        transform: translateX(-50%);
    }
    .connector-path {
        d: path("M 0 0 L 0 1200");
    }
    .achievement-point {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 0;
        gap: 20px;
    }
    .achievement-point::before {
        display: none;
    }
    .point-icon {
        margin-bottom: 0;
        margin-top: 0;
    }
    .point-content {
        padding-bottom: 0;
    }
    .point-number {
        font-size: 36px;
    }
    .point-label {
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .metrics-section {
        padding: 60px 0;
    }
    .achievement-strip {
        padding: 0 10%;
        gap: 32px;
    }
    .point-number {
        font-size: 32px;
    }
    .point-icon {
        width: 44px;
        height: 44px;
    }
    .point-icon i {
        font-size: 18px;
    }
}

/* ============================================
   PRODUCTS SHOWCASE
   ============================================ */
@media (max-width: 1199.98px) {
    .products-showcase__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    .product-card__image {
        height: 260px;
    }
}

@media (max-width: 767.98px) {
    .products-showcase {
        padding: 80px 0;
    }
    .products-showcase__header {
        margin-bottom: 48px;
    }
    .products-showcase__title {
        font-size: 30px;
    }
    .products-showcase__grid {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
        gap: 28px;
    }
    .product-card__image {
        height: 280px;
    }
    .product-card__body {
        padding: 24px 24px 28px;
    }
    .product-card__title {
        font-size: 20px;
    }
}

@media (max-width: 575.98px) {
    .products-showcase {
        padding: 60px 0;
    }
    .products-showcase__grid {
        gap: 20px;
    }
    .product-card__image {
        height: 220px;
    }
    .product-card__body {
        padding: 20px 20px 24px;
    }
    .product-card__title {
        font-size: 19px;
    }
    .product-card__desc {
        font-size: 13px;
    }
}

/* ============================================
   HOW WE WORK / PROCESS
   ============================================ */
@media (max-width: 991.98px) {
    .how-we-work-section {
        padding: 80px 0;
    }
    .process-journey {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        padding-left: 40px;
    }
    .process-connector {
        top: 0;
        left: 25px;
        width: 2px;
        height: 100%;
    }
    .connector-path-bg,
    .connector-path-animated {
        d: path("M 0 0 V 1000");
    }
    .process-stage {
        width: 100%;
        text-align: left;
        padding-top: 0;
        padding-left: 40px;
    }
    .stage-marker {
        top: 50%;
        left: 0;
        transform: translate(-50%, -50%);
    }
    .process-stage:hover .stage-marker {
        transform: translate(-50%, -50%) scale(1.1);
    }
    .stage-title {
        font-size: 18px;
    }
    .stage-description {
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .how-we-work-section {
        padding: 60px 0;
    }
    .how-we-work-section .section-title {
        font-size: 28px;
    }
    .how-we-work-section .section-intro-text {
        font-size: 15px;
    }
    .process-journey {
        gap: 32px;
        padding-left: 32px;
    }
    .process-connector {
        left: 20px;
    }
    .process-stage {
        padding-left: 32px;
    }
    .stage-title {
        font-size: 17px;
    }
    .stage-description {
        font-size: 13px;
    }
}

/* ============================================
   QUALITY SECTION
   ============================================ */
@media (max-width: 991.98px) {
    .quality-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .quality-visual-pane {
        height: 450px;
    }
    .quality-content-pane .section-heading {
        text-align: center;
    }
    .quality-content-pane .section-title,
    .quality-content-pane .section-intro-text {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    .quality-section {
        padding: 80px 0;
    }
    .quality-visual-pane {
        height: 350px;
    }
}

@media (max-width: 575.98px) {
    .quality-section {
        padding: 60px 0;
    }
    .quality-visual-pane {
        height: 260px;
    }
    .quality-content-pane .section-title {
        font-size: 28px;
    }
    .principle-title {
        font-size: 18px;
    }
    .principle-description {
        font-size: 14px;
    }
    .principle-item {
        gap: 16px;
    }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
@media (max-width: 991.98px) {
    .testimonials-section {
        padding: 80px 0;
    }
    .testimonials-card {
        flex: 0 0 calc((100% - 32px) / 2);
        padding: 36px 28px 28px;
    }
}

@media (max-width: 767.98px) {
    .testimonials-section {
        padding: 64px 0;
    }
    .testimonials-card {
        flex: 0 0 100%;
        padding: 32px 24px 28px;
    }
    .testimonials-card-image {
        width: 88px;
        height: 88px;
    }
}

@media (max-width: 575.98px) {
    .testimonials-section {
        padding: 56px 0;
    }
}

/* ============================================
   FINAL CTA / CONTACT
   ============================================ */
@media (max-width: 1199.98px) {
    .final-cta__grid {
        gap: 48px;
    }
}

@media (max-width: 991.98px) {
    .final-cta {
        padding: 100px 0;
    }
    .final-cta__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .final-cta__content {
        max-width: 100%;
        text-align: center;
    }
    .final-cta__eyebrow {
        justify-content: center;
    }
    .final-cta__buttons,
    .final-cta__contact {
        justify-content: center;
    }
    .mp-map {
        max-width: 440px;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .final-cta {
        padding: 80px 0;
    }
    .final-cta__title {
        font-size: 30px;
    }
    .final-cta__desc {
        font-size: 15px;
    }
    .mp-map {
        max-width: 100%;
    }
    .mp-map__svg {
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .final-cta {
        padding: 60px 0;
    }
    .final-cta__title {
        font-size: 26px;
    }
    .final-cta__desc {
        font-size: 14px;
    }
    .final-cta__buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .final-cta__btn-primary,
    .final-cta__btn-secondary {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    .final-cta__contact {
        gap: 14px;
        text-align: left;
        flex-direction: column;
        align-items: flex-start;
    }
    .mp-map__svg {
        width: 100%;
    }
    .mp-map__label {
        padding: 6px 10px;
    }
    .mp-map__label-main {
        font-size: 10px;
    }
    .mp-map__label-sub {
        font-size: 8px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
@media (max-width: 1199.98px) {
    .footer-main {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 40px;
    }
    .footer-nav {
        gap: 32px;
    }
}

@media (max-width: 991.98px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
    .footer-brand {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }
    .footer-brand .footer-desc {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-brand .footer-social {
        margin-top: 24px;
        justify-content: center;
    }
    .footer-nav {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }
    .footer-nav {
        gap: 40px;
        justify-content: space-around;
        text-align: center;
    }
    .footer-nav-group ul {
        align-items: center;
    }
    .footer-contact {
        align-items: center;
        text-align: center;
    }
    .contact-info-group {
        align-items: center;
    }
    .contact-info-item {
        justify-content: center;
    }
    .footer-region {
        justify-content: center;
    }
    .footer-bottom .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .footer-main {
        padding: 48px 0;
        gap: 32px;
    }
    .footer-nav {
        flex-direction: column;
        gap: 32px;
    }
    .footer-nav-group ul {
        align-items: center;
    }
    .footer-bottom {
        padding: 20px 0;
    }
    .footer-bottom .container {
        font-size: 12px;
    }
    .footer-legal-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }
}

/* ============================================
   CONTAINER PADDING ADJUSTMENTS
   ============================================ */
@media (max-width: 767.98px) {
    .container {
        padding: 0 24px;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding: 0 16px;
    }
}

/* ============================================
   SECTION HEADING RESPONSIVE
   ============================================ */
@media (max-width: 575.98px) {
    .section-label {
        font-size: 11px;
        letter-spacing: 1.5px;
    }
    .section-title {
        font-size: 28px;
        line-height: 1.3;
    }
    .section-intro-text {
        font-size: 15px;
    }
}

/* ============================================
   ANIMATED BACKGROUNDS
   ============================================ */

/* Capabilities Section - Ambient gradient blobs */
.capabilities-section {
    position: relative;
}

.capabilities-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 80, 138, 0.06), transparent 70%);
    animation: blob-drift 12s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.capabilities-section::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(43, 60, 136, 0.05), transparent 70%);
    animation: blob-drift 15s ease-in-out infinite alternate-reverse;
    pointer-events: none;
    z-index: 0;
}

@keyframes blob-drift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
    100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Solutions Section - Fine grid pattern */
.solutions-section {
    position: relative;
}

.solutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(8, 80, 138, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 80, 138, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Products Showcase - Soft gradient movement */
.products-showcase {
    position: relative;
}

.products-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(8, 80, 138, 0.04), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(43, 60, 136, 0.04), transparent 40%);
    animation: gradient-shift 18s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradient-shift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 100%; }
}

/* Final CTA - Ambient gradient blobs */
.final-cta {
    position: relative;
}

.final-cta::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39, 125, 188, 0.05), transparent 70%);
    animation: blob-drift 14s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

/* Ensure content stays above animated backgrounds */
.capabilities-section .container,
.solutions-section .container,
.products-showcase .container,
.final-cta .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   PREVENT HORIZONTAL OVERFLOW SAFEGUARDS
   ============================================ */
.hero-floating-element,
.scroll-indicator,
.about-floating-card,
.about-image-secondary,
.achievement-connector,
.process-connector,
.why-growsys::after {
    max-width: 100%;
}

/* Fix any absolutely positioned elements that could overflow */
.about-image-secondary {
    right: 0;
}

.about-floating-card {
    left: 0;
}

/* Ensure SVG connectors don't cause overflow */
.achievement-connector,
.process-connector {
    overflow: visible;
    pointer-events: none;
}

/* ============================================
   DESKTOP (1440px) - PRESERVE ORIGINAL DESIGN
   ============================================ */
@media (min-width: 1200px) {
    /* Ensure desktop layout matches original */
    .capabilities-strip {
        grid-template-columns: repeat(5, 1fr);
        gap: 32px;
    }
    .solutions-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 300px);
        gap: 32px;
    }
    .solution-card.featured {
        grid-column: 1 / span 2;
        grid-row: 1 / span 2;
    }
    .products-showcase__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    .why-growsys__cards {
        grid-template-columns: repeat(5, 1fr);
        gap: 38px;
    }
    .industries-grid-container {
        grid-template-columns: 2fr 1fr;
        gap: 64px;
    }
    .final-cta__grid {
        /* grid-template-columns: 1fr 1.1fr; */
        gap: 80px;
    }
    .footer-main {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 64px;
    }
}
/* ============================================
   INNER PAGES RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .page-hero { min-height: 320px; padding: 190px 0 90px; }
    .page-hero__title { font-size: 44px; }
    .industry-cards { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-aside { position: static; }
    .gallery-lightbox__prev { left: 0; }
    .gallery-lightbox__next { right: 0; }
}

@media (max-width: 768px) {
    .pg-section { padding: 80px 0; }
    .page-hero { min-height: auto; padding: 180px 0 80px; }
    .page-hero__title { font-size: 36px; }
    .mv-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 16px; }
    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 44px 52px;
        text-align: left;
    }
    .timeline-item::after,
    .timeline-item:nth-child(even)::after {
        right: auto;
        left: 9px;
    }
    .detail-row { grid-template-columns: 1fr; gap: 40px; }
    .detail-row--reverse .detail-row__media { order: 0; }
    .detail-row + .detail-row { margin-top: 72px; }
    .detail-row__content h2 { font-size: 28px; }
    .values-section .capabilities-strip {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item { height: 240px; }
    .product-detail__gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .product-detail__gallery-item { height: 220px; }
    .contact-info-cards { grid-template-columns: 1fr; margin-bottom: 56px; }
    .form-row { grid-template-columns: 1fr; }
    .final-cta__contact { justify-content: center; }
}

@media (max-width: 575px) {
    .page-hero { padding: 170px 0 70px; }
    .page-hero__title { font-size: 30px; }
    .page-hero__breadcrumb { padding: 10px 20px; gap: 10px; font-size: 13px; }
    .values-section .capabilities-strip,
    .values-section .detail-grid { grid-template-columns: 1fr; }
    .industry-cards { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .product-detail__gallery { grid-template-columns: 1fr; }
    .product-detail__gallery-item { height: 240px; }
    .gallery-lightbox { padding: 20px; }
    .gallery-lightbox__nav { top: auto; bottom: -58px; transform: none; }
    .contact-form { padding: 32px 24px; }
    .mv-card { padding: 36px 28px; }
    .map-wrap iframe { height: 340px; }
}
