/* =============================================
   PETCARE BY PHYLLIS — style.css
   Mobile-first, single-page vanilla CSS
   ============================================= */

/* ---- Self-hosted Nunito (latin subset) ---- */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('public/assets/fonts/nunito-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('public/assets/fonts/nunito-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('public/assets/fonts/nunito-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('public/assets/fonts/nunito-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('public/assets/fonts/nunito-800.woff2') format('woff2');
}

/* ---- Custom properties ---- */
:root {
  --primary:        #7C3AED;
  --primary-dark:   #6D28D9;
  --primary-darker: #5B21B6;
  --primary-light:  #F5F3FF;
  --primary-mid:    #EDE9FE;
  --primary-border: #DDD6FE;
  --primary-text:   #4C1D95;

  --text-dark:   #1F1832;
  --text-body:   #374151;
  --text-muted:  #6B7280;
  --white:       #FAFAF9;

  --emergency:        #B91C1C;   /* darkened for 5.6:1 contrast on light bg */
  --emergency-bg:     #FFF5F5;
  --emergency-border: #FED7D7;

  --whatsapp:     #16803B;       /* darkened for 5:1 contrast with white text */
  --whatsapp-dark:#166534;

  --font-brand: 'Nunito', sans-serif;
  --font-body:  'Nunito', sans-serif;

  --radius-sm:  0.5rem;
  --radius-md:  0.75rem;
  --radius-lg:  1rem;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --shadow-primary: 0 4px 20px rgba(124,58,237,.35);

  --container: 1200px;
  --nav-h: 68px;
}

/* ---- Skip link (accessibility) ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--primary-text);
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top .15s;
}
.skip-link:focus { top: 0; }

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
ul[role="list"] { list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 5rem;
}
.section--white { background: var(--white); }
/* Subtle radial highlight keeps tint sections from feeling flat */
.section--tint  { background: radial-gradient(ellipse 80% 60% at 50% 0%, #EDE9FE 0%, var(--primary-light) 70%); }

/* ---- Typography helpers ---- */
.section-title {
  font-family: var(--font-brand);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 0.75rem;
  /* Soft purple gradient — darkest stop is #5B21B6 (~9:1 on white), safe for large text */
  background: linear-gradient(125deg, #5B21B6 0%, #7C3AED 55%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--primary-text); /* fallback */
}
.section-title--left  { text-align: left; }
/* Restore plain white on dark backgrounds */
.section-title--light {
  background: none;
  -webkit-text-fill-color: var(--white);
  color: var(--white);
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-inline: auto;
}
.section-sub a { color: var(--primary); text-decoration: underline; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; fill: currentColor; }

.btn--sm  { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--lg  { padding: 0.9rem 1.75rem; font-size: 1.05rem; }
.btn--xl  { padding: 1.1rem 2rem; font-size: 1.1rem; }

.btn--primary {
  background: var(--primary);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
}

.btn--ghost-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.65);
}
.btn--ghost-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

/* ---- Social icons — no container, just the icon ---- */
.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, opacity .15s ease;
}
.social-pill svg { width: 2rem; height: 2rem; display: block; }
.social-pill:hover { transform: translateY(-3px) scale(1.12); opacity: .85; }

.social-pill--sm svg { width: 1.6rem; height: 1.6rem; }
.social-pill--sm:hover { transform: translateY(-2px) scale(1.1); opacity: .85; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.navbar--scrolled {
  border-bottom-color: var(--primary-border);
  box-shadow: 0 2px 16px rgba(124,58,237,.1);
}

/* Logo gets flex:1 on the left, navbar__right gets flex:1 on the right
   so the nav links sit truly centred on the page */
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-brand);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
  flex-shrink: 0;
  transition: opacity .15s;
}
.navbar__logo:hover { opacity: .85; }

.logo-paw {
  width: 2rem;
  height: 2rem;
  fill: var(--primary);
  flex-shrink: 0;
}

/* Gradient text only on the header logo, not the footer copy */
.navbar__logo--header span {
  background: linear-gradient(125deg, #5B21B6 0%, #7C3AED 55%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar__links {
  display: none;
  gap: 2rem;
  list-style: none;
}
.navbar__links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-body);
  transition: color .15s;
  position: relative;
  padding-bottom: 2px;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .2s;
  border-radius: 2px;
}
.navbar__links a:hover,
.navbar__links a.is-active { color: var(--primary); }
.navbar__links a:hover::after,
.navbar__links a.is-active::after { width: 100%; }

