/* ==========================================================================
   MARGI PET WORLD — custom stylesheet
   Mobile-first, hand-built (no framework). Pet-themed & playful.
   Palette: cream #FFF8F0 · teal #0E6B63 · orange #FF8C42 · charcoal #2B2B2B
   Fonts:   Fredoka (display) · Nunito (body)
   ========================================================================== */

/* ------------------------------ Tokens ---------------------------------- */
:root {
  --cream: #FFF8F0;
  --cream-2: #FFF1E2;
  --teal: #0E6B63;
  --teal-dark: #0A544E;
  --teal-soft: #E3F0EE;
  --orange: #FF8C42;
  --orange-dark: #F0741F;
  --charcoal: #2B2B2B;
  --muted: #6B6660;
  --white: #FFFFFF;
  --wa-green: #25D366;
  --wa-green-dark: #128C7E;

  --shadow-sm: 0 4px 14px rgba(43, 43, 43, .08);
  --shadow-md: 0 12px 30px rgba(14, 107, 99, .12);
  --shadow-lg: 0 20px 50px rgba(14, 107, 99, .18);

  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --maxw: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);

  --ff-display: 'Fredoka', 'Segoe UI', sans-serif;
  --ff-body: 'Nunito', 'Segoe UI', sans-serif;
}

/* ------------------------------ Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { font-family: var(--ff-display); line-height: 1.15; font-weight: 600; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--orange-dark); }

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

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--teal); color: #fff; padding: .6rem 1rem; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* Paw print background texture used in hero / section dividers */
.paw-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%230E6B63' fill-opacity='0.05'%3E%3Cellipse cx='40' cy='40' rx='6' ry='8'/%3E%3Cellipse cx='58' cy='40' rx='6' ry='8'/%3E%3Cellipse cx='30' cy='55' rx='5' ry='7'/%3E%3Cellipse cx='68' cy='55' rx='5' ry='7'/%3E%3Cpath d='M49 52c-7 0-12 5-12 11 0 4 4 6 12 6s12-2 12-6c0-6-5-11-12-11z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ------------------------------ Buttons --------------------------------- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-display); font-weight: 600; font-size: 1rem;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: .85rem 1.5rem; border: none; border-radius: var(--radius-pill);
  cursor: pointer; text-align: center; line-height: 1;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(-1px); }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn--accent { --btn-bg: var(--orange); }
