/* ============================================================
   HEXAPLAST — PLASTIC TESTING INSTRUMENTATION
   Design language: warm, rounded, soft-shadow "premium
   corporate" style — light orange + white, generous radius,
   floating stat cards, icon badges, smooth motion.
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

:root {
    --ink: #23262E;
    --ink-soft: #454B57;
    --text: #667085;
    --text-light: #98A2B3;

    --orange: #FF7A30;
    --orange-dark: #E85D04;
    --orange-light: #FFA36B;
    --orange-pale: #FFF1E6;
    --orange-pale-2: #FFF8F3;

    --white: #FFFFFF;
    --bg-soft: #FFF9F5;
    --line: #F1E9E0;

    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --radius-pill: 999px;

    --shadow-soft: 0 20px 50px rgba(255, 122, 48, 0.14);
    --shadow-card: 0 10px 34px rgba(35, 38, 46, 0.07);
    --shadow-card-hover: 0 24px 55px rgba(35, 38, 46, 0.13);

    --display: 'Poppins', Arial, sans-serif;
    --body: 'Inter', Arial, sans-serif;
}

body {
    font-family: var(--body);
    background: var(--white);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

svg {
    display: block;
}

::selection {
    background: var(--orange);
    color: var(--white);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.icon {
    width: 22px;
    height: 22px;
}

/* ==================================================
   EYEBROW / PILL BADGE
================================================== */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px 8px 14px;
    border-radius: var(--radius-pill);
    background: var(--orange-pale);
    color: var(--orange-dark);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.eyebrow .icon {
    width: 15px;
    height: 15px;
}

.eyebrow.on-dark {
    background: rgba(255, 255, 255, 0.14);
    color: #FFD9BB;
}

.section-heading {
    max-width: 640px;
    margin-bottom: 50px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.18;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.section-heading h2 span {
    color: var(--orange);
}

.section-heading p {
    margin-top: 16px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.8;
}

/* ==================================================
   BUTTONS — pill shaped, soft
================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--body);
    border: 1.5px solid transparent;
    transition: all 0.28s cubic-bezier(.25, .8, .25, 1);
    white-space: nowrap;
}

.btn .icon {
    width: 17px;
    height: 17px;
    transition: transform 0.28s ease;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 14px 30px rgba(255, 122, 48, 0.32);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 122, 48, 0.4);
}

.btn-primary:hover .icon {
    transform: translateX(4px);
}

.btn-dark {
    background: var(--ink);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.btn-outline {
    background: var(--white);
    color: var(--ink);
    border-color: #E7E1D8;
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange-dark);
    transform: translateY(-3px);
}

.btn-ghost-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 11px 20px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* ==================================================
   TOP INFO BAR
================================================== */

.topbar {
    background: var(--ink);
    color: #C7CBD3;
}

.topbar-inner {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

.topbar-item .icon {
    width: 14px;
    height: 14px;
    color: var(--orange-light);
}

.topbar-item a {
    color: #C7CBD3;
}

.topbar-item a:hover {
    color: var(--white);
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-social a {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    transition: 0.25s ease;
}

.topbar-social a:hover {
    background: var(--orange);
}

.topbar-social .icon {
    width: 13px;
    height: 13px;
}

@media (max-width: 900px) {
    .topbar-item.hide-sm {
        display: none;
    }
}

@media (max-width: 700px) {
    .topbar {
        display: none;
    }
}

/* ==================================================
   HEADER
================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-bar {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo img {
    height: 44px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.main-nav a {
    position: relative;
    padding: 10px 17px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    transition: all 0.22s ease;
}

.main-nav a:hover {
    background: var(--orange-pale);
    color: var(--orange-dark);
}

.main-nav a.active {
    background: var(--orange);
    color: var(--white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: var(--white);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--ink);
}

.mobile-menu-button .icon-close {
    display: none;
}

.mobile-menu-button.active .icon-menu {
    display: none;
}

.mobile-menu-button.active .icon-close {
    display: block;
}

@media (max-width: 980px) {
    .mobile-menu-button {
        display: flex;
    }

    .header-actions .btn-outline-phone {
        display: none;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 16px 5% 26px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        border-radius: 0 0 24px 24px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: 0.28s ease;
    }

    .main-nav.mobile-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav a {
        padding: 14px 18px;
        border-radius: var(--radius-md);
    }
}

/* ==================================================
   HERO
================================================== */

.hero {
    position: relative;
    padding: 64px 0 40px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 48, 0.16), rgba(255, 122, 48, 0));
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -160px;
    left: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 163, 107, 0.14), rgba(255, 122, 48, 0));
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-copy h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(36px, 4.2vw, 58px);
    line-height: 1.14;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.hero-copy h1 span {
    color: var(--orange);
    position: relative;
}

