/* ==========================================================================
   Bhavani Polypack India — Corporate Stylesheet
   Theme: black + light green, clean corporate layout
   --------------------------------------------------------------------------
   1. Tokens            7. Media & cards       13. Contact page
   2. Base              8. Home sections       14. Footer & CTA
   3. Layout & text     9. Products page       15. Floating buttons
   4. Buttons          10. Twine page          16. Scroll animations
   5. Header & nav     11. About page          17. Responsive
   6. Banners          12. Tables & lists      18. Reduced motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
    --green: #8CC63F;
    --green-hover: #7AB42E;
    --green-dark: #4E7A17;           /* green for text on white (readable) */
    --green-tint: #EEF6E3;

    --black: #0B0D0A;
    --ink: #151813;
    --ink-2: #1F231C;
    --heading: #111410;
    --text: #3C4238;
    --muted: #697064;
    --muted-dark: #A9B0A3;           /* muted text on black */
    --line: #E1E5DB;
    --line-dark: rgba(255, 255, 255, .1);
    --soft: #F5F7F2;
    --white: #FFFFFF;

    --font-head: 'Barlow', 'Segoe UI', Arial, sans-serif;
    --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

    --radius: 8px;
    --radius-sm: 4px;
    --shadow-sm: 0 1px 3px rgba(17, 20, 16, .08);
    --shadow: 0 16px 32px -16px rgba(17, 20, 16, .22);
    --ease: cubic-bezier(.25, .8, .25, 1);

    --container: 1240px;
    --header-h: 82px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }
main { overflow-x: clip; }
@supports not (overflow: clip) { main { overflow-x: hidden; } }

[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }
figure { margin: 0; }

h1, h2, h3, h4 {
    margin: 0 0 .55em;
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.18;
    color: var(--heading);
}

::selection { background: var(--green); color: var(--black); }
:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 3px; }

.skip-link {
    position: fixed;
    top: -60px;
    left: 16px;
    z-index: 1000;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    background: var(--green);
    color: var(--black);
    font-weight: 600;
    transition: top .3s;
}
.skip-link:focus { top: 16px; }

/* 3. Layout & text --------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(72px, 9vw, 104px) 0; }
.bg-soft { background: var(--soft); }
.bg-dark { background: var(--black); color: var(--muted-dark); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.grid-2.align-start { align-items: start; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-family: var(--font-head);
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--green-dark);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green); }
.bg-dark .eyebrow, .hero .eyebrow { color: var(--green); }

.sec-title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.sec-title .hl { color: var(--green-dark); }
.bg-dark .sec-title .hl { color: var(--green); }
.sec-lead { font-size: 1.08rem; color: var(--muted); }
.bg-dark .sec-lead { color: var(--muted-dark); }

.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .sec-lead { margin: 0; }
.sec-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 48px;
}
.sec-head-row .sec-head { margin-bottom: 0; }
.sec-side { max-width: 420px; margin: 0; }
.actions-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }

.check-list { display: grid; gap: 12px; margin: 24px 0 32px; }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--heading); font-weight: 500; }
.check-list i { margin-top: 5px; color: var(--green-dark); }
.bg-dark .check-list li { color: var(--white); }
.bg-dark .check-list i { color: var(--green); }

/* 4. Buttons --------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    background-color: transparent;
    font-family: var(--font-head);
    font-size: .98rem;
    font-weight: 600;
    letter-spacing: .06em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color .25s, border-color .25s, color .25s;
}
.btn i { font-size: .9em; transition: transform .25s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }

.btn-primary { background: var(--green); color: var(--black); }
.btn-primary:hover { background: var(--green-hover); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); }
.btn-outline { border-color: var(--heading); color: var(--heading); }
.btn-outline:hover { background: var(--heading); color: var(--white); }
.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: var(--white); color: var(--black); }
.btn-outline-dark { border-color: var(--black); color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1EB955; }
.btn-block { width: 100%; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--heading);
    transition: color .25s;
}
.text-link:hover { color: var(--green-dark); }

/* 5. Header & navigation --------------------------------------------------- */
.topbar { background: var(--black); color: var(--muted-dark); font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 42px; }
.topbar-left, .topbar-right { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 24px; }
.topbar i { margin-right: 8px; color: var(--green); }
.topbar a { transition: color .25s; }
.topbar a:hover { color: var(--white); }
.topbar-social { display: inline-flex; gap: 14px; }
.topbar-social i { margin: 0; color: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 8px 24px -14px rgba(0, 0, 0, .28); }

.navbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; color: var(--heading); }
.brand-mark { flex: none; width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-size: 1.32rem; font-weight: 700; letter-spacing: .01em; }
.brand-sub { margin-top: 2px; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); }
.brand-light { color: var(--white); }
.brand-light .brand-sub { color: var(--green); }

.main-nav { display: flex; align-items: center; gap: 22px; }
.nav-menu { display: flex; align-items: stretch; }
.nav-item { position: relative; }
.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    height: var(--header-h);
    padding: 0 15px;
    font-family: var(--font-head);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--heading);
    transition: color .25s;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: -1px;
    height: 3px;
    background: var(--green);
    transform: scaleX(0);
    transition: transform .3s var(--ease);
}
.nav-link .caret { font-size: .62rem; color: var(--muted); }
.nav-item:hover > .nav-link, .nav-item.active > .nav-link { color: var(--green-dark); }
.nav-item:hover > .nav-link::after, .nav-item.active > .nav-link::after { transform: scaleX(1); }

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 5;
    min-width: 240px;
    padding: 8px 0;
    border: 1px solid var(--line);
    border-top: 3px solid var(--green);
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 22px; font-size: .95rem; color: var(--text); transition: background-color .2s, color .2s; }
.dropdown a:hover { background: var(--soft); color: var(--green-dark); }

.sub-toggle, .nav-toggle, .nav-panel-head, .nav-panel-contact, .nav-overlay { display: none; }

.nav-toggle {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--heading); }

/* 6. Banners --------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background-color: var(--black);
    background-size: cover;
    background-position: center;
    color: var(--white);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 13, 10, .96) 0%, rgba(11, 13, 10, .86) 50%, rgba(11, 13, 10, .6) 100%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 22px);
}
.hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--green); }
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 56px;
    align-items: center;
    padding-top: clamp(72px, 9vw, 110px);
    padding-bottom: clamp(120px, 12vw, 150px);
}
.hero h1 { margin-bottom: 22px; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.1; color: var(--white); }
.hero h1 span { color: var(--green); }
.hero-lead { max-width: 620px; margin-bottom: 34px; font-size: 1.1rem; color: #C6CCC0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.division-card { overflow: hidden; border-radius: var(--radius); background: var(--white); color: var(--text); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.division-card-head {
    padding: 16px 24px;
    background: var(--green);
    color: var(--black);
    font-family: var(--font-head);
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.division-row { display: flex; align-items: center; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.division-row:last-child { border-bottom: 0; }
.division-row:hover { background: var(--soft); }
.division-row .ico { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--black); color: var(--green); font-size: 1.1rem; }
.division-row strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--heading); line-height: 1.3; }
.division-row span { font-size: .85rem; color: var(--muted); }
.division-row .arrow { margin-left: auto; color: var(--muted); transition: transform .25s var(--ease), color .25s; }
.division-row:hover .arrow { color: var(--green-dark); transform: translateX(3px); }

.highlights { position: relative; z-index: 2; margin-top: -72px; }
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border-bottom: 3px solid var(--green);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .3);
}
.highlight { display: flex; align-items: flex-start; gap: 16px; padding: 28px 26px; border-right: 1px solid var(--line); }
.highlight:last-child { border-right: 0; }
.highlight i { margin-top: 2px; font-size: 1.6rem; color: var(--green-dark); }
.highlight h3 { margin: 0 0 4px; font-size: 1.12rem; }
.highlight p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.55; }

.page-banner {
    position: relative;
    padding: clamp(56px, 7vw, 84px) 0;
    overflow: hidden;
    background-color: var(--black);
    background-size: cover;
    background-position: center;
    color: var(--white);
}
.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 13, 10, .95), rgba(11, 13, 10, .75)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 22px);
}
.page-banner::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--green); }
.page-banner .container { position: relative; }
.page-banner h1 { margin-bottom: 12px; font-size: clamp(2.1rem, 4vw, 3.1rem); color: var(--white); }
.page-banner p { max-width: 700px; margin: 0; font-size: 1.08rem; color: #C2C9BC; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font-size: .88rem; color: var(--muted-dark); }
.breadcrumb a { transition: color .25s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: var(--green); }
.breadcrumb span[aria-current] { color: var(--white); }

/* 7. Media & cards --------------------------------------------------------- */
/* Photo box: shows the icon until a photo with the matching file name is uploaded */
.media {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: var(--radius);
    background-color: #EDF1E7;
    background-image: repeating-linear-gradient(135deg, rgba(78, 122, 23, .07) 0 1px, transparent 1px 14px);
    color: var(--green-dark);
}
.media > i { font-size: 3.4rem; opacity: .7; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; color: transparent; }
.media figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 18px;
    background: linear-gradient(transparent, rgba(11, 13, 10, .85));
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .04em;
}
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-5x4 { aspect-ratio: 5 / 4; }
.ratio-16x10 { aspect-ratio: 16 / 10; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: box-shadow .3s, border-color .3s, transform .3s var(--ease);
}
.product-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow); }
.product-card:target { border-color: var(--green); box-shadow: 0 0 0 3px rgba(140, 198, 63, .45); }
.product-card .media { border-radius: 0; }
.product-card .media img { transition: transform .5s var(--ease); }
.product-card:hover .media img { transform: scale(1.04); }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 24px; }
.product-tag { margin-bottom: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); }
.product-body h3 { margin-bottom: 8px; font-size: 1.22rem; }
.product-body p { font-size: .93rem; color: var(--muted); }
.spec-list { margin: 0 0 20px; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .86rem; }
.spec-list span { color: var(--muted); }
.spec-list strong { font-weight: 600; text-align: right; color: var(--heading); }
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--heading);
    transition: color .25s;
}
.card-link:hover { color: var(--green-dark); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-grid.spaced { margin-top: 32px; }
.feature { padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .3s, box-shadow .3s; }
.feature:hover { border-color: var(--green); box-shadow: var(--shadow); }
.feature-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: var(--radius-sm); background: var(--green-tint); color: var(--green-dark); font-size: 1.35rem; }
.feature h3 { font-size: 1.22rem; }
.feature p { margin: 0; font-size: .95rem; color: var(--muted); }

