/* ==========================================================================
   Happy Paws Pet Sitting — Stylesheet
   ========================================================================== */

:root {
  --blue: #0089fc;
  --blue-dark: #0072d6;
  --blue-darker: #0058ae;
  --navy: #123a63;
  --orange: #feab23;
  --orange-dark: #f2960a;
  --cream: #fff6ea;
  --text-dark: #123a63;
  --text-muted: #5b7a99;
  --white: #ffffff;
  --footer-bg: #eef5fd;

  --font-head: "Poppins", "Nunito", sans-serif;
  --font-body: "Nunito", "Poppins", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 20px 40px -15px rgba(18, 58, 99, 0.18);
  --shadow-card: 0 10px 30px -12px rgba(18, 58, 99, 0.15);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  margin: 0;
  color: var(--navy);
  line-height: 1.15;
}

p { margin: 0; }

a { text-decoration: none; color: inherit; }

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

a, button, .btn, input, textarea, select {
  -webkit-tap-highlight-color: transparent;
}

a, button, .btn,
a:focus,
a:active,
a:focus-visible,
button:focus,
button:active,
button:focus-visible,
.btn:focus,
.btn:active,
.btn:focus-visible {
  outline: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Preloader
   ========================================================================== */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, var(--blue), var(--blue-darker));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-paw {
  animation: pawPulse 1.1s ease-in-out infinite;
}

@keyframes pawPulse {
  0%, 100% { transform: scale(0.85) rotate(-6deg); opacity: 0.7; }
  50% { transform: scale(1.05) rotate(6deg); opacity: 1; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-110%) skewX(-15deg);
  transition: transform 0.55s var(--ease);
  z-index: -1;
}

.btn:hover::after { transform: translateX(110%) skewX(-15deg); }

.btn:active { transform: scale(0.96); }

.paw-icon { font-size: 15px; transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #ffffff;
  box-shadow: 0 12px 25px -8px rgba(245, 154, 31, 0.55);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px -10px rgba(245, 154, 31, 0.65);
}

.btn-dark {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 12px 25px -10px rgba(18, 58, 99, 0.5);
}

.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px -12px rgba(18, 58, 99, 0.6);
}

.btn-outline {
  background: #ffffff;
  color: var(--navy);
  border: 1.5px solid #dfe7f0;
  box-shadow: none;
}

.btn-outline:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 12px 22px -12px rgba(0, 137, 252, 0.35);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(24, 100, 200, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.logo-icon {
  display: flex;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
  transition: transform 0.4s var(--ease);
}

.logo:hover .logo-icon { transform: rotate(-12deg) scale(1.08); }

.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  color: #ffffff;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  color: #ffffff;
  font-weight: 600;
  font-size: 15.5px;
  position: relative;
  padding-bottom: 4px;
  opacity: 0.92;
  transition: opacity 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-btn {
  padding: 12px 24px;
  font-size: 14.5px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-close {
  display: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(150deg, #2e9cff 0%, var(--blue) 45%, var(--blue-darker) 100%);
  padding: 150px 0 130px;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.09) 2px, transparent 2px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 54px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero-sub {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 420px;
}

.hero-cta {
  margin-top: 32px;
}

.hero-features {
  display: flex;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 120px;
}

.hf-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 174, 66, 0.7);
  border-radius: 12px;
}

.hero-feature span {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.35;
}

.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
}

.hero-blob {
  position: absolute;
  background: var(--orange);
  border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
}

.blob-1 { width: 190px; height: 190px; top: 6%; right: 8%; opacity: 0.95; }
.blob-2 { width: 110px; height: 110px; top: 14%; left: 4%; opacity: 0.9; }
.blob-3 { width: 150px; height: 150px; bottom: 4%; right: 22%; opacity: 0.85; }

