/* ==========================================================================
   JALARAM PROVISION STORE — stylesheet
   --------------------------------------------------------------------------
   Contents
     01  Design tokens
     02  Reset & base
     03  Layout primitives
     04  Buttons & pills
     05  Header / navigation
     06  Footer
     07  Hero
     08  Product cards & grid
     09  Catalogue filters
     10  Product detail
     11  Content sections (values, steps, about, contact)
     12  Forms
     13  Floating & mobile actions
     14  Utilities & motion
   ========================================================================== */

/* 01 — Design tokens ----------------------------------------------------- */
:root {
    /* Brand */
    --green-900: #0d3527;
    --green-800: #11432f;
    --green-700: #175c41;
    --green-600: #1d7a54;
    --green-100: #dff0e6;
    --green-50:  #f0f8f3;

    --saffron:     #e0962a;
    --saffron-dk:  #95600c;
    --saffron-100: #fdf0d8;

    --paprika: #c0462c;

    /* Paper neutrals */
    --paper:    #fbf6ec;
    --paper-2:  #f5eee0;
    --surface:  #ffffff;
    --ink:      #221f1a;
    --ink-soft: #4d483f;
    --muted:    #706a59;
    --line:     #e7ddc8;
    --line-soft: #f0e8d8;

    /* Type */
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Spacing scale */
    --s-1: 0.25rem;
    --s-2: 0.5rem;
    --s-3: 0.75rem;
    --s-4: 1rem;
    --s-5: 1.5rem;
    --s-6: 2rem;
    --s-7: 3rem;
    --s-8: 4rem;
    --s-9: 6rem;

    /* Shape */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-xl: 32px;
    --r-pill: 999px;

    /* Elevation — warm-tinted, never grey */
    --sh-1: 0 1px 2px rgba(34, 31, 26, .05), 0 2px 8px rgba(34, 31, 26, .04);
    --sh-2: 0 2px 6px rgba(34, 31, 26, .06), 0 10px 26px rgba(34, 31, 26, .07);
    --sh-3: 0 6px 16px rgba(34, 31, 26, .08), 0 22px 50px rgba(34, 31, 26, .10);

    --container: 1180px;
    --header-h: 74px;
}

/* 02 — Reset & base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    background-color: var(--paper);
    /* Faint paper grain: keeps large cream areas from looking flat. */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin: 0 0 var(--s-4);
    color: var(--green-900);
    font-variation-settings: "SOFT" 20, "WONK" 0;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 var(--s-4); }

a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--saffron-dk); }

ul { margin: 0; padding: 0; list-style: none; }

/* A single, consistent focus ring everywhere. */
:focus-visible {
    outline: 3px solid var(--saffron);
    outline-offset: 2px;
    border-radius: var(--r-sm);
}

::selection { background: var(--saffron-100); color: var(--green-900); }

.icon { flex: none; vertical-align: middle; }

/* 03 — Layout primitives ------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--s-5);
}

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--surface); }

.section--green {
    background: var(--green-800);
    color: var(--green-100);
}
.section--green h2,
.section--green h3 { color: #fff; }

/* Section heading block */
.sec-head { max-width: 46rem; margin-bottom: var(--s-7); }
.sec-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--saffron-dk);
    margin-bottom: var(--s-3);
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--saffron);
    border-radius: 2px;
}
.sec-head--center .eyebrow::before { display: none; }
.section--green .eyebrow { color: var(--saffron); }