.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: var(--line-dark);
}
.icon-tile { display: flex; flex-direction: column; gap: 14px; padding: 30px 26px; background: var(--black); transition: background-color .3s; }
.icon-tile i { font-size: 1.6rem; color: var(--green); }
.icon-tile span { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; line-height: 1.3; color: var(--white); }
.icon-tile:hover { background: var(--ink-2); }
.icon-grid.light { border-color: var(--line); background: var(--line); }
.icon-grid.light .icon-tile { background: var(--white); }
.icon-grid.light .icon-tile i { color: var(--green-dark); }
.icon-grid.light .icon-tile span { color: var(--heading); }
.icon-grid.light .icon-tile:hover { background: var(--soft); }

/* 8. Home sections ----------------------------------------------------------- */
.about-media { position: relative; padding-right: 28px; padding-bottom: 28px; }
.about-media .media { aspect-ratio: 5 / 4; }
.exp-box {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 240px;
    padding: 24px 28px;
    border-left: 4px solid var(--green);
    border-radius: var(--radius-sm);
    background: var(--black);
    color: var(--muted-dark);
    box-shadow: var(--shadow);
}
.exp-box strong { display: block; font-family: var(--font-head); font-size: 2.8rem; font-weight: 700; line-height: 1; color: var(--green); }
.exp-box .exp-label { display: block; margin-top: 6px; font-size: .92rem; line-height: 1.4; }

.stats { padding: 64px 0; background: var(--black); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 6px 28px; border-left: 1px solid var(--line-dark); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat-num { font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 700; line-height: 1; color: var(--green); }
.stat-label { margin-top: 10px; font-size: .95rem; color: var(--muted-dark); }

.steps { display: grid; grid-template-columns: repeat(6, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.step { position: relative; padding: 30px 22px 28px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.step:hover::before { transform: scaleX(1); }
.step-no { font-family: var(--font-head); font-size: .85rem; font-weight: 700; letter-spacing: .12em; color: var(--green-dark); }
.step i { display: block; margin: 14px 0; font-size: 1.6rem; color: var(--heading); }
.step h3 { margin-bottom: 6px; font-size: 1.12rem; }
.step p { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--muted); }

.cert-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--heading);
}
.cert-badge i { color: var(--green-dark); }

/* 9. Products page ----------------------------------------------------------- */
.category-nav { display: flex; flex-wrap: wrap; gap: 12px; }
.category-block + .category-block { margin-top: 72px; }
.category-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--line);
}
.category-head h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.category-head p { max-width: 520px; margin: 6px 0 0; color: var(--muted); }
.category-count { font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); }

