/* ==========================================================
   petsdept — Landing Page Styles
   Palette: coral (energy), teal (aquatics), yellow (treats),
   mint (grooming/fresh), cream (base), ink (text)
   ========================================================== */

:root {
  --coral: #FF6F59;
  --coral-deep: #E24E3A;
  --coral-soft: #FFE3DD;
  --teal: #1B6B72;
  --teal-deep: #0F4B50;
  --mint: #8FD6BD;
  --mint-soft: #E4F7EF;
  --yellow: #FFC857;
  --yellow-soft: #FFF3D9;
  --cream: #FFF8EF;
  --cream-alt: #FCEFDD;
  --ink: #2B2B2B;
  --ink-soft: #6B625B;
  --wa-green: #25D366;

  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 12px 30px rgba(43, 43, 43, 0.08);
  --shadow-hover: 0 18px 40px rgba(226, 78, 58, 0.18);
  --container-w: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo-word {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

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

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

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Decorative paw trail background ---------- */
.paw-trail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 8% 22%, rgba(143,214,189,0.28) 0, rgba(143,214,189,0.28) 5px, transparent 6px),
    radial-gradient(circle at 92% 40%, rgba(255,200,87,0.28) 0, rgba(255,200,87,0.28) 5px, transparent 6px),
    radial-gradient(circle at 15% 68%, rgba(255,111,89,0.2) 0, rgba(255,111,89,0.2) 5px, transparent 6px),
    radial-gradient(circle at 85% 82%, rgba(27,107,114,0.2) 0, rgba(27,107,114,0.2) 5px, transparent 6px);
  background-repeat: no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background: var(--coral-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}
.btn-light {
  background: #fff;
  color: var(--coral-deep);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}
.btn-nav { padding: 10px 20px; font-size: 0.92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 239, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(43,43,43,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-word {
  font-size: 1.4rem;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
}
.main-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  margin-right: 30px;
}
.main-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.15s ease;
  position: relative;
}
.main-nav a:hover { color: var(--coral-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 72px 0 60px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-display);
  color: var(--coral-deep);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }
.hero-copy h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin-bottom: 20px;
}
.highlight { color: var(--coral-deep); }
.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--teal-deep);
}
.hero-meta-item span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.hero-meta-divider {
  width: 1px;
  height: 36px;
  background: rgba(43,43,43,0.15);
}
.hero-art { display: flex; justify-content: center; }
.mascot-svg { width: 100%; max-width: 480px; }

/* ---------- Sections ---------- */
.section {
  position: relative;
  z-index: 1;
  padding: 88px 0;
}
.section-alt { background: var(--cream-alt); }
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 640px;
  margin: 0 auto 16px;
}
.section-title.center { text-align: center; }
.section-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 50px;
}
.section-sub.center { text-align: center; }

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

.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.shelf-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shelf-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: var(--shadow-hover);
}
.shelf-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.shelf-card h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.shelf-card p {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.why-copy .section-title { margin-bottom: 16px; }
.why-list { display: flex; flex-direction: column; gap: 28px; }
.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why-num {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mint-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-item h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.why-item p {
  color: var(--ink-soft);
  font-size: 0.93rem;
}

/* ---------- Location ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  align-items: stretch;
}
.location-info {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.info-label {
  font-family: var(--font-display);
  color: var(--coral-deep);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.info-row p { margin-top: 6px; color: var(--ink); }
.link-arrow {
  display: inline-block;
  margin-top: 8px;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
}
.link-arrow:hover { color: var(--teal-deep); }
.location-info .btn { margin-top: 6px; align-self: flex-start; }
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 340px;
}
.location-map iframe { width: 100%; height: 100%; min-height: 340px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: #fff;
  padding: 70px 0;
}
.cta-banner-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta-banner-inner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.cta-banner-inner p {
  color: rgba(255,255,255,0.85);
  max-width: 420px;
}
.cta-banner-inner .btn { margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding-top: 56px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo-word { color: #fff; }
.footer-brand p {
  margin-top: 10px;
  font-size: 0.9rem;
  max-width: 260px;
  color: rgba(255,255,255,0.6);
}
.footer-col h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Floating WhatsApp button ---------- */
.fab-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  z-index: 200;
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.fab-wa.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fab-wa:hover { transform: translateY(-3px) scale(1.05); }

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

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid rgba(43,43,43,0.08);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid rgba(43,43,43,0.06); }
  .nav-toggle { display: flex; }
  .btn-nav { display: none; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
  .hero-copy { text-align: left; }

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

  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .location-grid { grid-template-columns: 1fr; }
  .location-map { min-height: 280px; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-meta-divider { display: none; }
  .section { padding: 64px 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .card, .shelf-card, .btn, .fab-wa {
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