.hero-copy p {
    max-width: 480px;
    margin-top: 22px;
    color: var(--text);
    font-size: 15.5px;
    line-height: 1.85;
}

.hero-btn-row {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 14px;
    margin-top: 42px;
    flex-wrap: wrap;
}

.hero-stat-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.hero-stat-chip .badge {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: var(--orange-pale);
    color: var(--orange-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-stat-chip .badge .icon {
    width: 20px;
    height: 20px;
}

.hero-stat-chip strong {
    display: block;
    font-family: var(--display);
    font-size: 19px;
    color: var(--ink);
    line-height: 1.1;
}

.hero-stat-chip span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: var(--text-light);
}

.hero-visual {
    position: relative;
}

.hero-visual-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.hero-visual-frame img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.hero-float-card {
    position: absolute;
    left: -30px;
    bottom: -26px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card-hover);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 260px;
}

.hero-float-card .badge {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: var(--orange);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-float-card .badge .icon {
    width: 23px;
    height: 23px;
}

.hero-float-card strong {
    display: block;
    font-family: var(--display);
    font-size: 15px;
    color: var(--ink);
    line-height: 1.3;
}

.hero-float-card span {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    color: var(--text-light);
}

.hero-tag-card {
    position: absolute;
    top: 26px;
    right: -18px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card-hover);
    padding: 12px 18px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-tag-card .icon {
    width: 16px;
    height: 16px;
    color: var(--orange);
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual-frame img {
        height: 320px;
    }

    .hero-float-card {
        left: 14px;
        bottom: -20px;
        padding: 14px 18px;
    }

    .hero-tag-card {
        right: 14px;
        top: 16px;
    }
}

@media (max-width: 560px) {
    .hero {
        padding: 34px 0 20px;
    }

    .hero-stat-chip {
        flex: 1 1 45%;
    }
}

/* ==================================================
   TRUST STRIP (logos row under hero, optional use)
================================================== */

.trust-strip-row {
    padding: 46px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.trust-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
}

.trust-strip-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.trust-strip-logos {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
    align-items: center;
}

.trust-strip-logos span {
    font-family: var(--display);
    font-weight: 600;
    font-size: 17px;
    color: var(--ink-soft);
    opacity: 0.75;
}

/* ==================================================
   ABOUT
================================================== */

.about-section {
    padding: 110px 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-visual-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card-hover);
    position: relative;
}

.about-visual-frame img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.about-visual-badge {
    position: absolute;
    bottom: -24px;
    right: -22px;
    background: var(--orange);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 26px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(255, 122, 48, 0.4);
}

.about-visual-badge strong {
    display: block;
    font-family: var(--display);
    font-size: 26px;
}

.about-visual-badge span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    opacity: 0.9;
}

.about-copy p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.9;
    margin-top: 16px;
}

.check-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
}