.btn--accent:hover { background: var(--orange-dark); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--teal); border: 2px solid var(--teal); box-shadow: none; }
.btn--outline:hover { background: var(--teal); --btn-fg: #fff; }
.btn--wa { --btn-bg: var(--wa-green); }
.btn--wa:hover { background: var(--wa-green-dark); }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1.15rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* ------------------------------ Header ---------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 248, 240, .92);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid rgba(14, 107, 99, .1);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--charcoal); }
.brand:hover { color: var(--charcoal); }
.brand__mark {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  background: var(--teal); color: var(--orange); border-radius: 14px; padding: 8px;
  box-shadow: var(--shadow-sm);
}
.brand__mark .icon { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--ff-display); font-weight: 700; font-size: 1.15rem; color: var(--teal); letter-spacing: .3px; }
.brand__name span { color: var(--orange); }
.brand__tag { font-size: .68rem; color: var(--muted); font-weight: 600; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
  width: 46px; height: 46px; padding: 0 11px; background: var(--white);
  border: 1px solid rgba(14,107,99,.15); border-radius: 12px; cursor: pointer;
}
.nav-toggle span { height: 3px; background: var(--teal); border-radius: 3px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.primary-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--cream); border-bottom: 1px solid rgba(14,107,99,.1);
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  box-shadow: var(--shadow-sm);
}
.primary-nav.is-open { max-height: 420px; }
.primary-nav ul { display: flex; flex-direction: column; padding: .5rem 1rem 1rem; }
.primary-nav a { display: block; padding: .8rem .6rem; font-family: var(--ff-display); font-weight: 600; color: var(--charcoal); border-radius: 12px; }
.primary-nav a:hover, .primary-nav a.is-active { background: var(--teal-soft); color: var(--teal); }
.primary-nav__cta { margin-top: .4rem; }
.primary-nav__cta a { color: #fff; }
.primary-nav__cta a:hover { color: #fff; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { position: static; max-height: none; overflow: visible; background: none; border: none; box-shadow: none; }
  .primary-nav ul { flex-direction: row; align-items: center; gap: .3rem; padding: 0; }
  .primary-nav a { padding: .55rem .9rem; }
  .primary-nav__cta { margin: 0 0 0 .4rem; }
}

/* ------------------------------ Sections -------------------------------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); position: relative; }
.section--tint { background: var(--cream-2); }
.section--teal { background: var(--teal); color: var(--cream); }
.section--teal h2, .section--teal h3 { color: #fff; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--ff-display); font-weight: 600; font-size: .85rem; letter-spacing: .5px;
  text-transform: uppercase; color: var(--orange-dark);
  background: #fff; padding: .4rem .9rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm); margin-bottom: 1rem;
}
.section-head .eyebrow .icon { width: 1.1em; height: 1.1em; color: var(--orange); }
.section-head h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); color: var(--teal); }
.section-head p { color: var(--muted); margin-top: .6rem; font-size: 1.05rem; }

/* Wavy dividers */
.wave { line-height: 0; }
.wave svg { width: 100%; height: 60px; }
.wave--footer { margin-top: 3rem; }
.wave--footer svg path { fill: var(--teal); }

/* ------------------------------ Hero ------------------------------------ */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--cream) 0%, var(--teal-soft) 100%); }
.hero__inner { display: grid; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 7vw, 5rem); position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; align-self: start;
  background: #fff; color: var(--teal); font-family: var(--ff-display); font-weight: 600;
  padding: .45rem 1rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); font-size: .9rem;
}
.hero__eyebrow .icon { width: 1.2em; height: 1.2em; color: var(--orange); }
.hero h1 { font-size: clamp(2.2rem, 7vw, 4rem); font-weight: 700; color: var(--charcoal); margin: 1rem 0; }
.hero h1 .hl { color: var(--teal); position: relative; }
.hero h1 .hl-orange { color: var(--orange); }
.hero__sub { font-size: clamp(1.05rem, 2.5vw, 1.25rem); color: var(--muted); max-width: 42ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.8rem; }
.hero__trust div { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--teal); }
.hero__trust .icon { width: 1.4rem; height: 1.4rem; color: var(--orange); }

/* Hero illustration */
.hero__art { position: relative; min-height: 240px; display: grid; place-items: center; }
.hero__art-disc {
  position: relative; width: min(90%, 380px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--cream-2));
  box-shadow: var(--shadow-lg); display: grid; place-items: center;
}
.hero__art-disc .pet-dog { width: 58%; color: var(--teal); }
.hero__art-disc .pet-cat { position: absolute; bottom: 6%; right: 4%; width: 34%; color: var(--orange); }

/* Floating pet silhouettes */
.floaty { position: absolute; opacity: .16; color: var(--teal); z-index: 1; animation: float 6s ease-in-out infinite; }
.floaty--1 { top: 12%; left: 6%; width: 60px; animation-delay: 0s; }
.floaty--2 { top: 60%; left: 2%; width: 44px; color: var(--orange); animation-delay: 1.2s; }
.floaty--3 { top: 18%; right: 8%; width: 52px; color: var(--orange); animation-delay: .6s; }
.floaty--4 { bottom: 10%; right: 12%; width: 56px; animation-delay: 1.8s; }

@keyframes float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-16px) rotate(4deg); } }

@media (min-width: 860px) {
  .hero__inner { grid-template-columns: 1.1fr .9fr; }
}

/* ------------------------------ Category strip -------------------------- */
.cat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.cat-card {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  background: #fff; border-radius: var(--radius); padding: 1.4rem 1rem; text-align: center;
  box-shadow: var(--shadow-sm); color: var(--charcoal);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); color: var(--teal); }