.hero-img-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder {
  background: linear-gradient(135deg, #dfeaf7, #c7d9ee);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder::before {
  content: "🐾";
  font-size: 15%;
  opacity: 0.35;
  filter: grayscale(1) brightness(1.6);
}

.img-placeholder::after {
  content: attr(data-alt);
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  color: #5b7a99;
  background: rgba(255,255,255,0.75);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 40px rgba(8, 40, 80, 0.35));
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 90px;
  background: var(--white);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scaleX(1.3);
}

/* ==========================================================================
   Section head
   ========================================================================== */

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 50px;
}

.eyebrow {
  display: inline-block;
  color: var(--orange-dark);
  font-weight: 800;
  letter-spacing: 1.6px;
  font-size: 12.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 34px;
  font-weight: 700;
}

.section-head.light h2,
.section-head.light .eyebrow {
  color: #ffffff;
}

.section-head.light .eyebrow { color: #ffd8a0; }

/* ==========================================================================
   Services
   ========================================================================== */

.services {
  padding: 100px 0 90px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: var(--radius-md);
  padding: 42px 20px 34px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 40px -16px rgba(18, 58, 99, 0.25);
}

.service-img-wrap {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  margin: 0 auto 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease);
}

.service-card:hover .service-img-wrap {
  transform: scale(1.08) rotate(-4deg);
}

.circle-orange { background: var(--orange); }
.circle-blue { background: var(--blue); }

.service-img {
  width: 190px;
  height: 190px;
  object-fit: contain;
  display: block;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.section-cta {
  text-align: center;
  margin-top: 46px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
  position: relative;
  background: linear-gradient(135deg, #2e9cff, var(--blue) 55%, var(--blue-darker));
  padding: 90px 0 100px;
  overflow: hidden;
}

.deco-heart {
  position: absolute;
  font-size: 90px;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  pointer-events: none;
}

.heart-left { top: 6%; left: 3%; transform: rotate(-10deg); }
.heart-right { top: 10%; right: 4%; transform: rotate(12deg); font-size: 70px; }

.testimonial-track-wrap {
  overflow: visible;
  padding-top: 14px;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease);
}

.testimonial-card:hover { transform: translateY(-6px); }

.stars {
  color: var(--orange);
  letter-spacing: 3px;
  font-size: 15px;
  margin-bottom: 14px;
}

.testimonial-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-dark);
  min-height: 84px;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.avatar-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid #ffe6bf;
  overflow: hidden;
  position: relative;
}

.avatar-img::before { display: none; }
.avatar-img::after { display: none; }

.avatar-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
}

.testimonial-person span {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}

.testimonial-dots {
  display: none;
  justify-content: center;
  gap: 9px;
  margin-top: 34px;
}

.tdot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.3s ease, transform 0.3s ease;
}

.tdot.active {
  background: var(--orange);
  transform: scale(1.25);
}

/* ==========================================================================
   How it works
   ========================================================================== */

.how-it-works {
  padding: 100px 0 90px;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  max-width: 220px;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  font-weight: 800;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -4px;
  left: calc(50% - 46px);
  z-index: 2;
  box-shadow: 0 6px 14px -4px rgba(245, 154, 31, 0.6);
}

.step-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #e7f2fd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform 0.4s var(--ease), background 0.4s ease;
}

.step:hover .step-icon {
  transform: translateY(-6px);
  background: #d3e8fb;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.step-line {
  flex: 0 0 auto;
  width: 60px;
  border-top: 2px dashed #b9d3ef;
  margin-top: 39px;
}

/* ==========================================================================
   About Us (full-width section)
   ========================================================================== */

.about-section {
  position: relative;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  padding: 68px 0;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  grid-template-areas: "heading photo" "body photo";
  align-items: center;
  column-gap: 60px;
  row-gap: 0;
}

.about-heading {
  grid-area: heading;
  position: relative;
  z-index: 2;
  max-width: 460px;
  align-self: end;
}

