/* ==========================================================================
   Gill Thresher — public site styles
   Brand colours come from the admin panel and are injected as --brand/--accent
   ========================================================================== */

:root {
  --brand: #1c7c46;
  --accent: #e5a419;

  --ink: #15201b;
  --ink-2: #40514a;
  --ink-3: #6c7c75;
  --line: #e3e6e1;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f2f4ef;
  --dark: #10241a;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 36, 26, .06), 0 4px 12px rgba(16, 36, 26, .05);
  --shadow-md: 0 12px 32px rgba(16, 36, 26, .12);
  --wrap: 1200px;

  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1rem; color: var(--ink-2); }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

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

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

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 32%, transparent); }
.btn--brand:hover { background: color-mix(in srgb, var(--brand) 88%, #000); }
.btn--accent { background: var(--accent); color: #241a00; box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 38%, transparent); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn--outline { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: .6rem 1.1rem; font-size: .85rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--brand); }
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* The quote CTA — gradient pill with a sheen sweep and an arrow chip that
   flips to the accent colour on hover. */
.btn--cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: .8rem;
  padding: .62rem .62rem .62rem 1.35rem;
  color: #fff;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand) 84%, #fff) 0%,
    var(--brand) 46%,
    color-mix(in srgb, var(--brand) 72%, #05170d) 100%
  );
  box-shadow:
    0 6px 18px color-mix(in srgb, var(--brand) 34%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .24);
}
.btn--cta:hover {
  box-shadow:
    0 12px 26px color-mix(in srgb, var(--brand) 42%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn--cta:active { transform: translateY(0); }

.btn--cta__label { position: relative; z-index: 2; }

.btn--cta__chip {
  position: relative; z-index: 2;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  background: rgba(255, 255, 255, .18);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.btn--cta__chip .icon { width: 15px; height: 15px; stroke-width: 2.2; }
.btn--cta:hover .btn--cta__chip { background: var(--accent); color: #241a00; transform: translateX(3px); }

/* Amber variant, for the green call-to-action panels where the brand
   gradient would disappear into the background. */
.btn--cta--accent {
  color: #241a00;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent) 82%, #fff) 0%,
    var(--accent) 48%,
    color-mix(in srgb, var(--accent) 82%, #6b3d00) 100%
  );
  box-shadow:
    0 6px 18px rgba(8, 26, 17, .28),
    inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--cta--accent:hover {
  box-shadow:
    0 12px 26px rgba(8, 26, 17, .34),
    inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn--cta--accent .btn--cta__chip { background: rgba(255, 255, 255, .45); }
.btn--cta--accent:hover .btn--cta__chip { background: var(--dark); color: #fff; }

/* Light sweep across the button on hover. */
.btn--cta::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, .34) 50%, transparent 66%);
  transform: translateX(-130%);
  transition: transform .65s cubic-bezier(.22, .61, .36, 1);
}
.btn--cta:hover::after { transform: translateX(130%); }

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

.topbar {
  background: var(--dark); color: rgba(255, 255, 255, .8);
  font-size: .82rem; letter-spacing: .01em;
}
.topbar__inner { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; min-height: 40px; }
.topbar__note { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.topbar__links a { display: inline-flex; align-items: center; gap: .4rem; transition: color .15s; }
.topbar__links a:hover { color: var(--accent); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand), color-mix(in srgb, var(--brand) 55%, var(--accent)));
  color: #fff;
}
.brand__mark .icon { width: 24px; height: 24px; }
.brand__logo { height: 46px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.02em; }
.brand__text small { font-size: .74rem; color: var(--ink-3); letter-spacing: .02em; }

.primary-nav { display: flex; align-items: center; gap: 1.6rem; }
.primary-nav ul { display: flex; gap: 1.5rem; }
.primary-nav a {
  position: relative; font-weight: 600; font-size: .95rem; color: var(--ink-2); padding: .3rem 0;
  transition: color .15s;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); transition: right .22s ease; border-radius: 2px;
}
.primary-nav a:hover, .primary-nav a.is-active { color: var(--ink); }
.primary-nav a:hover::after, .primary-nav a.is-active::after { right: 0; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s ease, opacity .22s ease; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 1rem 22px 1.4rem; box-shadow: var(--shadow-md);
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul li { border-bottom: 1px solid var(--line); }
  .primary-nav ul a { display: block; padding: .85rem 0; font-size: 1.02rem; }
  .nav-cta { align-self: flex-start; margin-top: .9rem; }
}

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

.hero { position: relative; isolation: isolate; }
.hero__slides { position: relative; height: clamp(460px, 72vh, 680px); }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 26, 17, .88) 8%, rgba(8, 26, 17, .62) 45%, rgba(8, 26, 17, .25) 100%);
}
.hero__slide.is-active img { animation: heroZoom 9s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

.hero__content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center;
}
.hero__copy { max-width: 660px; color: #fff; }
.hero__copy .eyebrow { color: var(--accent); }
.hero__copy h1 { color: #fff; margin-bottom: .4em; }
.hero__copy p { color: rgba(255, 255, 255, .86); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__slide-copy { display: none; }
.hero__slide-copy.is-active { display: block; animation: heroCopy .8s ease both; }
@keyframes heroCopy { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero__dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; gap: .5rem; justify-content: center; }
.hero__dots button {
  width: 30px; height: 4px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .4); transition: background .2s, width .2s;
}
.hero__dots button.is-active { background: var(--accent); width: 46px; }

.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; cursor: pointer; transition: background .2s;
}
.hero__arrow:hover { background: rgba(255, 255, 255, .28); }
.hero__arrow--prev { left: 18px; transform: translateY(-50%) rotate(180deg); }
.hero__arrow--next { right: 18px; }
@media (max-width: 700px) { .hero__arrow { display: none; } }

/* ------------------------------------------------------------------ section */

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--surface-2); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255, 255, 255, .74); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .8rem;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.05rem; }