/* 10. Twine page ------------------------------------------------------------- */
.colour-swatches { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 16px; }
.colour { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--heading); }
.colour i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }

.pack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pack-item { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.pack-item i { display: block; margin-bottom: 14px; font-size: 1.6rem; color: var(--green-dark); }
.pack-item strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--heading); }
.pack-item span { font-size: .9rem; color: var(--muted); }

/* 11. About page ------------------------------------------------------------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { padding: 40px 36px; border: 1px solid var(--line-dark); border-top: 3px solid var(--green); border-radius: var(--radius); background: var(--ink); }
.mv-card i { display: block; margin-bottom: 18px; font-size: 1.8rem; color: var(--green); }
.mv-card h3 { font-size: 1.5rem; }
.mv-card p { margin: 0; }

.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 24px; }
.value { padding: 22px 16px; border: 1px solid var(--line-dark); border-radius: var(--radius); text-align: center; }
.value i { display: block; margin-bottom: 10px; font-size: 1.4rem; color: var(--green); }
.value span { font-family: var(--font-head); font-weight: 600; color: var(--white); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.gallery .media { aspect-ratio: 4 / 3; }

.q-steps { display: grid; gap: 14px; }
.q-step { display: flex; gap: 20px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .3s; }
.q-step:hover { border-color: var(--green); }
.q-no { min-width: 44px; font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; line-height: 1.2; color: var(--green-dark); }
.q-step h3 { margin-bottom: 4px; font-size: 1.14rem; }
.q-step p { margin: 0; font-size: .94rem; color: var(--muted); }

/* 12. Tables & lists --------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .95rem; }
.data-table th, .data-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 0; }
.data-table tbody th { width: 36%; background: var(--soft); font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--heading); }
.data-table thead th {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-head);
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.data-table.range td:first-child { font-family: var(--font-head); font-size: 1.02rem; font-weight: 600; color: var(--heading); white-space: nowrap; }
.data-table.range tbody tr:hover { background: var(--soft); }
.table-note { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }

/* 13. Contact page ----------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.info-card { padding: clamp(28px, 4vw, 40px); border-radius: var(--radius); background: var(--black); color: var(--muted-dark); }
.info-card h2 { font-size: 1.7rem; color: var(--white); }
.info-list { margin: 20px 0 28px; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.info-list li:first-child { padding-top: 0; }
.info-list i { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); background: rgba(140, 198, 63, .12); color: var(--green); }
.info-list h3 { margin: 0 0 2px; font-family: var(--font-body); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8C9487; }
.info-list p { margin: 0; color: var(--white); overflow-wrap: anywhere; }
.info-list a:hover { color: var(--green); }
.info-actions { display: grid; gap: 12px; }

.form-card { padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.8rem; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 26px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .9rem; font-weight: 600; color: var(--heading); }
.req { color: #C62828; }
.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #D3D9CC;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--heading);
    font: inherit;
    font-size: .96rem;
    transition: border-color .2s, box-shadow .2s;
}
.form-control::placeholder { color: #9AA294; }
.form-control:focus { outline: none; border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(140, 198, 63, .25); }
textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23111410' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.form-note { margin: 14px 0 0; font-size: .86rem; color: var(--muted); }
.form-note a { text-decoration: underline; }

.form-alert { display: none; align-items: flex-start; gap: 12px; margin-top: 20px; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 500; }
.form-alert.show { display: flex; }
.form-alert i { margin-top: 4px; }
.form-alert.success { border: 1px solid var(--green); background: var(--green-tint); color: #2D4D0B; }
.form-alert.error { border: 1px solid #F0B4B4; background: #FDEDED; color: #9B1C1C; }

.map-wrap { height: 440px; border-top: 1px solid var(--line); background: var(--soft); }
.map-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }

.legal { max-width: 860px; }
.legal h2 { margin-top: 36px; font-size: 1.45rem; }
.legal ul { margin: 0 0 1.1em; padding-left: 20px; list-style: disc; }
.legal li { margin-bottom: 6px; }

.error-page { padding: clamp(80px, 12vw, 140px) 0; text-align: center; }
.error-code { font-family: var(--font-head); font-size: clamp(5rem, 14vw, 8rem); font-weight: 700; line-height: 1; color: var(--green-dark); }
.error-page p { max-width: 520px; margin: 0 auto 30px; color: var(--muted); }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* 14. Footer & CTA ----------------------------------------------------------- */
.cta-band { padding: 56px 0; background: var(--green); color: var(--black); }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.cta-inner h2 { margin-bottom: 6px; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--black); }
.cta-inner p { margin: 0; color: rgba(0, 0, 0, .72); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { background: var(--black); color: var(--muted-dark); font-size: .94rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.5fr; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.footer-about p { margin: 20px 0; }
.footer-meta { margin-bottom: 20px; font-size: .86rem; }
.footer-meta li + li { margin-top: 4px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-sm);
    color: var(--white);
    transition: background-color .25s, color .25s, border-color .25s;
}
.footer-social a:hover { border-color: var(--green); background: var(--green); color: var(--black); }
.footer-col h4 { margin-bottom: 20px; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.footer-links li + li { margin-top: 10px; }
.footer-links a { transition: color .25s; }
.footer-links a:hover { color: var(--green); }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact li + li { margin-top: 14px; }
.footer-contact i { width: 16px; margin-top: 5px; color: var(--green); }
.footer-contact strong { color: var(--white); font-weight: 600; }
.footer-contact a { overflow-wrap: anywhere; transition: color .25s; }
.footer-contact a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--line-dark); font-size: .86rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-top: 20px; padding-bottom: 20px; }
.footer-bottom p { display: flex; gap: 10px; margin: 0; }
.footer-bottom a:hover { color: var(--green); }