.cat-card__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; }
.cat-card__icon .icon { width: 60%; height: 60%; }
.cat-card span { font-family: var(--ff-display); font-weight: 600; }
.cat-card--dog .cat-card__icon { background: #E3F0EE; color: var(--teal); }
.cat-card--cat .cat-card__icon { background: #FFE7D4; color: var(--orange-dark); }
.cat-card--bird .cat-card__icon { background: #E7F3FF; color: #2C7BE5; }
.cat-card--fish .cat-card__icon { background: #E0F7F5; color: #12A594; }
.cat-card--small-pet .cat-card__icon { background: #F5E9FF; color: #8B5CF6; }

@media (min-width: 620px) { .cat-strip { grid-template-columns: repeat(5, 1fr); } }

/* ------------------------------ Product grid ---------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.8rem, 2vw, 1.5rem); }
@media (min-width: 720px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.product-card:hover .product-ph__icon { animation: bounce .6s ease; }

.product-card__media { position: relative; }
.product-card__badge {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  font-family: var(--ff-display); font-weight: 600; font-size: .72rem;
  background: var(--teal); color: #fff; padding: .28rem .7rem; border-radius: var(--radius-pill);
  text-transform: capitalize;
}
.product-card__type {
  position: absolute; top: .7rem; right: .7rem; z-index: 2;
  font-size: .68rem; font-weight: 700; background: rgba(255,255,255,.9); color: var(--muted);
  padding: .25rem .6rem; border-radius: var(--radius-pill);
}
.product-card__body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.product-card__name { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.product-card__name a { color: var(--charcoal); }
.product-card__name a:hover { color: var(--teal); }
.product-card__desc { color: var(--muted); font-size: .85rem; margin-top: .3rem; flex: 1; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .9rem; }
.price { font-family: var(--ff-display); font-weight: 700; color: var(--teal); font-size: 1.2rem; }
.price small { font-weight: 600; font-size: .8rem; }

/* Coloured placeholder "image" */
.product-ph {
  aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; overflow: hidden;
  background: var(--teal-soft);
}
.product-ph::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23ffffff' fill-opacity='0.35'%3E%3Cellipse cx='28' cy='28' rx='4' ry='5.5'/%3E%3Cellipse cx='40' cy='28' rx='4' ry='5.5'/%3E%3Cellipse cx='22' cy='38' rx='3.4' ry='4.6'/%3E%3Cellipse cx='46' cy='38' rx='3.4' ry='4.6'/%3E%3Cpath d='M34 36c-5 0-8 3.4-8 7.4 0 2.7 2.7 4 8 4s8-1.3 8-4c0-4-3-7.4-8-7.4z'/%3E%3C/g%3E%3C/svg%3E");
}
.product-ph__icon { position: relative; z-index: 1; width: 42%; color: #fff; filter: drop-shadow(0 6px 10px rgba(0,0,0,.12)); }
.product-ph__icon .icon { width: 100%; height: 100%; }
/* Real photo variant */
.product-ph--photo { background: #fff; padding: 8px; }
.product-ph--photo img { width: 100%; height: 100%; object-fit: contain; }
.product-ph--photo::after { display: none; }

.ph-dog { background: linear-gradient(150deg, #12897E, #0E6B63); }
.ph-cat { background: linear-gradient(150deg, #FF9E5E, #F0741F); }
.ph-bird { background: linear-gradient(150deg, #4F97F0, #2C7BE5); }
.ph-fish { background: linear-gradient(150deg, #17B8A6, #0E9C8B); }
.ph-small-pet { background: linear-gradient(150deg, #A277F0, #8B5CF6); }

/* ------------------------------ Why choose us --------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 820px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 1.6rem 1.2rem; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .2s ease;
}
.feature-card:hover { transform: translateY(-6px); }
.feature-card__icon {
  width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 20px;
  display: grid; place-items: center; background: var(--teal-soft); color: var(--teal);
}
.feature-card:nth-child(even) .feature-card__icon { background: #FFE7D4; color: var(--orange-dark); }
.feature-card__icon .icon { width: 55%; height: 55%; }
.feature-card h3 { font-size: 1.1rem; color: var(--teal); margin-bottom: .4rem; }
.feature-card p { color: var(--muted); font-size: .9rem; }

/* ------------------------------ Map ------------------------------------- */
.map-embed {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 6px solid #fff; line-height: 0;
  min-height: 360px; background: var(--teal-soft);
}
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; position: relative; z-index: 1; }

/* Branded fallback (revealed by JS only if the iframe can't load) */
.map-fallback {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .5rem; text-align: center;
  padding: 2rem; line-height: 1.5; color: #fff;
  background: linear-gradient(150deg, var(--teal), var(--teal-dark));
}
.map-fallback[hidden] { display: none; }
.map-fallback .icon { width: 54px; height: 54px; color: var(--orange); margin-bottom: .4rem; }
.map-fallback strong { font-family: var(--ff-display); font-size: 1.25rem; }
.map-fallback span { font-size: .95rem; opacity: .9; }
.map-fallback__btn {
  margin-top: .8rem; background: var(--orange); color: #fff; font-family: var(--ff-display);
  font-weight: 600; padding: .6rem 1.2rem; border-radius: var(--radius-pill); opacity: 1 !important;
}
.map-fallback:hover .map-fallback__btn { background: var(--orange-dark); }

/* ------------------------------ Testimonials ---------------------------- */
.testi { position: relative; max-width: 720px; margin: 0 auto; }
.testi__track { position: relative; min-height: 210px; }
.testi__slide {
  position: absolute; inset: 0; opacity: 0; transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease; pointer-events: none;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-lg); padding: 2rem 1.6rem; text-align: center; backdrop-filter: blur(4px);
}
.testi__slide.is-active { opacity: 1; transform: translateY(0); position: relative; pointer-events: auto; }
.testi__stars { color: #FFD166; font-size: 1.2rem; letter-spacing: 2px; margin-bottom: .8rem; }
.testi__quote { font-size: 1.1rem; font-style: italic; }
.testi__who { margin-top: 1rem; font-family: var(--ff-display); font-weight: 600; }
.testi__who span { display: block; font-family: var(--ff-body); font-weight: 600; font-size: .85rem; opacity: .8; }
.testi__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.4rem; }
.testi__dot { width: 12px; height: 12px; border-radius: 50%; border: none; background: rgba(255,255,255,.4); cursor: pointer; }
.testi__dot.is-active { background: var(--orange); transform: scale(1.2); }

/* ------------------------------ Products page --------------------------- */
.shop-layout { display: grid; gap: 1.5rem; }
.shop-toolbar { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; }
.search-box { position: relative; flex: 1; min-width: 200px; }
.search-box input {
  width: 100%; font-family: var(--ff-body); font-size: 1rem; padding: .8rem 1rem .8rem 2.6rem;
  border: 2px solid rgba(14,107,99,.15); border-radius: var(--radius-pill); background: #fff; color: var(--charcoal);
}
.search-box input:focus { outline: none; border-color: var(--teal); }
.search-box .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.1rem; height: 1.1rem; color: var(--muted); }

.filter-group { margin-bottom: 1.2rem; }
.filter-group h4 { font-size: .95rem; color: var(--teal); margin-bottom: .6rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; font-family: var(--ff-display); font-weight: 500; font-size: .85rem;
  padding: .45rem .9rem; border-radius: var(--radius-pill); background: #fff; color: var(--charcoal);
  border: 2px solid rgba(14,107,99,.12); transition: all .18s ease;
}
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.is-active { background: var(--teal); color: #fff; border-color: var(--teal); }
.chip .icon { width: 1.1em; height: 1.1em; }

.shop-count { color: var(--muted); font-size: .9rem; }
.no-results { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.no-results .icon { width: 64px; height: 64px; color: var(--teal); opacity: .4; margin: 0 auto 1rem; }

/* ------------------------------ Product detail -------------------------- */
.pd { display: grid; gap: 2rem; }
@media (min-width: 820px) { .pd { grid-template-columns: 1fr 1fr; align-items: start; } }
.pd__media .product-ph { aspect-ratio: 1; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.pd__media .product-ph__icon { width: 38%; }
.pd__badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .8rem; }
.pd h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); color: var(--charcoal); }
.pd__price { font-family: var(--ff-display); font-weight: 700; color: var(--teal); font-size: 2rem; margin: .8rem 0; }
.pd__desc { color: var(--muted); font-size: 1.05rem; }
.pd__features { margin: 1.4rem 0; display: grid; gap: .6rem; }
.pd__features li { display: flex; gap: .6rem; align-items: flex-start; }
.pd__features .icon { width: 1.2rem; height: 1.2rem; color: var(--orange); flex: none; margin-top: .15rem; }
.pd__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.pd__note { font-size: .85rem; color: var(--muted); margin-top: .8rem; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--teal); }

/* ------------------------------ About ----------------------------------- */
.about-hero { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 820px) { .about-hero { grid-template-columns: 1fr 1fr; } }
.about-photo {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  display: grid; place-items: center; text-align: center; color: #fff; padding: 2rem;
  background: linear-gradient(150deg, var(--teal), var(--teal-dark)); position: relative; overflow: hidden;
}
.about-photo .icon { width: 90px; height: 90px; color: var(--orange); margin-bottom: 1rem; }
.about-photo p { font-family: var(--ff-display); font-weight: 500; opacity: .9; }
.prose p { margin-bottom: 1rem; color: var(--charcoal); }
.prose p.lead { font-size: 1.15rem; color: var(--muted); }
.value-list { display: grid; gap: .8rem; margin-top: 1rem; }
.value-list li { display: flex; gap: .7rem; align-items: flex-start; background: #fff; padding: 1rem 1.2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.value-list .icon { width: 1.6rem; height: 1.6rem; color: var(--orange); flex: none; }
.value-list strong { font-family: var(--ff-display); }

/* ------------------------------ Hours table ----------------------------- */
.hours-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.hours-table th, .hours-table td { text-align: left; padding: .85rem 1.2rem; border-bottom: 1px solid rgba(14,107,99,.08); }
.hours-table th { font-family: var(--ff-display); color: var(--teal); background: var(--teal-soft); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table .today { background: #FFF1E2; font-weight: 700; }

/* ------------------------------ Contact --------------------------------- */
.contact-layout { display: grid; gap: 2rem; }
@media (min-width: 860px) { .contact-layout { grid-template-columns: 1.1fr .9fr; } }
.contact-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-md); }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-family: var(--ff-display); font-weight: 600; margin-bottom: .4rem; }
.form-field input, .form-field textarea {
  width: 100%; font-family: var(--ff-body); font-size: 1rem; padding: .85rem 1rem;
  border: 2px solid rgba(14,107,99,.15); border-radius: 14px; background: var(--cream); color: var(--charcoal);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.form-field textarea { min-height: 130px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: .3rem; }

.alert { padding: 1rem 1.2rem; border-radius: 14px; margin-bottom: 1.4rem; font-weight: 600; }
.alert--ok { background: #E3F5EC; color: #0A7A45; border: 1px solid #9BD9B8; }
.alert--err { background: #FDEAEA; color: #C0392B; border: 1px solid #F0B4B0; }

.contact-info { display: grid; gap: 1rem; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; background: #fff; padding: 1.1rem 1.2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.info-row__icon { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); }
.info-row__icon .icon { width: 55%; height: 55%; }
.info-row h4 { font-size: .95rem; margin-bottom: .2rem; }
.info-row a, .info-row p { color: var(--muted); font-weight: 600; }
.info-row a:hover { color: var(--teal); }

/* ------------------------------ Sticky WhatsApp ------------------------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 200;
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--wa-green); color: #fff; font-family: var(--ff-display); font-weight: 600;
  padding: .8rem; border-radius: var(--radius-pill); box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .2s ease;
}
.wa-float:hover { color: #fff; transform: translateY(-3px); }
.wa-float .icon { width: 1.7rem; height: 1.7rem; position: relative; z-index: 2; }
.wa-float__label { display: none; padding-right: .4rem; }
.wa-float__pulse {
  position: absolute; inset: 0; border-radius: inherit; background: var(--wa-green); z-index: 1;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 70% { transform: scale(1.6); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 600px) { .wa-float__label { display: inline; } .wa-float { padding: .8rem 1.1rem; } }

/* ------------------------------ Footer ---------------------------------- */
.site-footer { background: var(--teal); color: rgba(255,248,240,.85); }
.site-footer__grid { display: grid; gap: 2rem; padding-block: 3rem 2rem; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; } }
.brand--footer .brand__mark { background: rgba(255,255,255,.12); }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__name span { color: var(--orange); }
.site-footer__blurb { margin: 1rem 0 1.2rem; font-size: .92rem; }
.site-footer h4 { color: #fff; margin-bottom: 1rem; font-size: 1.05rem; }
.site-footer__links li { margin-bottom: .55rem; }
.site-footer__links a { color: rgba(255,248,240,.85); font-weight: 600; font-size: .92rem; }
.site-footer__links a:hover { color: var(--orange); padding-left: 4px; transition: padding .15s ease; }
.site-footer__contact p { margin-bottom: .6rem; font-style: normal; font-size: .92rem; }
.site-footer__contact a { color: rgba(255,248,240,.9); }
.site-footer__contact a:hover { color: var(--orange); }
.site-footer__hours { color: var(--orange) !important; }
.site-footer__bar { background: var(--teal-dark); padding-block: 1rem; font-size: .82rem; text-align: center; }

/* ------------------------------ Scroll reveal --------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes bounce { 0%,100% { transform: translateY(0); } 30% { transform: translateY(-10px); } 60% { transform: translateY(-4px); } }

/* ------------------------------ Utilities ------------------------------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 1.4rem; }
.grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