.about-body {
  grid-area: body;
  position: relative;
  z-index: 2;
  max-width: 460px;
  align-self: start;
}

.about-heading h2 {
  color: #ffffff;
  font-size: 36px;
  margin-bottom: 0;
}

.about-body p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15.5px;
  line-height: 1.65;
  margin-top: 16px;
  margin-bottom: 28px;
}

.eyebrow-dark {
  color: rgba(18, 58, 99, 0.75);
}

.about-photo {
  grid-area: photo;
  grid-row: 1 / 3;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #e7f2fd;
  z-index: 1;
}

.about-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 24px;
}

/* ==========================================================================
   CTA Banner (Ready to book)
   ========================================================================== */

.cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--blue), var(--blue-darker));
  padding: 90px 0;
  overflow: hidden;
  text-align: center;
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0 auto;
}

.cta-banner-inner h2 {
  color: #ffffff;
  font-size: 34px;
  margin-bottom: 14px;
}

.cta-banner-inner p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.deco-heart-line {
  position: absolute;
  bottom: 0;
  right: 6%;
  opacity: 0.8;
  pointer-events: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--footer-bg);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr auto;
  gap: 30px;
  align-items: start;
}

.footer-logo { margin-bottom: 14px; }

.logo-icon-blue {
  background: var(--blue);
  border-radius: 10px;
  padding: 6px;
}

.logo-text-dark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.25;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}

.social-icons a:hover {
  background: var(--orange);
  transform: translateY(-4px);
}

.footer-col h4 {
  font-size: 16px;
  color: var(--blue-dark);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 11px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 14.5px;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-col ul li a:hover {
  color: var(--blue);
  padding-left: 4px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-paw {
  opacity: 0.9;
  justify-self: end;
}

.footer-bottom {
  margin-top: 50px;
  background: var(--blue);
  color: #ffffff;
  text-align: center;
  font-size: 13.5px;
  padding: 18px 0;
}

/* ==========================================================================
   Back to top
   ========================================================================== */

.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 10px 25px -8px rgba(18, 58, 99, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.3s ease, visibility 0.35s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--orange);
}

/* ==========================================================================
   Scroll reveal animation system
   ========================================================================== */

.reveal-up,
.reveal-fade,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: transform, opacity;
}

.reveal-up { transform: translateY(36px); }
.reveal-fade { transform: scale(0.94); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.in-view,
.reveal-fade.in-view,
.reveal-left.in-view,
.reveal-right.in-view {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Floating animations for hero blobs */
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(4deg); }
}

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

