/* Tommy Doggy — a warm, friendly dog-lifestyle blog and greetings card shop.
   Design: cheerful sky-blue + sunny yellow + charcoal. Rounded, playful, approachable.
   Deliberately unlike sister sites — no serif drama, no pastels, no muted tones. */

:root {
  --bg: #f7fbff;          /* very light sky wash */
  --bg-soft: #eef6ff;     /* soft blue tint */
  --ink: #2a2d35;         /* charcoal */
  --muted: #5e6577;
  --primary: #5a9fd4;     /* sky blue */
  --accent: #f4c430;      /* sunny yellow */
  --line: #d3e8f5;
  --border: #d3e8f5;
  --card: #ffffff;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: "Trebuchet MS", "Gill Sans", "Gill Sans MT", Calibri, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

a { color: var(--primary); }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 14px;
}

/* ---- Header ---- */
header {
  background: rgba(247, 251, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 20;
}
nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Trebuchet MS", "Gill Sans MT", Calibri, Helvetica, Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand-icon { width: 30px; height: 30px; flex-shrink: 0; color: var(--primary); }
.brand-icon path, .brand-icon circle, .brand-icon ellipse { vector-effect: non-scaling-stroke; }
.brand:hover .brand-icon { color: var(--accent); transition: color 0.15s ease; }
.nav-links { display: flex; gap: 26px; flex-wrap: wrap; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  transition: color .15s;
}
.nav-links a:hover { color: var(--primary); }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(145deg, #e8f4fd 0%, #fffbee 100%);
  text-align: center;
  padding: 88px 26px 68px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 60px;
  background: var(--bg);
  border-radius: 50% 50% 0 0;
}
.hero h1 {
  font-size: 2.9rem;
  max-width: 20ch;
  margin: 0 auto 20px;
  font-weight: 800;
}
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.14rem; color: var(--muted); max-width: 54ch; margin: 0 auto 30px; }
.hero .btn { margin: 0 5px 8px; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background .15s, transform .12s;
}
.btn:hover { background: #4888bb; transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #d9ae25; }
.btn-soft { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-soft:hover { background: var(--primary); color: #fff; }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--ink); }

/* ---- Sections ---- */
section { padding: 64px 0; }
section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 58ch; margin: 0 auto 44px; }
section h2 { font-size: 2rem; margin-bottom: 14px; }
section p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.reverse .ph { order: 2; }
.ph {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(90, 159, 212, 0.18);
}
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Card grid ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .16s, box-shadow .16s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(90,159,212,.14); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 22px 24px 26px; }
.pill {
  display: inline-block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  padding: 3px 12px;
  border-radius: 30px;
  margin-bottom: 12px;
}
.pill-yellow {
  color: #8a6c00;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}
.card h3 { font-size: 1.24rem; margin-bottom: 8px; }
.card p { font-size: 0.94rem; margin: 0; color: var(--muted); }

/* ---- Prose ---- */
.prose { max-width: 68ch; margin: 0 auto; }
.prose h2 { font-size: 1.76rem; margin: 44px 0 12px; color: var(--ink); }
.prose h3 { font-size: 1.24rem; margin: 30px 0 8px; color: var(--primary); }
.prose p, .prose li { color: #404859; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 9px; }
.note {
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 28px 0;
}
.note p { margin: 0; color: var(--ink); font-size: 0.96rem; }
.pull {
  font-family: "Trebuchet MS", "Gill Sans MT", Calibri, Helvetica, Arial, sans-serif;
  font-style: italic;
  font-size: 1.48rem;
  line-height: 1.48;
  color: var(--primary);
  text-align: center;
  max-width: 34ch;
  margin: 40px auto;
}

/* ---- CTA ---- */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, #3d7cb3 100%);
  color: #fff;
  text-align: center;
  padding: 72px 26px;
}
.cta h2 { font-size: 2rem; margin-bottom: 12px; color: #fff; }
.cta p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 0 auto 26px; }
.cta .btn-accent { color: var(--ink); }

/* ---- Rescue banner ---- */
.rescue-band {
  background: var(--accent);
  color: var(--ink);
  text-align: center;
  padding: 18px 26px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.rescue-band a { color: var(--ink); }

/* ---- Feature list ---- */
.feature-list { list-style: none; padding: 0; margin: 22px 0 0; }
.feature-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: #404859;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '🐾';
  position: absolute;
  left: 0;
  font-size: 0.88rem;
}

/* ---- Card range (greetings page) ---- */
.card-range { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card-range .card { display: flex; flex-direction: column; }
.card-range .card img { aspect-ratio: 3 / 2; }
.card-range .card-body { flex: 1; }

/* ---- Footer ---- */
footer {
  background: var(--ink);
  color: #b0b8cc;
  padding: 54px 0 30px;
  border-top: 3px solid var(--accent);
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-grid h4 {
  color: var(--accent);
  font-family: "Trebuchet MS", "Gill Sans MT", Calibri, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  font-weight: 800;
}
.footer-grid a, .footer-grid p {
  color: #8a92a6;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  font-size: 0.91rem;
  line-height: 1.55;
}
.footer-grid a:hover { color: var(--accent); }
.footer-meta {
  max-width: var(--maxw);
  margin: 24px auto 0;
  padding: 0 26px;
  font-size: 0.82rem;
  color: #5e6577;
  text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .ph { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .card-range { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .grid-3 { grid-template-columns: 1fr; }
  nav { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero h1 { font-size: 1.85rem; }
}

/* LOGO:start */
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; text-decoration: none; }
.brand-icon { width: 30px; height: 30px; flex-shrink: 0; color: var(--primary); }
.brand:hover .brand-icon { color: var(--accent); transition: color 0.15s ease; }
/* LOGO:end */
