/* ============================================================
   VetPro — pages.css
   Sections: 15. Gallery  16. Shopping List  18. About/Contact
             19. Modals
   ============================================================ */

/* ── 15. GALLERY — masonry grid ───────────────────────────── */

:root { --gallery-bg: #13110e; }

/* ── Hero ──────────────────────────────────────────────────── */
.gallery-hero {
  background: var(--gallery-bg);
  padding: 64px 0 32px;
  text-align: center;
}
.gallery-hero__inner { padding-bottom: 8px; }
.gallery-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.gallery-hero__sub {
  color: rgba(255,255,255,.35);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ── Gallery section wrapper ───────────────────────────────── */
.gallery-section {
  background: var(--gallery-bg);
  padding: 8px 20px 60px;
  margin-bottom: 0;
}
.gallery-section ~ footer.footer { margin-top: 0; }

/* ── Masonry grid (CSS columns) ────────────────────────────── */
/* Images flow naturally into columns — no fixed height, no blank gaps. */
.gallery-masonry {
  columns: 4;
  column-gap: 8px;
}

/* ── Individual tile ───────────────────────────────────────── */
.gal-item {
  break-inside: avoid;      /* never split a photo across columns */
  position: relative;
  margin-bottom: 8px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: #1c1a17;
  outline-offset: 3px;
  display: block;
}
.gal-item:focus-visible { outline: 2px solid var(--clr-secondary); }

/* span=4 items span all columns (full-width banner) */
.gal-item--full {
  column-span: all;
  margin-bottom: 8px;
}

/* ── Media inside tile ─────────────────────────────────────── */
.gal-item img {
  width: 100%;
  height: auto;      /* natural aspect ratio — zero blank space */
  display: block;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}
/* Video tiles: fixed 16:9 so they're predictably sized */
.gal-item__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.gal-item__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}
.gal-item:hover img,
.gal-item:hover .gal-item__media video { transform: scale(1.05); }

/* ── Overlay + caption ─────────────────────────────────────── */
.gal-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.gal-item:hover .gal-item__overlay { opacity: 1; }

.gal-item__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 14px 12px;
  color: #fff;
  font-size: .78rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.gal-item:hover .gal-item__caption { opacity: 1; transform: translateY(0); }

/* ── Video play icon ───────────────────────────────────────── */
.gal-item__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity .3s;
}
.gal-item--video:hover .gal-item__play { opacity: 0; }