/* navbar__right replaces navbar__actions — holds button + socials + hamburger */
.navbar__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0.25rem;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--primary-text);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.navbar__mobile {
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  border-top: 1px solid var(--primary-border);
  transition: max-height .3s ease, padding .3s ease;
  padding-inline: 1.25rem;
}
.navbar__mobile.is-open {
  max-height: 400px;
  padding-block: 1.25rem;
}
.navbar__mobile ul { list-style: none; }
.navbar__mobile li + li { border-top: 1px solid var(--primary-light); }
.navbar__mobile a:not(.btn) {
  display: block;
  padding: 0.75rem 0;
  font-weight: 600;
  color: var(--text-body);
  transition: color .15s;
}
.navbar__mobile a:not(.btn):hover { color: var(--primary); }
.navbar__mobile .btn {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('public/assets/hero.webp');
  background-size: cover;
  background-position: center;
  padding-top: var(--nav-h);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    rgba(76,29,149,.88) 0%,
    rgba(109,40,217,.75) 40%,
    rgba(124,58,237,.65) 70%,
    rgba(30,10,60,.80)  100%
  );
}

.hero__overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, #FAFAF9);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: 5rem;
}

.hero__eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.hero__headline {
  font-family: var(--font-brand);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,.9);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero__socials {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  font-size: 2rem;
  line-height: 1;
}

.service-card h3 {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  color: var(--primary-text);
}

.service-card p {
  font-size: 0.925rem;
  color: var(--text-body);
  flex: 1;
}

.service-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--primary-mid);
}

.service-card__duration {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.service-card__duration svg,
.meet-greet-cta__time svg { width: 0.85em; height: 0.85em; fill: currentColor; vertical-align: -0.1em; }
.hero__eyebrow svg { width: 1.1em; height: 1em; fill: currentColor; vertical-align: -0.15em; display: inline-block; }

.service-card__price {
  font-weight: 800;
  color: var(--primary);
  font-size: 1rem;
}
.service-card__price em { font-style: normal; font-weight: 500; font-size: 0.8rem; color: var(--text-muted); }
.service-card__price.free { color: var(--whatsapp-dark); }
.service-card__price.secondary { font-size: 0.85rem; font-weight: 600; }

.service-card__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.services-disclaimer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 800px;
  margin-inline: auto;
}

/* Meet & Greet CTA banner */
.meet-greet-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  box-shadow: var(--shadow-primary);
}

.meet-greet-cta__badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.95);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.6rem;
}

.meet-greet-cta__title {
  font-family: var(--font-brand);
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.6rem;
}

.meet-greet-cta__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
}

