/* ── Variables ─────────────────────────────────────────────── */
:root {
  --green:        #2c5f3d;
  --green-dark:   #1e4229;
  --green-light:  #b8d9c3;
  --blue:         #1e3a5f;
  --blue-dark:    #132540;
  --blue-light:   #b8cfe8;
  --text:         #1a1a1a;
  --text-mid:     #4a4a4a;
  --text-light:   #6b6b6b;
  --border:       #dde3e0;
  --bg:           #e8f4ed;
  --bg-alt:       #c8dfd4;
  --radius:       4px;
  --max-width:    1100px;
  --font-serif:   'Lora', Georgia, serif;
  --font-sans:    'Source Sans 3', system-ui, sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-sans); color: var(--text); background: var(--bg); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: underline; }
a:hover { color: var(--green-dark); text-decoration: underline; }
address { font-style: normal; }

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

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  background: var(--blue-dark);
  border-bottom: 3px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand-link { text-decoration: none; display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}
.brand-title {
  font-size: 0.8rem;
  color: #a8bfd4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Top bar ────────────────────────────────────────────────── */
.header-topbar {
  background: var(--green);
  padding: 0.4rem 0;
  font-size: 1rem;
}
.header-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
}
.header-topbar a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
}
.header-topbar a:hover { opacity: 0.85; }

/* ── Nav ────────────────────────────────────────────────────── */
.site-nav ul { list-style: none; display: flex; gap: 0.25rem; }
.site-nav a {
  color: #c8d8e8;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a.active {
  background: var(--green);
  color: #ffffff;
  text-decoration: none;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: 0.2s;
}

/* ── Hero (home) ────────────────────────────────────────────── */
.home-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--green-dark) 100%);
  color: #ffffff;
  padding: 0.75rem 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  min-height: 420px;
}
.hero-text {
  flex: 1;
  max-width: 580px;
  padding-bottom: 8rem;
  text-align: left;
}
.hero-photo-wrap {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  align-self: center;
  padding-bottom: 4rem;
}
.home-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 280px;
  background-image: url('/images/mountains.svg');
  background-size: cover;
  background-position: bottom;
  pointer-events: none;
}
.home-hero .container { position: relative; z-index: 1; }
.hero-phone { font-size: 2.4rem; font-weight: 600; margin-bottom: 1.5rem !important; }
.hero-phone a { color: #ffffff; text-decoration: underline; }
.hero-phone a:hover { text-decoration: underline; }
.home-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.home-hero p {
  font-size: 1.15rem;
  color: #c8d8e8;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--blue-dark); color: #fff; }
.btn-primary:hover { background: var(--blue); color: #fff; }
.home-hero .btn-primary { border: 2px solid rgba(255,255,255,0.7); }
.home-hero .btn-group { margin-top: 2rem; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-green { background: var(--green); color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.btn-green:hover { background: var(--green-dark); color: #fff; }

/* ── Page hero (interior pages) ────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--green-dark) 100%);
  color: #ffffff;
  padding: 2.5rem 0;
  border-bottom: 3px solid var(--green);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: url('/images/mountains.svg');
  background-size: cover;
  background-position: bottom;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

/* ── Services strip (home) ──────────────────────────────────── */
.services-strip {
  background: linear-gradient(160deg, #a8d4b8 0%, #6888b0 100%);
  padding: 4rem 0;
}
.services-strip h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--blue-dark);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.section-sub {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 2.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--blue-dark);
  margin-bottom: 0.75rem;
}
.service-card p { font-size: 0.95rem; color: var(--text-mid); }
.service-list {
  padding-left: 1.1rem;
  margin-top: 0.75rem;
  color: var(--text-mid);
  font-size: 1rem;
}
.service-list li { margin-bottom: 0.4rem; }
.service-card .card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
}

/* ── Intro / About strip ────────────────────────────────────── */
.intro-strip { padding: 4rem 0; background: #b8d4c8; }
.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.intro-text h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--blue-dark);
  margin-bottom: 1rem;
}
.intro-text p { color: var(--text-mid); margin-bottom: 1rem; }

/* ── CTA strip ──────────────────────────────────────────────── */
.cta-strip {
  background: #132540 !important;
  color: #ffffff;
  padding: 3rem 0;
  text-align: center;
}
.cta-strip h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.cta-strip p { color: #b8d4c0; margin-bottom: 1.5rem; }

/* ── Page content (interior) ────────────────────────────────── */
.page-content { padding: 3.5rem 0; background: var(--bg); }
.page-content:nth-of-type(even) { background: var(--bg-alt); }
.page-content .container {
  background: #ffffff;
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.page-content h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--blue-dark);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--green-light);
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  font-size: 1.1rem;
  color: var(--green-dark);
  margin: 1.5rem 0 0.5rem;
}
.page-content p { color: var(--text-mid); margin-bottom: 1rem; }
.page-content ul { padding-left: 1.25rem; color: var(--text-mid); margin-bottom: 1rem; }
.page-content ul li { margin-bottom: 0.35rem; }

/* ── Home inset photo ───────────────────────────────────────── */
.photo-inset { display: none; }
.inset-photo {
  width: 260px;
  height: 340px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px 8px 0 0;
  border: 3px solid rgba(255,255,255,0.3);
  border-bottom: none;
  display: block;
}

/* ── About photo ────────────────────────────────────────────── */
.about-photo {
  max-width: 360px;
  width: 100%;
  border-radius: var(--radius);
  margin: 1.5rem auto;
}
.headshot-photo {
  width: 280px;
  height: 345px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--green);
  float: left;
  margin: 0.25rem 2rem 1.5rem 0;
}
.page-content .about-sherry-section::after {
  content: "";
  display: table;
  clear: both;
}

/* ── Paw print photo ─────────────────────────────────────────── */
.paw-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem auto 0;
}
.paw-deco {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: invert(28%) sepia(30%) saturate(900%) hue-rotate(100deg) brightness(0.85);
}
.paw-right {
  transform: scaleX(-1);
}
.paw-photo {
  width: 320px;
  height: 440px;
  object-fit: contain;
  border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%;
  border: 3px solid var(--green);
}
.paw-photos-row {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}
.paw-photo--pair {
  width: 220px;
  height: 300px;
}