.float-anim { animation: floatY 5.5s ease-in-out infinite; }
.float-anim-rev { animation: floatYRev 6.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Responsive — Tablet (≤1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  .container { padding: 0 22px; }

  .hero { padding: 130px 0 110px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-text h1 { font-size: 44px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-features { justify-content: center; }
  .hero-feature { align-items: center; text-align: center; }
  .hero-media { order: -1; min-height: 380px; }
  .hero-img-wrap { max-width: 400px; }

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

  .testimonial-track { grid-template-columns: 1fr; }
  .testimonial-track-wrap { overflow: hidden; }

  .steps { flex-wrap: wrap; justify-content: center; }
  .step { flex: 0 0 40%; max-width: none; margin-bottom: 30px; }
  .step-line { display: none; }

  .about-section { padding: 56px 0; }
  .about-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "heading" "photo" "body";
    text-align: center;
    row-gap: 26px;
  }
  .about-heading, .about-body { max-width: 100%; margin: 0 auto; align-self: auto; }
  .about-photo { grid-row: auto; }
  .about-photo::before { width: 330px; height: 330px; }
  .about-img { max-width: 360px; }

  .cta-banner { padding: 70px 0; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
  .footer-paw { grid-column: 2; justify-self: end; }
}

/* ==========================================================================
   Responsive — Mobile (≤768px)
   ========================================================================== */

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: linear-gradient(160deg, var(--blue), var(--blue-darker));
    box-shadow: -12px 0 40px -14px rgba(0,0,0,0.35);
    padding: 110px 34px 40px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    z-index: 999;
  }

  .main-nav.open { transform: translateX(0); }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 22px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: background 0.25s ease, transform 0.35s var(--ease);
  }

  .nav-close:hover { background: rgba(255, 255, 255, 0.3); transform: rotate(90deg); }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .nav-link { font-size: 18px; }

  .header-btn { display: none; }

  .hamburger { display: flex; }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 30, 55, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 998;
  }

  .nav-overlay.open { opacity: 1; visibility: visible; }

  .hero { padding: 120px 0 100px; }
  .hero-text h1 { font-size: 36px; }
  .hero-sub { font-size: 15.5px; }

  .section-head h2 { font-size: 27px; }

  .services { padding: 80px 0 70px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .service-card { padding: 34px 16px 26px; }
  .service-img-wrap { width: 92px; height: 92px; margin-bottom: 42px; }
  .service-img { width: 150px; height: 150px; }

  .how-it-works { padding: 80px 0 70px; }
  .step { flex: 0 0 100%; }

  .about-section { padding: 48px 0; }
  .about-heading h2 { font-size: 28px; }
  .about-photo::before { width: 270px; height: 270px; }
  .about-img { max-width: 300px; }

  .cta-banner { padding: 60px 0; }
  .cta-banner-inner h2 { font-size: 27px; }

  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-paw { grid-column: 1; justify-self: start; margin-top: 10px; }

  .back-to-top { right: 18px; bottom: 18px; width: 42px; height: 42px; }
}

/* ==========================================================================
   Responsive — Small mobile (≤480px)
   ========================================================================== */

@media (max-width: 480px) {
  .hero-text h1 { font-size: 30px; }
  .hero-features { gap: 20px; }
  .hero-feature { max-width: 100px; }

  .services-grid { grid-template-columns: 1fr; }

  .logo-text { font-size: 14.5px; }
}

/* ==========================================================================
   Page Hero (About / Pricing / Contact sub-pages)
   ========================================================================== */