.lede {
    font-size: 1.08rem;
    color: var(--ink-soft);
    margin-bottom: 0;
}
.section--green .lede { color: #cfe4d7; }

/* 04 — Buttons & pills --------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    padding: .78rem 1.45rem;
    border: 1.5px solid transparent;
    border-radius: var(--r-pill);
    font: inherit;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease,
                border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
    background: var(--green-700);
    border-color: var(--green-700);
    color: #fff;
    box-shadow: var(--sh-1);
}
.btn--primary:hover {
    background: var(--green-800);
    border-color: var(--green-800);
    color: #fff;
    box-shadow: var(--sh-2);
}

.btn--saffron {
    background: var(--saffron);
    border-color: var(--saffron);
    color: #40260a;
    box-shadow: var(--sh-1);
}
.btn--saffron:hover {
    background: var(--saffron-dk);
    border-color: var(--saffron-dk);
    color: #fff;
}

.btn--ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--green-800);
}
.btn--ghost:hover {
    background: var(--surface);
    border-color: var(--green-600);
    color: var(--green-800);
}

.btn--onGreen {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .34);
    color: #fff;
}
.btn--onGreen:hover { background: rgba(255, 255, 255, .2); color: #fff; }

.btn--wa { background: #25d366; border-color: #25d366; color: #06301a; }
.btn--wa:hover { background: #1db955; border-color: #1db955; color: #06301a; }

.btn--block { width: 100%; }
.btn--sm { padding: .55rem 1.05rem; font-size: .88rem; }
.btn--lg { padding: .95rem 1.8rem; font-size: 1.02rem; }

/* Small label chips */
.chip {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    padding: .34rem .78rem;
    border-radius: var(--r-pill);
    background: var(--saffron-100);
    border: 1px solid #f2dcb0;
    color: #7a5209;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .01em;
}
.chip--green {
    background: var(--green-100);
    border-color: #c6e4d2;
    color: var(--green-800);
}
.chip--onDark {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .22);
    color: #eaf5ee;
}

/* 05 — Header / navigation ----------------------------------------------- */
.topbar {
    background: var(--green-900);
    color: #bfddcb;
    font-size: .82rem;
}
.topbar__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    min-height: 40px;
    padding-block: .35rem;
    flex-wrap: wrap;
}
.topbar a { color: #e8f4ec; font-weight: 600; }
.topbar a:hover { color: var(--saffron); }
.topbar__set { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(251, 246, 236, .9);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-header__in {
    display: flex;
    align-items: center;
    gap: var(--s-5);
    min-height: var(--header-h);
}

/* Wordmark */
.brand { display: inline-flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand__mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--green-700), var(--green-900));
    color: var(--saffron);
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: var(--sh-1);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
    font-family: var(--font-display);
    font-size: 1.14rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--green-900);
}
.brand__sub {
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav { display: flex; align-items: center; gap: var(--s-1); }
.nav__link {
    position: relative;
    padding: .55rem .85rem;
    border-radius: var(--r-pill);
    color: var(--ink-soft);
    font-size: .94rem;
    font-weight: 600;
    transition: color .18s ease, background-color .18s ease;
}
.nav__link:hover { color: var(--green-800); background: var(--paper-2); }
.nav__link.is-active { color: var(--green-800); }
.nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: .18rem;
    transform: translateX(-50%);
    width: 18px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--saffron);
}

.header__cta { display: flex; align-items: center; gap: var(--s-3); }

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--green-800);
    cursor: pointer;
}

/* Slide-down mobile panel */
.mobile-nav {
    display: none;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}
.mobile-nav.is-open { display: block; }
.mobile-nav__list { padding: var(--s-3) 0 var(--s-5); }
.mobile-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem .25rem;
    border-bottom: 1px solid var(--line-soft);
    color: var(--green-900);
    font-size: 1.05rem;
    font-weight: 600;
}
.mobile-nav__link.is-active { color: var(--saffron-dk); }
.mobile-nav__actions { display: grid; gap: var(--s-3); margin-top: var(--s-5); }

