/* ============================================================
   Woofs & Mews — Stylesheet
   ============================================================ */

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

:root {
  --clr-primary:    #e07b39;   /* warm amber-orange */
  --clr-primary-d:  #c4622a;
  --clr-accent:     #4a9d7f;   /* teal-green */
  --clr-accent-d:   #38806a;
  --clr-bg:         #fdf8f3;
  --clr-surface:    #ffffff;
  --clr-text:       #2d2d2d;
  --clr-muted:      #6b6b6b;
  --clr-border:     #ece4d9;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  28px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.07);
  --shadow-md:  0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.12);

  --font-body:  'Nunito', sans-serif;
  --font-head:  'Playfair Display', serif;

  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.65;
  overflow-x: hidden;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 2px solid transparent;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--clr-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(224,123,57,.35);
}
.btn--primary:hover {
  background: var(--clr-primary-d);
  box-shadow: 0 8px 24px rgba(224,123,57,.45);
}

.btn--outline {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: transparent;
}
.btn--outline:hover {
  background: var(--clr-primary);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--clr-primary);
  box-shadow: var(--shadow-md);
}
.btn--white:hover {
  background: #fff7f2;
  box-shadow: var(--shadow-lg);
}

.btn--nav {
  background: var(--clr-primary);
  color: #fff !important;
  padding: 9px 22px;
  font-size: .95rem;
}
.btn--nav:hover { background: var(--clr-primary-d); }

.btn--large { padding: 16px 36px; font-size: 1.05rem; }

/* --- Navigation ------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253,248,243,.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--clr-border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--clr-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon { font-size: 1.5rem; }
.amp { color: var(--clr-primary); }

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  text-decoration: none;
  color: var(--clr-text);
  font-weight: 600;
  font-size: .95rem;
  transition: color var(--transition);
}
.nav__links a:not(.btn):hover { color: var(--clr-primary); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
  z-index: 99;
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.mobile-menu a {
  text-decoration: none;
  color: var(--clr-text);
  font-size: 1.05rem;
  font-weight: 600;
}

/* --- Hero ------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(224,123,57,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(74,157,127,.10) 0%, transparent 60%),
    var(--clr-bg);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 24px;
}

.hero__eyebrow {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.1;
  color: var(--clr-text);
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--clr-muted);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__paws {
  position: absolute;
  right: -40px;
  bottom: 10%;
  font-size: 6rem;
  opacity: .07;
  transform: rotate(-15deg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  user-select: none;
  pointer-events: none;
}

/* --- Trust Bar -------------------------------------------- */
.trust-bar {
  background: var(--clr-bg);
  padding: 32px 0;
}

.trust-bar__inner {
  display: flex;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 20px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--clr-text);
  flex: 1;
  text-align: center;
  border-right: 1px solid var(--clr-border);
}
.trust-item:last-child { border-right: none; }
.trust-item__icon {
  font-size: 1.8rem;
  display: block;
  line-height: 1;
}

/* --- Section Titles --------------------------------------- */
.section__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--clr-text);
  text-align: center;
  margin-bottom: 16px;
}
.section__title--left { text-align: left; }

.section__subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--clr-muted);
  max-width: 520px;
  margin: 0 auto 56px;
}

/* --- Services --------------------------------------------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.card__title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--clr-text);
}
.card__body {
  color: var(--clr-muted);
  font-size: .97rem;
  line-height: 1.6;
}

.services__cta {
  text-align: center;
  margin-top: 52px;
}

/* --- About ------------------------------------------------ */
.about {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

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

.about__image-wrap {
  display: flex;
  justify-content: center;
}

.about__photo {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 4px solid var(--clr-surface);
  box-shadow: var(--shadow-lg);
}

.about__text p {
  color: var(--clr-muted);
  margin-bottom: 20px;
  font-size: 1.02rem;
}
.about__text .btn { margin-top: 8px; }

/* --- Portal CTA ------------------------------------------- */
.portal-cta {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-d) 100%);
  padding: 72px 0;
}

.portal-cta__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.portal-cta__text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: 12px;
}
.portal-cta__text p {
  color: rgba(255,255,255,.85);
  max-width: 520px;
  font-size: 1.02rem;
}

/* --- Contact ---------------------------------------------- */
.contact__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
}

.contact-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-card__icon { font-size: 2.4rem; display: block; margin-bottom: 16px; }
.contact-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; }
.contact-card p { color: var(--clr-muted); font-size: .95rem; margin-bottom: 24px; }

/* --- Footer ----------------------------------------------- */
.footer {
  background: var(--clr-text);
  color: rgba(255,255,255,.7);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 1.05rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__links a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: .9rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: #fff; }

.footer__copy { font-size: .85rem; }

/* --- Responsive ------------------------------------------- */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero__content { padding: 60px 24px; }

  .trust-bar__inner { flex-wrap: wrap; }
  .trust-item {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid var(--clr-border);
  }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--clr-border); }
  .trust-item:last-child,
  .trust-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about__photo { width: 260px; height: 260px; }

  .portal-cta__inner { flex-direction: column; text-align: center; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { text-align: center; }
  .trust-item { flex: 1 1 100%; border-right: none !important; }
}

/* --- Utility: fade-in on scroll --------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
