/* ==========================================================================
   Greenwood Wholesalers & Pharmacies — redesign stylesheet
   White base + Greenwood green + charcoal + one restrained warm accent.
   Self-contained: replaces Bootstrap, the old template CSS, Slick and the
   two Font Awesome stylesheets the previous site loaded.
   ========================================================================== */

:root {
  --green:        #1B5329;
  --green-dark:   #12381c;
  --green-mid:    #2E7D3A;
  --green-tint:   #f3f8f4;
  --green-line:   #dcebe0;

  --charcoal:     #21282a;
  --body:         #4d585b;
  --muted:        #7b8688;

  --accent:       #c07338;   /* the one warm accent */
  --accent-tint:  #fdf5ee;

  --white:        #fff;
  --line:         #e6ebe7;
  --wa:           #25a366;

  --wrap:         1180px;
  --radius:       14px;
  --radius-sm:    9px;

  --shadow-sm:    0 1px 2px rgba(18, 56, 28, .05), 0 4px 14px rgba(18, 56, 28, .06);
  --shadow-md:    0 6px 30px rgba(18, 56, 28, .1);

  --ease:         .25s cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------- reset + base */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: Quicksand, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--green); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--green-mid); }

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

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

svg.gw-i { width: 1.15em; height: 1.15em; flex: none; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.gw-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--green); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.gw-skip:focus { left: 0; color: #fff; }

.gw-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* --------------------------------------------------------------- header */

.gw-header { position: sticky; top: 0; z-index: 200; }

.gw-topbar {
  background: var(--green-dark);
  color: rgba(255, 255, 255, .82);
  font-size: 13.5px;
}
.gw-topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 42px; flex-wrap: wrap;
}
.gw-topbar__contacts { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.gw-topbar__contacts a,
.gw-topbar__contacts span {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, .82);
}
.gw-topbar__contacts a:hover { color: #fff; }
.gw-topbar__social { display: flex; gap: 6px; }
.gw-topbar__social a {
  display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; color: rgba(255, 255, 255, .82);
  transition: background var(--ease), color var(--ease);
}
.gw-topbar__social a:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.gw-nav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--ease);
}
.gw-header.is-stuck .gw-nav { box-shadow: var(--shadow-sm); }

.gw-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 78px;
}

.gw-brand img { width: auto; height: 42px; }

.gw-nav__toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer;
  color: var(--green);
}
.gw-nav__toggle svg { width: 26px; height: 26px; }
.gw-nav__toggle-close { display: none; }

.gw-menu { display: flex; align-items: center; gap: 26px; }
.gw-menu__list { display: flex; align-items: center; gap: 2px; }

.gw-menu__item { position: relative; }

.gw-menu__link {
  display: block; padding: 10px 11px;
  font-size: 15px; font-weight: 600; color: var(--charcoal);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--ease), background var(--ease);
}
.gw-menu__link:hover,
.gw-menu__link.is-active { color: var(--green); background: var(--green-tint); }

.gw-menu__expand { display: none; }

.gw-submenu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}
.gw-menu__item:hover > .gw-submenu,
.gw-menu__item.is-open > .gw-submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.gw-submenu a {
  display: block; padding: 9px 12px; border-radius: 6px;
  font-size: 14.5px; font-weight: 600; color: var(--body);
}
.gw-submenu a:hover { background: var(--green-tint); color: var(--green); }

/* --------------------------------------------------------------- buttons */

.gw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px;
  font: inherit; font-size: 15px; font-weight: 700;
  border: 2px solid transparent; border-radius: 50px;
  cursor: pointer; text-align: center;
  transition: background var(--ease), color var(--ease),
              border-color var(--ease), transform var(--ease);
}
.gw-btn:hover { transform: translateY(-2px); }