/* 06 — Footer ------------------------------------------------------------ */
.site-footer {
    background: var(--green-900);
    color: #b9d6c5;
    /* Extra bottom padding keeps the floating WhatsApp button clear of the text. */
    padding-block: var(--s-8) var(--s-7);
    margin-top: auto;
}
.site-footer h4 {
    color: #fff;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: var(--s-4);
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: var(--s-7) var(--s-6);
}
.footer__about { max-width: 30ch; font-size: .94rem; line-height: 1.7; }
.footer__links li + li { margin-top: .6rem; }
.footer__links a { color: #b9d6c5; font-size: .94rem; }
.footer__links a:hover { color: var(--saffron); }
.footer__contact li {
    display: flex;
    gap: .7rem;
    font-size: .94rem;
    line-height: 1.55;
}
.footer__contact li + li { margin-top: var(--s-4); }
.footer__contact .icon { margin-top: .22rem; color: var(--saffron); }
.footer__contact a { color: #e4f1e9; }
.footer__contact a:hover { color: var(--saffron); }

.footer .brand__name { color: #fff; }
.footer .brand__sub { color: #87b39a; }
.footer .brand { margin: 0 0 var(--s-4); }

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    flex-wrap: wrap;
    margin-top: var(--s-8);
    padding-top: var(--s-5);
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .85rem;
    color: #8fb9a2;
}

/* 07 — Hero -------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
}
/* Soft saffron bloom behind the artwork */
.hero::before {
    content: "";
    position: absolute;
    top: -22%;
    right: -14%;
    width: 46rem;
    height: 46rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 150, 42, .16), transparent 66%);
    pointer-events: none;
}
.hero__in {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}
.hero__title { margin-bottom: var(--s-5); }
.hero__title em {
    font-style: italic;
    color: var(--saffron-dk);
    font-variation-settings: "SOFT" 60, "WONK" 1;
}
.hero__text {
    font-size: 1.12rem;
    color: var(--ink-soft);
    max-width: 34rem;
    margin-bottom: var(--s-6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-6); }

.hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-5) var(--s-6);
    padding-top: var(--s-5);
    border-top: 1px solid var(--line);
}
.hero__fact strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-800);
    line-height: 1.1;
}
.hero__fact span { font-size: .85rem; color: var(--muted); }

/* Artwork: photo in an offset frame with a floating price chip */
.hero__art { position: relative; }
.hero__frame {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-3);
    aspect-ratio: 4 / 3.2;
    background: var(--paper-2);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__art::after {
    content: "";
    position: absolute;
    inset: auto -14px -14px auto;
    width: 62%;
    height: 62%;
    border: 2px solid var(--saffron);
    border-radius: var(--r-xl);
    z-index: -1;
}
.hero__badge {
    position: absolute;
    left: -18px;
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .8rem 1.1rem;
    border-radius: var(--r-lg);
    background: var(--surface);
    box-shadow: var(--sh-2);
    border: 1px solid var(--line-soft);
}
.hero__badge .icon { color: var(--green-600); }
.hero__badge b {
    display: block;
    font-size: .95rem;
    color: var(--green-900);
    line-height: 1.25;
}
.hero__badge span { font-size: .78rem; color: var(--muted); }

/* Scrolling category marquee */
.marquee {
    border-block: 1px solid var(--line);
    background: var(--green-800);
    color: var(--green-100);
    overflow: hidden;
    padding-block: .85rem;
}
.marquee__track {
    display: flex;
    width: max-content;
    gap: var(--s-6);
    animation: marquee 32s linear infinite;
}
.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    font-family: var(--font-display);
    font-size: 1.05rem;
    white-space: nowrap;
    letter-spacing: .01em;
}
.marquee__item::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--saffron);
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}
.marquee:hover .marquee__track { animation-play-state: paused; }

/* 08 — Product cards & grid ---------------------------------------------- */
.grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: var(--s-5);
}

.pcard {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.pcard:hover {
    transform: translateY(-4px);
    border-color: #d9cdb2;
    box-shadow: var(--sh-2);
}

.pcard__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--paper-2);
    overflow: hidden;
}
.pcard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.pcard:hover .pcard__media img { transform: scale(1.05); }

.pcard__cat {
    position: absolute;
    top: .7rem;
    left: .7rem;
    z-index: 2;
    padding: .3rem .7rem;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(6px);
    color: var(--green-800);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: var(--sh-1);
}

.pcard__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--s-5) var(--s-5) var(--s-4);
}
.pcard__name {
    font-family: var(--font-display);
    font-size: 1.14rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 .4rem;
}
.pcard__name a { color: var(--green-900); }
.pcard__name a:hover { color: var(--saffron-dk); }
.pcard__blurb {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0 0 var(--s-4);
    /* Keep every card's text block the same height */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price { display: flex; align-items: baseline; gap: .35rem; margin-top: auto; }
.price__amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-800);
    letter-spacing: -.01em;
}
.price__unit { font-size: .85rem; color: var(--muted); font-weight: 500; }