.check-item .tick {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--orange-pale);
    color: var(--orange-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-item .tick .icon {
    width: 14px;
    height: 14px;
}

@media (max-width: 940px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .about-visual-frame img {
        height: 340px;
    }

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

/* ==================================================
   STAT COUNTER BAND (about page / home)
================================================== */

.stat-band {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.stat-card strong {
    display: block;
    font-family: var(--display);
    font-weight: 700;
    font-size: 32px;
    color: var(--orange-dark);
}

.stat-card span {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--text);
    font-weight: 500;
}

@media (max-width: 800px) {
    .stat-band {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==================================================
   CATEGORY / CHAPTER CARDS (products by catalogue
   section — rounded, icon-badge, soft shadow)
================================================== */

.chapters-section {
    padding: 110px 0;
    background: var(--bg-soft);
    position: relative;
    overflow: hidden;
}

.chapters-section::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255, 122, 48, 0.08), rgba(255, 122, 48, 0));
}

.chapters-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.chapter-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.chapter-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.chapter-card .badge {
    width: 54px;
    height: 54px;
    border-radius: 17px;
    background: var(--orange-pale);
    color: var(--orange-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chapter-card:hover .badge {
    background: var(--orange);
    color: var(--white);
}

.chapter-card .badge .icon {
    width: 26px;
    height: 26px;
}

.chapter-card h3 {
    margin-top: 20px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 19px;
    color: var(--ink);
    line-height: 1.3;
}

.chapter-card p {
    margin-top: 10px;
    font-size: 13.5px;
    color: var(--text);
    line-height: 1.7;
    flex: 1;
}

.chapter-card .foot {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chapter-card .count {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
}

.chapter-card .go {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--orange-dark);
}

.chapter-card .go .icon {
    width: 15px;
    height: 15px;
    transition: transform 0.28s ease;
}

.chapter-card:hover .go .icon {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .chapters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .chapters-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   PRODUCT GRID + CARD (rounded, soft)
================================================== */

.products-section {
    padding: 110px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.product-photo {
    position: relative;
    height: 200px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    overflow: hidden;
}

.product-photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-photo img {
    transform: scale(1.06);
}

.product-photo .tag {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--orange-dark);
    background: var(--white);
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-card);
}

.product-info {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h3 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.35;
    color: var(--ink);
    min-height: 44px;
}

.product-info p {
    margin-top: 10px;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--text);
    flex: 1;
    min-height: 60px;
}

.product-info .view-link {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--orange-dark);
}

.product-info .view-link .icon {
    width: 14px;
    height: 14px;
    transition: transform 0.28s ease;
}

.product-card:hover .view-link .icon {
    transform: translateX(4px);
}

@media (max-width: 1150px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 520px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   CATEGORY TAB PILLS (products page)
================================================== */

.cat-tabs-wrap {
    position: sticky;
    top: 89px;
    z-index: 500;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
}

.cat-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.cat-tabs::-webkit-scrollbar {
    display: none;
}

.cat-tab {
    flex-shrink: 0;
    padding: 11px 20px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--bg-soft);
    border: 1.5px solid transparent;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.22s ease;
}

.cat-tab .n {
    font-size: 10.5px;
    opacity: 0.6;
}

.cat-tab:hover {
    border-color: var(--orange-light);
}

.cat-tab.active {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 10px 22px rgba(255, 122, 48, 0.3);
}

.catalog-intro {
    padding: 50px 0 6px;
    text-align: center;
}

.catalog-intro h1 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(30px, 3.8vw, 46px);
    color: var(--ink);
}

.catalog-intro p {
    margin: 16px auto 0;
    max-width: 600px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.8;
}

.search-row {
    display: flex;
    justify-content: center;
    margin: 32px 0 10px;
}

.search-input-wrap {
    position: relative;
    width: 100%;
    max-width: 560px;
}

.search-input-wrap .icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-light);
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--line);
    background: var(--white);
    font-family: var(--body);
    font-size: 14px;
    color: var(--ink);
    box-shadow: var(--shadow-card);
}

.search-input:focus {
    outline: none;
    border-color: var(--orange);
}

.catalog-count {
    text-align: center;
    margin: 24px 0 34px;
    font-size: 13px;
    color: var(--text);
}

.catalog-count b {
    color: var(--orange-dark);
}

.empty-state {
    padding: 70px 0;
    text-align: center;
    color: var(--text);
    font-size: 14px;
}

/* ==================================================
   PRODUCT MODAL
================================================== */

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(35, 38, 46, 0.72);
    backdrop-filter: blur(4px);
    overflow-y: auto;
}

.product-modal.active {
    display: flex;
}

