/* ==========================================================================
   Assistance Dogs South Africa — Design System
   Palette:  Navy #3f5781 · Leaf #93ce53 · Gold #e3a745 · White #ffffff
   Type:     Manrope (display) / Inter (body + UI)
   Signature: the paw-print trail — scroll progress, step markers, dividers
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --navy:        #3f5781;
  --navy-dark:   #2c3e5c;
  --navy-deep:   #1f2c40;
  --leaf:        #93ce53;
  --leaf-dark:   #6fa838;
  --gold:        #e3a745;
  --gold-dark:   #c88a2c;
  --white:       #ffffff;
  --mist:        #ecf6e0;      /* light tint of brand green #93ce53 */
  --mist-deep:   #dcedc9;
  --ink:         #23303f;
  --ink-soft:    #5b6b7c;
  --line:        #e2e8e0;

  --font-display: 'Manrope', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;

  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(31, 44, 64, 0.06);
  --shadow-md: 0 12px 32px rgba(31, 44, 64, 0.10);
  --shadow-lg: 0 24px 64px rgba(31, 44, 64, 0.16);

  --ease: cubic-bezier(.22,.68,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

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

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 64 64'%3E%3Cg fill='%23e3a745' stroke='%233f5781' stroke-width='2'%3E%3Cellipse cx='32' cy='40' rx='16' ry='14'/%3E%3Cellipse cx='14' cy='20' rx='7' ry='9'/%3E%3Cellipse cx='30' cy='10' rx='7.5' ry='9.5'/%3E%3Cellipse cx='48' cy='14' rx='7' ry='9'/%3E%3Cellipse cx='54' cy='30' rx='6.5' ry='8.5'/%3E%3C/g%3E%3C/svg%3E") 8 8, auto;
}
a, button, .btn, .nav-toggle, input, select, textarea, .card, .whatsapp-fab{
  cursor: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 64 64'%3E%3Cg fill='%23e3a745' stroke='%233f5781' stroke-width='2'%3E%3Cellipse cx='32' cy='40' rx='16' ry='14'/%3E%3Cellipse cx='14' cy='20' rx='7' ry='9'/%3E%3Cellipse cx='30' cy='10' rx='7.5' ry='9.5'/%3E%3Cellipse cx='48' cy='14' rx='7' ry='9'/%3E%3Cellipse cx='54' cy='30' rx='6.5' ry='8.5'/%3E%3C/g%3E%3C/svg%3E") 8 8, pointer;
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
h1{ font-weight: 800; }
h2{ font-weight: 700; }
h3{ font-weight: 700; }

p{ line-height: 1.7; color: var(--ink-soft); margin: 0 0 1em; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
ul{ margin:0; padding:0; list-style:none; }

.container{
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide{
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header / Nav ---------- */
header.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 8px 32px rgba(31,44,64,.06);
}
.nav-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy-deep);
}
.brand img{
  width: 92px; height: 92px;
}
.brand span{ line-height: 1.15; }
.brand small{
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--leaf-dark);
}

nav.main-nav ul{
  display: flex;
  gap: 6px;
  align-items: center;
}
nav.main-nav a{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
  transition: background .2s var(--ease), color .2s var(--ease);
}
nav.main-nav a:hover{ background: rgba(63,87,129,.08); }
nav.main-nav a.is-active{ background: var(--navy); color: var(--white); }