.pcard__actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--s-2);
    padding: 0 var(--s-5) var(--s-5);
}
/* Card button label: full wording by default, short form on phones. */
.pcard__label--short { display: none; }

.pcard__icon-btn {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-pill);
    background: var(--surface);
    color: var(--green-700);
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.pcard__icon-btn:hover {
    background: #25d366;
    border-color: #25d366;
    color: #06301a;
}

/* 09 — Catalogue filters ------------------------------------------------- */
.page-head {
    padding-block: clamp(2.5rem, 6vw, 4rem) var(--s-6);
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
}
.page-head h1 { margin-bottom: var(--s-3); }
.page-head .lede { max-width: 44rem; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: var(--s-4);
    font-size: .85rem;
    color: var(--muted);
}
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--green-700); }
.breadcrumb span { opacity: .55; }

.filters {
    position: sticky;
    top: var(--header-h);
    z-index: 40;
    background: rgba(251, 246, 236, .94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding-block: var(--s-4);
}
.filters__row {
    display: flex;
    align-items: center;
    gap: var(--s-4);
    flex-wrap: wrap;
}
.filters__pills {
    display: flex;
    gap: var(--s-2);
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}
.fpill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .48rem .95rem;
    border: 1.5px solid var(--line);
    border-radius: var(--r-pill);
    background: var(--surface);
    color: var(--ink-soft);
    font: inherit;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.fpill:hover { border-color: var(--green-600); color: var(--green-800); }
.fpill[aria-pressed="true"] {
    background: var(--green-800);
    border-color: var(--green-800);
    color: #fff;
}
.fpill__n { font-size: .78rem; opacity: .8; }

.search {
    position: relative;
    flex: none;
    width: min(260px, 100%);
}
.search .icon {
    position: absolute;
    left: .85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}
.search input {
    width: 100%;
    padding: .62rem .9rem .62rem 2.5rem;
    border: 1.5px solid var(--line);
    border-radius: var(--r-pill);
    background: var(--surface);
    font: inherit;
    font-size: .92rem;
    color: var(--ink);
}
.search input::placeholder { color: #7b7259; }
.search input:focus { outline: none; border-color: var(--green-600); }
.search input:focus-visible { outline: 3px solid var(--saffron); outline-offset: 1px; }

.results-note {
    margin-bottom: var(--s-5);
    font-size: .92rem;
    color: var(--muted);
}
.results-note b { color: var(--green-800); }

.empty {
    padding: var(--s-8) var(--s-5);
    text-align: center;
    border: 1.5px dashed var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
}
.empty h3 { margin-bottom: var(--s-2); }
.empty p { color: var(--muted); margin-bottom: var(--s-5); }

/* 10 — Product detail ---------------------------------------------------- */
.pd {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.pd__media {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper-2);
    aspect-ratio: 4 / 3.4;
    box-shadow: var(--sh-2);
}
.pd__media img { width: 100%; height: 100%; object-fit: cover; }

.pd__title { margin: var(--s-3) 0 var(--s-4); }
.pd__blurb { font-size: 1.08rem; color: var(--ink-soft); }

.pd__price {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    margin: var(--s-5) 0;
    padding: var(--s-4) var(--s-5);
    border-radius: var(--r-lg);
    background: var(--green-50);
    border: 1px solid var(--green-100);
}
.pd__price .price__amount { font-size: 2.2rem; }
.pd__price .price__unit { font-size: .98rem; }

.pd__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-6); }

.spec { border-top: 1px solid var(--line); }
.spec__row {
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: var(--s-4);
    padding: .85rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: .94rem;
}
.spec__row dt { color: var(--muted); font-weight: 600; margin: 0; }
.spec__row dd { margin: 0; color: var(--ink); font-weight: 600; }

.note {
    display: flex;
    gap: var(--s-3);
    margin-top: var(--s-5);
    padding: var(--s-4);
    border-radius: var(--r-md);
    background: var(--saffron-100);
    border: 1px solid #f2dcb0;
    font-size: .9rem;
    color: #70501b;
}
.note .icon { color: var(--saffron-dk); margin-top: .15rem; }
.note p { margin: 0; }

/* 11 — Content sections -------------------------------------------------- */
.cards-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--s-5);
}