/* 15. Floating buttons ------------------------------------------------------- */
.float-actions { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.whatsapp-btn {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .35);
}
.to-top {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--black);
    color: var(--green);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; }

/* 16. Scroll animations (subtle) ---------------------------------------------- */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Maintenance page (maintenance.html) ------------------------------------------- */
.maintenance {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: var(--black);
    color: var(--muted-dark);
}
.maintenance::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(140, 198, 63, .14), transparent 60%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 22px);
}
.maintenance::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--green); }
.maintenance > * { position: relative; }
.mt-brand { display: flex; justify-content: center; padding: 36px 24px 0; }
.mt-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 24px;
    text-align: center;
}
.mt-content .eyebrow { color: var(--green); }
.mt-content .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--green); }
.mt-icon {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin-bottom: 28px;
    border-radius: var(--radius);
    background: var(--green);
    color: var(--black);
    font-size: 2.1rem;
}
.mt-icon i { animation: mtTool 3.2s ease-in-out infinite; }
@keyframes mtTool {
    0%, 60%, 100% { transform: rotate(0); }
    70% { transform: rotate(-14deg); }
    80% { transform: rotate(10deg); }
    90% { transform: rotate(-5deg); }
}
.maintenance h1 { margin-bottom: 16px; font-size: clamp(2rem, 5vw, 3.2rem); color: var(--white); }
.mt-lead { max-width: 640px; margin: 0 auto 30px; font-size: 1.1rem; color: #C6CCC0; }
.mt-progress { width: min(320px, 80%); height: 4px; margin: 0 auto 36px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.mt-progress span { display: block; width: 35%; height: 100%; border-radius: 4px; background: var(--green); animation: mtProgress 1.8s ease-in-out infinite; }
@keyframes mtProgress { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
.mt-note { margin-bottom: 18px; font-weight: 500; color: var(--white); }
.mt-contact { display: grid; grid-template-columns: 1fr 1fr 1.45fr; gap: 14px; width: 100%; }
.mt-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: var(--ink);
    text-align: left;
    transition: border-color .25s, background-color .25s;
}
.mt-card:hover { border-color: var(--green); background: var(--ink-2); }
.mt-card > i { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); background: rgba(140, 198, 63, .12); color: var(--green); font-size: 1.15rem; }
.mt-card small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8C9487; }
.mt-card strong { display: block; font-weight: 600; line-height: 1.35; color: var(--white); overflow-wrap: anywhere; }
.mt-address { margin: 26px 0 0; font-size: .92rem; }
.mt-address i { margin-right: 8px; color: var(--green); }
.mt-footer { padding: 22px 24px 30px; border-top: 1px solid var(--line-dark); font-size: .84rem; text-align: center; }

@media (max-width: 760px) {
    .mt-contact { grid-template-columns: 1fr; }
    .mt-card strong { font-size: .92rem; }
    .mt-brand .brand-name { font-size: 1.12rem; }
}

