@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;500;600;700;800;900&display=swap');

/* ─── Custom Properties ─────────────────────────── */
:root {
  --coral:        #FF5E4B;
  --coral-dark:   #e04f3d;
  --coral-light:  #FFF0EE;
  --teal:         #00A8A0;
  --teal-dark:    #008e87;
  --teal-light:   #E4F7F6;
  --yellow:       #FFD93D;
  --yellow-light: #FFFBEA;
  --bg:           #FFFDF7;
  --card:         #FFFFFF;
  --text:         #222222;
  --muted:        #6B6B6B;
  --border:       #EAE7DC;
  --radius:       20px;
  --radius-sm:    10px;
  --shadow:       0 3px 20px rgba(0,0,0,0.07);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.12);
  --max-w:        1100px;
  --font-display: 'Fredoka One', cursive;
  --font-body:    'Nunito', sans-serif;
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* ─── Base ──────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}

/* ─── Typography ────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─── Layout ────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 5rem 0; }

/* ─── Buttons ───────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  white-space: nowrap;
  line-height: 1.3;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--primary  { background: var(--coral); color: #fff; }
.btn--primary:hover  { background: var(--coral-dark); }
.btn--teal     { background: var(--teal); color: #fff; }
.btn--teal:hover     { background: var(--teal-dark); }
.btn--outline  { background: transparent; color: var(--coral); border: 2.5px solid var(--coral); }
.btn--outline:hover  { background: var(--coral-light); }
.btn--white    { background: #fff; color: var(--coral); }
.btn--white:hover    { background: #f5f5f2; }
.btn--ghost-white {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.55);
}
.btn--ghost-white:hover { background: rgba(255,255,255,0.28); }
.btn--lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* ─── Navigation ────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}
.nav__logo-icon { font-size: 1.85rem; line-height: 1; }
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.1;
  color: var(--text);
}
.nav__logo-text small {
  display: block;
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav__links a {
  padding: 0.5rem 0.9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.18s, background 0.18s;
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--coral);
  background: var(--coral-light);
}
.nav__links .nav__cta {
  background: var(--coral);
  color: #fff !important;
  padding: 0.55rem 1.3rem;
  margin-left: 0.4rem;
}
.nav__links .nav__cta:hover { background: var(--coral-dark); }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav__hamburger { display: flex; }
  .nav__links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 2px solid var(--border);
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    display: none;
    gap: 0.2rem;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 0.7rem 1rem; border-radius: 12px; }
  .nav__links .nav__cta { text-align: center; margin-left: 0; margin-top: 0.5rem; }
}

/* ─── Home Hero ─────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #FF5E4B 0%, #FF8C42 100%);
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 4rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 420px; height: 420px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 60px; left: -80px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__content { color: #fff; }
.hero__eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero__content h1 { color: #fff; margin-bottom: 1rem; }
.hero__content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  max-width: 460px;
}
.hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__photo { display: flex; justify-content: center; }
.photo-placeholder {
  width: 330px;
  height: 375px;
  background: rgba(255,255,255,0.13);
  border-radius: 24px;
  border: 3px dashed rgba(255,255,255,0.42);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.82);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  padding: 2rem;
  gap: 0.9rem;
}
.photo-placeholder .big-emoji { font-size: 5rem; line-height: 1; }
.photo-placeholder--coral {
  background: var(--coral-light);
  border-color: #ffc4bb;
  color: var(--coral);
}
.photo-placeholder--coral .big-emoji { }
.hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
}
.hero__wave svg { display: block; width: 100%; }

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 3rem 0 5rem; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content p { max-width: 100%; }
  .hero__buttons { justify-content: center; }
  .hero__photo { order: -1; }
  .photo-placeholder { width: 240px; height: 280px; }
}

/* ─── Page Hero (inner pages) ───────────────────── */
.page-hero {
  background: var(--coral);
  color: #fff;
  padding: 4rem 0 5.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}
.page-hero h1 { color: #fff; margin-bottom: 0.6rem; }
.page-hero p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
}
.page-hero--teal  { background: var(--teal); }
.page-hero--yellow { background: var(--yellow); }
.page-hero--yellow h1,
.page-hero--yellow p { color: var(--text); }
.page-hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
}
.page-hero__wave svg { display: block; width: 100%; }