/* ── Image lightbox ──────────────────────────────────────────── */
.gal-lightbox {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(10,9,7,.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .28s ease;
}
.gal-lightbox--open { opacity: 1; pointer-events: auto; }
.gal-lightbox__img {
  max-width: 90vw; max-height: 82vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 8px 48px rgba(0,0,0,.7);
}
.gal-lightbox__caption {
  position: absolute; bottom: 22px; left: 0; right: 0;
  text-align: center; color: rgba(255,255,255,.55); font-size: .82rem;
}
.gal-lightbox__close,
.gal-lightbox__prev,
.gal-lightbox__next {
  position: absolute; background: none; border: none;
  color: rgba(255,255,255,.6); cursor: pointer;
  font-size: 2.4rem; line-height: 1; padding: 12px;
  transition: color .2s; z-index: 2;
}
.gal-lightbox__close:hover,
.gal-lightbox__prev:hover,
.gal-lightbox__next:hover { color: #fff; }
.gal-lightbox__close { top: 16px; right: 18px; font-size: 1.9rem; }
.gal-lightbox__prev  { left: 12px; top: 50%; transform: translateY(-50%); }
.gal-lightbox__next  { right: 12px; top: 50%; transform: translateY(-50%); }

/* ── Video lightbox ──────────────────────────────────────── */
.gal-video-lb {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .28s ease;
}
.gal-video-lb--open { opacity: 1; pointer-events: auto; }
.gal-video-lb__backdrop { position: absolute; inset: 0; background: rgba(10,9,7,.96); }
.gal-video-lb__player {
  position: relative; z-index: 1;
  max-width: 92vw; max-height: 86vh;
  border-radius: 6px;
  box-shadow: 0 12px 60px rgba(0,0,0,.8);
  background: #000;
}
.gal-video-lb__close {
  position: absolute; top: 16px; right: 20px; z-index: 2;
  background: none; border: none; color: rgba(255,255,255,.7);
  font-size: 2rem; cursor: pointer; padding: 8px; transition: color .2s;
}
.gal-video-lb__close:hover { color: #fff; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) { .gallery-masonry { columns: 3; } }
@media (max-width: 680px)  { .gallery-masonry { columns: 2; } }
@media (max-width: 400px)  { .gallery-masonry { columns: 1; } }
@media (max-width: 768px)  { .gallery-hero__title { font-size: 2.4rem; } }
@media (max-width: 480px)  { .gallery-hero { padding-top: 40px; } }

/* ── 16. SHOPPING LIST ────────────────────────────────────── */
.shopping-list-section   { padding: 48px 0; }
.shopping-list__empty    { color: var(--clr-muted); font-size: 1.05rem; margin-bottom: 24px; }
.shopping-list__actions  { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.list-item        { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--clr-surface); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 10px; }
.list-item__name  { font-weight: 600; }
.list-item__remove { color: var(--clr-primary); font-size: .82rem; font-weight: 600; }
.list-item__remove:hover { text-decoration: underline; }

/* ── 18. ABOUT / CONTACT ──────────────────────────────────── */
.about-section,
.contact-section { padding: 48px 0; }

.about-mission h2     { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 16px; }
.about-mission p      { color: var(--clr-muted); margin-bottom: 14px; max-width: 680px; }
.about-mission        { margin-bottom: 44px; }
.about-team-title     { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 20px; }

.team-grid            { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 20px; }
.team-card            { background: var(--clr-surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.team-card__photo     { aspect-ratio: 1; background: #dde0e5; }
.team-card__name      { font-weight: 700; padding: 16px 18px 4px; }
.team-card__role      { font-size: .74rem; color: var(--clr-secondary-dk); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 0 18px; margin-bottom: 6px; }
.team-card__bio       { font-size: .84rem; color: var(--clr-muted); padding: 0 18px 16px; }

/* (contact layout moved to contact-hero block below) */

/* ── 19. MODALS ───────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal--open { opacity: 1; pointer-events: auto; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.modal__box {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  padding: 28px; width: 90%; max-width: 520px; max-height: 85vh; overflow-y: auto;
  box-shadow: var(--shadow-md); transform: translateY(18px); transition: transform .3s;
}
.modal--open .modal__box { transform: translateY(0); }
.modal__box--wide  { max-width: 680px; }
.modal__close      { position: absolute; top: 12px; right: 16px; font-size: 1.6rem; color: var(--clr-muted); line-height: 1; }
.modal__close:hover { color: var(--clr-primary); }
.modal__title      { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 14px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .modal__box { padding: 20px; width: 95%; }
}

/* ════════════════════════════════════════════════════════════
   CONTACT PAGE — Sky hero · info cards · map/form · FAQ strip
   ════════════════════════════════════════════════════════════ */

/* ─────────────────── HERO ─────────────────────────────────── */
.c-hero {
  position: relative;
  background: linear-gradient(105deg, #0369a1 0%, #0ea5e9 55%, var(--clr-secondary) 100%);
  padding: 80px 24px 100px;
  text-align: center;
  overflow: hidden;
}

.c-hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.c-hero__blob--tr {
  top: -64px; right: -64px;
  width: 256px; height: 256px;
  background: radial-gradient(circle, rgba(238,31,41,.22) 0%, transparent 70%);
  filter: blur(32px);
}
.c-hero__blob--bl {
  bottom: 0; left: -40px;
  width: 192px; height: 192px;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
  filter: blur(24px);
}
.c-hero__dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.c-hero__dot--1 { top: 32px; left: 50%; width: 24px; height: 24px; background: rgba(255,255,255,.3); }
.c-hero__dot--2 { bottom: 32px; right: 33%; width: 16px; height: 16px; background: rgba(238,31,41,.38); }

.c-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin: 0 auto;
}

.c-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  margin-bottom: 20px;
}

.c-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.2));
}

.c-hero__accent { color: #fca5a5; }

.c-hero__sub {
  color: rgba(224,242,254,.9);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.68;
  font-weight: 500;
}

.c-hero__wave {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 60px;
  fill: #f0f9ff;
  pointer-events: none;
}

/* ─────────────────── INFO CARDS ───────────────────────────── */
.c-cards-section {
  background: linear-gradient(180deg, #f0f9ff 0%, #fff 100%);
  padding: 40px 0 32px;
}

.c-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.c-card {
  border-radius: 18px;
  border: 2px solid;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: box-shadow .25s, transform .25s;
}
.c-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

.c-card--sky { background: rgba(14,165,233,.06);  border-color: rgba(14,165,233,.22); }
.c-card--red { background: rgba(238,31,41,.05);   border-color: rgba(238,31,41,.18); }

.c-card__icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.c-card__icon--sky { background: rgba(14,165,233,.18); color: #0369a1; }
.c-card__icon--red { background: rgba(238,31,41,.12);  color: var(--clr-primary); }

.c-card__label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #94a3b8;
  margin: 0 0 3px;
}

.c-card__value {
  font-size: .88rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.45;
  text-decoration: none;
  display: block;
  margin: 0;
  transition: color .2s;
}
a.c-card__value:hover { color: #0ea5e9; }
.c-card__value--phone { margin-bottom: 4px; }
.c-card__phone-label {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #94a3b8;
}

.c-card__sub {
  display: block;
  font-size: .76rem;
  color: #64748b;
  margin-top: 2px;
}

/* ─────────────────── MAP + FORM SECTION ───────────────────── */
.c-main-section {
  background: #fff;
  padding: 16px 0 56px;
}

.c-main-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 32px;
  align-items: start;
}

/* ── Map column ─────────────────────────────────────────────── */
.c-map-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-map-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
  border: 2px solid rgba(14,165,233,.15);
  height: 320px;
  flex-shrink: 0;
}

.c-map-empty {
  width: 100%; height: 100%;
  min-height: 280px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  background: #f8fafc;
  color: #94a3b8;
  font-size: .88rem;
}

.c-social-card {
  background: #fff;
  border-radius: 24px;
  border: 2px solid rgba(14,165,233,.15);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.c-social-card__title {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #374151;
  margin: 0 0 14px;
}

.c-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.c-social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .18s;
}
.c-social-btn:hover { transform: scale(1.04); }
.c-social-btn--fb { background: #eff6ff; border-color: #bfdbfe; color: #2563eb; }
.c-social-btn--fb:hover { background: #dbeafe; }
.c-social-btn--tw { background: #f0f9ff; border-color: #bae6fd; color: #0369a1; }
.c-social-btn--tw:hover { background: #e0f2fe; }
.c-social-btn--ig { background: #fdf4ff; border-color: #e9d5ff; color: #9333ea; }
.c-social-btn--ig:hover { background: #f3e8ff; }
.c-social-btn--yt { background: #fff1f2; border-color: #fecdd3; color: #e11d48; }
.c-social-btn--yt:hover { background: #ffe4e6; }
.c-social-btn--li { background: #eff6ff; border-color: #bfdbfe; color: #0a66c2; }
.c-social-btn--li:hover { background: #dbeafe; }

/* ── Form column ────────────────────────────────────────────── */
.c-form-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px rgba(0,0,0,.08);
  border: 2px solid rgba(14,165,233,.15);
  padding: 32px 36px 36px;
}

/* Gradient header banner */
.c-form-banner {
  background: linear-gradient(135deg, rgba(14,165,233,.08) 0%, rgba(238,31,41,.05) 100%);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 32px;
  border: 1px solid rgba(14,165,233,.12);
}

.c-form-banner__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #0ea5e9;
  margin-bottom: 8px;
}

.c-form-banner__body {
  color: #64748b;
  font-size: .86rem;
  line-height: 1.65;
  margin: 0;
}
.c-form-banner__body strong { color: #374151; }

/* Success state — hidden by default; JS sets display:flex on send */
.c-form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  text-align: center;
}
.c-form-success__icon {
  font-size: 2.8rem;
  width: 80px; height: 80px;
  background: #f0fdf4;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(34,197,94,.15);
}
.c-form-success__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 8px;
}
.c-form-success__body {
  color: #64748b;
  font-size: .88rem;
  max-width: 280px;
  margin: 0 auto 24px;
}

/* ─────────────────── FORM FIELDS ──────────────────────────── */
.cf-row {
  display: grid;
  gap: 0 32px;
}
.cf-row--2 { grid-template-columns: 1fr 1fr; }
.cf-row--1 { grid-template-columns: 1fr; }

.cf-field { margin-bottom: 24px; }

.cf-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #94a3b8;
  margin-bottom: 6px;
}

.cf-req { color: var(--clr-primary); }

.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid #e2e8f0;
  background: transparent;
  padding: 6px 0 8px;
  font-size: .88rem;
  color: #1e293b;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: #cbd5e1; opacity: 1; }

.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus { border-bottom-color: #0ea5e9; }

.cf-field input.cf-input--err,
.cf-field select.cf-input--err,
.cf-field textarea.cf-input--err {
  border-bottom-color: var(--clr-primary);
  background: #fff5f5;
}

/* ── Select wrapper (styled dropdown) ──────────────────────── */
.cf-field--select {
  border-bottom: none;   /* the wrapper box replaces the underline */
  padding: 0;
  margin-bottom: 24px;
}

.cf-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  margin-top: 6px;
}
.cf-select-wrap:focus-within {
  border-color: #0ea5e9;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}

.cf-field select {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  padding: 11px 40px 11px 14px;
  font-size: .88rem;
  font-family: inherit;
  color: #94a3b8;
  cursor: pointer;
  font-weight: 500;
}
.cf-field select.has-value,
.cf-field select:focus { color: #1e293b; }

.cf-select-arrow {
  position: absolute;
  right: 14px;
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
  transition: transform .2s, color .2s;
}
.cf-select-wrap:focus-within .cf-select-arrow {
  color: #0ea5e9;
  transform: rotate(180deg);
}
.cf-field textarea { resize: none; min-height: 100px; }

.cf-field__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 18px;
  margin-top: 4px;
}

.cf-err {
  font-size: .74rem;
  color: var(--clr-primary);
  margin: 4px 0 0;
  display: none;
}

.cf-count {
  font-size: .72rem;
  color: #cbd5e1;
  margin-left: auto;
}

/* ─────────────────── BOTTOM ROW ───────────────────────────── */
.cf-bottom {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

/* ─────────────────── SEND BUTTON ──────────────────────────── */
.c-send-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #e2e8f0;
  background: #fff;
  color: #374151;
  font-size: .88rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .25s, background .25s, color .25s, transform .2s, box-shadow .25s;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  flex-shrink: 0;
}
.c-send-btn:hover {
  border-color: #0ea5e9;
  background: rgba(14,165,233,.07);
  color: #0369a1;
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(14,165,233,.2);
}
.c-send-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.c-send-btn__arrow { transition: transform .2s; }
.c-send-btn:hover .c-send-btn__arrow { transform: translateX(4px); }

.c-send-spin {
  width: 16px; height: 16px;
  animation: c-spin .8s linear infinite;
}
@keyframes c-spin { to { transform: rotate(360deg); } }

/* ─────────────────── RESPONSIVE ───────────────────────────── */
@media (max-width: 1024px) {
  .c-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .c-main-grid  { grid-template-columns: 1fr; }
  .c-map-card   { height: 280px; }
  .c-form-card  { padding: 28px 24px 32px; }
}

@media (max-width: 640px) {
  .c-hero               { padding: 56px 16px 80px; }
  .c-cards-grid         { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cf-row--2            { grid-template-columns: 1fr; }
  .cf-bottom            { flex-direction: column; }
  .c-send-btn           { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .c-cards-grid { grid-template-columns: 1fr; }
}


.footer__brand-col { display: flex; flex-direction: column; gap: 10px; }
.footer__logo      { height: 36px; width: auto; }

.footer__socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.footer__social-link {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--ease), color var(--ease), transform var(--ease);
}
.footer__social-link:hover {
  background: rgba(32,193,245,.25);
  color: #fff;
  transform: translateY(-2px);
}

/* Footer contact column — plain spans for non-link items */
.footer__col span {
  display: block;
  font-size: .84rem;
  padding: 3px 0;
  color: rgba(255,255,255,.55);
}

/* Footer bottom tagline */
.footer__bottom-tagline {
  font-size: .72rem;
  color: rgba(255,255,255,.18);
  letter-spacing: .06em;
}
@media (max-width: 480px) {
  .footer__bottom-tagline { display: none; }
}

/* ════════════════════════════════════════════════════════════
   HOME PAGE — Science, Testimonials, CTA Banner
   ════════════════════════════════════════════════════════════ */

/* ── HOME: SCIENCE PROCESS ───────────────────────────────── */
.science { padding: 80px 0; background: var(--clr-bg); }

.science__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: 0;
}

.science__step {
  padding: 32px 28px;
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  transition: box-shadow .25s ease, transform .25s ease;
  height: 100%;
}

.science__step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.science__step-num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 700;
  color: rgba(32,193,245,.18);
  line-height: 1;
  margin-bottom: 16px;
}

.science__step-icon {
  width: 48px; height: 48px;
  background: rgba(32,193,245,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-secondary-dk);
  margin-bottom: 18px;
}

.science__step-icon svg { width: 24px; height: 24px; }

.science__step-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.science__step-text  { color: var(--clr-muted); font-size: .88rem; line-height: 1.7; }

.science__step-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 8px;
  padding-top: 56px;
  color: var(--clr-secondary);
  opacity: .6;
}

.science__step-arrow svg { width: 28px; height: 28px; }

/* ── HOME: TESTIMONIALS ──────────────────────────────────── */
.testimonials {
  padding: 80px 0;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--clr-border);
  display: flex; flex-direction: column; gap: 16px;
  transition: box-shadow .25s ease, transform .25s ease;
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial__stars { display: flex; gap: 3px; }

.testimonial__quote {
  font-size: .94rem;
  color: var(--clr-text);
  line-height: 1.72;
  flex: 1;
  font-style: italic;
}

.testimonial__author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--clr-border);
}

.testimonial__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--clr-secondary-lt);
  color: var(--clr-secondary-dk);
  font-weight: 700; font-size: .88rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.testimonial__name { display: block; font-weight: 700; font-size: .9rem; font-style: normal; }
.testimonial__role { font-size: .77rem; color: var(--clr-muted); }

/* ── HOME: CTA BANNER ───────────────────────────────────── */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1c23 0%, #0d1a2e 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(32,193,245,.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute; bottom: -100px; left: 10%;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(238,31,41,.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.15;
}

.cta-banner__sub {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  max-width: 540px;
  line-height: 1.68;
  margin-bottom: 28px;
}

.cta-banner { padding: 56px 0; }
.cta-banner__inner { grid-template-columns: 1fr; justify-items: center; }
.cta-banner__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.cta-banner__tagline {
  text-align: right;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 2.4;
  color: rgba(255,255,255,.18);
  font-style: italic;
  white-space: nowrap;
  user-select: none;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .science__steps     { grid-template-columns: 1fr; gap: 12px; }
  .science__step-arrow { display: none; }
  .science__step      { height: auto; }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner__inner  { grid-template-columns: 1fr; }
  .cta-banner__tagline { display: none; }
}

@media (max-width: 640px) {
  .science          { padding: 56px 0; }
  .testimonials     { padding: 56px 0; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .cta-banner       { padding: 40px 0; }
  .cta-banner__actions { flex-direction: column; align-items: stretch; width: 100%; }
}

/* Screen-reader only utility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ════════════════════════════════════════════════════════════
   MEDIA GALLERY PAGE  (mg- prefix)
   ════════════════════════════════════════════════════════════ */

/* ─── Hero ──────────────────────────────────────────────────── */
.mg-hero {
  position: relative;
  height: 420px;
  background: linear-gradient(135deg, #0c4a6e 0%, #075985 35%, #0ea5e9 65%, #7f1d1d 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mg-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.mg-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12,74,110,.75) 0%,
    rgba(7,89,133,.55) 40%,
    rgba(127,29,29,.35) 100%
  );
}

.mg-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 760px;
  margin: 0 auto;
}

.mg-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  margin-bottom: 18px;
}

.mg-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.1;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.3));
}