.modal-box {
    position: relative;
    width: min(1000px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    display: grid;
    grid-template-columns: 42% 58%;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    box-shadow: var(--shadow-card);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.22s ease;
}

.modal-close .icon {
    width: 18px;
    height: 18px;
}

.modal-close:hover {
    background: var(--orange);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-photo {
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px;
    min-height: 420px;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.modal-photo img {
    max-width: 100%;
    max-height: 430px;
    object-fit: contain;
}

.modal-body {
    padding: 52px 48px;
}

.modal-cat {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--orange-dark);
    background: var(--orange-pale);
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 18px;
}

.modal-body h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 27px;
    line-height: 1.22;
    color: var(--ink);
    padding-right: 20px;
}

.modal-body .desc {
    margin-top: 18px;
    color: var(--text);
    font-size: 14.5px;
    line-height: 1.85;
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

@media (max-width: 860px) {
    .modal-box {
        grid-template-columns: 1fr;
        border-radius: var(--radius-lg);
    }

    .modal-photo {
        min-height: 260px;
        padding: 30px;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .modal-body {
        padding: 34px 26px;
    }
}

/* ==================================================
   FACILITY / GALLERY
================================================== */

.facility-section {
    padding: 110px 0;
}

.facility-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 22px;
}

.facility-photo {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.facility-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.facility-photo:hover img {
    transform: scale(1.05);
}

.facility-photo.tall {
    min-height: 480px;
}

.facility-photo.short {
    min-height: 230px;
}

.facility-col {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.facility-cap {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: rgba(255, 255, 255, 0.92);
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
}

@media (max-width: 850px) {
    .facility-grid {
        grid-template-columns: 1fr;
    }

    .facility-photo.tall {
        min-height: 320px;
    }
}

/* ==================================================
   CUSTOMERS TICKER
================================================== */

.customers-section {
    padding: 90px 0;
    background: var(--bg-soft);
}

.customers-track-wrap {
    overflow: hidden;
    margin-top: 20px;
    position: relative;
}

.customers-track-wrap::before,
.customers-track-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 2;
    pointer-events: none;
}

.customers-track-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-soft), rgba(255, 249, 245, 0));
}

.customers-track-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-soft), rgba(255, 249, 245, 0));
}

.customers-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: tickerScroll 42s linear infinite;
}

.customers-track:hover {
    animation-play-state: paused;
}

.cust-chip {
    flex-shrink: 0;
    padding: 16px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    font-family: var(--display);
    font-weight: 600;
    font-size: 16px;
    color: var(--ink-soft);
    white-space: nowrap;
}

@keyframes tickerScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ==================================================
   WHY CHOOSE US / TRUST FACTORS
================================================== */

.why-section {
    padding: 110px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    padding: 34px 28px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    background: var(--orange-pale-2);
}

.why-card .badge {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--orange);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(255, 122, 48, 0.32);
}

.why-card .badge .icon {
    width: 27px;
    height: 27px;
}

.why-card h3 {
    margin-top: 20px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 18px;
    color: var(--ink);
}

.why-card p {
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--text);
}

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   INQUIRY / CONTACT
================================================== */

.inquiry-section {
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.inquiry-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -140px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 48, 0.10), rgba(255, 122, 48, 0));
}

.inquiry-grid {
    position: relative;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.inquiry-side h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.2;
    color: var(--ink);
}

.inquiry-side>p {
    margin-top: 16px;
    color: var(--text);
    font-size: 14.5px;
    line-height: 1.85;
    max-width: 420px;
}

.contact-card-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.contact-card .badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--orange-pale);
    color: var(--orange-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card .badge .icon {
    width: 21px;
    height: 21px;
}

.contact-card .txt small {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.contact-card .txt span,
.contact-card .txt a {
    display: block;
    margin-top: 3px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.5;
}

.form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card-hover);
    padding: 46px;
}

.form-card h3 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 23px;
    color: var(--ink);
}

.form-card>p {
    margin-top: 6px;
    color: var(--text);
    font-size: 13.5px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 26px;
}

.field {
    margin-top: 22px;
}

.form-row .field {
    margin-top: 0;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--line);
    background: var(--bg-soft);
    font-family: inherit;
    font-size: 13.5px;
    color: var(--ink);
    transition: all 0.22s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--orange-pale);
}

.field textarea {
    resize: vertical;
    min-height: 110px;
}

.submit-row {
    margin-top: 30px;
}

.submit-btn {
    width: 100%;
    padding: 17px 22px;
    border: none;
    border-radius: var(--radius-pill);
    background: var(--orange);
    color: var(--white);
    font-size: 14.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 16px 32px rgba(255, 122, 48, 0.34);
    transition: all 0.28s ease;
}

.submit-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
}

.submit-btn .icon {
    width: 18px;
    height: 18px;
}

.form-note {
    margin-top: 14px;
    font-size: 11.5px;
    color: var(--text-light);
    text-align: center;
}

@media (max-width: 940px) {
    .inquiry-grid {
        grid-template-columns: 1fr;
        gap: 46px;
    }
}

@media (max-width: 600px) {
    .form-card {
        padding: 28px 22px;
        border-radius: var(--radius-lg);
    }

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

/* ==================================================
   LOCATION / MAP
================================================== */

.map-section {
    padding: 0 0 110px;
}

.map-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card-hover);
    position: relative;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