.meet-greet-cta__aside {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.meet-greet-cta__price {
  font-size: 2.25rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.meet-greet-cta__time {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
}

/* Service card extras */
.service-card__local {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4b5563;
  background: var(--primary-mid);
  border-radius: var(--radius-pill);
  padding: 0.1rem 0.5rem;
  vertical-align: middle;
  margin-left: 0.25rem;
}

.service-card__note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.service-card__schedule {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-text);
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
  position: relative;
  overflow-x: clip;
}

/* Dogs runway sits at top of section */
.dogs-runway {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 72px;
  pointer-events: none;
}

.dog {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateX(-120px);
  background-color: var(--primary);
  mask-image: url('./public/assets/dog.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url('./public/assets/dog.svg');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  opacity: 0.7;
}
.dog--large  { width: 60px; height: 60px; }
.dog--medium { width: 46px; height: 46px; top: 55%; }
.dog--small  { width: 36px; height: 36px; top: 62%; }

@keyframes dog-run {
  0%   { transform: translateY(-50%) translateX(-120px)          scaleX(-1); }
  40%  { transform: translateY(-50%) translateX(50vw)             scaleX(-1); }
  47%  { transform: translateY(-50%) translateX(50vw)             scaleX(-1); }
  54%  { transform: translateY(-120%) translateX(50vw)            scaleX(-1); }
  62%  { transform: translateY(-50%) translateX(50vw)             scaleX(-1); }
  100% { transform: translateY(-50%) translateX(calc(100vw + 120px)) scaleX(-1); }
}

.dogs-runway.is-running .dog--large {
  animation: dog-run 5.5s linear forwards;
}
.dogs-runway.is-running .dog--medium {
  animation: dog-run 5s linear forwards;
  animation-delay: 0.35s;
}
.dogs-runway.is-running .dog--small {
  animation: dog-run 4.5s linear forwards;
  animation-delay: 0.7s;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 1rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  position: relative;
}

.step__icon {
  line-height: 1;
  width: 5rem;
  height: 5rem;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  margin-bottom: 0.5rem;
}
.step__icon svg { width: 2.2rem; height: 2.2rem; fill: var(--primary); }

.step__number {
  position: absolute;
  top: -0.5rem;
  right: calc(50% - 3rem);
  width: 1.5rem;
  height: 1.5rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-family: var(--font-brand);
  font-size: 1.1rem;
  color: var(--primary-text);
}
.step p { font-size: 0.925rem; color: var(--text-body); max-width: 240px; }

/* =============================================
   ABOUT
   ============================================= */
.about-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

.about-graphic {
  flex-shrink: 0;
}
.about-graphic__circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
}
.about-graphic__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-text p { color: var(--text-body); }

/* =============================================
   WEPETSIT
   ============================================= */
.wepetsit-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

.wepetsit-logo-wrap {
  text-align: center;
  flex-shrink: 0;
}

.wepetsit-logo-img {
  width: 200px;
  height: auto;
  display: block;
  margin-inline: auto;
  transition: opacity .2s;
}
.wepetsit-logo-img:hover { opacity: .85; }

.wepetsit-logo-sub {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  background: var(--primary-mid);
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.wepetsit-text { display: flex; flex-direction: column; gap: 1rem; }
.wepetsit-text p { color: var(--text-body); }

.trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}
.trust-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.trust-icon { flex-shrink: 0; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.trust-icon svg { width: 1.5rem; height: 1.5rem; fill: var(--primary); }
.trust-list strong { color: var(--primary-text); }
.trust-list div { font-size: 0.9rem; color: var(--text-body); }

/* =============================================
   SERVICE AREA
   ============================================= */
.area-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-brand);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.area-pin {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--primary);
}

.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.pill {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--primary-mid);
  color: var(--primary-text);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--primary-border);
}
.pill--more {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* =============================================
   FAQ
   ============================================= */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--primary-border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.975rem;
  color: var(--primary-text);
  gap: 1rem;
  transition: background .15s;
}
.faq-question:hover { background: var(--primary-light); }

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
/* Horizontal bar */
.faq-icon::before {
  top: 50%; left: 0;
  width: 100%; height: 2px;
  transform: translateY(-50%);
}
/* Vertical bar (becomes invisible when open) */
.faq-icon::after {
  top: 0; left: 50%;
  width: 2px; height: 100%;
  transform: translateX(-50%);
}
.faq-item.is-open .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding-inline: 1.25rem;
}
.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
  padding-top: 0.25rem;
}
.faq-answer p { font-size: 0.925rem; color: var(--text-body); }

/* =============================================
   EMERGENCY CONTACTS (helper section)
   ============================================= */

/* Softer title treatment — smaller, less dominant than main section titles */
.helper-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem) !important;
  background: none !important;
  -webkit-text-fill-color: var(--text-muted) !important;
  color: var(--text-muted) !important;
  font-weight: 700 !important;
}

.emergency-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  max-width: 960px;
  margin-inline: auto;
}

