/*
Theme Name: Garmento Global Dynamic
Theme URI: https://garmentoglobal.com/
Author: Garmento Global
Description: Dynamic, responsive apparel sourcing and manufacturing WordPress theme with editable Home sections, Products, Fabric Library, menus, branding, contact details and quote form.
Version: 2.5.0
Text Domain: garmento-global-dynamic
*/

:root {
    --gg-accent: #ff5a00;
    --gg-dark: #101418;
    --gg-container: 1240px;
    --gg-ink: #111418;
    --gg-muted: #68717b;
    --gg-line: #e7eaed;
    --gg-soft: #f5f6f7;
    --gg-white: #ffffff;
    --gg-card: #ffffff;
    --gg-radius-sm: 10px;
    --gg-radius: 18px;
    --gg-radius-lg: 28px;
    --gg-shadow: 0 20px 60px rgba(17, 20, 24, .10);
    --gg-shadow-sm: 0 10px 30px rgba(17, 20, 24, .07);
    --gg-header-h: 78px;
    --gg-gutter: clamp(18px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--gg-header-h) + 18px); }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--gg-ink);
    background: var(--gg-white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img, svg, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--gg-accent) 45%, transparent); outline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--gg-accent) 24%, white); }

.container { width: min(var(--gg-container), calc(100% - (var(--gg-gutter) * 2))); margin-inline: auto; }
.site-main { min-height: 50vh; }
.section { padding-block: clamp(68px, 8vw, 112px); }
.section-soft { background: var(--gg-soft); }
.section-dark { background: var(--gg-dark); color: var(--gg-white); }
.section-copy, .section-head > *, .split-layout > *, .contact-layout > *, .product-detail-layout > * { min-width: 0; }

h1, h2, h3, h4, p { overflow-wrap: break-word; }
h1, h2, h3, h4 { margin-top: 0; color: inherit; line-height: 1.1; letter-spacing: -.025em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); }
h3 { font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
p { margin: 0 0 1em; }
.lead-copy { color: var(--gg-muted); font-size: clamp(1.03rem, 1.5vw, 1.18rem); }
.section-dark .lead-copy { color: #bfc5cb; }
.eyebrow { margin: 0 0 12px; color: var(--gg-accent); font-size: .74rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-light { color: #ff9b68; }
.small { font-size: .88rem; color: var(--gg-muted); }

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 8px;
    left: 8px;
    transform: translateY(-180%);
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--gg-dark);
    color: #fff;
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgba(17, 20, 24, .08);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(140%) blur(16px);
    -webkit-backdrop-filter: saturate(140%) blur(16px);
}
.nav-shell { min-height: var(--gg-header-h); display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; max-width: min(210px, 40vw); }
.brand-logo { width: 160px; max-height: 58px; object-fit: contain; object-position: left center; }
.nav-panel { display: flex; min-width: 0; align-items: center; justify-content: flex-end; gap: 20px; }
.primary-menu, .primary-menu ul, .footer-menu { list-style: none; margin: 0; padding: 0; }
.primary-menu { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 24px); }
.primary-menu > li { position: relative; }
.primary-menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #2e3439;
    font-size: .82rem;
    font-weight: 760;
    white-space: nowrap;
    transition: color .18s ease;
}
.primary-menu > li > a:hover, .primary-menu > .current-menu-item > a, .primary-menu > .current-menu-ancestor > a { color: var(--gg-accent); }
.sub-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    left: -18px;
    width: max-content;
    min-width: 235px;
    max-width: 320px;
    padding: 10px !important;
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    border: 1px solid var(--gg-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--gg-shadow-sm);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu,
.menu-item-has-children.submenu-open > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.sub-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: #333b42; font-size: .85rem; font-weight: 680; }
.sub-menu a:hover { background: var(--gg-soft); color: var(--gg-accent); }
.submenu-toggle { display: none; }
.mobile-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.mobile-toggle span { display: block; width: 22px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--gg-ink); transition: transform .2s ease, opacity .2s ease; }
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 18px;
    border: 1px solid var(--gg-accent);
    border-radius: 9px;
    background: var(--gg-accent);
    color: #fff;
    font-size: .88rem;
    font-weight: 820;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px color-mix(in srgb, var(--gg-accent) 28%, transparent); }