.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; max-width: none; }
@media (max-width: 760px) { .section-head--split { flex-direction: column; align-items: flex-start; } }

/* ------------------------------------------------------------------ welcome */

.welcome-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .welcome-grid { grid-template-columns: 1fr; } }
.welcome-media { position: relative; }
.welcome-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; }
.welcome-media::before {
  content: ''; position: absolute; inset: auto -18px -18px auto; width: 62%; height: 62%;
  border: 2px solid var(--accent); border-radius: var(--radius-lg); z-index: -1;
}
.welcome-badge {
  position: absolute; left: -14px; bottom: 26px;
  background: var(--surface); border-radius: var(--radius); padding: .9rem 1.2rem;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .8rem;
}
.welcome-badge strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--brand); line-height: 1; }
.welcome-badge span { font-size: .8rem; color: var(--ink-3); max-width: 11ch; }
.check-list { display: grid; gap: .7rem; margin: 1.4rem 0 1.9rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; color: var(--ink-2); }
.check-list .icon { color: var(--brand); margin-top: .28em; }

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

.stats { background: var(--dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--dark); padding: clamp(24px, 3.4vw, 40px) 22px; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.7rem); color: var(--accent); line-height: 1; }
.stat span { display: block; margin-top: .5rem; font-size: .9rem; color: rgba(255, 255, 255, .72); }

/* ----------------------------------------------------------------- offering */

.card-grid { display: grid; gap: 22px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid--4, .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; } }

.offer-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.offer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.offer-card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand);
}
.offer-card__icon .icon { width: 26px; height: 26px; }
.offer-card h3 { font-size: 1.12rem; margin-bottom: .7rem; }
.offer-card ul { display: grid; gap: .45rem; }
.offer-card li { font-size: .93rem; color: var(--ink-2); display: flex; gap: .5rem; align-items: baseline; }
.offer-card li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }

/* ----------------------------------------------------------------- products */

.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.chip {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255, 255, 255, .94); color: var(--brand);
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px;
}
.product-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.product-card__body p { font-size: .93rem; margin-bottom: 1rem; }
.product-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.price { font-weight: 800; color: var(--ink); font-size: .95rem; }
.price small { display: block; font-weight: 600; font-size: .74rem; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 34px; }
.filter-bar button {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  padding: .55rem 1.1rem; border-radius: 999px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer;
  transition: all .18s ease;
}
.filter-bar button:hover { border-color: var(--brand); color: var(--brand); }
.filter-bar button.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ------------------------------------------------------------ product detail */

.page-hero { background: var(--dark); color: #fff; padding: clamp(48px, 7vw, 84px) 0 clamp(48px, 7vw, 78px); position: relative; overflow: hidden; }
.page-hero::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 55%, transparent), transparent 68%);
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: rgba(255, 255, 255, .76); max-width: 62ch; font-size: 1.05rem; }
.page-hero .eyebrow { color: var(--accent); }
.breadcrumb { display: flex; gap: .5rem; font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 1rem; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent); }

.product-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 900px) { .product-detail { grid-template-columns: 1fr; } }
.product-gallery__main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--surface-2); }
.product-gallery__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product-gallery__thumbs img { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; border: 2px solid transparent; cursor: pointer; }
.product-gallery__thumbs img.is-active { border-color: var(--brand); }