.emergency-card {
  background: transparent;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: background .15s;
}
.emergency-card:hover { background: #F9FAFB; }

.emergency-card__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.emergency-icon {
  width: 1rem;
  height: 1rem;
  fill: var(--text-muted);
  flex-shrink: 0;
  opacity: 0.6;
}

.emergency-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-body);
  line-height: 1.4;
}
.emergency-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 1.6rem;
}

.emergency-tel {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary);
  text-decoration: none;
  display: inline-block;
  padding-left: 1.6rem;
}
.emergency-tel:hover { text-decoration: underline; }
.emergency-tel em { font-style: normal; font-weight: 500; font-size: 0.78rem; color: var(--text-muted); }
.emergency-tel.after-hours { display: block; }

/* =============================================
   CONTACT
   ============================================= */
.contact {
  /* Softer purple — avoids harsh contrast while still feeling rich */
  background: linear-gradient(135deg, #3B1676 0%, #6D28D9 55%, #7C3AED 100%);
}

.contact-inner {
  text-align: center;
}

.contact-sub {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-inline: auto;
}

.contact-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.contact-location {
  color: rgba(255,255,255,.7);
  font-size: 0.9rem;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: linear-gradient(180deg, #2D1050 0%, #1E0A38 100%);
  color: rgba(255,255,255,.8);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 3rem;
}

.footer__logo {
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer__logo .logo-paw { fill: rgba(255,255,255,.85); }

.footer__brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 0.4rem;
}

.footer__partner a {
  color: var(--primary-mid);
  text-decoration: underline;
}
.footer__partner a:hover { color: var(--white); }

.footer__heading {
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__links ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.65);
  transition: color .15s;
}
.footer__links a:hover { color: var(--white); }

.footer__socials {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer__email {
  font-size: 0.875rem;
  color: rgba(255,255,255,.65);
  transition: color .15s;
  display: inline-block;
}
.footer__email:hover { color: var(--white); }

.footer__copyright {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.25rem;
  text-align: center;
}
.footer__copyright p {
  font-size: 0.82rem;
  color: rgba(255,255,255,.4);
}

/* =============================================
   RESPONSIVE — tablet (≥ 640px)
   ============================================= */
@media (min-width: 640px) {
  .meet-greet-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
  }
  .meet-greet-cta__body {
    flex: 1;
  }
  .meet-greet-cta__aside {
    align-items: flex-end;
    min-width: 190px;
    flex-shrink: 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card--wide {
    grid-column: span 2;
  }
  .emergency-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================
   RESPONSIVE — desktop (≥ 1024px)
   ============================================= */
/* Navbar socials: hidden on mobile, shown on desktop */
.navbar__socials {
  display: none;
  align-items: center;
  gap: 0.5rem;
}
.navbar__socials .social-pill svg { width: 1.5rem; height: 1.5rem; }
.navbar__socials .social-pill:hover { transform: translateY(-2px) scale(1.12); }

@media (min-width: 1024px) {
  /* Equal flex on logo and right group centres the nav links on screen */
  .navbar__logo  { flex: 1; }
  .navbar__right { flex: 1; justify-content: flex-end; }
  .navbar__links  { display: flex; }
  .navbar__socials { display: flex; }
  .hamburger      { display: none; }
  .navbar__mobile { display: none; }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .emergency-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  /* Connecting line between steps */
  .step { position: relative; }
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: calc(50% + 2.5rem);
    right: calc(-50% + 2.5rem);
    height: 2px;
    background: var(--primary-border);
  }

  .about-inner {
    flex-direction: row;
    gap: 4rem;
    align-items: center;
  }
  .about-graphic__circle {
    width: 220px;
    height: 220px;
  }

  .wepetsit-inner {
    flex-direction: row;
    gap: 4rem;
    align-items: center;
  }
  .wepetsit-logo-wrap {
    min-width: 220px;
    position: relative;
    top: 5rem;
  }

  .footer__inner {
    grid-template-columns: 2fr 1fr 1.5fr;
  }
}

/* =============================================
   RESPONSIVE — wide desktop (≥ 1280px)
   ============================================= */
@media (min-width: 1280px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =============================================
   ACCESSIBILITY
   ============================================= */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

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