/* ============================================================
   windsorgrocer.com — Data Processing Systems & Analytical
   Frameworks. Asymmetric, dark cards on light bg, neon teal
   accents, Urbanist + Karla. Robust, self-sufficient components.
   ============================================================ */

:root {
  --dark: #2D3436;
  --gray: #636E72;
  --primary: #00B894;
  --accent: #55EFC4;
  --mist: #DFE6E9;

  --ink: #2D3436;
  --body: #4a5458;
  --muted: #6b757a;
  --line: #d6dee1;
  --bg: #f4f7f8;
  --card: #2D3436;
  --card-2: #353d3f;

  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --shadow-sm: 0 4px 18px rgba(45,52,54,.08);
  --shadow-md: 0 18px 46px rgba(45,52,54,.16);
  --shadow-neon: 0 14px 40px rgba(0,184,148,.28);
  --grad: linear-gradient(120deg, #00B894 0%, #55EFC4 100%);
  --head: 'Urbanist', system-ui, sans-serif;
  --sans: 'Karla', system-ui, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-weight: 400; color: var(--body); background: var(--bg); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color .25s ease; }
a:hover { color: #00997b; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--head); font-weight: 700; line-height: 1.15; color: var(--ink); letter-spacing: -.5px; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 600; }
p { margin-bottom: 1rem; }
section { position: relative; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section--mist { background: var(--mist); }
.section--white { background: #fff; }
.section--dark { background: var(--dark); color: #d4dadb; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.eyebrow { display: inline-block; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; font-size: .78rem; color: var(--primary); margin-bottom: .8rem; }
.section-head { max-width: 760px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); font-weight: 300; }
.grid { display: grid; gap: clamp(1rem, 3vw, 2rem); }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--line); border: 0; margin: 2.5rem 0; }

/* ---------- Buttons (gradient + arrow, scale on hover) ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--head); font-weight: 700; font-size: 1rem; padding: .9rem 1.8rem; border-radius: 50px; border: 0; background: var(--grad); color: #0a2e26; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; white-space: nowrap; }
.btn .arr { transition: transform .25s ease; }
.btn:hover { transform: scale(1.02); box-shadow: var(--shadow-neon); color: #0a2e26; }
.btn:hover .arr { transform: translateX(4px); }
.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.08rem; }
.btn--ghost { background: transparent; border: 2px solid var(--primary); color: var(--primary); padding: calc(.9rem - 2px) calc(1.8rem - 2px); }
.btn--ghost:hover { background: var(--primary); color: #fff; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #1d2224; color: #fff; }
.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { background: var(--accent); color: var(--dark); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(244,247,248,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--head); font-weight: 800; font-size: 1.28rem; color: var(--ink); letter-spacing: -.5px; }
.brand:hover { color: var(--ink); }
.brand .mark { width: 40px; height: 40px; border-radius: 12px; flex: none; background: var(--grad); display: grid; place-items: center; color: #0a2e26; font-weight: 800; font-family: var(--head); box-shadow: var(--shadow-neon); }
.nav-links { display: flex; align-items: center; gap: clamp(.5rem, 1.4vw, 1.5rem); }
.nav-links a { font-family: var(--head); font-weight: 600; font-size: .94rem; color: var(--ink); padding: .4rem 0; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--primary); transition: width .25s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: .3s; }
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1000px){
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: #fff; padding: 1rem clamp(1rem,4vw,2rem) 1.4rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .32s ease; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav-actions .btn { display: none; }
}

/* ---------- Hero (angled bottom via clip-path, offset) ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--dark); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, rgba(45,52,54,.92) 0%, rgba(45,52,54,.62) 55%, rgba(0,184,148,.45) 100%); }
.hero__inner { position: relative; z-index: 2; padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,.9); font-weight: 300; font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 640px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero--angled { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%); padding-bottom: 60px; }
.hero--offset .hero__inner { max-width: 680px; }
.hero--full { min-height: 86vh; display: flex; align-items: center; }
.hero--compact .hero__inner { padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.hero--banner .hero__inner { padding-block: clamp(2.6rem, 6vw, 4.4rem); }
.hero--center { text-align: center; }
.hero--center .hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero--center p { margin-inline: auto; }
.hero--center .hero__cta { justify-content: center; }
.hero--article { min-height: 56vh; display: flex; align-items: flex-end; }
.hero--article .hero__overlay { background: linear-gradient(0deg, rgba(28,32,34,.92) 0%, rgba(28,32,34,.2) 100%); }
.hero__deco { position: absolute; right: -50px; top: -50px; width: 260px; height: 260px; border-radius: 40% 60% 55% 45%; background: rgba(85,239,196,.18); z-index: 1; filter: blur(6px); }
.article-meta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; color: rgba(255,255,255,.85); font-size: .9rem; margin-top: 1rem; }
.article-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: rgba(255,255,255,.85); margin-bottom: .8rem; }
.breadcrumb a { color: rgba(255,255,255,.95); }
.breadcrumb .sep { opacity: .6; }

/* ---------- Stats counter row (below hero) ---------- */
.stats-row { background: var(--dark); }
.stats-row .inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.1); }
@media (max-width: 720px){ .stats-row .inner { grid-template-columns: repeat(2,1fr); } }
.stats-row .stat { background: var(--dark); padding: 1.7rem 1rem; text-align: center; }
.stats-row .num { font-family: var(--head); font-weight: 800; font-size: clamp(1.9rem,4vw,2.7rem); color: var(--accent); line-height: 1; }
.stats-row .label { font-size: .85rem; color: rgba(255,255,255,.72); margin-top: .4rem; }