/* ─── Section Helpers ───────────────────────────── */
.section-label {
  display: inline-block;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.section-heading { margin-bottom: 0.9rem; }
.section-intro {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 2.75rem;
}
.section-intro--center { margin-left: auto; margin-right: auto; text-align: center; }
.text-center { text-align: center; }
.section--alt { background: #F6F3EE; }

/* ─── Feature Cards ─────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon { font-size: 2.4rem; margin-bottom: 0.9rem; line-height: 1; }
.card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}
.card__text { color: var(--muted); font-size: 0.95rem; line-height: 1.65; margin: 0; }

/* ─── Service Cards ─────────────────────────────── */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--coral);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card--teal   { border-top-color: var(--teal); }
.service-card--yellow { border-top-color: var(--yellow); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__time {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.service-card__title { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 0.2rem; }
.service-card__price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
}
.service-card--teal   .service-card__price { color: var(--teal); }
.service-card--yellow .service-card__price { color: #A07C00; }
.service-card__desc { color: var(--muted); font-size: 0.93rem; margin: 0; line-height: 1.6; }

/* ─── Punch Card ────────────────────────────────── */
.punch-card {
  background: linear-gradient(130deg, #FFD93D 0%, #FFB347 100%);
  border-radius: var(--radius);
  padding: 2.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.punch-card__left {}
.punch-card__badge {
  display: inline-block;
  background: rgba(0,0,0,0.12);
  color: var(--text);
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.punch-card__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.punch-card__desc { font-size: 0.95rem; color: rgba(0,0,0,0.6); font-weight: 600; margin: 0; }
.punch-card__right { text-align: right; }
.punch-card__price {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.punch-card__savings {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(0,0,0,0.55);
}
.punch-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.punch-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,0.12);
  border: 2.5px solid rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.punch-dot--filled { background: var(--coral); border-color: var(--coral); }

/* ─── Info Callout Box ──────────────────────────── */
.info-box {
  border-radius: var(--radius);
  padding: 1.4rem 1.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.info-box--teal {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  color: var(--text);
}
.info-box--yellow {
  background: var(--yellow-light);
  border: 2px solid #FFD93D;
  text-align: center;
}
.info-box strong { color: var(--teal); }
.info-box--yellow strong { color: var(--coral); }

/* ─── Two-column grid helpers ───────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.two-col--wide-left { grid-template-columns: 1.2fr 1fr; }
@media (max-width: 768px) {
  .two-col, .two-col--wide-left { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ─── About ─────────────────────────────────────── */
.about-stats {
  display: flex;
  gap: 1.25rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.about-stat {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  text-align: center;
  flex: 1;
  min-width: 90px;
}
.about-stat__number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--coral);
  line-height: 1;
}
.about-stat__label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 0.2rem;
}
.about-pets {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.pet-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--teal-light);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
}

/* ─── Hero & About photos ───────────────────────── */
.hero__img {
  width: 340px;
  height: 400px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 24px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.28);
  border: 4px solid rgba(255,255,255,0.35);
}
.about__img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .hero__img { width: 260px; height: 300px; }
}

/* ─── Map ───────────────────────────────────────── */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-wrap svg { display: block; width: 100%; height: auto; }
.map-legend {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  align-items: center;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.legend-swatch {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  flex-shrink: 0;
}

/* ─── Contact / Form ────────────────────────────── */
.form-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.38rem;
  color: var(--text);
}
.form-group label .req { color: var(--coral); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,168,160,0.14);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236B6B6B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-submit { margin-top: 0.75rem; }
.form-submit .btn { width: 100%; text-align: center; padding: 1rem; font-size: 1.05rem; }
.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 2rem;
}
.form-success .success-icon { font-size: 3.5rem; margin-bottom: 0.75rem; }
.form-success h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--muted); }

/* Formspree SDK inline field errors */
.fs-field-error {
  display: block;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 0.25rem;
  min-height: 0;
}
/* Form-level error (network failure, etc.) */
.fs-form-error:not(:empty) {
  background: #FFF0EE;
  border-left: 4px solid var(--coral);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  color: var(--coral);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}
/* Mark invalid fields with a red border */
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--coral) !important;
}

.contact-detail-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.75rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-detail__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.contact-detail__label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-detail__value { font-weight: 700; font-size: 1rem; }

/* ─── Footer ────────────────────────────────────── */
.footer {
  background: #1E1C18;
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2rem;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.75rem;
}
.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__brand-text { font-size: 0.9rem; line-height: 1.65; margin: 0; }
.footer__col-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}
.footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.18s;
}
.footer__links a:hover { color: var(--yellow); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.privacy-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
}

@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ─── Utilities ─────────────────────────────────── */
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.divider {
  border: none;
  border-top: 2px solid var(--border);
  margin: 2.5rem 0;
}
