/* EaziVet shared stylesheet */

:root {
  --bg: #f6f4ec;
  --bg-soft: #eef2e9;
  --surface: #ffffff;
  --ink: #12160f;
  --muted: #5b6459;
  --muted-2: #7c8577;
  --border: rgba(18, 22, 15, 0.09);
  --green-900: #142a1f;
  --green-800: #1e3f2e;
  --green-700: #2c6b4f;
  --green-600: #35805e;
  --green-500: #4a9b76;
  --green-100: #dfe9dc;
  --green-50: #eef4ea;
  --peach-100: #f6e9dc;
  --shadow-sm: 0 1px 2px rgba(18, 22, 15, 0.06);
  --shadow-md: 0 8px 24px rgba(18, 22, 15, 0.08);
  --shadow-lg: 0 24px 60px rgba(18, 22, 15, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-full);
}

.lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--green-800); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface); box-shadow: var(--shadow-sm); }

.btn-white {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { box-shadow: var(--shadow-md); }

.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 236, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-700);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 700; font-size: 16px; color: var(--ink); }
.brand-sub { font-size: 12.5px; color: var(--muted-2); }

.brand-logo-link { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo {
  height: 46px;
  width: auto;
  mix-blend-mode: multiply;
}

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); border-color: var(--green-600); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 9px 16px 9px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.cart-count {
  background: var(--green-700);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* Hero */
.hero {
  background: linear-gradient(115deg, var(--green-50) 0%, var(--bg) 45%, var(--peach-100) 100%);
  border-bottom: 1px solid var(--border);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
}
.hero h1 {
  font-size: 58px;
  margin-top: 22px;
  margin-bottom: 22px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 26px; }
.hero-stat span { font-size: 13px; color: var(--muted-2); }

.hero-visual { position: relative; }
.hero-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  position: relative;
  z-index: 2;
}
.hero-card .eyebrow { margin-bottom: 18px; }
.hero-card h3 { font-size: 26px; margin-bottom: 14px; }
.hero-card p { color: var(--muted); line-height: 1.6; margin-bottom: 26px; }
.hero-card-glow {
  position: absolute;
  inset: 24px -24px -24px 24px;
  background: linear-gradient(160deg, var(--green-500), var(--peach-100));
  border-radius: var(--radius-lg);
  opacity: 0.35;
  z-index: 1;
}
.hero-card img {
  border-radius: var(--radius-md);
  width: 100%;
  background: var(--green-50);
}

/* Sections */
section { padding: 96px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 38px; margin-top: 16px; max-width: 26ch; }
.section-tag { margin-bottom: 0; }

.bg-soft { background: var(--bg-soft); }
.bg-surface { background: var(--surface); }

/* Category / product grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.category-card { display: flex; flex-direction: column; }
.category-card .thumb {
  background: var(--green-50);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.category-card .thumb img { max-height: 100%; object-fit: contain; }
.category-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.category-card h3 { font-size: 20px; }
.category-card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; flex: 1; }
.category-card .link-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--green-700);
  margin-top: 6px;
}

/* Services / icon list */
.icon-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.icon-item {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-item h4 { font-size: 16.5px; margin-bottom: 6px; }
.icon-item p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Regulatory cards */
.reg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reg-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.reg-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green-700);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.reg-card h4 { font-size: 18px; margin-bottom: 10px; }
.reg-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* Map / expansion */
.map-section .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.map-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.phase-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.phase-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.phase-row .phase-pill { margin-top: 2px; }
.phase-countries { line-height: 1.5; }
.phase-countries strong { display: inline-block; margin-bottom: 2px; }
.phase-pill {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--green-100);
  color: var(--green-800);
  flex-shrink: 0;
}
.phase-row.hq .phase-pill { background: var(--green-700); color: #fff; }
.phase-countries { font-size: 14.5px; color: var(--muted); }
.phase-countries strong { color: var(--ink); }

/* CTA band */
.cta-band {
  background: var(--green-800);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: 32px; max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,0.72); margin-top: 10px; max-width: 44ch; }