/* standalone stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1rem,3vw,1.8rem); }
@media (max-width: 720px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stat-card { background: var(--card); color: #fff; border-radius: var(--radius); padding: 2rem 1.4rem; text-align: center; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.stat-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.stat-card .num { font-family: var(--head); font-weight: 800; font-size: clamp(2rem,5vw,3rem); color: var(--accent); line-height: 1; }
.stat-card .label { font-size: .9rem; color: rgba(255,255,255,.75); margin-top: .5rem; }

/* ---------- Cards (dark on light, neon accent, radius 20) ---------- */
.cards { display: grid; gap: clamp(1rem, 3vw, 1.8rem); }
.cols-2 { grid-template-columns: repeat(2,1fr); }
.cols-3 { grid-template-columns: repeat(3,1fr); }
.cols-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 980px){ .cols-3, .cols-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); color: #d4dadb; border-radius: var(--radius); padding: 2rem 1.7rem; position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card:hover::before { transform: scaleX(1); }
.card h3 { color: #fff; margin-bottom: .55rem; }
.card p { color: #b9c1c3; font-size: .96rem; margin-bottom: 0; }
.card .card-ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: rgba(0,184,148,.16); color: var(--accent); font-size: 1.5rem; margin-bottom: 1.1rem; border: 1px solid rgba(85,239,196,.3); }
.card-tag { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: .5rem; }
.card a { color: #fff; }
.card a:hover { color: var(--accent); }
/* image-led card */
.card--media { padding: 0; }
.card--media > a:first-child, .card--media > img:first-child { display: block; }
.card--media img.thumb { width: 100%; height: 200px; object-fit: cover; }
.card--media .card-body { padding: 1.5rem 1.6rem 1.7rem; }

/* light card variant (self-sufficient) */
.card--light { background: #fff; color: var(--body); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.card--light h3 { color: var(--ink); }
.card--light p { color: var(--muted); }
.card--light a { color: var(--primary); }

/* ---------- Team grid ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1rem,3vw,1.8rem); }
@media (max-width: 900px){ .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .team-grid { grid-template-columns: 1fr; } }
.team-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); text-align: center; transition: transform .3s ease; }
.team-card:hover { transform: translateY(-6px); }
.team-card img { width: 100%; height: 250px; object-fit: cover; }
.team-card .team-body { padding: 1.3rem; }
.team-card h4 { color: #fff; margin-bottom: .2rem; }
.team-card .role { color: var(--accent); font-weight: 700; font-size: .88rem; }
.team-card p { font-size: .88rem; color: #b9c1c3; margin: .5rem 0 0; }

/* ---------- Comparison table ---------- */
.cmp-wrap { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; background: var(--card); color: #d4dadb; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); min-width: 560px; }
.cmp-table th, .cmp-table td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,.08); }
.cmp-table thead th { background: #1f2426; color: #fff; font-family: var(--head); font-weight: 700; }
.cmp-table tbody tr:hover td { background: rgba(0,184,148,.08); }
.cmp-table td.yes { color: var(--accent); font-weight: 700; }
.cmp-table td.no { color: #6b757a; }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--grad); color: #0a2e26; text-align: center; }
.cta-banner h2 { color: #0a2e26; }
.cta-banner p { color: #11362e; max-width: 600px; margin: 1rem auto 1.6rem; }

/* ---------- Portfolio / projects showcase ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1rem,3vw,1.8rem); }
@media (max-width: 900px){ .portfolio-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .portfolio-grid { grid-template-columns: 1fr; } }
.pf-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.pf-item img { width: 100%; height: 260px; object-fit: cover; transition: transform .4s ease; }
.pf-item:hover img { transform: scale(1.07); }
.pf-cap { position: absolute; inset: auto 0 0 0; background: linear-gradient(0deg, rgba(28,32,34,.94), transparent); color: #fff; padding: 1.6rem 1.2rem 1.1rem; }
.pf-cap span { color: var(--accent); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.pf-cap h4 { color: #fff; }

/* ---------- Customer journey map ---------- */
.journey { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1rem,3vw,1.6rem); counter-reset: jstep; }
@media (max-width: 900px){ .journey { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .journey { grid-template-columns: 1fr; } }
.journey-step { position: relative; background: var(--card); color: #c7cecf; border-radius: var(--radius); padding: 2.4rem 1.4rem 1.5rem; }
.journey-step::before { counter-increment: jstep; content: counter(jstep); position: absolute; top: -18px; left: 1.4rem; width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #0a2e26; display: grid; place-items: center; font-family: var(--head); font-weight: 800; }
.journey-step h4 { color: #fff; margin-bottom: .4rem; }
.journey-step p { font-size: .9rem; color: #b9c1c3; margin: 0; }

/* ---------- Tabs ---------- */
.tabs-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.tab-btn { font-family: var(--head); font-weight: 700; font-size: .92rem; cursor: pointer; padding: .7rem 1.3rem; border-radius: 50px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: all .2s ease; }
.tab-btn.active { background: var(--dark); color: #fff; border-color: var(--dark); }
.tab-panel { display: none; animation: fade .4s ease; }
.tab-panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none; } }

/* ---------- Social proof badges ---------- */
.badges { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1rem,3vw,1.8rem); }
@media (max-width: 820px){ .badges { grid-template-columns: repeat(2,1fr); } }
.badge-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .7rem; padding: 1.9rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s ease; }
.badge-item:hover { transform: translateY(-5px); }
.badge-medal { width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; background: var(--grad); color: #0a2e26; }
.badge-item h4 { font-family: var(--head); }
.badge-item p { font-size: .86rem; color: var(--muted); margin: 0; }

/* ---------- Icon feature list ---------- */
.feat-list { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(1rem,3vw,1.8rem); }
@media (max-width: 760px){ .feat-list { grid-template-columns: 1fr; } }
.feat { display: flex; gap: 1rem; }
.feat .feat-ico { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--dark); color: var(--accent); font-size: 1.3rem; }
.feat h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.feat p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1rem,3vw,1.8rem); }
@media (max-width: 900px){ .testi-grid { grid-template-columns: 1fr; } }
.testi { background: var(--card); color: #d4dadb; border-radius: var(--radius); padding: 2rem 1.7rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--shadow-md); }
.testi .stars { color: var(--accent); letter-spacing: 2px; }
.testi .t-text { color: #e6eaeb; font-size: 1rem; }
.testi .who { display: grid; grid-template-columns: 48px 1fr; column-gap: .8rem; align-items: center; margin-top: auto; }
.testi .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; grid-row: span 2; align-self: center; }
.testi .who strong { color: #fff; font-family: var(--head); font-size: .95rem; align-self: end; }
.testi .who span { font-size: .82rem; color: #9aa3a5; align-self: start; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--dark); color: #d4dadb; border-radius: var(--radius); padding: clamp(2rem,5vw,3.4rem); text-align: center; position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(0,184,148,.18); }
.newsletter h2 { color: #fff; }
.newsletter p { color: rgba(255,255,255,.8); max-width: 540px; margin-inline: auto; }
.newsletter form { display: flex; gap: .6rem; max-width: 480px; margin: 1.4rem auto 0; flex-wrap: wrap; position: relative; z-index: 1; }
.newsletter input { flex: 1; min-width: 200px; padding: .9rem 1.1rem; border-radius: 50px; border: 0; font-family: var(--sans); }

/* ---------- About / alternating media split ---------- */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
@media (max-width: 820px){ .media-split { grid-template-columns: 1fr; } }
.media-split.reverse > .media-txt { order: 2; }
@media (max-width: 820px){ .media-split.reverse > .media-txt { order: 0; } }
.media-split img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; height: 100%; max-height: 460px; object-fit: cover; }

/* ---------- Data viz / charts ---------- */
.chart-card { background: var(--card); color: #d4dadb; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-md); }
.chart-card h3 { color: #fff; }
.bar-chart { display: grid; gap: 1rem; margin-top: 1.2rem; }
.bar-row { display: grid; grid-template-columns: 160px 1fr; gap: 1rem; align-items: center; }
@media (max-width: 560px){ .bar-row { grid-template-columns: 1fr; gap: .3rem; } }
.bar-row .bar-label { font-size: .9rem; font-weight: 700; color: #e6eaeb; }
.bar-track { background: rgba(255,255,255,.08); border-radius: 50px; height: 26px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--grad); border-radius: 50px; display: flex; align-items: center; justify-content: flex-end; padding-right: .7rem; color: #0a2e26; font-size: .8rem; font-weight: 800; width: 0; transition: width 1.2s ease; }
.donut-row { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; margin-top: 1rem; }
.donut { --val: 75; width: 130px; height: 130px; border-radius: 50%; background: conic-gradient(var(--primary) calc(var(--val)*1%), rgba(255,255,255,.1) 0); display: grid; place-items: center; position: relative; }
.donut::before { content: ""; position: absolute; inset: 16px; background: var(--card); border-radius: 50%; }
.donut span { position: relative; font-family: var(--head); font-weight: 800; font-size: 1.5rem; color: var(--accent); }
.donut-cap { text-align: center; font-size: .85rem; color: #b9c1c3; margin-top: .5rem; }

/* ---------- Process / Timeline ---------- */
.timeline { display: grid; gap: 0; }
.tl-step { display: grid; grid-template-columns: 58px 1fr; gap: 1.2rem; padding-bottom: 2rem; position: relative; }
.tl-step:not(:last-child)::before { content: ""; position: absolute; left: 28px; top: 56px; bottom: 0; width: 2px; background: var(--line); }
.tl-num { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; flex: none; background: var(--grad); color: #0a2e26; font-family: var(--head); font-weight: 800; font-size: 1.25rem; }
.tl-body h3 { margin-bottom: .35rem; }
.tl-body p { color: var(--muted); margin: 0; }

/* ---------- Event calendar ---------- */
.events { display: grid; gap: 1rem; }
.event { display: grid; grid-template-columns: 86px 1fr auto; gap: 1.2rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); }
@media (max-width: 620px){ .event { grid-template-columns: 70px 1fr; } .event .btn { grid-column: 1 / -1; } }
.event .date { text-align: center; background: var(--dark); color: #fff; border-radius: 12px; padding: .6rem; }
.event .date .d { font-family: var(--head); font-weight: 800; font-size: 1.6rem; color: var(--accent); line-height: 1; }
.event .date .m { font-size: .74rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.7); }
.event h4 { font-family: var(--head); }
.event .ev-meta { font-size: .85rem; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px){ .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--head); font-weight: 700; font-size: .88rem; margin-bottom: .4rem; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; font-family: var(--sans); font-size: 1rem; padding: .82rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,184,148,.16); }
.field textarea { resize: vertical; min-height: 130px; }
.field .err { color: #c0392b; font-size: .82rem; margin-top: .3rem; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-success { display: none; background: #e3f8f1; border: 1px solid #a9e8d5; color: #0c7a5d; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 700; }
.form-success.show { display: block; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem,3vw,2.2rem); box-shadow: var(--shadow-sm); }

/* ---------- Business hours ---------- */
.hours { background: var(--card); color: #d4dadb; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-md); max-width: 460px; }
.hours h3 { color: #fff; margin-bottom: 1rem; }
.hours li { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.hours li:last-child { border-bottom: 0; }
.hours li span:last-child { color: var(--accent); font-weight: 700; }

/* ---------- Map ---------- */
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); min-height: 340px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Contact details ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1rem,3vw,1.6rem); }
@media (max-width: 760px){ .contact-cards { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.article-body { max-width: 760px; margin-inline: auto; font-size: 1.08rem; color: var(--body); }
.article-body h2 { margin: 2.2rem 0 1rem; }
.article-body h3 { margin: 1.6rem 0 .7rem; }
.article-body p { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { margin: 0 0 1.2rem 1.4rem; }
.article-body ul li { list-style: disc; margin-bottom: .5rem; }
.article-body ol li { list-style: decimal; margin-bottom: .5rem; }
.article-body img { border-radius: var(--radius); margin: 1.6rem 0; box-shadow: var(--shadow-sm); }
.article-body figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin: -1rem 0 1.6rem; }
.pull-quote { border-left: 4px solid var(--primary); background: #fff; padding: 1.3rem 1.6rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.8rem 0; font-family: var(--head); font-style: italic; font-size: 1.25rem; color: var(--ink); box-shadow: var(--shadow-sm); }
.tag-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.tag { background: var(--dark); color: var(--accent); padding: .4rem .9rem; border-radius: 50px; font-size: .85rem; font-weight: 700; }
.share-row { display: flex; gap: .6rem; align-items: center; }
.share-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; font-weight: 700; transition: all .2s ease; }
.share-btn:hover { background: var(--primary); color: #0a2e26; }

/* author bio */
.author-card { display: grid; grid-template-columns: 90px 1fr; gap: 1.2rem; align-items: center; background: var(--card); color: #c7cecf; border-radius: var(--radius); padding: 1.6rem; }
@media (max-width: 520px){ .author-card { grid-template-columns: 1fr; text-align: center; } }
.author-card img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; }
.author-card h4 { color: #fff; margin-bottom: .3rem; }
.author-card p { margin: 0; color: #b9c1c3; font-size: .94rem; }

/* comments */
.comments { display: grid; gap: 1rem; max-width: 760px; margin-inline: auto; }
.comment { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem; }
.comment img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.comment .c-name { font-family: var(--head); font-weight: 700; color: var(--ink); }
.comment .c-date { font-size: .8rem; color: var(--muted); }
.comment p { margin: .4rem 0 0; }

/* sidebar popular posts */
.split { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: start; }
@media (max-width: 900px){ .split { grid-template-columns: 1fr; } }
.sidebar-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); margin-bottom: 1.3rem; }
.sidebar-box h4 { margin-bottom: .9rem; }
.post-mini { display: grid; grid-template-columns: 64px 1fr; gap: .8rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.post-mini:last-child { border-bottom: 0; }
.post-mini img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.post-mini a { font-family: var(--head); font-weight: 600; font-size: .95rem; color: var(--ink); }
.post-mini a:hover { color: var(--primary); }
.post-mini span { font-size: .78rem; color: var(--muted); }

/* download */
.dl-list { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1rem,3vw,1.6rem); }
@media (max-width: 900px){ .dl-list { grid-template-columns: 1fr; } }
.dl-item { display: flex; gap: 1rem; align-items: center; background: var(--card); color: #d4dadb; border-radius: var(--radius-sm); padding: 1.2rem; box-shadow: var(--shadow-md); transition: transform .25s ease; }
.dl-item:hover { transform: translateY(-4px); }
.dl-ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(0,184,148,.16); color: var(--accent); display: grid; place-items: center; font-weight: 800; font-size: .8rem; flex: none; border: 1px solid rgba(85,239,196,.3); }
.dl-item h4 { color: #fff; font-size: 1rem; margin-bottom: .15rem; }
.dl-item span { font-size: .82rem; color: #b9c1c3; }

/* ---------- Floating action buttons ---------- */
.fab-stack { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: flex; flex-direction: column; gap: .7rem; }
.fab { width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; font-size: 1.3rem; box-shadow: var(--shadow-md); transition: transform .25s ease; text-decoration: none; }
.fab:hover { transform: scale(1.1); }
.fab--primary { background: var(--grad); color: #0a2e26; }
.fab--dark { background: var(--dark); color: #fff; }
.fab--dark:hover { color: var(--accent); }

/* ---------- Legal docs ---------- */
.doc { max-width: 860px; margin-inline: auto; }
.doc h2 { margin: 2rem 0 .8rem; font-size: 1.45rem; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--body); }
.doc ul, .doc ol { margin: 0 0 1.2rem 1.4rem; }
.doc ul li { list-style: disc; margin-bottom: .5rem; }
.doc ol li { list-style: decimal; margin-bottom: .5rem; }
.doc-toc { background: var(--card); color: #c7cecf; border-radius: var(--radius); padding: 1.6rem; margin-bottom: 2.5rem; }
.doc-toc h4 { color: #fff; margin-bottom: .8rem; }
.doc-toc ol { margin-left: 1.2rem; }
.doc-toc ol li { list-style: decimal; margin-bottom: .35rem; }
.doc-toc a { color: var(--accent); }
.doc-table-wrap { overflow-x: auto; }
.doc-table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .92rem; background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); min-width: 640px; }
.doc-table th, .doc-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.doc-table th { background: var(--dark); color: #fff; font-family: var(--head); font-weight: 700; font-size: .85rem; }
.doc-table tr:nth-child(even) td { background: var(--bg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #9aa3a5; padding-top: clamp(3rem,6vw,4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(1.4rem,3vw,2rem); padding-bottom: 2.4rem; }
@media (max-width: 880px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 { color: #fff; font-family: var(--head); font-size: 1.05rem; margin-bottom: 1rem; }
.footer-grid a { color: #9aa3a5; display: block; padding: .3rem 0; font-size: .92rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; color: #7e888a; max-width: 290px; }
.footer-contact li { display: flex; gap: .6rem; padding: .35rem 0; font-size: .92rem; align-items: flex-start; }
.footer-contact .ic { color: var(--accent); flex: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem; color: #7e888a; }
.footer-bottom a { color: #7e888a; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 1100; width: min(960px, calc(100% - 32px)); background: var(--dark); color: #d4dadb; border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-md); display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.cookie-banner.hide { display: none; }
.cookie-banner p { margin: 0; font-size: .9rem; flex: 1; min-width: 240px; }
.cookie-banner a { color: var(--accent); }
.cookie-actions { display: flex; gap: .6rem; }

/* ---------- Reveal (fail-safe) ---------- */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1 !important; transform: none !important; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ---------- Misc ---------- */
.pill { display: inline-block; background: var(--dark); color: var(--accent); padding: .3rem .8rem; border-radius: 50px; font-size: .8rem; font-weight: 700; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--primary); color: #0a2e26; padding: .6rem 1rem; z-index: 2000; }
.skip-link:focus { left: 8px; top: 8px; }
@media (prefers-reduced-motion: reduce){ *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