.gw-btn--primary   { background: var(--green); border-color: var(--green); color: #fff; }
.gw-btn--primary:hover { background: var(--green-mid); border-color: var(--green-mid); color: #fff; }

.gw-btn--outline   { background: transparent; border-color: var(--green); color: var(--green); }
.gw-btn--outline:hover { background: var(--green); color: #fff; }

.gw-btn--light     { background: #fff; border-color: #fff; color: var(--green); }
.gw-btn--light:hover { background: rgba(255, 255, 255, .88); color: var(--green-dark); }

.gw-btn--onwhite   { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.gw-btn--onwhite:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.gw-btn--accent    { background: var(--accent); border-color: var(--accent); color: #fff; }
.gw-btn--accent:hover { background: #a95f2b; border-color: #a95f2b; color: #fff; }

.gw-btn--ghost     { background: var(--green-tint); border-color: var(--green-line); color: var(--green); }
.gw-btn--ghost:hover { background: var(--green); border-color: var(--green); color: #fff; }

.gw-btn--wa        { background: var(--wa); border-color: var(--wa); color: #fff; }
.gw-btn--wa:hover  { background: #1e8a55; border-color: #1e8a55; color: #fff; }

.gw-btn--sm { padding: 9px 16px; font-size: 13.5px; gap: 7px; }

.gw-textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px;
}
.gw-textlink svg { transition: transform var(--ease); }
.gw-textlink:hover svg { transform: translateX(4px); }

.gw-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* -------------------------------------------------------------- sections */

.gw-section { padding: 88px 0; }
.gw-section--tint { background: var(--green-tint); }
.gw-section--tight { padding: 62px 0; }

.gw-head { max-width: 720px; margin-bottom: 46px; }
.gw-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.gw-eyebrow {
  display: block; margin-bottom: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green-mid);
}
.gw-lead { font-size: 1.1rem; color: var(--body); }

.gw-grid { display: grid; gap: 26px; }
.gw-grid--2 { grid-template-columns: repeat(2, 1fr); }
.gw-grid--3 { grid-template-columns: repeat(3, 1fr); }
.gw-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ------------------------------------------------------------------ hero */

.gw-hero {
  position: relative;
  background: var(--green-dark);
  color: #fff;
  overflow: hidden;
}
.gw-hero__bg {
  position: absolute; inset: 0;
}
.gw-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .3;
}
.gw-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(18, 56, 28, .94) 8%, rgba(18, 56, 28, .72) 62%, rgba(18, 56, 28, .5) 100%);
}
.gw-hero__inner { position: relative; z-index: 2; padding: 108px 0 96px; max-width: 760px; }
.gw-hero h1 { color: #fff; margin-bottom: .35em; }
.gw-hero__sub {
  font-size: 1.15rem; color: rgba(255, 255, 255, .88);
  max-width: 620px; margin-bottom: 34px;
}
.gw-hero__extra { margin-top: 22px; }
.gw-hero__extra a { color: rgba(255, 255, 255, .9); border-bottom: 1px solid rgba(255, 255, 255, .4); padding-bottom: 2px; }
.gw-hero__extra a:hover { color: #fff; border-color: #fff; }

/* Compact hero for interior pages */
.gw-hero--page .gw-hero__inner { padding: 76px 0 68px; }

.gw-crumbs {
  display: flex; gap: 8px; flex-wrap: wrap;
  font-size: 14px; color: rgba(255, 255, 255, .7);
  margin-bottom: 18px;
}
.gw-crumbs a { color: rgba(255, 255, 255, .82); }
.gw-crumbs a:hover { color: #fff; }

/* ----------------------------------------------------------- division duo */

.gw-division {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}
.gw-division:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gw-division__band { height: 6px; background: var(--green); }
.gw-division--retail .gw-division__band { background: var(--accent); }
.gw-division__body { padding: 34px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.gw-division__kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--green-mid); margin-bottom: 10px;
}
.gw-division--retail .gw-division__kicker { color: var(--accent); }
.gw-division p { margin-bottom: 26px; }
.gw-division .gw-actions { margin-top: auto; }

/* ------------------------------------------------------------------ cards */

.gw-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  height: 100%;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.gw-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-line); }
.gw-card h3 { margin-bottom: .4em; font-size: 1.08rem; }
.gw-card p { font-size: 15px; margin: 0; }

.gw-card__icon {
  display: grid; place-items: center;
  width: 50px; height: 50px; margin-bottom: 18px;
  border-radius: 12px;
  background: var(--green-tint); color: var(--green);
}
.gw-card__icon svg { width: 24px; height: 24px; }
.gw-card--accent .gw-card__icon { background: var(--accent-tint); color: var(--accent); }

/* Category tile — link version of the card */
a.gw-card { display: block; color: inherit; }
a.gw-card:hover h3 { color: var(--green); }

/* ------------------------------------------------------------------ stats */

.gw-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--green-line);
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gw-stat { background: var(--white); padding: 30px 24px; text-align: center; }
.gw-stat__num {
  display: block; font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem);
  font-weight: 700; color: var(--green); line-height: 1.1;
}
.gw-stat__label { font-size: 14.5px; font-weight: 600; color: var(--body); }

/* ------------------------------------------------------------ split media */

.gw-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.gw-split--narrow { gap: 46px; }
.gw-split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.gw-split__media--map { background: var(--green-tint); border-radius: var(--radius); padding: 26px; }

/* ---------------------------------------------------------------- branches */

.gw-branch {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.gw-branch:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.gw-branch__head {
  padding: 18px 22px;
  background: var(--green);
  color: #fff;
}
.gw-branch--wholesale .gw-branch__head { background: var(--green-dark); }
.gw-branch__name { margin: 0 0 2px; font-size: 1.05rem; color: #fff; }
.gw-branch__city {
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255, 255, 255, .72);
}
.gw-branch__badge {
  display: inline-block; margin-left: 8px; padding: 2px 9px;
  border-radius: 50px; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

.gw-branch__body { padding: 20px 22px; flex: 1; }
.gw-branch__line {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 0 0 10px; font-size: 14.5px; line-height: 1.5;
}
.gw-branch__line svg { color: var(--green-mid); margin-top: 3px; }
.gw-branch__line a { color: var(--body); word-break: break-word; }
.gw-branch__line a:hover { color: var(--green); }

.gw-branch__hours {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px dashed var(--green-line);
}
.gw-branch__hours p {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 0 0 5px; font-size: 14px; color: var(--charcoal); font-weight: 600;
}
.gw-branch__hours svg { color: var(--green-mid); margin-top: 3px; }
.gw-branch__hours-pad { width: 1.15em; flex: none; }

.gw-branch__actions {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 0 22px 20px;
}

.gw-branch.is-hidden { display: none; }

/* Locator controls */
.gw-locator__controls {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  margin-bottom: 16px;
}
.gw-search {
  position: relative; flex: 1 1 300px; max-width: 420px;
}
.gw-search svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--muted); width: 19px; height: 19px;
}
.gw-search input {
  width: 100%; padding: 13px 16px 13px 46px;
  font: inherit; font-size: 15px; color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line); border-radius: 50px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.gw-search input:focus {
  outline: none; border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(46, 125, 58, .14);
}

.gw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.gw-chip {
  padding: 8px 18px;
  font: inherit; font-size: 14px; font-weight: 600;
  color: var(--green); background: var(--white);
  border: 1.5px solid var(--green-line); border-radius: 50px;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.gw-chip:hover { border-color: var(--green); }
.gw-chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }

.gw-locator__count { font-size: 14.5px; color: var(--muted); margin-bottom: 26px; }
.gw-locator__empty { display: none; padding: 40px 0; text-align: center; color: var(--muted); }
.gw-locator__empty.is-shown { display: block; }

/* ------------------------------------------------------------------ lists */

.gw-ticks { display: grid; gap: 12px; }
.gw-ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.gw-ticks svg { color: var(--green-mid); margin-top: 4px; width: 20px; height: 20px; flex: none; }

/* ----------------------------------------------------------------- brands */

.gw-brandgrid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.gw-brandtile {
  display: grid; place-items: center;
  min-height: 118px; padding: 22px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.gw-brandtile:hover { border-color: var(--green-line); box-shadow: var(--shadow-sm); }
.gw-brandtile img {
  max-height: 62px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .72;
  transition: filter var(--ease), opacity var(--ease);
}
.gw-brandtile:hover img { filter: none; opacity: 1; }
.gw-brandtile__name { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--charcoal); text-align: center; }
.gw-brandtile__desc { font-size: 13.5px; color: var(--muted); text-align: center; margin: 4px 0 0; }

/* -------------------------------------------------------------- CTA panel */

.gw-cta {
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  padding: 58px 46px;
  text-align: center;
}
.gw-cta h2 { color: #fff; }
.gw-cta p { color: rgba(255, 255, 255, .88); max-width: 620px; margin: 0 auto 30px; }
.gw-cta .gw-actions { justify-content: center; }

.gw-cta--band {
  border-radius: 0;
  background: var(--green-dark);
}

/* ------------------------------------------------------------------ forms */

.gw-form { display: grid; gap: 18px; }
.gw-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gw-field { display: grid; gap: 7px; }
.gw-field label { font-size: 14px; font-weight: 700; color: var(--charcoal); }
.gw-field input,
.gw-field select,
.gw-field textarea {
  width: 100%; padding: 13px 16px;
  font: inherit; font-size: 15px; color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.gw-field textarea { min-height: 140px; resize: vertical; }
.gw-field input:focus,
.gw-field select:focus,
.gw-field textarea:focus {
  outline: none; border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(46, 125, 58, .14);
}
.gw-form__note { font-size: 13.5px; color: var(--muted); }
.gw-form__result:empty { display: none; }
.gw-form__result {
  padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600;
}
.gw-form__result.is-ok   { background: var(--green-tint); color: var(--green); border: 1px solid var(--green-line); }
.gw-form__result.is-err  { background: #fdf1ef; color: #a8412f; border: 1px solid #f3d5cf; }

.gw-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
}

/* ---------------------------------------------------------------- gallery */

.gw-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gw-photos img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ----------------------------------------------------------------- footer */

.gw-footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, .74);
  padding: 68px 0 0;
  font-size: 15px;
}
.gw-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 42px;
  padding-bottom: 52px;
}
.gw-footer__about img { height: 46px; width: auto; margin-bottom: 20px; }
.gw-footer__about p { font-size: 14.5px; margin-bottom: 22px; }

.gw-footer__title {
  margin: 0 0 18px;
  font-size: 14px; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: #fff;
}
.gw-footer__title--spaced { margin-top: 30px; }

.gw-footer__links { display: grid; gap: 11px; }
.gw-footer__links a { color: rgba(255, 255, 255, .74); font-size: 14.5px; }
.gw-footer__links a:hover { color: #fff; }

.gw-footer__contacts { display: grid; gap: 12px; }
.gw-footer__contacts a {
  display: flex; gap: 11px; align-items: flex-start;
  color: rgba(255, 255, 255, .74); font-size: 14.5px;
}
.gw-footer__contacts a:hover { color: #fff; }
.gw-footer__contacts svg { margin-top: 3px; color: rgba(255, 255, 255, .55); }
.gw-footer__contacts strong { color: #fff; font-weight: 700; display: block; }

.gw-footer__social { display: flex; gap: 8px; }
.gw-footer__social a {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .82);
  transition: background var(--ease), color var(--ease);
}
.gw-footer__social a:hover { background: rgba(255, 255, 255, .2); color: #fff; }

.gw-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13.5px;
}
.gw-footer__bottom p { margin: 0; }
.gw-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.gw-footer__legal a { color: rgba(255, 255, 255, .7); }
.gw-footer__legal a:hover { color: #fff; }

/* ------------------------------------------------------------- floating */

.gw-float-shop {
  position: fixed; left: 20px; bottom: 20px; z-index: 150;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px;
  background: var(--accent); color: #fff;
  font-size: 14.5px; font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 8px 26px rgba(192, 115, 56, .38);
  transition: transform var(--ease), background var(--ease);
}
.gw-float-shop:hover { background: #a95f2b; color: #fff; transform: translateY(-3px); }

.gw-totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 150;
  display: grid; place-items: center;
  width: 46px; height: 46px; padding: 0;
  background: var(--green); color: #fff;
  border: 0; border-radius: 50%; cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--ease), visibility var(--ease), transform var(--ease), background var(--ease);
}
.gw-totop.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }
.gw-totop:hover { background: var(--green-mid); }

/* --------------------------------------------------------------- reveal
   Scoped to .gw-js, which is set by an inline script in the <head>. If the
   JavaScript never arrives — a real possibility on a weak mobile connection —
   this content is simply visible rather than stuck at opacity 0. */

.gw-js .gw-reveal { opacity: 0; transform: translateY(16px); }
.gw-js .gw-reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .55s ease, transform .55s ease;
}

/* ------------------------------------------------------------ responsive */

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

/* The full menu — six items including the two long division names, plus the
   shop button — measures ~1181px on one line beside the logo. Below 1240px it
   becomes the slide-in panel rather than wrapping into the logo. Keep this in
   step with the breakpoint in greenwood.js. */
@media (max-width: 1240px) {
  .gw-nav__toggle { display: block; }

  .gw-menu {
    position: fixed; inset: 0 0 0 auto;
    width: min(360px, 88vw);
    flex-direction: column; align-items: stretch;
    gap: 0;
    padding: 92px 22px 32px;
    background: var(--white);
    box-shadow: -8px 0 40px rgba(18, 56, 28, .2);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--ease);
    z-index: 210;
  }
  .gw-menu.is-open { transform: translateX(0); }

  .gw-nav__toggle { position: relative; z-index: 220; }
  .gw-nav__toggle[aria-expanded="true"] .gw-nav__toggle-open { display: none; }
  .gw-nav__toggle[aria-expanded="true"] .gw-nav__toggle-close { display: block; }

  .gw-menu__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gw-menu__item { border-bottom: 1px solid var(--line); padding-right: 44px; position: relative; }
  .gw-menu__link { padding: 15px 4px; font-size: 16px; border-radius: 0; }
  .gw-menu__link:hover, .gw-menu__link.is-active { background: none; }

  .gw-menu__expand {
    display: grid; place-items: center;
    position: absolute; right: 0; top: 6px;
    width: 40px; height: 40px; padding: 0;
    background: none; border: 0; cursor: pointer; color: var(--green);
  }
  .gw-menu__expand[aria-expanded="true"] svg { transform: rotate(180deg); }
  .gw-menu__expand svg { transition: transform var(--ease); }

  .gw-submenu {
    position: static; min-width: 0;
    border: 0; box-shadow: none; border-radius: 0;
    padding: 0 0 12px 10px;
    display: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .gw-menu__item.is-open > .gw-submenu { display: block; }
  .gw-menu__item:hover > .gw-submenu { display: none; }
  .gw-menu__item.is-open:hover > .gw-submenu { display: block; }

  .gw-menu__cta { margin-top: 24px; }
  .gw-menu__cta .gw-btn { width: 100%; }
}

/* Content layout stays three- and four-up on wide tablets and small laptops;
   only the navigation changes at 1180px. */
@media (max-width: 960px) {
  .gw-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .gw-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .gw-stats  { grid-template-columns: repeat(2, 1fr); }
  .gw-split  { grid-template-columns: 1fr; gap: 38px; }
  .gw-footer__top { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .gw-section { padding: 68px 0; }
  .gw-photos { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .gw-hide-sm { display: none; }
  .gw-topbar { font-size: 12.5px; }
  .gw-topbar__inner { min-height: 38px; }
  .gw-topbar__contacts { gap: 6px 16px; }
  .gw-nav__inner { min-height: 66px; }
  .gw-brand img { height: 38px; }

  .gw-grid--2, .gw-grid--3, .gw-grid--4 { grid-template-columns: 1fr; }
  .gw-brandgrid { grid-template-columns: repeat(2, 1fr); }
  .gw-footer__top { grid-template-columns: 1fr; }
  .gw-form__row { grid-template-columns: 1fr; }
  .gw-photos { grid-template-columns: 1fr; }

  .gw-hero__inner { padding: 68px 0 62px; }
  .gw-hero--page .gw-hero__inner { padding: 52px 0 48px; }
  .gw-cta { padding: 42px 24px; }
  .gw-panel { padding: 28px 22px; }
  .gw-section { padding: 56px 0; }

  .gw-actions .gw-btn { width: 100%; }
  .gw-float-shop span { display: none; }
  .gw-float-shop { padding: 15px; border-radius: 50%; }
}

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

@media print {
  .gw-header, .gw-footer, .gw-float-shop, .gw-totop, .gw-locator__controls, .gw-chips { display: none; }
}