.cta-band .btn-primary { background: #fff; color: var(--green-800); }
.cta-band .btn-primary:hover { background: var(--green-50); }

/* Page header (inner pages) */
.page-header {
  background: linear-gradient(115deg, var(--green-50) 0%, var(--bg) 60%);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 56px;
}
.page-header h1 { font-size: 44px; margin-top: 18px; }
.page-header .lede { margin-top: 16px; }
.breadcrumb { font-size: 13.5px; color: var(--muted-2); margin-bottom: 18px; }
.breadcrumb a { color: var(--green-700); font-weight: 600; }

/* Shop */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.filter-tab.active { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.result-count { font-size: 14px; color: var(--muted-2); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card { display: flex; flex-direction: column; }
.product-card .thumb {
  background: var(--green-50);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  position: relative;
}
.product-card .thumb img { max-height: 100%; object-fit: contain; }
.product-card .pack {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--surface);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.product-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .cat { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--green-700); }
.product-card h3 { font-size: 17.5px; }
.product-card p { color: var(--muted); font-size: 13.5px; line-height: 1.5; flex: 1; }
.product-card .row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 10px; }
.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-700);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.add-btn:hover { background: var(--green-800); }
.add-btn.added { background: var(--ink); }

/* Cart drawer */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(18, 22, 15, 0.4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 420px;
  max-width: 92vw;
  background: var(--bg);
  z-index: 201;
  box-shadow: -20px 0 60px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 26px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-head h3 { font-size: 20px; }
.cart-close {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 34px; height: 34px;
  cursor: pointer;
  font-size: 16px;
}
.cart-items { flex: 1; overflow-y: auto; padding: 12px 26px; display: flex; flex-direction: column; gap: 4px; }
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item .name { font-weight: 600; font-size: 14.5px; }
.cart-item .cat { font-size: 12.5px; color: var(--muted-2); }
.cart-item .qty-ctrl { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}
.cart-empty { padding: 60px 10px; text-align: center; color: var(--muted-2); font-size: 14.5px; }
.cart-drawer-foot { padding: 22px 26px 26px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.cart-drawer-foot .note { font-size: 12.5px; color: var(--muted-2); line-height: 1.5; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-row { display: flex; gap: 14px; }
.contact-row h4 { font-size: 15px; margin-bottom: 4px; }
.contact-row p, .contact-row a { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.contact-row a:hover { color: var(--green-700); }

.contact-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.contact-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-700);
}
.contact-action svg { width: 15px; height: 15px; flex-shrink: 0; }
.contact-action:hover { color: var(--green-800); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--green-600);
  background: var(--surface);
}
.form-note { font-size: 13px; color: var(--muted-2); margin-top: 4px; }
.form-success {
  display: none;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-800);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 16px;
}
.form-success.show { display: block; }

/* Footer */
.site-footer { background: var(--green-900); color: rgba(255,255,255,0.82); padding: 72px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand-mark { background: #fff; color: var(--green-800); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255,255,255,0.55); }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.62); max-width: 34ch; }
.footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a, .footer-col p { font-size: 14.5px; color: rgba(255,255,255,0.82); }
.footer-col a:hover { color: #fff; }

.contact-line { display: flex; align-items: center; gap: 8px; }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: rgba(255,255,255,0.82);
}
.contact-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-link:hover { color: #fff; }
.ficon { width: 15px; height: 15px; flex-shrink: 0; color: rgba(255,255,255,0.55); }
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.icon-link .ficon { color: rgba(255,255,255,0.85); }
.icon-link:hover { background: rgba(255,255,255,0.18); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; }
  .hero h1 { font-size: 42px; }
  .grid-3, .grid-4, .grid-2, .reg-grid, .product-grid, .icon-list { grid-template-columns: repeat(2, 1fr); }
  .map-section .wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  section { padding: 64px 0; }
  .hero h1 { font-size: 34px; }
  .grid-3, .grid-4, .grid-2, .reg-grid, .product-grid, .icon-list, .form-grid { grid-template-columns: 1fr; }
  .site-header .wrap { height: 72px; }
  .brand-logo { height: 36px; }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .cta-band { padding: 36px 28px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 8px 20px 18px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 4px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