.map-address-card {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card-hover);
    padding: 20px 24px;
    max-width: 300px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.map-address-card .badge {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: var(--orange);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.map-address-card .badge .icon {
    width: 19px;
    height: 19px;
}

.map-address-card strong {
    display: block;
    font-size: 13.5px;
    color: var(--ink);
    margin-bottom: 4px;
}

.map-address-card span {
    font-size: 12px;
    color: var(--text);
    line-height: 1.6;
}

@media (max-width: 600px) {
    .map-frame iframe {
        height: 300px;
    }

    .map-address-card {
        position: static;
        margin-bottom: 14px;
        max-width: 100%;
    }
}

/* ==================================================
   CTA BAND
================================================== */

.cta-band {
    margin: 0 auto 100px;
    width: 90%;
    max-width: 1300px;
    background: linear-gradient(120deg, #FF7A30, #E85D04);
    border-radius: var(--radius-xl);
    padding: 56px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    top: -80px;
    right: 60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-band h2 {
    position: relative;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(24px, 3vw, 32px);
    color: var(--white);
    max-width: 480px;
}

.cta-band p {
    position: relative;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14.5px;
}

.cta-band .btn-primary {
    position: relative;
    background: var(--white);
    color: var(--orange-dark);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.cta-band .btn-primary:hover {
    background: var(--ink);
    color: var(--white);
}

@media (max-width: 700px) {
    .cta-band {
        padding: 40px 28px;
        border-radius: var(--radius-lg);
    }
}

/* ==================================================
   FOOTER
================================================== */

.site-footer {
    background: var(--ink);
    color: #C7CBD3;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -160px;
    left: 30%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 48, 0.10), rgba(255, 122, 48, 0));
}

.footer-grid {
    position: relative;
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 0 50px;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
    gap: 50px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 22px;
}

.footer-logo img {
    height: 34px;
}

.footer-col p {
    font-size: 13.5px;
    line-height: 1.85;
    max-width: 320px;
    color: #A3A9B4;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
    transition: all 0.25s ease;
}

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

.footer-social a:hover {
    background: var(--orange);
    transform: translateY(-4px);
}

.footer-col h4 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 15px;
    color: var(--white);
    margin-bottom: 22px;
}

.footer-col ul li {
    margin-bottom: 13px;
}

.footer-col ul li a {
    font-size: 13.5px;
    color: #A3A9B4;
    transition: 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--orange-light);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 13.5px;
    line-height: 1.7;
    color: #A3A9B4;
}

.footer-contact-item .badge {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 122, 48, 0.16);
    color: var(--orange-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-item .badge .icon {
    width: 15px;
    height: 15px;
}

.footer-contact-item a {
    color: #A3A9B4;
}

.footer-contact-item a:hover {
    color: var(--white);
}

.footer-bottom {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    color: #6E7481;
    font-size: 12px;
}

@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .footer-grid .footer-company {
        grid-column: 1 / -1;
    }
}

@media (max-width: 650px) {
    .footer-grid {
        grid-template-columns: 1fr;
        width: 88%;
        padding: 60px 0 40px;
        gap: 38px;
    }

    .footer-bottom-inner {
        width: 88%;
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 0;
    }
}

/* ==================================================
   WHATSAPP WIDGET
================================================== */

.whatsapp-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2000;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.4);
    transition: transform 0.25s ease;
    position: relative;
}

.whatsapp-btn .icon {
    width: 28px;
    height: 28px;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
}

.wa-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: waPulse 2s infinite;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.45);
        opacity: 0;
    }

    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

.whatsapp-popup {
    position: absolute;
    right: 0;
    bottom: 76px;
    width: 300px;
    padding: 22px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.96);
    transform-origin: bottom right;
    transition: all 0.3s ease;
}

.whatsapp-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-popup-close .icon {
    width: 15px;
    height: 15px;
}

.whatsapp-popup strong {
    display: block;
    font-size: 14.5px;
    color: var(--ink);
    margin-bottom: 6px;
}

.whatsapp-popup p {
    font-size: 12.5px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 16px;
}

.whatsapp-popup a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: var(--white);
    padding: 11px 16px;
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 700;
}

@media (max-width: 600px) {
    .whatsapp-widget {
        right: 16px;
        bottom: 16px;
    }

    .whatsapp-btn {
        width: 54px;
        height: 54px;
    }

    .whatsapp-btn .icon {
        width: 25px;
        height: 25px;
    }

    .whatsapp-popup {
        width: 270px;
        right: -4px;
    }
}