.spec-table { width: 100%; border-collapse: collapse; margin: 1.4rem 0 2rem; }
.spec-table th, .spec-table td { text-align: left; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.spec-table th { width: 40%; color: var(--ink-3); font-weight: 600; }
.spec-table td { color: var(--ink); font-weight: 600; }

.price-box {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1.6rem;
}
.price-box strong { font-size: 1.35rem; font-family: var(--font-display); }

/* ------------------------------------------------------------------- videos */

.video-card { border-radius: var(--radius-lg); overflow: hidden; background: #000; position: relative; aspect-ratio: 16 / 9; cursor: pointer; }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .25s, transform .5s; }
.video-card:hover img { opacity: 1; transform: scale(1.04); }
.video-card iframe { width: 100%; height: 100%; border: 0; }
.video-card__play {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
}
.video-card__play span {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--brand); box-shadow: var(--shadow-md);
  transition: transform .25s ease;
}
.video-card:hover .video-card__play span { transform: scale(1.1); }
.video-card__play .icon { width: 26px; height: 26px; fill: currentColor; }
.video-card__title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 18px 16px; color: #fff;
  font-weight: 600; font-size: .95rem; pointer-events: none;
  background: linear-gradient(transparent, rgba(0, 0, 0, .78));
}

/* --------------------------------------------------------------------- about */

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.lead { font-size: 1.15rem; color: var(--ink); font-weight: 600; }

.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 30px 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ''; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--brand);
}
.timeline .year { font-family: var(--font-display); color: var(--brand); font-size: 1.05rem; font-weight: 700; }
.timeline h4 { margin: .15rem 0 .3rem; font-size: 1.08rem; }
.timeline p { margin: 0; font-size: .95rem; }

.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-align: center; padding-bottom: 24px; transition: transform .22s, box-shadow .22s; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--surface-2); }
.team-card__ph { width: 100%; aspect-ratio: 1 / 1; display: grid; place-items: center; background: var(--surface-2); color: var(--brand); font-family: var(--font-display); font-size: 2.6rem; }
.team-card h3 { margin: 18px 0 .1rem; font-size: 1.12rem; }
.team-card .role { color: var(--accent); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.team-card p { padding: .8rem 22px 0; font-size: .9rem; margin: 0; }

/* ------------------------------------------------------------------ contact */

.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 1.3rem; }
.info-row { display: flex; gap: .95rem; align-items: flex-start; }
.info-row__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); flex: none; }
.info-row h4 { margin: 0 0 .2rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-family: var(--font-body); font-weight: 800; }
.info-row p, .info-row address { margin: 0; font-style: normal; color: var(--ink); font-weight: 600; line-height: 1.55; }
.info-row a { transition: color .15s; }
.info-row a:hover { color: var(--brand); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 36px); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field label { font-size: .84rem; font-weight: 700; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--bg);
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }

.alert { border-radius: 12px; padding: .9rem 1.1rem; margin-bottom: 1.2rem; font-weight: 600; font-size: .93rem; }
.alert--ok { background: color-mix(in srgb, var(--brand) 12%, transparent); color: color-mix(in srgb, var(--brand) 80%, #000); }
.alert--err { background: #fdeceb; color: #a5271f; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------------------------------------------------------------- cta strip */

.cta-strip {
  background: linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 55%, var(--dark)));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-strip::after {
  content: ''; position: absolute; right: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255, 255, 255, .09);
}
.cta-strip h2 { color: #fff; margin-bottom: .3em; }
.cta-strip p { color: rgba(255, 255, 255, .84); margin: 0; max-width: 52ch; }
.cta-strip > div { position: relative; z-index: 1; }

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

.site-footer { background: var(--dark); color: rgba(255, 255, 255, .72); padding-top: clamp(48px, 6vw, 76px); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 34px; padding-bottom: 44px; }
@media (max-width: 950px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; }
.site-footer p, .site-footer address { color: rgba(255, 255, 255, .68); font-size: .92rem; font-style: normal; }
.brand--footer { margin-bottom: 1rem; }
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text small { color: rgba(255, 255, 255, .55); }
.footer-links { display: grid; gap: .6rem; }
.footer-links a { font-size: .92rem; color: rgba(255, 255, 255, .7); transition: color .15s; display: inline-flex; align-items: center; gap: .45rem; }
.footer-links a:hover { color: var(--accent); }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff; transition: background .18s, transform .18s;
}
.socials a:hover { background: var(--brand); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 22px;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { margin: 0; font-size: .86rem; }
.footer-credit a { color: var(--accent); }

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

.whatsapp-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .42);
  transition: transform .2s;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab .icon { width: 28px; height: 28px; }

.to-top {
  position: fixed; right: 20px; bottom: 86px; z-index: 60;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .2s, transform .2s; box-shadow: var(--shadow-sm);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* ----------------------------------------------------------------- reveal fx */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------- misc */

.empty-note { padding: 40px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line); border-radius: var(--radius-lg); }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
