/*
Theme Name: Garvin Pet & Home Care
Theme URI: https://garvinpetandhomecare.com/
Author: Garvin Pet & Home Care
Description: A lightweight custom WordPress theme for Garvin Pet & Home Care, built around warm premium pet care, mature reliability, home stewardship, and quiet discretion.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: garvin-pet-home-care
*/

:root {
  --gphc-ink: #1f2925;
  --gphc-forest: #2f4a3d;
  --gphc-forest-deep: #22382f;
  --gphc-sage: #718577;
  --gphc-cream: #f6f1e7;
  --gphc-warm-white: #fffdf8;
  --gphc-brass: #a17a42;
  --gphc-line: #ded7ca;
  --gphc-muted: #66706b;
  --gphc-shadow: 0 18px 50px rgba(31,41,37,.10);
  --gphc-radius: 18px;
  --gphc-max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gphc-warm-white);
  color: var(--gphc-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.68;
}
a { color: var(--gphc-forest); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--gphc-brass); }
img { max-width: 100%; height: auto; }

.gphc-wrap { width: min(calc(100% - 40px), var(--gphc-max)); margin-inline: auto; }
.gphc-narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,253,248,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(222,215,202,.8);
}
.admin-bar .site-header { top: 32px; }
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand-link { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand-name { color: var(--gphc-ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.22rem; font-weight: 700; letter-spacing: .01em; }
.brand-sub { color: var(--gphc-muted); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; margin-top: 7px; }

.primary-nav ul { display: flex; align-items: center; gap: 23px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { color: var(--gphc-ink); font-size: .91rem; font-weight: 650; text-decoration: none; }
.primary-nav a:hover { color: var(--gphc-brass); }
.menu-toggle { display: none; border: 1px solid var(--gphc-line); background: var(--gphc-warm-white); padding: 10px 13px; border-radius: 10px; color: var(--gphc-ink); font-weight: 700; }

.site-main { min-height: 60vh; }
.entry-content > * { width: min(calc(100% - 40px), var(--gphc-max)); margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { width: min(calc(100% - 40px), 1320px); max-width: none; }
.entry-content > .alignfull { width: 100%; max-width: none; }
.entry-content p { margin-top: 0; margin-bottom: 1.25em; }
.entry-content h1, .entry-content h2, .entry-content h3 { color: var(--gphc-ink); font-family: Georgia, "Times New Roman", serif; line-height: 1.12; }
.entry-content h1 { font-size: clamp(2.5rem, 6vw, 5.4rem); letter-spacing: -.035em; }
.entry-content h2 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.025em; }
.entry-content h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.entry-content .wp-block-group { padding-top: clamp(58px, 8vw, 100px); padding-bottom: clamp(58px, 8vw, 100px); }
.entry-content .wp-block-group.has-gphc-cream-background-color { background: var(--gphc-cream); }

.gphc-hero {
  padding: clamp(86px, 10vw, 150px) 0 clamp(75px, 9vw, 125px);
  background:
    radial-gradient(circle at 85% 18%, rgba(161,122,66,.17), transparent 32%),
    linear-gradient(145deg, #fffdf8 0%, #f6f1e7 100%);
  border-bottom: 1px solid var(--gphc-line);
}
.gphc-hero-inner { width: min(calc(100% - 40px), 1080px); margin-inline: auto; }
.gphc-eyebrow { margin: 0 0 18px; color: var(--gphc-brass); font-size: .83rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.gphc-hero h1 { max-width: 880px; margin: 0 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 7vw, 6.1rem); line-height: .99; letter-spacing: -.045em; }
.gphc-hero .lead { max-width: 790px; margin: 0; font-size: clamp(1.14rem, 2vw, 1.42rem); color: #3c4943; }
.gphc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.gphc-button, .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 21px;
  border-radius: 999px;
  background: var(--gphc-forest);
  color: #fff !important;
  font-weight: 750;
  text-decoration: none;
  border: 1px solid var(--gphc-forest);
  transition: transform .15s ease, background .15s ease;
}
.gphc-button:hover, .wp-block-button__link:hover { background: var(--gphc-forest-deep); transform: translateY(-1px); }
.gphc-button.secondary { background: transparent; color: var(--gphc-ink) !important; border-color: var(--gphc-line); }
.gphc-button.secondary:hover { background: #fff; border-color: var(--gphc-brass); }

.gphc-trust-strip { background: var(--gphc-forest-deep); color: #fff; }
.gphc-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.gphc-trust-item { padding: 24px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.16); font-size: .88rem; font-weight: 750; letter-spacing: .02em; }
.gphc-trust-item:last-child { border-right: 0; }

.gphc-section { padding: clamp(64px, 8vw, 108px) 0; }
.gphc-section.cream { background: var(--gphc-cream); }
.gphc-kicker { color: var(--gphc-brass); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .78rem; }
.gphc-section h2 { max-width: 850px; margin: 10px 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.025em; }
.gphc-section .intro { max-width: 820px; color: #435048; font-size: 1.1rem; }
.gphc-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin-top: 38px; }
.gphc-card { background: #fff; border: 1px solid var(--gphc-line); border-radius: var(--gphc-radius); padding: 30px; box-shadow: 0 10px 35px rgba(31,41,37,.06); }
.gphc-card h3 { margin-top: 0; margin-bottom: 10px; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; }
.gphc-card p:last-child { margin-bottom: 0; }
.gphc-card .number { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--gphc-cream); color: var(--gphc-brass); font-weight: 850; font-size: .84rem; margin-bottom: 18px; }

.gphc-two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(38px, 6vw, 86px); align-items: start; }
.gphc-panel { background: var(--gphc-forest-deep); color: #fff; padding: clamp(30px, 5vw, 52px); border-radius: var(--gphc-radius); box-shadow: var(--gphc-shadow); }
.gphc-panel h2, .gphc-panel h3 { color: #fff; }
.gphc-panel a { color: #fff; }
.gphc-list { padding-left: 1.2em; }
.gphc-list li { margin-bottom: .5em; }

.gphc-page-header { padding: 80px 0 52px; background: var(--gphc-cream); border-bottom: 1px solid var(--gphc-line); }
.gphc-page-header h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 5vw, 4.7rem); line-height: 1.02; letter-spacing: -.035em; }
.gphc-page-header p { max-width: 760px; margin: 18px 0 0; color: #4c5952; font-size: 1.12rem; }
.entry-content:not(.home-content) { padding-top: 54px; padding-bottom: 80px; }
.entry-content blockquote { border-left: 4px solid var(--gphc-brass); margin-top: 2em; margin-bottom: 2em; padding: 8px 0 8px 24px; font-family: Georgia, "Times New Roman", serif; font-size: 1.28rem; color: #34423b; }

.gphc-contact-card { border: 1px solid var(--gphc-line); background: var(--gphc-cream); border-radius: var(--gphc-radius); padding: 28px; }
.gphc-contact-card strong { display: block; margin-bottom: 4px; }
.gphc-form-placeholder { border: 2px dashed #b8ad9b; border-radius: 14px; padding: 28px; background: rgba(255,255,255,.55); }

.site-footer { background: #17251f; color: rgba(255,255,255,.84); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr; gap: 42px; }
.site-footer h2, .site-footer h3 { color: #fff; font-family: Georgia, "Times New Roman", serif; }
.site-footer a { color: #fff; }
.footer-brand { font-size: 1.5rem; margin: 0 0 8px; }
.footer-meta { border-top: 1px solid rgba(255,255,255,.13); margin-top: 40px; padding-top: 22px; font-size: .82rem; color: rgba(255,255,255,.62); }

.gphc-note { background: #fff7dd; border-left: 4px solid #c49b3c; padding: 16px 18px; margin: 24px 0; font-size: .92rem; }

@media (max-width: 940px) {
  .menu-toggle { display: inline-block; }
  .primary-nav { display: none; position: absolute; left: 20px; right: 20px; top: 76px; padding: 18px; background: #fff; border: 1px solid var(--gphc-line); border-radius: 14px; box-shadow: var(--gphc-shadow); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 12px; }
  .gphc-grid { grid-template-columns: 1fr; }
  .gphc-two-col { grid-template-columns: 1fr; }
  .gphc-trust-grid { grid-template-columns: repeat(2,1fr); }
  .gphc-trust-item:nth-child(2) { border-right: 0; }
  .gphc-trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .gphc-wrap, .gphc-narrow, .entry-content > * { width: min(calc(100% - 28px), var(--gphc-max)); }
  .gphc-hero-inner { width: min(calc(100% - 28px), 1080px); }
  .brand-sub { display: none; }
  .gphc-actions { flex-direction: column; align-items: stretch; }
  .gphc-button { width: 100%; }
  .admin-bar .site-header { top: 46px; }
}