nav.main-nav a .nav-icon{
  width: 0;
  height: 13px;
  opacity: 0;
  transform: scale(.4) rotate(-25deg);
  transition: width .25s var(--ease), opacity .2s var(--ease), transform .25s var(--ease);
  overflow: hidden;
  flex-shrink: 0;
}
nav.main-nav a .nav-icon svg{ width: 13px; height: 13px; display:block; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
nav.main-nav a.is-active .nav-icon svg{ stroke: var(--gold); }
nav.main-nav a:hover .nav-icon,
nav.main-nav a.is-active .nav-icon{
  width: 15px;
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.nav-cta{
  position: relative;
  background: linear-gradient(120deg, var(--leaf), var(--gold), var(--leaf-dark), var(--leaf));
  background-size: 300% 100%;
  animation: nav-cta-shift 6s ease-in-out infinite;
  color: var(--navy-deep) !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s var(--ease), transform .2s var(--ease);
}
.nav-cta:hover{
  animation-duration: 2.4s;
  box-shadow: 0 0 0 5px rgba(147,206,83,.22), var(--shadow-md);
  transform: translateY(-2px);
}
@keyframes nav-cta-shift{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce){
  .nav-cta{ animation: none; background: var(--leaf); }
}

.nav-toggle{
  display:none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  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(--navy-deep);
  position: relative;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }
.nav-toggle.open span{ background: transparent; }
.nav-toggle.open span::before{ transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after{ transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .95rem;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--navy); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover{ background: var(--navy-dark); }
.btn-gold{ background: var(--gold); color: var(--navy-deep); box-shadow: var(--shadow-md); }
.btn-gold:hover{ background: var(--gold-dark); }
.btn-outline{ background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover{ background: var(--navy); color: var(--white); }
.btn-ghost-white{ background: rgba(255,255,255,.14); color: var(--white); border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost-white:hover{ background: var(--white); color: var(--navy-deep); }

/* ---------- Floating paw prints (hero ambient motion) ---------- */
.floating-paws{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}
.floating-paws svg{
  position: absolute;
  opacity: .22;
}
.floating-paws svg.paw-gold{ fill: var(--gold); }
.floating-paws svg.paw-leaf{ fill: var(--leaf); }
.floating-paws svg.paw-white{ fill: var(--white); }

@keyframes paw-drift-a{
  0%, 100%{ transform: translate(0,0) rotate(0deg); opacity: .16; }
  50%{ transform: translate(12px,-24px) rotate(10deg); opacity: .3; }
}
@keyframes paw-drift-b{
  0%, 100%{ transform: translate(0,0) rotate(0deg); opacity: .14; }
  50%{ transform: translate(-16px,-18px) rotate(-9deg); opacity: .28; }
}
@keyframes paw-drift-c{
  0%, 100%{ transform: translate(0,0) rotate(0deg); opacity: .2; }
  50%{ transform: translate(8px,-28px) rotate(7deg); opacity: .34; }
}

.floating-paws .p1{ top: 12%; left: 7%;  width: 34px; height: 34px; animation: paw-drift-a 8s ease-in-out infinite; }
.floating-paws .p2{ top: 30%; left: 22%; width: 16px; height: 16px; animation: paw-drift-b 10s ease-in-out infinite; animation-delay: .6s; }
.floating-paws .p3{ top: 64%; left: 13%; width: 24px; height: 24px; animation: paw-drift-c 9s ease-in-out infinite; animation-delay: 1.4s; }
.floating-paws .p4{ top: 16%; right: 9%;  width: 28px; height: 28px; animation: paw-drift-b 11s ease-in-out infinite; animation-delay: 2s; }
.floating-paws .p5{ top: 70%; right: 17%; width: 20px; height: 20px; animation: paw-drift-a 9.5s ease-in-out infinite; animation-delay: 1s; }
.floating-paws .p6{ top: 46%; right: 30%; width: 14px; height: 14px; animation: paw-drift-c 7.5s ease-in-out infinite; animation-delay: .3s; }
.floating-paws .p7{ top: 8%;  left: 42%;  width: 12px; height: 12px; animation: paw-drift-a 8.8s ease-in-out infinite; animation-delay: 2.4s; }
.floating-paws .p8{ top: 80%; left: 40%;  width: 30px; height: 30px; animation: paw-drift-b 10.5s ease-in-out infinite; animation-delay: 1.7s; }

@media (prefers-reduced-motion: reduce){
  .floating-paws svg{ animation: none !important; }
}
@media (max-width: 720px){
  .floating-paws .p2, .floating-paws .p6, .floating-paws .p7{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.hero-bg-photo{
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-image: url('../img/Home-hero.png');
}

.hero::before{
  content:'';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(155deg, rgba(31,44,64,.86), rgba(63,87,129,.74) 55%, rgba(44,62,92,.88));
  pointer-events: none;
}
.hero::after{
  /* subtle grain for a printed, designed texture instead of flat gradient */
  content:'';
  position: absolute; inset: 0;
  z-index: 2;
  opacity: .5;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}
.hero-blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .5;
  pointer-events: none;
}
.hero-inner{
  position: relative;
  z-index: 3;
  padding: 100px 24px 120px;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.hero-inner .eyebrow,
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 26px;
}
.hero-inner h1{
  color: var(--white);
  font-size: clamp(2.3rem, 5.6vw, 4rem);
  margin-bottom: .4em;
}
.hero-inner h1 em{
  font-style: normal;
  color: var(--gold);
}
.hero-inner p.lead{
  color: rgba(255,255,255,.85);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 34px;
}
.hero-inner .hero-actions{
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-grid{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 92px 32px 100px;
}
.hero-copy .eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 26px;
}
.hero-copy h1{
  color: var(--white);
  font-size: clamp(2.5rem, 4.6vw, 3.6rem);
  margin-bottom: .4em;
}
.hero-copy h1 em{
  font-style: normal;
  color: var(--gold);
  position: relative;
}
.hero-copy p.lead{
  color: rgba(255,255,255,.85);
  font-size: 1.15rem;
  max-width: 480px;
  margin: 0 0 34px;
}
.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-media{
  position: relative;
}
.hero-media .img-placeholder{
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.35);
}
.hero-float-card{
  position: absolute;
  left: -34px;
  bottom: -26px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.6);
}
.hero-float-card .icon-badge{ margin: 0; background: var(--mist-deep); }
.hero-float-card strong{ display:block; font-family: var(--font-display); color: var(--navy-deep); font-size:1.3rem; }
.hero-float-card span{ font-size:.78rem; color: var(--ink-soft); }
.hero-tag-card{
  position: absolute;
  top: 22px;
  right: -18px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  font-size: .8rem;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  transform: rotate(4deg);
}

/* ---------- Image placeholders (swap for client photography) ---------- */
.img-placeholder{
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  background:
    linear-gradient(155deg, rgba(63,87,129,.14), rgba(147,206,83,.14)),
    repeating-linear-gradient(135deg, rgba(63,87,129,.06) 0 2px, transparent 2px 14px);
  border: 1.5px dashed rgba(63,87,129,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.img-placeholder.has-photo{
  background: var(--mist);
  border: none;
}
.img-placeholder img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-placeholder .ph-inner{
  text-align: center;
  padding: 18px;
  color: var(--navy);
}
.img-placeholder .ph-inner svg{ width: 34px; height: 34px; margin: 0 auto 10px; opacity:.6; }
.img-placeholder .ph-inner strong{
  display: block;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.img-placeholder .ph-inner span{
  display:block;
  font-size: .72rem;
  color: var(--ink-soft);
  margin-top: 3px;
}
.img-placeholder.ph-square{ aspect-ratio: 1/1; }
.img-placeholder.has-photo{
  border: none;
  background: none;
}
.img-placeholder.has-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.img-placeholder.ph-wide{ aspect-ratio: 16/10; }
.img-placeholder.ph-tall{ aspect-ratio: 3/4; }

/* generic page hero (interior pages) */
.page-hero{
  background: linear-gradient(155deg, var(--navy), var(--navy) 70%);
  color: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 76px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before{
  content:'';
  position: absolute; inset: 0;
}
.page-hero::after{
  content:'';
  position: absolute; inset: 0;
  opacity: .5;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}
.page-hero .container{ position: relative; z-index: 1; }
.page-hero h1{ color: var(--white); font-size: clamp(2rem, 4.6vw, 3rem); }
.page-hero p{ color: rgba(255,255,255,.82); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.crumb{
  display:inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ---------- Sections ---------- */
section{ padding: 88px 0; }
.section-tight{ padding: 56px 0; }
.section-mist{ background: var(--mist); border-radius: var(--radius-lg); margin: 0 16px; }
.section-navy{ background: var(--navy); color: var(--white); border-radius: var(--radius-lg); margin: 0 16px; }
.section-navy h2, .section-navy h3{ color: var(--white); }
.section-navy p{ color: rgba(255,255,255,.78); }

.section-head{
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2{ font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-head .crumb{ color: var(--leaf-dark); }
.section-navy .section-head .crumb{ color: var(--gold); }

/* ---------- Cards / Grids ---------- */
.grid{ display: grid; gap: 26px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }

.card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }

.icon-badge{
  width: 54px; height: 54px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  background: var(--mist-deep);
}
.icon-badge svg{ width: 26px; height: 26px; }

.card h3{ font-size: 1.15rem; margin-bottom: .35em; }
.card p{ font-size: .95rem; margin-bottom: 0; }

.tag-list{ display:flex; flex-wrap:wrap; gap: 8px; margin-top: 16px; }
.tag{
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--mist-deep);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

/* ---------- Paw step markers (replaces 01/02/03) ---------- */
.paw-steps{ display: flex; flex-direction: column; gap: 6px; }
.paw-step{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.paw-step:last-child{ border-bottom: none; }
.paw-step .paw-icon{
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-sm);
}
.paw-step .paw-icon svg{ width: 22px; height: 22px; fill: var(--white); }
.paw-step h3{ font-size: 1.1rem; margin-bottom: .3em; }
.paw-step p{ margin-bottom: 0; }

/* dashed paw trail divider between hero and content */
.paw-divider{
  display:flex;
  justify-content:center;
  gap: 34px;
  padding: 30px 0 6px;
  opacity: .55;
}
.paw-divider svg{ width: 18px; height: 18px; fill: var(--gold-dark); }
.paw-divider svg:nth-child(2n){ fill: var(--leaf-dark); transform: translateY(8px); }

/* ---------- Testimonial / quote ---------- */
.quote-block{
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 10px 24px;
}
.quote-block blockquote{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  color: var(--navy-deep);
  margin: 0 0 20px;
  line-height: 1.45;
}
.quote-block cite{
  font-style: normal;
  font-weight: 600;
  color: var(--leaf-dark);
  font-size: .9rem;
}

/* ---------- Program cards ---------- */
.program-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
}
.program-card + .program-card{ margin-top: 26px; }
.program-media{
  min-height: 220px;
}
.program-media svg{ width: 60%; height: 60%; opacity:.9; }
.program-media .badge-num{
  position:absolute; top:18px; left:18px;
  background: rgba(63,87,129,.9);
  color:#fff; font-weight:700; font-size:.75rem;
  padding:6px 14px; border-radius: var(--radius-pill);
  border:1px solid rgba(255,255,255,.35);
}
.meta-row{ display:flex; gap: 26px; margin: 18px 0; flex-wrap: wrap; }
.meta-item{ font-size: .88rem; }
.meta-item strong{ display:block; color: var(--navy-deep); font-family: var(--font-display); font-weight:700; }

/* ---------- Forms ---------- */
.form-wrap{
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.field{ margin-bottom: 22px; }
.field label{
  display:block;
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea{
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--mist);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--leaf);
  background: var(--white);
}
.field textarea{ resize: vertical; min-height: 120px; }
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.contact-side{ display:flex; flex-direction:column; gap: 18px; }
.contact-chip{
  display:flex; align-items:center; gap:14px;
  background: var(--mist);
  padding: 18px 20px;
  border-radius: var(--radius-md);
}
.contact-chip .icon-badge{ margin:0; width:44px; height:44px; }
.contact-chip strong{ display:block; color: var(--navy-deep); font-size:.92rem; }
.contact-chip span{ font-size: .85rem; color: var(--ink-soft); }

.whatsapp-fab{
  position: fixed;
  bottom: 26px; right: 26px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--leaf);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transition: transform .25s var(--ease);
}
.whatsapp-fab:hover{ transform: scale(1.08); }
.whatsapp-fab svg{ width: 28px; height: 28px; fill: var(--white); }

/* ---------- Footer ---------- */
footer{
  background: var(--navy);
  color: rgba(255,255,255,.75);
  margin-top: 40px;
  padding: 64px 0 30px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom: 16px; }
.footer-brand img{ width: 52px; height:52px; }
.footer-brand strong{ color: var(--white); font-family: var(--font-display); }
footer h4{ color: var(--white); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-body); font-weight: 700;}
footer ul li{ margin-bottom: 10px; }
footer a:hover{ color: var(--gold); }
.social-row{ display:flex; gap:10px; margin-top: 18px; }
.social-row a{
  width: 38px; height:38px; border-radius:50%;
  background: rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
  transition: background .2s var(--ease);
}
.social-row a:hover{ background: var(--gold); }
.social-row svg{ width:17px; height:17px; fill:#fff; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top: 26px; font-size:.82rem; flex-wrap:wrap; gap: 10px;
}

/* ---------- Program-matching quiz ---------- */
.quiz-widget{
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 40px;
  text-align: center;
}
.quiz-start{ display: flex; flex-direction: column; align-items: center; gap: 18px; }
.quiz-progress{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 26px;
}
.quiz-progress span{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.quiz-progress span.is-done{ background: var(--leaf); }
.quiz-progress span.is-current{ background: var(--navy); transform: scale(1.3); }
.quiz-question{ text-align: left; }
.quiz-question h3{ text-align:center; font-size: 1.3rem; margin-bottom: 22px; }
.quiz-options{ display: flex; flex-direction: column; gap: 10px; }
.quiz-option{
  display: block;
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--mist);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy-deep);
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .15s var(--ease);
}
.quiz-option:hover{ border-color: var(--leaf); background: var(--white); transform: translateX(3px); }
.quiz-option.is-selected{ border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 2px var(--navy) inset; }
.quiz-back{
  margin-top: 20px;
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
}
.quiz-result .icon-badge{ margin: 0 auto 16px; width:64px; height:64px; background: var(--mist-deep); }
.quiz-result .icon-badge svg{ width: 30px; height: 30px; }
.quiz-result .crumb{ color: var(--leaf-dark); }
.quiz-result h3{ font-size: 1.5rem; }
.quiz-result-actions{ display:flex; gap: 12px; justify-content:center; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Line-art dog silhouette decoration ---------- */
.dog-silhouette{
  position: absolute;
  pointer-events: none;
  opacity: .07;
  z-index: 0;
}
.dog-silhouette svg, .dog-silhouette img{ width: 100%; height: 100%; display:block; object-fit: contain; }
.section-navy .dog-silhouette{ opacity: .1; }
.silhouette-divider{
  display:flex;
  justify-content:center;
  align-items:center;
  padding: 8px 0 0;
  opacity: .5;
}
.silhouette-divider svg{ width: 64px; height: 40px; }

/* ---------- Bento grid (asymmetric card layout) ---------- */
.bento-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(160px, auto);
  grid-auto-flow: dense;
  gap: 24px;
}
.bento-grid .card{
  display: flex;
  flex-direction: column;
}
.bento-md{ grid-column: span 2; grid-row: span 1; }
.bento-lg{ grid-column: span 2; grid-row: span 2; }
.bento-lg .img-placeholder{ flex: 1; min-height: 200px; }
.bento-lg h3{ font-size: 1.35rem; }
.bento-lg p{ font-size: 1rem; }

/* ---------- Reveal-on-scroll ---------- */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--stagger-delay, 0s);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* stagger children of any grid/steps/bento container automatically */
.grid > .reveal:nth-child(1),  .bento-grid > .reveal:nth-child(1),  .paw-steps > .reveal:nth-child(1)  { --stagger-delay: .03s; }
.grid > .reveal:nth-child(2),  .bento-grid > .reveal:nth-child(2),  .paw-steps > .reveal:nth-child(2)  { --stagger-delay: .10s; }
.grid > .reveal:nth-child(3),  .bento-grid > .reveal:nth-child(3),  .paw-steps > .reveal:nth-child(3)  { --stagger-delay: .17s; }
.grid > .reveal:nth-child(4),  .bento-grid > .reveal:nth-child(4),  .paw-steps > .reveal:nth-child(4)  { --stagger-delay: .24s; }
.grid > .reveal:nth-child(5),  .bento-grid > .reveal:nth-child(5),  .paw-steps > .reveal:nth-child(5)  { --stagger-delay: .31s; }
.grid > .reveal:nth-child(6),  .bento-grid > .reveal:nth-child(6),  .paw-steps > .reveal:nth-child(6)  { --stagger-delay: .38s; }
.grid > .reveal:nth-child(7),  .bento-grid > .reveal:nth-child(7)  { --stagger-delay: .45s; }
.grid > .reveal:nth-child(8),  .bento-grid > .reveal:nth-child(8)  { --stagger-delay: .52s; }

/* image reveal: clip-path wipe instead of plain fade, for photo placeholders */
.reveal-wipe{
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s var(--ease);
  transition-delay: var(--stagger-delay, 0s);
}
.reveal-wipe.is-visible{ clip-path: inset(0 0 0% 0); }

/* parallax: elements drift at a different speed than scroll (see main.js) */
.parallax{ will-change: transform; }

/* ---------- Utility ---------- */
.text-center{ text-align:center; }
.mb-0{ margin-bottom:0; }
.stack-sm{ display:flex; flex-direction:column; gap: 10px; }
.two-col{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center; }
.chip-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.mini-stat{ text-align:center; }
.mini-stat strong{ display:block; font-family: var(--font-display); font-size:2rem; color: var(--navy-deep); }
.mini-stat span{ font-size:.85rem; color: var(--ink-soft); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px){
  .grid-4{ grid-template-columns: repeat(2,1fr); }
  .grid-3{ grid-template-columns: repeat(2,1fr); }
  .grid-2{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; gap: 30px; }
  .program-card{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .field-row{ grid-template-columns: 1fr; }
  .hero-grid{ grid-template-columns: 1fr; padding: 64px 24px 70px; text-align: center; }
  .hero-copy p.lead{ margin: 0 auto 34px; }
  .hero-actions{ justify-content: center; }
  .hero-media{ max-width: 420px; margin: 0 auto; }
  .hero-float-card{ left: 50%; transform: translateX(-50%); bottom: -20px; }
  .hero-tag-card{ right: 8px; }
  .bento-grid{ grid-template-columns: repeat(2, 1fr); }
  .bento-lg{ grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 720px){
  nav.main-nav{
    position: fixed;
    top: 88px; left: 0; right: 0;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border-bottom: 1px solid rgba(255,255,255,.6);
    box-shadow: var(--shadow-md);
    padding: 10px 24px 20px;
    transform: translateY(-140%);
    opacity: 0;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
    z-index: 90;
  }
  nav.main-nav.open{ transform: translateY(0); opacity: 1; }
  nav.main-nav ul{ flex-direction: column; align-items: stretch; gap: 4px; }
  nav.main-nav a{ text-align: center; padding: 12px 16px; }
  .nav-toggle{ display:flex; }
  .brand img{ width: 64px; height: 64px; }
  .brand{ font-size: 1rem; }
  .grid-4, .grid-3{ grid-template-columns: 1fr; }
  .bento-grid{ grid-template-columns: 1fr; }
  .bento-lg, .bento-md{ grid-column: span 1; grid-row: span 1; }
  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
  section{ padding: 60px 0; }
  .section-mist, .section-navy{ margin: 0 10px; border-radius: var(--radius-md); }
  .hero-inner{ padding: 70px 20px 90px; }
  .page-hero{ padding: 56px 20px 70px; }
}

.text-center .hero-actions{
  justify-content: center;
}

.ph-square {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 20px;
}

.ph-square .about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.ph-square {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 20px;
}

.ph-square .about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}