/* ==================================================
   PAGE HERO (about/products/contact interior pages)
================================================== */

.page-hero {
    position: relative;
    padding: 60px 0 90px;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: -160px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255, 122, 48, 0.12), rgba(255, 122, 48, 0));
}

.page-hero .breadcrumb {
    position: relative;
    font-size: 12.5px;
    color: var(--text-light);
    margin-bottom: 18px;
}

.page-hero .breadcrumb a {
    color: var(--text-light);
}

.page-hero .breadcrumb a:hover {
    color: var(--orange-dark);
}

.page-hero h1 {
    position: relative;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(32px, 4.4vw, 52px);
    color: var(--ink);
}

.page-hero p {
    position: relative;
    margin: 16px auto 0;
    max-width: 560px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.85;
}

/* ==================================================
   MISC UTILITY
================================================== */

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   RESPONSIVE / ALL-DEVICE IMAGE SAFETY OVERRIDES
   Prevents important image content from being cropped on
   phones, tablets, laptops and large screens.
============================================================ */

/* Safer global image behavior */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent grid/flex children from forcing horizontal overflow */
.container,
.hero-grid,
.about-grid,
.inquiry-grid,
.footer-grid,
.product-grid,
.chapters-grid,
.why-grid,
.facility-grid,
.stat-band {
    min-width: 0;
}

.hero-copy,
.hero-visual,
.about-copy,
.about-visual,
.inquiry-side,
.form-card,
.product-card,
.chapter-card,
.why-card,
.footer-col {
    min-width: 0;
}

/* Keep the full image visible in the main image areas */
.hero-visual-frame,
.about-visual-frame,
.facility-photo {
    background: var(--bg-soft);
}

.hero-visual-frame img,
.about-visual-frame img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 560px;
    object-fit: contain;
    object-position: center;
}

.product-photo img,
.modal-photo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Facility images: preserve the complete image instead of cropping it */
.facility-photo {
    min-height: 0;
}

.facility-photo img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    background: var(--bg-soft);
}

/* ============================================================
   TABLET
============================================================ */
@media (max-width: 1100px) {
    .container {
        width: min(92%, 1300px);
    }

    .hero-grid {
        gap: 36px;
    }

    .about-grid,
    .inquiry-grid {
        gap: 40px;
    }

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

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

    .hero-visual-frame img,
    .about-visual-frame img {
        max-height: 480px;
    }

    .hero-float-card {
        left: 14px;
    }

    .hero-tag-card {
        right: 14px;
    }
}