.page-hero {
  position: relative;
  background: linear-gradient(150deg, #2e9cff 0%, var(--blue) 45%, var(--blue-darker) 100%);
  padding: 168px 0 150px;
  overflow: hidden;
  text-align: center;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a { transition: color 0.25s ease; }
.breadcrumb a:hover { color: #ffffff; }
.breadcrumb .sep { opacity: 0.55; }
.breadcrumb .current { color: #ffd8a0; }

.page-hero h1 {
  color: #ffffff;
  font-size: 46px;
  font-weight: 700;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.6;
  max-width: 560px;
  margin: 16px auto 0;
}

/* ==========================================================================
   Story section (About page)
   ========================================================================== */

.story-section { padding: 100px 0; }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.story-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-photo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #e7f2fd;
  z-index: 1;
}

.story-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 24px;
}

.story-text .eyebrow { margin-bottom: 10px; }

.story-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.story-text p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.story-text p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Value cards (About page) — reuses .service-card visual language
   ========================================================================== */

.values-section { padding: 20px 0 100px; }

.value-card-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #e7f2fd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  transition: transform 0.4s var(--ease), background 0.4s ease;
}

.service-card:hover .value-card-icon {
  transform: translateY(-6px);
  background: #d3e8fb;
}

/* ==========================================================================
   Stats band (About page)
   ========================================================================== */

.stats-band {
  background: linear-gradient(135deg, var(--blue), var(--blue-darker));
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 42px;
  color: #ffffff;
}

.stat-label {
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Team section (About page)
   ========================================================================== */

.team-section { padding: 100px 0 90px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card { text-align: center; }

.team-photo {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 0 auto 22px;
}

.team-photo::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: #e7f2fd;
  z-index: 1;
}

.team-photo.tint-orange::before { background: #ffe6bf; }

.team-photo img,
.team-photo .img-placeholder {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.team-card h3 { font-size: 17px; margin-bottom: 4px; }

.team-role {
  display: block;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Pricing cards (Pricing page)
   ========================================================================== */

.pricing-section { padding: 90px 0 30px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: var(--radius-md);
  padding: 38px 24px 30px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 40px -16px rgba(18, 58, 99, 0.25);
}

.pricing-card.featured { border: 2px solid var(--orange); }

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 14px -4px rgba(245, 154, 31, 0.6);
  white-space: nowrap;
}

.pricing-card .service-img-wrap { margin: 0 auto 46px; }

.pricing-card h3 { font-size: 19px; margin-bottom: 6px; }

.price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 6px;
}

.price span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.pricing-features {
  text-align: left;
  margin: 0 0 26px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-dark);
  margin-bottom: 11px;
  line-height: 1.4;
}

.pricing-features li svg { flex-shrink: 0; margin-top: 2px; }

.pricing-card .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ==========================================================================
   Pricing notes strip
   ========================================================================== */

.pricing-notes { background: var(--footer-bg); padding: 50px 0; margin-top: 60px; }

.pricing-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.pricing-note-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.pricing-note h4 { font-size: 15px; margin-bottom: 6px; }
.pricing-note p { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

/* ==========================================================================
   FAQ accordion (Pricing page)
   ========================================================================== */

.faq-section { padding: 100px 0 90px; }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eef2f7;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e7f2fd;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease), background 0.3s ease;
}

.faq-icon svg { transition: stroke 0.3s ease; }

.faq-item.open .faq-icon {
  transform: rotate(135deg);
  background: var(--orange);
}

.faq-item.open .faq-icon svg { stroke: #ffffff; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item.open .faq-answer { max-height: 260px; }

.faq-answer p {
  padding: 0 30px 22px 4px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-section { padding: 100px 0 90px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 60px;
  align-items: start;
}

.contact-form-wrap {
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: var(--radius-lg);
  padding: 42px;
  box-shadow: var(--shadow-card);
}

.contact-form-wrap h2 { font-size: 25px; margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 28px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text-dark);
  background: #fbfdff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 137, 252, 0.12);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit-btn { width: 100%; justify-content: center; }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #eafaf0;
  border: 1px solid #b8ecc9;
  color: #1c7a41;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 18px;
}

.form-success.visible { display: flex; }

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease);
}

.contact-info-card:hover { transform: translateY(-4px); }

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e7f2fd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-card h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  position: relative;
  background: linear-gradient(135deg, #dfeaf7, #c7d9ee);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ==========================================================================
   Responsive — new sub-page components (Tablet ≤1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  .page-hero { padding: 140px 0 130px; }
  .page-hero h1 { font-size: 36px; }

  .story-section { padding: 80px 0; }
  .story-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .story-photo::before { width: 330px; height: 330px; }
  .story-img { max-width: 360px; }

  .values-section { padding: 10px 0 80px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }

  .team-section { padding: 80px 0 70px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .pricing-section { padding: 70px 0 20px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }

  .pricing-notes-grid { grid-template-columns: 1fr; gap: 26px; }

  .faq-section { padding: 80px 0 70px; }

  .contact-section { padding: 80px 0 70px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================================================
   Responsive — new sub-page components (Mobile ≤768px)
   ========================================================================== */

@media (max-width: 768px) {
  .page-hero { padding: 120px 0 140px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero p { font-size: 15px; }

  .story-text h2 { font-size: 26px; }

  .team-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .team-photo { width: 130px; height: 130px; }

  .pricing-grid { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ==========================================================================
   Responsive — new sub-page components (Small mobile ≤480px)
   ========================================================================== */

@media (max-width: 480px) {
  .page-hero h1 { font-size: 26px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 34px; }
  .team-grid { grid-template-columns: 1fr; }
}