.btn-dark { border-color: var(--gg-dark); background: var(--gg-dark); }
.btn-ghost { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.06); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--gg-dark); box-shadow: none; }
.btn-outline-dark { border-color: #cfd4d8; background: transparent; color: var(--gg-ink); }
.btn-outline-dark:hover { border-color: var(--gg-ink); background: var(--gg-ink); color: #fff; box-shadow: none; }
.header-cta { white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; color: var(--gg-accent); font-size: .9rem; font-weight: 820; }
.text-link svg { width: 18px; transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.section-actions { display: flex; justify-content: center; margin-top: 34px; }
.section-actions.align-left { justify-content: flex-start; }

/* Hero */
.hero {
    position: relative;
    min-height: min(760px, calc(100svh - var(--gg-header-h)));
    display: grid;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background: #171b1f;
    color: #fff;
}
.hero-media, .page-hero-media { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(8,10,12,.90) 0%, rgba(8,10,12,.72) 45%, rgba(8,10,12,.24) 78%, rgba(8,10,12,.16) 100%); }
.hero-inner { padding-block: clamp(76px, 10vw, 128px); }
.hero-content { width: 100%; max-width: 780px; }
.hero h1 { max-width: 720px; margin: 0; color: #fff; font-size: clamp(3rem, 6.2vw, 5.65rem); }
.hero-accent { max-width: 720px; margin: 10px 0 0; color: #ff8040; font-size: clamp(1.55rem, 3vw, 2.45rem); font-weight: 840; line-height: 1.1; letter-spacing: -.03em; }
.hero-copy { max-width: 680px; margin-top: 24px; color: #e3e6e8; font-size: clamp(1rem, 1.5vw, 1.16rem); }
.hero-scope { margin: 28px 0 0; color: #c9ced2; font-size: .78rem; font-weight: 780; letter-spacing: .11em; text-transform: uppercase; }

/* Trust */
.trust-strip { border-bottom: 1px solid var(--gg-line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.trust-item { display: flex; min-width: 0; align-items: center; gap: 12px; padding: 22px clamp(12px, 2vw, 22px); border-right: 1px solid var(--gg-line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong, .trust-item span { display: block; }
.trust-item strong { font-size: .86rem; line-height: 1.2; }
.trust-item span { margin-top: 4px; color: var(--gg-muted); font-size: .72rem; line-height: 1.35; }
.icon { display: inline-grid; flex: 0 0 auto; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--gg-accent) 10%, white); color: var(--gg-accent); }
.icon svg { width: 24px; height: 24px; }
.icon-small { width: 38px; height: 38px; border-radius: 11px; }
.icon-small svg { width: 19px; }
.icon-check { width: 28px; height: 28px; border-radius: 50%; }
.icon-check svg { width: 16px; }

/* Section building blocks */
.split-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr); gap: clamp(38px, 7vw, 86px); align-items: center; }
.split-layout-reverse > :first-child { order: 1; }
.split-layout-reverse > :last-child { order: 2; }
.section-copy h2 { max-width: 760px; margin-bottom: 22px; }
.checklist { display: grid; gap: 13px; margin-top: 24px; }
.check { display: flex; align-items: flex-start; gap: 12px; }
.check > span:last-child { padding-top: 2px; }
.media-card { position: relative; overflow: hidden; min-width: 0; border-radius: var(--gg-radius-lg); background: #e9ecef; box-shadow: var(--gg-shadow); }
.media-card img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.media-card-tall img { aspect-ratio: 4 / 4.7; }
.media-card-wide img { aspect-ratio: 5 / 4.2; }
.media-card figcaption { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(12, 15, 18, .78); color: #fff; backdrop-filter: blur(8px); }
.media-card figcaption strong, .media-card figcaption span { display: block; }
.media-card figcaption strong { font-size: .98rem; }
.media-card figcaption span { margin-top: 4px; color: #dce0e3; font-size: .78rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; margin-bottom: 42px; }
.section-head > div { max-width: 760px; }
.section-head h2 { margin: 0; }
.section-head > p { max-width: 520px; margin: 0; color: var(--gg-muted); }
.light-head > p { color: #bfc5cb; }
.light-head h2 { color: #fff; }
.compact-head { margin-bottom: 34px; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-grid-page { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--gg-line); border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(17,20,24,.035); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--gg-shadow-sm); }
.product-card[hidden] { display: none !important; }
.product-media { display: block; overflow: hidden; background: #eceff1; }
.product-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-media img { transform: scale(1.025); }
.product-placeholder { display: grid; min-height: 230px; place-content: center; gap: 14px; color: #9fa6ac; background: linear-gradient(145deg, #f4f5f6, #e7eaec); text-align: center; }
.product-placeholder svg { width: 74px; margin-inline: auto; }
.product-placeholder small { color: #747d85; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-body { padding: 22px; }
.product-body h2, .product-body h3 { margin: 6px 0 10px; font-size: 1.25rem; }
.product-body p { margin: 0; color: var(--gg-muted); font-size: .9rem; }
.product-category { color: var(--gg-accent); font-size: .68rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.filter-button { min-height: 40px; padding: 8px 14px; border: 1px solid var(--gg-line); border-radius: 999px; background: #fff; color: #41484f; font-size: .8rem; font-weight: 760; cursor: pointer; }
.filter-button:hover, .filter-button.is-active { border-color: var(--gg-dark); background: var(--gg-dark); color: #fff; }

/* Process */
.process-grid { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.process-grid::before { content: ""; position: absolute; z-index: 0; top: 56px; right: 7%; left: 7%; height: 1px; background: linear-gradient(90deg, var(--gg-line), var(--gg-accent), var(--gg-line)); }
.process-step { position: relative; z-index: 1; min-width: 0; padding: 20px 16px; border: 1px solid var(--gg-line); border-radius: 16px; background: #fff; text-align: center; }
.process-step .icon { margin: 8px auto 14px; }
.process-step h3 { margin: 0; font-size: .93rem; line-height: 1.25; }
.process-number { color: #a4abb1; font-size: .68rem; font-weight: 880; letter-spacing: .1em; }

/* Bangladesh */
.bangladesh-section { background: #fff; }
.bd-learn-more { margin-top: 28px; }
.bangladesh-detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.bangladesh-detail-card { min-width: 0; padding: 24px; border: 1px solid var(--gg-line); border-radius: var(--gg-radius); background: var(--gg-card); box-shadow: var(--gg-shadow-sm); }
.bangladesh-detail-card .icon { width: 42px; height: 42px; margin-bottom: 18px; color: var(--gg-accent); }
.bangladesh-detail-card h3 { margin-bottom: 8px; }
.bangladesh-detail-card p { margin: 0; color: var(--gg-muted); }

.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.pillar { min-width: 0; padding: 17px; border-left: 3px solid var(--gg-accent); background: var(--gg-soft); }
.pillar strong, .pillar span { display: block; }
.pillar strong { font-size: .88rem; }
.pillar span { margin-top: 3px; color: var(--gg-muted); font-size: .76rem; }

/* Quality */
.quality-flow { display: flex; align-items: center; justify-content: space-between; gap: 10px; overflow-x: auto; padding: 15px 0 28px; scrollbar-width: thin; }
.quality-flow span { flex: 0 0 auto; padding: 9px 12px; border: 1px solid #30363b; border-radius: 999px; color: #d9dde0; font-size: .73rem; font-weight: 760; white-space: nowrap; }
.quality-flow b { color: var(--gg-accent); }
.quality-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quality-grid.four-up { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dark-card { min-width: 0; padding: 28px; border: 1px solid #2c3237; border-radius: 18px; background: #171b1f; }
.dark-card .icon { background: rgba(255,90,0,.10); }
.dark-card h3 { margin: 18px 0 10px; color: #fff; }
.dark-card p { margin: 0; color: #b9c0c6; font-size: .9rem; }

/* Expertise */
.expertise-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.expertise-card { position: relative; min-width: 0; padding: 26px; border: 1px solid var(--gg-line); border-radius: 18px; background: #fff; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.expertise-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--gg-accent) 40%, var(--gg-line)); box-shadow: var(--gg-shadow-sm); }
.expertise-card h3 { margin: 18px 0 9px; }
.expertise-card p { margin: 0; color: var(--gg-muted); font-size: .88rem; }
.card-arrow { position: absolute; right: 22px; bottom: 20px; color: var(--gg-accent); font-weight: 900; }

/* Page hero */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(76px, 9vw, 118px); background: linear-gradient(135deg, #0d1013, #252b30); color: #fff; }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: -10%; bottom: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--gg-accent) 26%, transparent), transparent 65%); }
.page-hero.has-bg::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(10,12,14,.88), rgba(10,12,14,.58)); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; margin: 0; color: #fff; font-size: clamp(2.7rem, 6vw, 5rem); }
.page-lead { max-width: 780px; margin: 20px 0 0; color: #d0d5d9; font-size: clamp(1rem, 1.5vw, 1.18rem); }

/* About */
.brand-panel { display: grid; min-height: 370px; place-items: center; padding: 42px; border-radius: 26px; background: linear-gradient(145deg, #f5f5f5, #fff); box-shadow: var(--gg-shadow); text-align: center; }
.brand-panel img { width: min(340px, 90%); max-height: 170px; object-fit: contain; }
.brand-panel p { margin: 18px 0 0; color: var(--gg-muted); font-weight: 720; }
.founder-layout { display: grid; grid-template-columns: minmax(260px, 420px) minmax(0, 1fr); gap: clamp(38px, 7vw, 84px); align-items: center; }
.founder-photo { margin: 0; overflow: hidden; border-radius: 26px; background: #e6e8ea; box-shadow: var(--gg-shadow); }
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; }
blockquote { margin: 0; color: #434b52; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.6; }
.signature { margin-top: 22px; font-family: Georgia, serif; font-size: 1.4rem; font-style: italic; }

/* Fabric */
.fabric-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.fabric-card { min-width: 0; overflow: hidden; border: 1px solid var(--gg-line); border-radius: 15px; background: #fff; }
.fabric-media { display: block; overflow: hidden; background: #e9ecee; }
.fabric-media img { width: 100%; aspect-ratio: 1 / .82; object-fit: cover; transition: transform .3s ease; }
.fabric-card:hover img { transform: scale(1.025); }
.fabric-body { padding: 16px; }
.fabric-body h2 { margin: 0 0 7px; font-size: 1rem; }
.fabric-body p { margin: 0; color: var(--gg-muted); font-size: .78rem; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.info-grid.four-up { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-card { min-width: 0; padding: 26px; border: 1px solid var(--gg-line); border-radius: 18px; background: #fff; }
.info-card h2, .info-card h3 { margin: 16px 0 9px; }
.info-card p { margin: 0; color: var(--gg-muted); }
.large-card { padding: 32px; }
.step-badge { display: inline-grid; min-width: 40px; height: 40px; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--gg-accent) 10%, white); color: var(--gg-accent); font-size: .72rem; font-weight: 900; }
.quality-image { width: 100%; max-height: 620px; object-fit: cover; border: 1px solid rgba(0,0,0,.06); border-radius: 22px; box-shadow: var(--gg-shadow-sm); }
.light-checklist .check { color: #e0e3e5; }

/* Development */
.timeline-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.timeline-card { min-width: 0; padding: 22px 18px; border: 1px solid var(--gg-line); border-radius: 16px; background: #fff; }
.timeline-card h3 { margin: 16px 0 9px; font-size: .96rem; }
.timeline-card p { margin: 0; color: var(--gg-muted); font-size: .8rem; }

/* Manufacturing */
.mini-process { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.mini-process span { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--gg-line); border-radius: 11px; font-size: .84rem; font-weight: 700; }
.mini-process b { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--gg-accent); color: #fff; font-size: .67rem; }
.stitch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stitch-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--gg-line); border-radius: 15px; background: #fff; }
.stitch-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.stitch-card span { position: absolute; top: 10px; left: 10px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 8px; background: rgba(16,20,24,.84); color: #fff; font-size: .65rem; font-weight: 900; }
.stitch-card h3 { margin: 0; padding: 15px; font-size: .88rem; }
.compliance-note { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 20px 22px; border: 1px solid #30363b; border-radius: 14px; background: #171b1f; }
.compliance-note span { color: #bfc5cb; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.form-card, .contact-card { border: 1px solid var(--gg-line); border-radius: 20px; background: #fff; box-shadow: var(--gg-shadow-sm); }
.form-card { padding: clamp(22px, 4vw, 38px); }
.form-heading h2 { margin-bottom: 28px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; min-width: 0; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field > span { font-size: .78rem; font-weight: 780; }
.field input, .field select, .field textarea {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 13px;
    border: 1px solid #d9dee2;
    border-radius: 9px;
    background: #fff;
    color: var(--gg-ink);
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gg-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gg-accent) 12%, transparent); }
.file-field input { padding: 10px; background: var(--gg-soft); }
.file-field small { color: var(--gg-muted); font-size: .72rem; }
.submit-button { width: max-content; max-width: 100%; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px,1px,1px,1px) !important; }
.notice { margin-bottom: 20px; padding: 13px 15px; border-radius: 10px; font-size: .88rem; }
.notice.success { background: #eef9f1; color: #206433; }
.notice.error { background: #fff1ed; color: #912e1a; }
.contact-sidebar > h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.contact-sidebar > p { color: var(--gg-muted); }
.contact-card { margin-top: 18px; padding: 24px; box-shadow: none; }
.contact-card h3 { margin-bottom: 12px; }
.contact-card > a, .contact-card > p { display: block; margin-bottom: 8px; color: var(--gg-muted); }
.contact-card > a:hover { color: var(--gg-accent); }

/* Single product/fabric */
.product-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(34px, 6vw, 72px); align-items: start; }
.product-detail-media { overflow: hidden; border-radius: 22px; background: var(--gg-soft); box-shadow: var(--gg-shadow-sm); }
.product-detail-media > img { width: 100%; height: auto; }
.large-placeholder { min-height: 460px; }
.product-detail-copy .btn { margin-top: 24px; }

/* Generic content */
.prose { max-width: 900px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #46505a; }
.prose a { color: var(--gg-accent); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 14px; }
.page-editor-section { border-top: 1px solid var(--gg-line); }
.post-list { display: grid; gap: 18px; }
.post-card { padding: 26px; border: 1px solid var(--gg-line); border-radius: 18px; }
.post-card h2 { margin-bottom: 10px; font-size: 1.65rem; }
.post-card p { color: var(--gg-muted); }
.post-meta { color: var(--gg-accent) !important; font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.empty-state { grid-column: 1 / -1; padding: 42px; border: 1px dashed #cfd4d8; border-radius: 18px; text-align: center; }
.empty-state p { color: var(--gg-muted); }

/* Final CTA + footer */
.final-cta { background: var(--gg-accent); color: #fff; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: clamp(34px, 5vw, 52px); }
.final-cta h2 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(1.8rem, 3.5vw, 3rem); }
.final-cta p:not(.eyebrow) { max-width: 720px; margin: 12px 0 0; color: rgba(255,255,255,.84); }
.site-footer { padding: 66px 0 22px; background: #0d1013; color: #bdc3c8; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr 1.1fr; gap: clamp(26px, 4vw, 52px); }
.footer-grid > * { min-width: 0; }
.footer-logo { display: inline-flex; max-width: 190px; padding: 7px 9px; border-radius: 10px; background: #fff; }
.footer-logo img { width: 170px; max-height: 65px; object-fit: contain; }
.footer-brand p { max-width: 390px; margin-top: 18px; color: #9ea5ab; font-size: .88rem; }
.site-footer h3 { margin-bottom: 16px; color: #fff; font-size: .9rem; letter-spacing: .02em; }
.footer-menu { display: grid; gap: 8px; }
.footer-menu a { color: #b5bbc0; font-size: .85rem; }
.footer-menu a:hover { color: #fff; }
.footer-contact { display: grid; gap: 8px; margin: 0; font-style: normal; }
.footer-contact a, .footer-contact span { color: #b5bbc0; font-size: .85rem; }
.footer-contact a:hover { color: #fff; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 15px; }
.social-links a { color: #fff; font-size: .74rem; font-weight: 760; }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #262c31; color: #8d959c; font-size: .72rem; }
.top-link { position: fixed; z-index: 70; right: 18px; bottom: 18px; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: var(--gg-accent); color: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.16); }

/* WordPress */
.alignwide { width: min(1100px, 100%); max-width: 1100px; }
.alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.wp-caption, .wp-block-image { max-width: 100%; }

/* Responsive / mobile hardening */
/* The gg-theme-ui body class scopes critical responsive rules so plugin CSS is
   less likely to override the theme on phones/tablets. */
html {
    width: 100%;
    max-width: 100%;
}
body.gg-theme-ui {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
body.gg-theme-ui > .site-header,
body.gg-theme-ui > .site-main,
body.gg-theme-ui > .final-cta,
body.gg-theme-ui > .site-footer,
body.gg-theme-ui .hero,
body.gg-theme-ui .trust-strip,
body.gg-theme-ui section {
    width: 100% !important;
    max-width: 100% !important;
}
body.gg-theme-ui .container {
    width: min(var(--gg-container), calc(100% - (var(--gg-gutter) * 2)));
    max-width: 100%;
    margin-inline: auto;
    padding-inline: 0;
}
body.gg-theme-ui .hero > .container.hero-inner {
    width: min(var(--gg-container), calc(100% - (var(--gg-gutter) * 2))) !important;
    max-width: var(--gg-container) !important;
    margin-inline: auto !important;
}
body.gg-theme-ui img,
body.gg-theme-ui video,
body.gg-theme-ui iframe,
body.gg-theme-ui table,
body.gg-theme-ui pre {
    max-width: 100%;
}
body.gg-theme-ui table,
body.gg-theme-ui pre {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
body.gg-theme-ui iframe { border: 0; }
body.gg-theme-ui input,
body.gg-theme-ui select,
body.gg-theme-ui textarea,
body.gg-theme-ui button { max-width: 100%; }
body.gg-theme-ui .prose,
body.gg-theme-ui .post-card,
body.gg-theme-ui .contact-card,
body.gg-theme-ui .form-card { overflow-wrap: anywhere; }

@media (max-width: 1180px) {
    .primary-menu { gap: 13px; }
    .primary-menu > li > a { font-size: .77rem; }
    .header-cta { padding-inline: 14px; }
    .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .trust-item:nth-child(3) { border-right: 0; }
    .trust-item:nth-child(n+4) { border-top: 1px solid var(--gg-line); }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid-page { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .process-grid::before { display: none; }
    .quality-grid.four-up, .expertise-grid, .info-grid.four-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fabric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .timeline-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
    :root { --gg-header-h: 70px; }

    body.gg-theme-ui .nav-shell {
        min-height: var(--gg-header-h);
        gap: 14px;
    }
    body.gg-theme-ui .brand {
        max-width: min(180px, calc(100vw - 92px));
        min-width: 0;
        overflow: hidden;
    }
    body.gg-theme-ui .brand-logo {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 56px;
    }
    body.gg-theme-ui .mobile-toggle {
        display: block;
        flex: 0 0 46px;
        width: 46px;
        height: 46px;
        margin-left: auto;
    }
    body.gg-theme-ui .nav-panel {
        position: fixed;
        z-index: 999;
        top: var(--gg-header-h);
        right: 0;
        bottom: 0;
        left: auto;
        display: block;
        width: min(420px, 92vw);
        max-width: 100%;
        max-height: none;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 14px max(var(--gg-gutter), env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(var(--gg-gutter), env(safe-area-inset-left));
        visibility: hidden;
        opacity: 0;
        transform: translateX(105%);
        border-bottom: 0;
        border-left: 1px solid var(--gg-line);
        background: #fff;
        box-shadow: -24px 0 50px rgba(17,20,24,.14);
        transition: opacity .2s ease, transform .24s ease, visibility .2s ease;
    }
    body.admin-bar.gg-theme-ui .nav-panel {
        top: calc(var(--gg-header-h) + 32px);
        bottom: 0;
        max-height: none;
    }
    body.gg-theme-ui .nav-panel.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }
    body.gg-theme-ui::after {
        content: "";
        position: fixed;
        z-index: 998;
        inset: var(--gg-header-h) 0 0;
        visibility: hidden;
        opacity: 0;
        background: rgba(8,10,12,.42);
        transition: opacity .2s ease, visibility .2s ease;
        pointer-events: none;
    }
    body.admin-bar.gg-theme-ui::after { inset: calc(var(--gg-header-h) + 32px) 0 0; }
    body.gg-theme-ui.nav-open::after { visibility: visible; opacity: 1; pointer-events: auto; }

    body.gg-theme-ui .primary-menu { display: block; }
    body.gg-theme-ui .primary-menu > li { border-bottom: 1px solid var(--gg-line); }
    body.gg-theme-ui .primary-menu > li > a {
        display: flex;
        min-height: 54px;
        align-items: center;
        padding: 8px 48px 8px 2px;
        font-size: .95rem;
        white-space: normal;
    }
    body.gg-theme-ui .sub-menu {
        position: static;
        width: 100%;
        max-width: none;
        min-width: 0;
        max-height: 0;
        overflow: hidden;
        padding: 0 0 0 12px !important;
        visibility: visible;
        opacity: 1;
        transform: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transition: max-height .25s ease, padding .25s ease;
    }
    body.gg-theme-ui .menu-item-has-children.submenu-open > .sub-menu {
        max-height: 520px;
        padding-bottom: 10px !important;
    }
    body.gg-theme-ui .sub-menu a {
        min-height: 46px;
        display: flex;
        align-items: center;
        padding: 8px 10px;
        font-size: .9rem;
    }
    body.gg-theme-ui .submenu-toggle {
        position: absolute;
        top: 7px;
        right: 0;
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        border: 0;
        border-radius: 10px;
        background: var(--gg-soft);
        cursor: pointer;
    }
    body.gg-theme-ui .submenu-toggle::before { content: "+"; font-size: 1.25rem; }
    body.gg-theme-ui .submenu-toggle[aria-expanded="true"]::before { content: "−"; }
    body.gg-theme-ui .header-cta { width: 100%; min-height: 50px; margin-top: 18px; }
    body.gg-theme-ui.nav-open { overflow: hidden; touch-action: none; }

    body.gg-theme-ui .split-layout,
    body.gg-theme-ui .contact-layout,
    body.gg-theme-ui .product-detail-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }
    body.gg-theme-ui .split-layout-reverse > :first-child,
    body.gg-theme-ui .split-layout-reverse > :last-child { order: initial; }
    body.gg-theme-ui .mobile-copy-first .section-copy { order: 1; }
    body.gg-theme-ui .mobile-copy-first .media-card { order: 2; }
    body.gg-theme-ui .media-card-tall img,
    body.gg-theme-ui .media-card-wide img { aspect-ratio: 16 / 10; }
    body.gg-theme-ui .founder-layout { grid-template-columns: minmax(220px, 350px) minmax(0, 1fr); gap: 38px; }
    body.gg-theme-ui .fabric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body.gg-theme-ui .stitch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    body.gg-theme-ui .product-grid-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.gg-theme-ui .bangladesh-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.gg-theme-ui .quality-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.gg-theme-ui .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.gg-theme-ui .stitch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.gg-theme-ui .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
    body.admin-bar.gg-theme-ui .site-header { top: 46px; }
    body.admin-bar.gg-theme-ui .nav-panel { top: calc(var(--gg-header-h) + 46px); }
    body.admin-bar.gg-theme-ui::after { inset: calc(var(--gg-header-h) + 46px) 0 0; }
}

@media (max-width: 760px) {
    :root {
        --gg-gutter: 20px;
        --gg-radius-lg: 22px;
    }
    body.gg-theme-ui { font-size: 16px; line-height: 1.6; }
    body.gg-theme-ui .section { padding-block: 58px; }
    body.gg-theme-ui h1 { font-size: clamp(2.15rem, 8.8vw, 3.25rem); }
    body.gg-theme-ui h2 { font-size: clamp(1.8rem, 7vw, 2.55rem); line-height: 1.14; }
    body.gg-theme-ui h3 { line-height: 1.25; }
    body.gg-theme-ui .lead-copy { font-size: 1rem; line-height: 1.65; }
    body.gg-theme-ui .eyebrow { font-size: .7rem; line-height: 1.45; letter-spacing: .12em; }

    body.gg-theme-ui .hero {
        min-height: auto;
        align-items: end;
    }
    body.gg-theme-ui .hero-media { object-position: 56% center; }
    body.gg-theme-ui .hero-overlay {
        background: linear-gradient(180deg, rgba(8,10,12,.58) 0%, rgba(8,10,12,.78) 45%, rgba(8,10,12,.96) 100%);
    }
    body.gg-theme-ui .hero-inner {
        padding-top: 58px;
        padding-bottom: 50px;
    }
    body.gg-theme-ui .hero-content {
        width: 100%;
        max-width: 680px;
    }
    body.gg-theme-ui .hero h1 {
        max-width: 15ch;
        font-size: clamp(2.3rem, 9.4vw, 3.35rem);
        line-height: 1.04;
        letter-spacing: -.038em;
    }
    body.gg-theme-ui .hero-accent {
        margin-top: 14px;
        max-width: 28ch;
        font-size: clamp(1.3rem, 5.5vw, 1.75rem);
        line-height: 1.16;
    }
    body.gg-theme-ui .hero-copy {
        max-width: 46ch;
        margin-top: 20px;
        font-size: 1rem;
        line-height: 1.65;
    }
    body.gg-theme-ui .hero-scope {
        margin-top: 22px;
        max-width: 100%;
        font-size: .72rem;
        line-height: 1.75;
        letter-spacing: .09em;
    }

    body.gg-theme-ui .actions { display: grid; width: 100%; gap: 10px; margin-top: 24px; }
    body.gg-theme-ui .actions .btn { width: 100%; min-height: 52px; padding: 13px 16px; }
    body.gg-theme-ui .section-actions { margin-top: 28px; }
    body.gg-theme-ui .section-actions .btn { min-height: 48px; }

    body.gg-theme-ui .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.gg-theme-ui .trust-item {
        min-height: 96px;
        align-items: flex-start;
        gap: 10px;
        padding: 18px 14px;
        border-top: 1px solid var(--gg-line);
        border-right: 1px solid var(--gg-line);
    }
    body.gg-theme-ui .trust-item:nth-child(-n+2) { border-top: 0; }
    body.gg-theme-ui .trust-item:nth-child(2n) { border-right: 0; }
    body.gg-theme-ui .trust-item:nth-child(5) { grid-column: 1 / -1; border-right: 0; }
    body.gg-theme-ui .trust-item .icon-small { width: 36px; height: 36px; }

    body.gg-theme-ui .section-head {
        display: grid;
        align-items: start;
        gap: 14px;
        margin-bottom: 30px;
    }
    body.gg-theme-ui .section-head > p { max-width: 680px; }
    body.gg-theme-ui .product-grid,
    body.gg-theme-ui .quality-grid,
    body.gg-theme-ui .expertise-grid,
    body.gg-theme-ui .info-grid,
    body.gg-theme-ui .info-grid.four-up,
    body.gg-theme-ui .quality-grid.four-up,
    body.gg-theme-ui .timeline-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.gg-theme-ui .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.gg-theme-ui .fabric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.gg-theme-ui .founder-layout { grid-template-columns: 1fr; }
    body.gg-theme-ui .founder-photo { max-width: 440px; }
    body.gg-theme-ui .final-cta-inner { display: grid; gap: 22px; }
    body.gg-theme-ui .final-cta .btn { width: max-content; max-width: 100%; }
    body.gg-theme-ui .form-grid { grid-template-columns: 1fr; }
    body.gg-theme-ui .field-full { grid-column: auto; }
    body.gg-theme-ui .mini-process { grid-template-columns: 1fr; }

    body.gg-theme-ui .page-hero { padding-block: 58px; }
    body.gg-theme-ui .page-hero::after { right: -55%; bottom: -220px; width: 430px; height: 430px; }
    body.gg-theme-ui .page-hero h1 {
        max-width: 14ch;
        font-size: clamp(2.25rem, 9.5vw, 3.55rem);
        line-height: 1.05;
    }
    body.gg-theme-ui .page-lead { margin-top: 16px; font-size: 1rem; line-height: 1.65; }

    body.gg-theme-ui .media-card { border-radius: 20px; }
    body.gg-theme-ui .media-card figcaption {
        right: 12px;
        bottom: 12px;
        left: 12px;
        padding: 14px 15px;
    }
    body.gg-theme-ui .product-body,
    body.gg-theme-ui .dark-card,
    body.gg-theme-ui .expertise-card,
    body.gg-theme-ui .info-card,
    body.gg-theme-ui .bangladesh-detail-card { padding: 20px; }
    body.gg-theme-ui .large-card { padding: 24px; }
    body.gg-theme-ui .form-card { padding: 22px; }
    body.gg-theme-ui .field input,
    body.gg-theme-ui .field select,
    body.gg-theme-ui .field textarea { font-size: 16px; }
}

@media (max-width: 640px) {
    :root { --gg-gutter: 18px; --gg-header-h: 66px; }

    body.gg-theme-ui .nav-shell { min-height: 66px; }
    body.gg-theme-ui .brand { max-width: min(152px, calc(100vw - 86px)); }
    body.gg-theme-ui .brand-logo { max-height: 50px; }
    body.gg-theme-ui .mobile-toggle { width: 44px; height: 44px; flex-basis: 44px; }
    body.gg-theme-ui .nav-panel { top: 66px; width: min(390px, 94vw); }
    body.admin-bar.gg-theme-ui .nav-panel { top: calc(66px + 46px); }
    body.gg-theme-ui::after { inset: 66px 0 0; }
    body.admin-bar.gg-theme-ui::after { inset: calc(66px + 46px) 0 0; }

    body.gg-theme-ui .section { padding-block: 52px; }
    body.gg-theme-ui .hero-inner { padding-top: 46px; padding-bottom: 42px; }
    body.gg-theme-ui .hero h1 { font-size: clamp(2.12rem, 9.25vw, 2.85rem); max-width: 15ch; }
    body.gg-theme-ui .hero-accent { font-size: clamp(1.18rem, 5vw, 1.48rem); max-width: 30ch; }
    body.gg-theme-ui .hero-copy { font-size: .98rem; max-width: 40ch; }

    body.gg-theme-ui .product-grid,
    body.gg-theme-ui .product-grid-page,
    body.gg-theme-ui .quality-grid,
    body.gg-theme-ui .quality-grid.four-up,
    body.gg-theme-ui .expertise-grid,
    body.gg-theme-ui .info-grid,
    body.gg-theme-ui .info-grid.four-up,
    body.gg-theme-ui .timeline-grid,
    body.gg-theme-ui .stitch-grid,
    body.gg-theme-ui .process-grid,
    body.gg-theme-ui .pillar-grid,
    body.gg-theme-ui .bangladesh-detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    body.gg-theme-ui .fabric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    body.gg-theme-ui .media-card figcaption {
        position: static;
        border: 0;
        border-radius: 0;
        background: var(--gg-dark);
        backdrop-filter: none;
    }
    body.gg-theme-ui .media-card img,
    body.gg-theme-ui .media-card-tall img,
    body.gg-theme-ui .media-card-wide img { aspect-ratio: 4 / 3; }
    body.gg-theme-ui .quality-flow {
        margin-right: calc(var(--gg-gutter) * -1);
        padding-right: var(--gg-gutter);
        justify-content: flex-start;
        scrollbar-width: none;
    }
    body.gg-theme-ui .quality-flow::-webkit-scrollbar { display: none; }
    body.gg-theme-ui .quality-flow span { min-height: 40px; display: inline-flex; align-items: center; }

    body.gg-theme-ui .brand-panel { min-height: 250px; padding: 24px; }
    body.gg-theme-ui .footer-grid { grid-template-columns: 1fr; }
    body.gg-theme-ui .footer-bottom { display: grid; gap: 12px; margin-top: 34px; }
    body.gg-theme-ui .submit-button,
    body.gg-theme-ui .final-cta .btn { width: 100%; }
    body.gg-theme-ui .section-actions,
    body.gg-theme-ui .section-actions.align-left { justify-content: stretch; }
    body.gg-theme-ui .section-actions .btn { width: 100%; }
    body.gg-theme-ui .text-link { line-height: 1.5; }
    body.gg-theme-ui .top-link {
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        width: 42px;
        height: 42px;
    }
    body.gg-theme-ui .post-card { padding: 20px; }
    body.gg-theme-ui .post-card h2 { font-size: 1.4rem; }
    body.gg-theme-ui .large-placeholder { min-height: 300px; }
}

@media (max-width: 420px) {
    :root { --gg-gutter: 16px; }
    body.gg-theme-ui .section { padding-block: 46px; }
    body.gg-theme-ui .hero-inner { padding-top: 40px; padding-bottom: 38px; }
    body.gg-theme-ui .hero h1 { font-size: clamp(2rem, 8.9vw, 2.42rem); max-width: none; line-height: 1.06; }
    body.gg-theme-ui .hero-accent { font-size: 1.16rem; line-height: 1.22; }
    body.gg-theme-ui .hero-copy { font-size: .95rem; line-height: 1.58; max-width: 38ch; }
    body.gg-theme-ui .hero-scope { font-size: .66rem; line-height: 1.65; letter-spacing: .065em; }
    body.gg-theme-ui .actions { margin-top: 20px; gap: 9px; }
    body.gg-theme-ui .actions .btn { min-height: 50px; border-radius: 12px; }
    body.gg-theme-ui .trust-grid { grid-template-columns: 1fr; }
    body.gg-theme-ui .trust-item,
    body.gg-theme-ui .trust-item:nth-child(2n),
    body.gg-theme-ui .trust-item:nth-child(5) {
        grid-column: auto;
        min-height: 0;
        border-right: 0;
        border-top: 1px solid var(--gg-line);
    }
    body.gg-theme-ui .trust-item:first-child { border-top: 0; }
    body.gg-theme-ui .fabric-grid { grid-template-columns: 1fr; }
    body.gg-theme-ui .page-hero { padding-block: 50px; }
    body.gg-theme-ui .page-hero h1 { font-size: clamp(2.05rem, 10vw, 2.75rem); }
    body.gg-theme-ui .product-placeholder { min-height: 190px; }
    body.gg-theme-ui .form-card,
    body.gg-theme-ui .contact-card,
    body.gg-theme-ui .dark-card,
    body.gg-theme-ui .expertise-card,
    body.gg-theme-ui .info-card,
    body.gg-theme-ui .bangladesh-detail-card { border-radius: 16px; }
}

@media (max-width: 360px) {
    :root { --gg-gutter: 14px; }
    body.gg-theme-ui .brand { max-width: 126px; }
    body.gg-theme-ui .hero h1 { font-size: 1.92rem; }
    body.gg-theme-ui h2 { font-size: 1.75rem; }
    body.gg-theme-ui .eyebrow { letter-spacing: .09em; }
    body.gg-theme-ui .btn { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }
}