/* ============================================================
   MOBILE / TABLET
============================================================ */
@media (max-width: 980px) {
    .header-bar {
        width: 92%;
        min-height: 76px;
        gap: 12px;
    }

    .site-logo img {
        height: 38px;
        max-width: 190px;
        object-fit: contain;
    }

    .hero {
        padding: 42px 0 36px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual-frame img {
        width: 100%;
        height: auto;
        max-height: none;
        aspect-ratio: auto;
        object-fit: contain;
    }

    .about-visual-frame img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    .modal-box {
        width: min(94vw, 1000px);
    }

    .modal-photo img {
        width: 100%;
        height: auto;
        max-height: 340px;
    }
}

/* ============================================================
   SMALL TABLETS / LARGE PHONES
============================================================ */
@media (max-width: 800px) {
    .container {
        width: 92%;
    }

    .products-section,
    .chapters-section,
    .about-section,
    .facility-section,
    .why-section,
    .inquiry-section {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    .section-heading {
        margin-bottom: 34px;
    }

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

    .product-photo {
        height: auto;
        min-height: 180px;
        aspect-ratio: 1 / 1;
        padding: 18px;
    }

    .product-photo img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .product-info {
        padding: 18px;
    }

    .product-info h3 {
        min-height: auto;
    }

    .product-info p {
        min-height: auto;
    }

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

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

    .facility-photo,
    .facility-photo.tall,
    .facility-photo.short {
        min-height: 0;
    }

    .facility-photo img {
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
    }

    .cta-band {
        width: 92%;
    }

    .footer-grid {
        width: 92%;
    }
}

/* ============================================================
   PHONES
============================================================ */
@media (max-width: 600px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: calc(100% - 32px);
        max-width: none;
    }

    .header-bar {
        width: calc(100% - 32px);
        min-height: 68px;
    }

    .site-logo img {
        height: 34px;
        max-width: 170px;
    }

    .mobile-menu-button {
        width: 42px;
        height: 42px;
    }

    .main-nav {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero {
        padding: 28px 0 24px;
    }

    .hero-grid {
        gap: 28px;
    }

    .hero-copy h1 {
        font-size: clamp(30px, 9vw, 42px);
        overflow-wrap: anywhere;
    }

    .hero-copy p {
        font-size: 14px;
        line-height: 1.75;
    }

    .hero-btn-row {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn-row .btn {
        width: 100%;
    }

    /* Full image visible on phones */
    .hero-visual-frame {
        border-radius: 22px;
    }

    .hero-visual-frame img,
    .about-visual-frame img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    /* Floating cards stay inside the viewport */
    .hero-float-card {
        position: relative;
        left: auto;
        bottom: auto;
        margin: 12px 10px 0;
        max-width: calc(100% - 20px);
        width: auto;
    }

    .hero-tag-card {
        top: 12px;
        right: 12px;
        max-width: calc(100% - 24px);
        font-size: 11px;
    }

    .hero-stats {
        gap: 10px;
        margin-top: 28px;
    }

    .hero-stat-chip {
        flex: 1 1 100%;
        min-width: 0;
    }

    .about-visual-badge {
        position: relative;
        right: auto;
        bottom: auto;
        display: table;
        margin: 12px 0 0 auto;
    }

    .check-grid {
        gap: 12px;
    }

    .stat-band {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .chapters-grid,
    .why-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-photo {
        min-height: 220px;
        aspect-ratio: 4 / 3;
        padding: 20px;
    }

    .product-photo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .modal-box {
        width: 100%;
        max-height: 94vh;
        border-radius: 18px;
    }

    .modal-photo {
        min-height: 0;
        padding: 24px;
        border-radius: 18px 18px 0 0;
    }

    .modal-photo img {
        width: 100%;
        height: auto;
        max-height: 280px;
        object-fit: contain;
    }

    .modal-body {
        padding: 26px 20px 30px;
    }

    .modal-body h2 {
        font-size: 23px;
        padding-right: 0;
        overflow-wrap: anywhere;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions .btn {
        width: 100%;
    }

    .facility-photo img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .facility-cap {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: fit-content;
        max-width: calc(100% - 24px);
    }

    .map-address-card {
        padding: 16px;
    }

    .cta-band {
        width: calc(100% - 32px);
        padding: 32px 22px;
        margin-bottom: 60px;
    }

    .cta-band .btn {
        width: 100%;
    }

    .form-card {
        padding: 24px 18px;
    }

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

    .whatsapp-widget {
        right: 14px;
        bottom: 14px;
    }

    .whatsapp-popup {
        width: min(280px, calc(100vw - 28px));
        right: 0;
    }

    .page-hero {
        padding: 42px 0 58px;
    }

    .page-hero h1 {
        font-size: clamp(29px, 8vw, 42px);
        overflow-wrap: anywhere;
    }
}

/* ============================================================
   VERY SMALL PHONES
============================================================ */
@media (max-width: 380px) {

    .container,
    .header-bar {
        width: calc(100% - 24px);
    }

    .site-logo img {
        max-width: 145px;
        height: 31px;
    }

    .hero-copy h1 {
        font-size: 29px;
    }

    .hero-tag-card {
        font-size: 10px;
        padding: 9px 12px;
    }

    .product-photo {
        min-height: 190px;
        padding: 14px;
    }

    .product-info {
        padding: 16px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
    }
}

/* ============================================================
   LANDSCAPE PHONES
============================================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding-top: 24px;
    }

    .hero-visual-frame img,
    .about-visual-frame img {
        max-height: 70vh;
    }

    .product-modal {
        padding: 12px;
    }

    .modal-box {
        max-height: 96vh;
    }
}

/* ============================================================
   ACCESSIBILITY / TOUCH DEVICES
============================================================ */
@media (hover: none) {

    .product-card:hover,
    .chapter-card:hover,
    .why-card:hover,
    .stat-card:hover,
    .contact-card:hover {
        transform: none;
    }

    .product-card:hover .product-photo img,
    .facility-photo:hover img {
        transform: none;
    }
}

/* Prevent long URLs, emails and product names from breaking layout */
p,
h1,
h2,
h3,
h4,
span,
a,
label {
    overflow-wrap: anywhere;
    word-break: normal;
}