.mg-hero__accent { color: #7dd3fc; }

.mg-hero__sub {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.65;
  font-weight: 500;
}

.mg-hero__stats {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.mg-hero__stat {
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 16px;
  padding: 10px 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mg-hero__stat-icon { font-size: 1.1rem; }
.mg-hero__stat-val  { font-weight: 800; font-size: 1.1rem; }
.mg-hero__stat-label { font-size: .76rem; color: rgba(255,255,255,.7); font-weight: 500; }

.mg-hero__wave {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 56px;
  fill: #f0f9ff;
  pointer-events: none;
}

/* ─── Filters section ───────────────────────────────────────── */
.mg-filters-section {
  background: linear-gradient(180deg, #f0f9ff 0%, #fff 100%);
  padding: 36px 0 20px;
}

.mg-search-wrap {
  position: relative;
  max-width: 480px;
  margin: 0 auto 24px;
}

.mg-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.mg-search-input {
  width: 100%;
  padding: 12px 16px 12px 46px;
  border: 2px solid rgba(14,165,233,.25);
  border-radius: 16px;
  font-size: .9rem;
  font-family: inherit;
  color: #1e293b;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.mg-search-input::placeholder { color: #94a3b8; }
.mg-search-input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}

/* Type toggle */
.mg-type-toggle {
  display: flex;
  justify-content: center;
  background: #fff;
  border: 2px solid rgba(14,165,233,.18);
  border-radius: 16px;
  padding: 4px;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

.mg-type-btn {
  padding: 8px 22px;
  border-radius: 12px;
  border: none;
  background: transparent;
  font-size: .84rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
  font-family: inherit;
}
.mg-type-btn:hover { color: #0ea5e9; }
.mg-type-btn--active {
  background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(14,165,233,.3);
  transform: scale(1.04);
}

/* Count + legend */
.mg-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 16px;
}

.mg-count {
  font-size: .88rem;
  color: #64748b;
  margin: 0;
}
.mg-count strong { color: #0ea5e9; font-size: 1rem; }

.mg-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: #94a3b8;
  font-weight: 600;
}

.mg-legend__dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mg-legend__dot--photo { background: #0ea5e9; }
.mg-legend__dot--video { background: #ef4444; }

/* ─── Card grid ─────────────────────────────────────────────── */
.mg-grid-section {
  background: #fff;
  padding: 8px 0 48px;
}

.mg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ─── Card ──────────────────────────────────────────────────── */
.mg-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  cursor: pointer;
  transition: box-shadow .3s, transform .3s;
  outline-offset: 3px;
  display: flex;
  flex-direction: column;
}
.mg-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  transform: translateY(-6px);
}
.mg-card:focus-visible { outline: 2px solid #0ea5e9; }

/* Fixed 4:3 aspect-ratio media area */
.mg-card__media {
  position: relative;
  padding-bottom: 72%;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
}

.mg-card__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.mg-card:hover .mg-card__img { transform: scale(1.08); }

/* Dark gradient overlay on hover */
.mg-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .3s;
}
.mg-card:hover .mg-card__overlay { opacity: 1; }

/* Video play button */
.mg-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform .25s;
}
.mg-card__play::before {
  content: '';
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(239,68,68,.88);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transition: transform .25s;
}
.mg-card__play svg { position: relative; z-index: 1; margin-left: 3px; }
.mg-card:hover .mg-card__play::before { transform: scale(1.12); }

/* Type badge (top-left) */
.mg-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.mg-card__badge--photo { background: #0ea5e9; color: #fff; }
.mg-card__badge--video { background: #ef4444; color: #fff; }

/* Description shown on hover */
.mg-card__hover-desc {
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
  font-size: .78rem;
  color: #fff;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  line-height: 1.5;
}
.mg-card:hover .mg-card__hover-desc { opacity: 1; transform: translateY(0); }

/* Card footer */
.mg-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  flex: 1;
  min-height: 52px;
}

.mg-card__title {
  font-size: .9rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mg-card__arrow {
  color: #0ea5e9;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-left: 8px;
  transition: color .2s, transform .2s;
}
.mg-card:hover .mg-card__arrow {
  color: #ef4444;
  transform: translateX(3px);
}

/* ─── Empty / no-results ────────────────────────────────────── */
.mg-empty[hidden] { display: none !important; }
.mg-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
  color: #94a3b8;
}
.mg-empty__icon  { font-size: 4rem; margin-bottom: 16px; }
.mg-empty__title { font-size: 1.2rem; font-weight: 700; color: #64748b; margin: 0 0 6px; }
.mg-empty__sub   { font-size: .88rem; margin: 0; }

/* ─── CTA banner ────────────────────────────────────────────── */
.mg-cta-section {
  background: #fff;
  padding: 0 0 64px;
}

.mg-cta-banner {
  position: relative;
  background: linear-gradient(105deg, #0ea5e9 0%, #38bdf8 60%, #0ea5e9 100%);
  border-radius: 28px;
  padding: 52px 48px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(14,165,233,.3);
}

.mg-cta-banner__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.mg-cta-banner__blob--1 {
  top: -40px; left: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,.1);
  filter: blur(20px);
}
.mg-cta-banner__blob--2 {
  bottom: -30px; right: -30px;
  width: 180px; height: 180px;
  background: rgba(239,68,68,.2);
  filter: blur(24px);
}
.mg-cta-banner__blob--3 {
  top: 20px; right: 64px;
  width: 24px; height: 24px;
  background: rgba(255,255,255,.35);
}

.mg-cta-banner__inner { position: relative; z-index: 1; }

.mg-cta-banner__emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}

.mg-cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.mg-cta-banner__sub {
  color: rgba(255,255,255,.88);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.mg-cta-banner__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.mg-cta-banner__btn {
  font-weight: 800;
  font-size: .88rem;
  padding: 14px 28px;
  border-radius: 16px;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.mg-cta-banner__btn:hover { transform: scale(1.05); box-shadow: 0 8px 24px rgba(0,0,0,.18); }

.mg-cta-banner__btn--primary {
  background: #fff;
  color: #0ea5e9;
}
.mg-cta-banner__btn--primary:hover { background: #f0f9ff; }

.mg-cta-banner__btn--secondary {
  background: #ef4444;
  color: #fff;
}
.mg-cta-banner__btn--secondary:hover { background: #dc2626; }

/* ─── Lightbox ──────────────────────────────────────────────── */
.mg-lb {
  position: fixed; inset: 0;
  z-index: 1300;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.mg-lb--open { opacity: 1; pointer-events: auto; }

.mg-lb__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(4px);
}

.mg-lb__box {
  position: relative;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  max-width: 900px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.mg-lb__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 10;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,.3);
  transition: background .2s, transform .2s;
}
.mg-lb__close:hover { background: #dc2626; transform: scale(1.1); }

.mg-lb__media {
  position: relative;
  background: #0f172a;
  min-height: 300px;
  max-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mg-lb__img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  display: block;
}

.mg-lb__video {
  max-width: 100%;
  max-height: 60vh;
  display: block;
  background: #000;
}

.mg-lb__prev,
.mg-lb__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(14,165,233,.88);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(0,0,0,.3);
  transition: background .2s, transform .2s;
  padding: 0;
}
.mg-lb__prev:hover,
.mg-lb__next:hover { background: rgba(14,165,233,1); transform: translateY(-50%) scale(1.1); }
.mg-lb__prev { left: 12px; }
.mg-lb__next { right: 12px; }

.mg-lb__info {
  padding: 20px 24px 24px;
  background: #fff;
}

.mg-lb__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.mg-lb__tag {
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.mg-lb__tag--photo { background: rgba(14,165,233,.12); color: #0369a1; }
.mg-lb__tag--video { background: rgba(239,68,68,.1);   color: #dc2626; }

.mg-lb__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 6px;
}
.mg-lb__desc {
  font-size: .88rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 720px) {
  .mg-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 768px) {
  .mg-hero          { height: 360px; }
  .mg-hero__sub     { font-size: .9rem; }
  .mg-type-toggle   { flex-wrap: wrap; width: auto; }
}

@media (max-width: 640px) {
  .mg-hero             { height: auto; padding: 60px 16px 80px; }
  .mg-grid             { grid-template-columns: 1fr 1fr; gap: 14px; }
  .mg-cta-banner       { padding: 36px 24px; }
  .mg-cta-banner__actions { flex-direction: column; align-items: center; }
  .mg-cta-banner__btn  { width: 100%; text-align: center; }
  .mg-lb__box          { border-radius: 16px; }
  .mg-lb__info         { padding: 16px 18px 20px; }
}

@media (max-width: 440px) {
  .mg-grid { grid-template-columns: 1fr; }
}

/* ─── Cow feature section ───────────────────────────────────── */
.mg-cow-section {
  position: relative;
  height: 440px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mg-cow-section__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.mg-cow-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(3,105,161,.82) 0%,
    rgba(14,165,233,.55) 45%,
    rgba(127,29,29,.55) 100%
  );
}

.mg-cow-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 680px;
}

.mg-cow-section__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  margin-bottom: 18px;
}

.mg-cow-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.15;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.35));
}

.mg-cow-section__sub {
  color: rgba(255,255,255,.88);
  font-size: .96rem;
  line-height: 1.65;
  margin: 0 0 28px;
}

.mg-cow-section__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.mg-cow-section__btn {
  font-weight: 800;
  font-size: .88rem;
  padding: 13px 26px;
  border-radius: 14px;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.mg-cow-section__btn:hover { transform: scale(1.05); box-shadow: 0 8px 24px rgba(0,0,0,.24); }
.mg-cow-section__btn--primary  { background: #fff; color: #0ea5e9; }
.mg-cow-section__btn--primary:hover { background: #f0f9ff; }
.mg-cow-section__btn--secondary { background: var(--clr-primary); color: #fff; }
.mg-cow-section__btn--secondary:hover { background: #c8121b; }

@media (max-width: 640px) {
  .mg-cow-section           { height: 360px; }
  .mg-cow-section__actions  { flex-direction: column; align-items: center; }
  .mg-cow-section__btn      { width: 100%; text-align: center; }
}

/* ════════════════════════════════════════════════════════════
   SHOPPING LIST PAGE  (sl- prefix)
   ════════════════════════════════════════════════════════════ */

/* ─── Hero ──────────────────────────────────────────────────── */
.sl-hero {
  position: relative;
  background: linear-gradient(105deg, #0369a1 0%, #0ea5e9 55%, var(--clr-secondary) 100%);
  padding: 80px 24px 100px;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

.sl-hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.sl-hero__blob--tr {
  top: -64px; right: -64px;
  width: 256px; height: 256px;
  background: radial-gradient(circle, rgba(238,31,41,.22) 0%, transparent 70%);
  filter: blur(32px);
}
.sl-hero__blob--bl {
  bottom: 0; left: -40px;
  width: 192px; height: 192px;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
  filter: blur(24px);
}

.sl-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.sl-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  margin-bottom: 20px;
}

.sl-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.2));
}

.sl-hero__accent { color: #7dd3fc; }

.sl-hero__subtitle {
  color: rgba(224,242,254,.9);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.68;
  font-weight: 500;
}

.sl-hero__wave {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 60px;
  fill: #f8fafc;
  pointer-events: none;
}

/* ─── Main section ──────────────────────────────────────────── */
.sl-section {
  background: #f8fafc;
  padding: 40px 0 64px;
  min-height: 320px;
}

/* Empty state */
.sl-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}

.sl-empty__icon {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
}

.sl-empty__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 8px;
}

.sl-empty__sub {
  color: #64748b;
  font-size: .94rem;
  margin: 0 0 28px;
  line-height: 1.6;
}

/* List items — filled by shopping-list.js */
.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 14px;
  border: 2px solid rgba(14,165,233,.1);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  margin-bottom: 10px;
  transition: box-shadow .25s, border-color .25s;
}
.list-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); border-color: rgba(14,165,233,.22); }

.list-item__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.list-item__name {
  font-weight: 700;
  color: #1e293b;
  font-size: .94rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.list-item__size {
  display: inline-block;
  background: rgba(14,165,233,.1);
  color: #0369a1;
  border: 1px solid rgba(14,165,233,.22);
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  width: fit-content;
}

.list-item__link {
  font-size: .8rem;
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}
.list-item__link:hover { color: #0369a1; text-decoration: underline; }

.list-item__remove {
  color: #ef4444;
  font-size: .82rem;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .2s, color .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.list-item__remove:hover { background: #fff1f2; }

/* Action bar */
.sl-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  align-items: center;
}

.sl-clear-btn { color: #ef4444 !important; border-color: #fecdd3 !important; }
.sl-clear-btn:hover { background: #fff1f2 !important; }

/* ── Email panel ─────────────────────────────────────────────── */
.sl-email-panel {
  margin-top: 16px;
  border-radius: 16px;
  border: 2px solid rgba(14,165,233,.2);
  background: linear-gradient(135deg, #f0f9ff 0%, #fff 100%);
  overflow: hidden;
  animation: sl-ep-in .22s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes sl-ep-in {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1);   }
}

.sl-email-panel[hidden] { display: none !important; }

.sl-email-panel__inner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  position: relative;
}

.sl-email-panel__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(14,165,233,.3);
}

.sl-email-panel__body { flex: 1; min-width: 0; }

.sl-email-panel__label {
  font-size: .94rem;
  font-weight: 700;
  color: #0c4a6e;
  margin: 0 0 4px;
}

.sl-email-panel__hint {
  font-size: .82rem;
  color: #64748b;
  margin: 0 0 14px;
  line-height: 1.55;
}

.sl-email-panel__form { margin: 0; }

.sl-email-panel__row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}

.sl-email-panel__input {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  font-size: .9rem;
  border: 1.5px solid rgba(14,165,233,.35);
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: #1e293b;
  transition: border-color .15s, box-shadow .15s;
}
.sl-email-panel__input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14,165,233,.18);
}
.sl-email-panel__input::placeholder { color: #94a3b8; }

.sl-email-panel__send {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.sl-email-panel__msg {
  margin: 10px 0 0;
  font-size: .82rem;
  font-weight: 600;
  min-height: 1.4em;
  color: #64748b;
}

/* Success / error tints */
.sl-email-panel--success {
  border-color: rgba(34,197,94,.3);
  background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%);
}
.sl-email-panel--success .sl-email-panel__icon {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  box-shadow: 0 4px 12px rgba(34,197,94,.3);
}
.sl-email-panel--success .sl-email-panel__msg { color: #16a34a; }

.sl-email-panel--error {
  border-color: rgba(239,68,68,.25);
  background: linear-gradient(135deg, #fff1f2 0%, #fff 100%);
}
.sl-email-panel--error .sl-email-panel__msg { color: #ef4444; }

/* Close × button */
.sl-email-panel__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  color: #94a3b8;
  padding: 4px;
  border-radius: 50%;
  transition: color .15s, background .15s;
}
.sl-email-panel__close:hover { color: #ef4444; background: #fff1f2; }

/* Spinner keyframe (used by JS inline style) */
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .sl-hero       { padding: 60px 16px 80px; }
  .sl-actions    { flex-direction: column; align-items: stretch; }
  .sl-actions .btn { justify-content: center; text-align: center; }
  .sl-email-panel__inner { flex-direction: column; align-items: stretch; padding: 18px 16px; }
  .sl-email-panel__icon  { width: 42px; height: 42px; }
  .sl-email-panel__input { min-width: 0; }
}

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE  (about- prefix)
   ════════════════════════════════════════════════════════════ */

/* ─── Hero ──────────────────────────────────────────────────── */
.about-hero {
  position: relative;
  background: linear-gradient(105deg, #0369a1 0%, #0ea5e9 55%, var(--clr-secondary) 100%);
  padding: 80px 24px 100px;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

.about-hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.about-hero__blob--tr {
  top: -64px; right: -64px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(238,31,41,.22) 0%, transparent 70%);
  filter: blur(36px);
}
.about-hero__blob--bl {
  bottom: 0; left: -48px;
  width: 224px; height: 224px;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
  filter: blur(28px);
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.about-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  margin-bottom: 20px;
}

.about-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.2));
}

.about-hero__accent { color: #7dd3fc; }

.about-hero__subtitle {
  color: rgba(224,242,254,.9);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.68;
  font-weight: 500;
}

.about-hero__wave {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 60px;
  fill: #f0f9ff;
  pointer-events: none;
}

/* ─── Stats section ─────────────────────────────────────────── */
.about-stats-section {
  background: linear-gradient(180deg, #f0f9ff 0%, #fff 100%);
  padding: 40px 0 28px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: #fff;
  border-radius: 18px;
  border: 2px solid rgba(14,165,233,.14);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: box-shadow .25s, transform .25s;
}
.about-stat:hover { box-shadow: 0 8px 28px rgba(14,165,233,.15); transform: translateY(-2px); }

.about-stat__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: #0369a1;
  line-height: 1;
  margin-bottom: 8px;
}
.about-stat__plus { font-size: 1.4rem; vertical-align: super; color: #0ea5e9; }
.about-stat__pct  { font-size: 1.4rem; vertical-align: super; color: #0ea5e9; }

.about-stat__label {
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #64748b;
}

/* ─── Mission section ───────────────────────────────────────── */
.about-mission-section {
  background: #fff;
  padding: 56px 0;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-mission__text { display: flex; flex-direction: column; gap: 6px; }

.about-mission__eyebrow {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #0ea5e9;
  margin-bottom: 8px;
}

.about-mission__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
  margin: 0 0 20px;
}

.about-mission__text p {
  color: #64748b;
  font-size: .95rem;
  line-height: 1.75;
  margin: 0 0 14px;
}

.about-mission__visual {}

.about-mission__img-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.14);
  border: 3px solid rgba(14,165,233,.15);
}

.about-mission__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.about-mission__img-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: #fff;
  font-size: .84rem;
  font-weight: 600;
  color: #374151;
}

/* ─── Values section ────────────────────────────────────────── */
.about-values-section {
  background: #f8fafc;
  padding: 56px 0;
}

.about-values__head {
  text-align: center;
  margin-bottom: 36px;
}

.about-values__eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #0ea5e9;
  margin-bottom: 10px;
}

.about-values__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-value-card {
  border-radius: 20px;
  border: 2px solid;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: box-shadow .25s, transform .25s;
}
.about-value-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.about-value-card--sky { background: rgba(14,165,233,.05);  border-color: rgba(14,165,233,.2); }
.about-value-card--red { background: rgba(238,31,41,.04);   border-color: rgba(238,31,41,.15); }

.about-value-card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-value-card__icon--sky { background: rgba(14,165,233,.16); color: #0369a1; }
.about-value-card__icon--red { background: rgba(238,31,41,.1);   color: var(--clr-primary); }

.about-value-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}

.about-value-card__body {
  color: #64748b;
  font-size: .88rem;
  line-height: 1.7;
  margin: 0;
}

/* ─── CTA section ───────────────────────────────────────────── */
.about-cta-section {
  background: #fff;
  padding: 0 0 64px;
}

.about-cta-banner {
  position: relative;
  background: linear-gradient(105deg, #0369a1 0%, #0ea5e9 55%, var(--clr-secondary) 100%);
  border-radius: 28px;
  padding: 56px 48px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(14,165,233,.3);
}

.about-cta-banner__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.about-cta-banner__blob--1 {
  top: -40px; left: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.1);
  filter: blur(24px);
}
.about-cta-banner__blob--2 {
  bottom: -32px; right: -32px;
  width: 180px; height: 180px;
  background: rgba(238,31,41,.2);
  filter: blur(24px);
}

.about-cta-banner__inner { position: relative; z-index: 1; }

.about-cta-banner__emoji { font-size: 3rem; display: block; margin-bottom: 12px; }

.about-cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.about-cta-banner__sub {
  color: rgba(255,255,255,.88);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.68;
}

.about-cta-banner__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-cta-banner__btn {
  font-weight: 800;
  font-size: .88rem;
  padding: 14px 28px;
  border-radius: 16px;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(0,0,0,.14);
}
.about-cta-banner__btn:hover { transform: scale(1.05); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.about-cta-banner__btn--primary  { background: #fff; color: #0369a1; }
.about-cta-banner__btn--primary:hover { background: #f0f9ff; }
.about-cta-banner__btn--secondary { background: rgba(255,255,255,.18); color: #fff; border: 2px solid rgba(255,255,255,.4); }
.about-cta-banner__btn--secondary:hover { background: rgba(255,255,255,.28); }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-mission-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .about-stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .about-values-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .about-hero           { padding: 60px 16px 80px; }
  .about-cta-banner     { padding: 40px 24px; }
  .about-cta-banner__actions { flex-direction: column; align-items: center; }
  .about-cta-banner__btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .about-stats-grid { grid-template-columns: 1fr 1fr; }
}