/* ── Directions photo ───────────────────────────────────────── */
.page-content img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 1rem 0;
  border: 1px solid var(--border);
  display: block;
}
.page-content img.headshot-photo {
  border: 2px solid var(--green);
  border-radius: 6px;
  display: block;
  margin: 0.25rem 2rem 1.5rem 0;
}
.address-block {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1rem;
}
.address-block img {
  width: 55%;
  flex-shrink: 0;
  margin: 0;
}
.address-text {
  line-height: 1.8;
  color: var(--text-mid);
}
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; align-items: center; }
  .hero-text { text-align: center; padding-bottom: 2rem; max-width: 100%; }
  .hero-photo-wrap { align-self: center; }
  .home-hero { padding-bottom: 0; }
}
@media (max-width: 600px) {
  .address-block { flex-direction: column; }
  .address-block img { width: 100%; }
}

/* ── Upload button ───────────────────────────────────────────── */
.page-content a[href*="sharefile"] {
  display: block;
  width: fit-content;
  margin: 1rem auto;
  padding: 0.85rem 2rem;
  background: var(--blue-dark);
  color: #ffffff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.15s;
}
.page-content a[href*="sharefile"]:hover {
  background: var(--blue);
  text-decoration: none;
  color: #ffffff;
}

/* ── Contact form ───────────────────────────────────────────── */
.contact-form { margin-top: 1.5rem; max-width: 100%; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid #5a7269;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: #eef4f1;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-group textarea { resize: vertical; }
.contact-form .btn { margin-top: 0.5rem; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--blue-dark);
  color: #a8bfd4;
  padding: 3rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-col strong {
  display: block;
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
/* Phone links always underlined in body content */
.page-content a[href^="tel:"],
.address-text a[href^="tel:"] { text-decoration: underline; }

.footer-col a { color: #a8bfd4; font-size: 1rem; text-decoration: none; }
.footer-col a:hover { color: #ffffff; text-decoration: none; }
.footer-contact a { text-decoration: underline; }
.footer-contact a:hover { text-decoration: underline; }
.footer-nav { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0;
  font-size: 0.8rem;
  color: #6b8aa0;
}
.footer-bottom a {
  color: #6b8aa0;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #fff;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 0.6rem 0; border-radius: 0; }
  .site-header { position: relative; }
  .intro-inner { grid-template-columns: 1fr; }

  /* Top bar: stack address + phone on narrow screens */
  .header-topbar-inner { flex-direction: column; gap: 0.2rem; text-align: center; font-size: 0.85rem; }

  /* Hero phone number */
  .hero-phone { font-size: 1.75rem; }

  /* Floated headshot: clear float and center on mobile */
  .headshot-photo {
    float: none;
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto 1.5rem;
  }

  /* Paw photo: cap to viewport width */
  .paw-photo { width: 100%; max-width: 320px; height: auto; }
  .paw-photo--pair { width: 45%; height: auto; }
}