/* 17. Responsive --------------------------------------------------------------- */
@media (max-width: 1199px) {
    .nav-link { padding: 0 11px; }
    .nav-link::after { left: 11px; right: 11px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .step:nth-child(3) { border-right: 0; }
    .step:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 1099px) {
    .topbar-right > span:not(.topbar-social) { display: none; }

    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 120;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: min(360px, 88vw);
        overflow-y: auto;
        background: var(--white);
        box-shadow: -20px 0 40px -20px rgba(0, 0, 0, .4);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .35s var(--ease), visibility 0s .35s;
    }
    .nav-open .main-nav { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 110;
        background: rgba(11, 13, 10, .55);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s, visibility .3s;
    }
    .nav-open .nav-overlay { opacity: 1; visibility: visible; }

    .nav-panel-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 24px;
        background: var(--black);
        color: var(--white);
        font-family: var(--font-head);
        font-weight: 600;
        letter-spacing: .12em;
        text-transform: uppercase;
    }
    .nav-close { width: 40px; height: 40px; border: 0; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .1); color: var(--white); font-size: 1.1rem; }

    .nav-menu { flex-direction: column; }
    .nav-item { border-bottom: 1px solid var(--line); }
    .nav-link { height: auto; padding: 15px 24px; }
    .nav-link::after, .nav-link .caret { display: none; }
    .nav-item.active > .nav-link { box-shadow: inset 4px 0 0 var(--green); }
    .sub-toggle {
        display: grid;
        place-items: center;
        position: absolute;
        top: 6px;
        right: 12px;
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: var(--radius-sm);
        background: var(--soft);
        color: var(--heading);
    }
    .sub-toggle i { transition: transform .25s; }
    .nav-item.open > .sub-toggle i { transform: rotate(45deg); }
    .dropdown {
        position: static;
        display: none;
        min-width: 0;
        padding: 0 0 10px;
        border: 0;
        background: var(--soft);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .nav-item.open > .dropdown { display: block; }
    .dropdown a { padding: 10px 24px 10px 40px; }
    .nav-cta { margin: 24px 24px 0; }
    .nav-panel-contact { display: grid; gap: 10px; padding: 24px; font-size: .92rem; color: var(--muted); }
    .nav-panel-contact i { margin-right: 10px; color: var(--green-dark); }

    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .division-card { max-width: 560px; }
}

@media (max-width: 991px) {
    .grid-2 { grid-template-columns: 1fr; }
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .highlight:nth-child(2) { border-right: 0; }
    .highlight:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .product-grid, .product-grid.cols-3, .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .icon-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
    .stat:nth-child(3) { padding-left: 0; border-left: 0; }
    .contact-layout { grid-template-columns: 1fr; }
    .values { grid-template-columns: repeat(3, 1fr); }
    .pack-grid { grid-template-columns: repeat(2, 1fr); }
    .about-media { max-width: 600px; }
}

@media (max-width: 640px) {
    :root { --header-h: 70px; }
    .container { padding: 0 18px; }
    .topbar { display: none; }
    .brand-mark { width: 40px; height: 40px; }
    .brand-name { font-size: 1.12rem; }
    .brand-sub { font-size: .6rem; letter-spacing: .08em; }

    .hero-actions .btn { flex: 1 1 auto; }
    .highlights { margin-top: -56px; }
    .highlights-grid { grid-template-columns: 1fr; }
    .highlight { border-right: 0; border-bottom: 1px solid var(--line); }
    .highlight:last-child { border-bottom: 0; }

    .product-grid, .product-grid.cols-3, .feature-grid, .gallery, .mv-grid { grid-template-columns: 1fr; }
    .icon-grid { grid-template-columns: 1fr 1fr; }
    .icon-tile { padding: 22px 18px; }
    .icon-tile span { font-size: 1rem; }
    .steps { grid-template-columns: 1fr 1fr; }
    .step:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .step:nth-child(2n) { border-right: 0; }
    .step:nth-last-child(-n+2) { border-bottom: 0; }
    .stat { padding: 0 16px; }
    .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
    .values { grid-template-columns: 1fr 1fr; }
    .check-list.cols-2, .form-grid { grid-template-columns: 1fr; }
    .form-submit .btn { flex: 1 1 100%; }
    .pack-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .about-media { padding-right: 16px; padding-bottom: 16px; }
    .exp-box { padding: 18px 20px; }
    .exp-box strong { font-size: 2.2rem; }
    .data-table th, .data-table td { padding: 12px 14px; }
    .data-table.range td:first-child { white-space: normal; }
    .cta-actions, .cta-actions .btn { width: 100%; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
    .map-wrap { height: 320px; }
    .float-actions { right: 14px; bottom: 14px; }
}

/* 18. Reduced motion ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}