.vcard {
    padding: var(--s-6);
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform .2s ease, box-shadow .2s ease;
}
.vcard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.vcard__icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: var(--s-4);
    border-radius: 14px;
    background: var(--green-50);
    color: var(--green-700);
    border: 1px solid var(--green-100);
}
.vcard h3 { font-size: 1.22rem; margin-bottom: var(--s-2); }
.vcard p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--s-6); }
.step { position: relative; padding-top: var(--s-5); }
.step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 3px;
    border-radius: 3px;
    background: var(--saffron);
}
.step__n {
    display: block;
    font-family: var(--font-display);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--saffron);
    margin-bottom: var(--s-2);
}
.step h3 { font-size: 1.15rem; margin-bottom: var(--s-2); color: #fff; }
.step p { color: #cfe4d7; font-size: .95rem; margin: 0; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--s-4); }
.cat-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--s-5);
    min-height: 140px;
    padding: var(--s-5);
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--green-900);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat-tile:hover {
    transform: translateY(-3px);
    border-color: var(--green-600);
    box-shadow: var(--sh-2);
    color: var(--green-900);
}
.cat-tile__top { display: flex; align-items: center; justify-content: space-between; }
.cat-tile .icon { color: var(--saffron-dk); }
.cat-tile__n { font-size: .8rem; color: var(--muted); font-weight: 600; }
.cat-tile h3 { font-size: 1.1rem; margin: 0; }
.cat-tile__go { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--green-700); }

/* Split: text + image */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}
.split__media {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-2);
    aspect-ratio: 4 / 3.3;
    background: var(--paper-2);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.ticks li {
    display: flex;
    gap: var(--s-3);
    margin-bottom: var(--s-3);
    font-size: .98rem;
    color: var(--ink-soft);
}
.ticks .icon {
    flex: none;
    margin-top: .3rem;
    padding: 2px;
    border-radius: 50%;
    background: var(--green-100);
    color: var(--green-700);
}

/* CTA band */
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-xl);
    padding: clamp(2.2rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, var(--green-800), var(--green-900) 70%);
    color: #d6ebdf;
    text-align: center;
}
.cta-band::after {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -60%;
    width: 30rem;
    height: 30rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 150, 42, .22), transparent 65%);
    pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: var(--s-3); }
.cta-band p { max-width: 46rem; margin-inline: auto; margin-bottom: var(--s-6); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; }

/* Contact tiles */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: var(--s-5); }
.contact-card {
    padding: var(--s-6);
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
}
.contact-card .vcard__icon { margin-bottom: var(--s-4); }
.contact-card h3 { font-size: 1.1rem; margin-bottom: var(--s-2); }
.contact-card p, .contact-card address {
    font-style: normal;
    color: var(--muted);
    font-size: .95rem;
    margin: 0 0 var(--s-4);
    line-height: 1.6;
}
.contact-card a.contact-card__link { font-weight: 600; font-size: .98rem; word-break: break-word; }

.map-frame {
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--sh-2);
    background: var(--paper-2);
    line-height: 0;
}
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }

.hours { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.hours__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    padding: .9rem var(--s-5);
    font-size: .95rem;
}
.hours__row + .hours__row { border-top: 1px solid var(--line-soft); }
.hours__row dt { color: var(--ink-soft); font-weight: 600; margin: 0; }
.hours__row dd { margin: 0; color: var(--green-800); font-weight: 700; }

/* 12 — Forms ------------------------------------------------------------- */
.form-card {
    padding: clamp(1.5rem, 4vw, var(--s-7));
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-1);
}
.field { margin-bottom: var(--s-5); }
.field label {
    display: block;
    margin-bottom: .45rem;
    font-size: .88rem;
    font-weight: 700;
    color: var(--green-900);
}
.field .req { color: var(--paprika); }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .78rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    background: var(--paper);
    font: inherit;
    font-size: .98rem;
    color: var(--ink);
    transition: border-color .18s ease, background-color .18s ease;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--green-600);
    background: var(--surface);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--saffron); outline-offset: 1px; }
.field__hint { display: block; margin-top: .4rem; font-size: .82rem; color: var(--muted); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }

.form-actions { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.form-note {
    margin-top: var(--s-4);
    font-size: .84rem;
    color: var(--muted);
    text-align: center;
}

.alert {
    display: flex;
    gap: var(--s-3);
    padding: var(--s-4) var(--s-5);
    border-radius: var(--r-md);
    margin-bottom: var(--s-5);
    font-size: .93rem;
}
.alert--err { background: #fdecea; border: 1px solid #f6cdc6; color: #8d2b19; }
.alert--ok  { background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-800); }
.alert p { margin: 0; }
.alert ul { margin: .35rem 0 0; padding-left: 1.1rem; list-style: disc; }

/* 13 — Floating & mobile actions ----------------------------------------- */
.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1.15rem;
    border-radius: var(--r-pill);
    background: #25d366;
    color: #06301a;
    font-size: .92rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .38);
    transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover {
    transform: translateY(-2px);
    color: #06301a;
    box-shadow: 0 12px 30px rgba(37, 211, 102, .48);
}
.wa-float__text { display: inline; }

.mobile-bar { display: none; }

/* 14 — Utilities & motion ------------------------------------------------ */
/* The hidden attribute must win over component display rules
   (.pcard is display:flex, which would otherwise override it). */
[hidden] { display: none !important; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -140%);
    z-index: 200;
    padding: .7rem 1.2rem;
    border-radius: 0 0 var(--r-md) var(--r-md);
    background: var(--green-800);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

.page { display: flex; flex-direction: column; min-height: 100vh; }
.stack > * + * { margin-top: var(--s-5); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Reveal on scroll.
   Scoped to .js (set by a one-line script in <head>) so that with JavaScript
   off the elements are simply visible instead of stuck at opacity 0. */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1);
}
@media (prefers-reduced-motion: reduce) {
    .js .reveal, .js .reveal.is-in { opacity: 1; transform: none; transition: none; }
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 1000px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .hero__in { grid-template-columns: 1fr; }
    .hero__art { order: -1; max-width: 560px; }
    .hero__text { max-width: none; }
    .pd { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; }
    .split--flip .split__media { order: -1; }
}

@media (max-width: 860px) {
    .nav, .header__cta { display: none; }
    .nav-toggle { display: inline-flex; }

    /* Pin the panel directly under the sticky header, so it is visible
       wherever the page happens to be scrolled to when it is opened. */
    .mobile-nav.is-open {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        z-index: 59;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        box-shadow: var(--sh-3);
    }
    .search { width: 100%; }
    .filters__row { gap: var(--s-3); }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    :root { --header-h: 66px; }
    .container { padding-inline: var(--s-4); }
    .footer__grid { grid-template-columns: 1fr; gap: var(--s-6); }
    .footer__bottom { justify-content: center; text-align: center; }
    /* Keep the utility bar to a single line: phone only. */
    .topbar__in { justify-content: center; }
    .topbar__set--hours,
    .topbar__item--email { display: none; }
    .field-row { grid-template-columns: 1fr; }
    .hero__badge { left: 10px; bottom: 10px; padding: .6rem .85rem; }
    .hero__facts { gap: var(--s-4) var(--s-5); }
    .hero__fact strong { font-size: 1.25rem; }
    .grid-products { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-3); }
    .pcard__body { padding: var(--s-4) var(--s-4) var(--s-3); }
    .pcard__name { font-size: 1rem; }
    .pcard__blurb { display: none; }
    .price__amount { font-size: 1.3rem; }
    .pcard__actions { padding: 0 var(--s-4) var(--s-4); }
    .pcard__label--long { display: none; }
    .pcard__label--short { display: inline; }
    .spec__row { grid-template-columns: 1fr; gap: .15rem; }
    .map-frame iframe { height: 320px; }

    /* Trade the floating bubble for a full-width action bar */
    .wa-float { display: none; }
    .mobile-bar {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 70;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--s-2);
        padding: .6rem .75rem;
        padding-bottom: calc(.6rem + env(safe-area-inset-bottom));
        background: rgba(251, 246, 236, .96);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--line);
    }
    .page { padding-bottom: 76px; }
}

@media print {
    .site-header, .topbar, .site-footer, .wa-float,
    .mobile-bar, .filters, .nav-toggle { display: none !important; }
    body { background: #fff; }
}
