/* ============================================================
   THE PAW HAVEN — Grant, Louisiana
   Design system: "Pine & Honey"
   Deep burgundy-pine tones, golden-retriever honey accent,
   scalloped awning dividers, dog-tag badges.
   Display: Fraunces · Body: Nunito Sans
   ============================================================ */

:root{
  --pine:      #6E1F29;
  --pine-deep: #4E141C;
  --moss:      #8E3A44;
  --sagebg:    #F2E6E2;
  --cloud:     #F8F4EF;
  --honey:     #E7A33C;
  --honey-deep:#C9822A;
  --biscuit:   #C98A52;
  --ink:       #33211F;
  --ink-soft:  #63504C;
  --white:     #FFFFFF;
  --tag-shadow: 0 10px 30px rgba(62,18,24,.14);
  --radius: 18px;
  --maxw: 1120px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation:none !important; transition:none !important; }
}

body{
  font-family:'Nunito Sans', system-ui, sans-serif;
  background:var(--cloud);
  color:var(--ink);
  line-height:1.65;
  font-size:1.0625rem;
}

h1,h2,h3,.display{
  font-family:'Fraunces', Georgia, serif;
  font-weight:600;
  line-height:1.12;
  color:var(--pine);
  letter-spacing:-.01em;
}
h1{ font-size:clamp(2.4rem, 5.5vw, 4rem); }
h2{ font-size:clamp(1.8rem, 3.6vw, 2.6rem); }
h3{ font-size:1.35rem; }

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

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 clamp(1.1rem, 4vw, 2.5rem); }

.eyebrow{
  display:inline-block;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--honey-deep);
  margin-bottom:.9rem;
}
.on-dark .eyebrow{ color:var(--honey); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;
  font-weight:800;
  font-size:1rem;
  text-decoration:none;
  padding:.85rem 1.7rem;
  border-radius:999px;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:focus-visible{ outline:3px solid var(--honey); outline-offset:3px; }
.btn-honey{ background:var(--honey); color:var(--pine-deep); box-shadow:0 6px 18px rgba(231,163,60,.35); }
.btn-honey:hover{ background:var(--honey-deep); color:var(--white); transform:translateY(-2px); }
.btn-ghost{ border:2px solid var(--pine); color:var(--pine); background:transparent; }
.btn-ghost:hover{ background:var(--pine); color:var(--white); }
.on-dark .btn-ghost{ border-color:rgba(255,255,255,.7); color:var(--white); }
.on-dark .btn-ghost:hover{ background:var(--white); color:var(--pine); }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(246,245,239,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(110,31,41,.08);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:.8rem clamp(1.1rem,4vw,2.5rem);
  /* The header carries more items (7 links + 2 pill buttons) than the --maxw content
     grid was ever meant to hold, so it gets its own wider ceiling — otherwise every
     desktop width in the pre-hamburger range wraps the logo and buttons onto extra
     lines. Body content sections keep using --maxw untouched. */
  max-width:1320px; margin:0 auto;
}
.brand{
  display:flex; align-items:center; gap:.6rem;
  text-decoration:none; color:var(--pine);
  font-family:'Fraunces', serif; font-weight:700; font-size:1.3rem;
  white-space:nowrap;
}
.brand svg{ width:34px; height:34px; flex-shrink:0; }
.brand small{
  display:block; font-family:'Nunito Sans',sans-serif; font-weight:800;
  font-size:.62rem; letter-spacing:.22em; text-transform:uppercase; color:var(--honey-deep);
}
.nav-links{ display:flex; align-items:center; gap:1.1rem; list-style:none; }
.nav-links a{
  text-decoration:none; color:var(--ink); font-weight:700; font-size:.95rem;
  padding:.3rem 0; border-bottom:2px solid transparent;
  white-space:nowrap;
}
.nav-links a:hover, .nav-links a[aria-current="page"]{ border-bottom-color:var(--honey); color:var(--pine); }
.nav-cta{ display:inline-block; line-height:1.3; background:var(--pine); color:var(--white) !important; padding:.55rem 1.1rem !important; border-radius:999px; border-bottom:none !important; white-space:nowrap; }
.nav-cta:hover{ background:var(--moss); }
.nav-signin{ display:inline-block; line-height:1.3; border:2px solid var(--pine) !important; color:var(--pine) !important; padding:.45rem 1rem !important; border-radius:999px; border-bottom:none !important; white-space:nowrap; }
.nav-signin:hover{ background:var(--pine); color:var(--white) !important; }
.nav-toggle{ display:none; background:none; border:0; cursor:pointer; padding:.4rem; flex-shrink:0; }
.nav-toggle span{ display:block; width:26px; height:3px; background:var(--pine); margin:5px 0; border-radius:2px; }

/* The desktop nav's unwrapped content needs ~1029px + 80px padding (~1109px) to lay out
   on one line — 1140px keeps a clean margin above that so the switch to the hamburger
   menu happens before anything gets tight, confirmed by measuring actual rendered widths
   at every breakpoint from 1080-1920px. */
@media (max-width: 1140px){
  .nav-toggle{ display:block; }
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    background:var(--cloud); flex-direction:column; align-items:stretch;
    gap:0; padding:.5rem 1.2rem 1.2rem; display:none;
    border-bottom:1px solid rgba(110,31,41,.12); box-shadow:0 18px 30px rgba(62,18,24,.12);
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ padding:.8rem .2rem; border-bottom:1px solid rgba(110,31,41,.08); }
  .nav-cta{ margin-top:.8rem; text-align:center; }
}

/* ---------- Scalloped divider (signature) ---------- */
.scallop{
  height:26px;
  background:
    radial-gradient(circle at 13px -6px, transparent 18px, var(--cloud) 19px);
  background-size:52px 26px;
  background-repeat:repeat-x;
}
.scallop.into-dark{
  background:
    radial-gradient(circle at 13px -6px, transparent 18px, var(--pine) 19px);
  background-size:52px 26px;
}
.scallop.into-sage{
  background:
    radial-gradient(circle at 13px -6px, transparent 18px, var(--sagebg) 19px);
  background-size:52px 26px;
}

/* ---------- Hero ---------- */
.hero{
  background:var(--pine);
  color:var(--white);
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:radial-gradient(rgba(255,255,255,.05) 2.5px, transparent 2.6px);
  background-size:34px 34px;
  pointer-events:none;
}
.hero-inner{
  position:relative;
  display:grid; grid-template-columns:1.15fr .85fr; gap:3rem;
  align-items:center;
  padding:clamp(3rem,7vw,5.5rem) 0 clamp(3.5rem,7vw,6rem);
}
.hero h1{ color:var(--white); margin:.4rem 0 1.1rem; }
.hero h1 em{ font-style:italic; color:var(--honey); }
.hero p.lede{ font-size:1.15rem; color:rgba(255,255,255,.85); max-width:34rem; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:.9rem; margin-top:1.8rem; }
.hero-note{ margin-top:1.1rem; font-size:.9rem; color:rgba(255,255,255,.65); }

/* Dog-tag review badge (signature) */
.dogtag{
  justify-self:center;
  background:linear-gradient(160deg, #FBF9F2, #EFE9DA);
  border-radius:46% 46% 40% 40% / 34% 34% 60% 60%;
  width:min(300px, 80%);
  aspect-ratio:.82;
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  text-align:center; padding:2rem 1.6rem;
  box-shadow:var(--tag-shadow), inset 0 2px 0 rgba(255,255,255,.9);
  position:relative;
  transform:rotate(3deg);
  transform-origin:50% 24px;
  animation:tag-sway 3.2s ease-in-out infinite alternate;
}
@keyframes tag-sway{
  from{ transform:rotate(4.5deg); }
  to{ transform:rotate(-2.5deg); }
}
.dogtag::before{
  content:""; position:absolute; top:16px; left:50%; transform:translateX(-50%);
  width:16px; height:16px; border-radius:50%;
  background:var(--pine); box-shadow:inset 0 2px 4px rgba(0,0,0,.5);
}
.dogtag .stars{ color:var(--honey-deep); font-size:1.35rem; letter-spacing:.12em; margin-bottom:.3rem; }
.dogtag .big{ font-family:'Fraunces',serif; font-size:2.6rem; font-weight:700; color:var(--pine); line-height:1; }
.dogtag .sub{ font-size:.85rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-soft); margin-top:.4rem; }

@media (max-width: 820px){
  .hero-inner{ grid-template-columns:1fr; }
  .dogtag{ margin-top:.5rem; }
}

/* ---------- Sections ---------- */
section{ padding:clamp(3rem,6.5vw,5rem) 0; }
section.tight{ padding:clamp(2rem,4vw,3rem) 0; }
.sage{ background:var(--sagebg); }
.dark{ background:var(--pine); color:rgba(255,255,255,.88); }
.dark h2, .dark h3{ color:var(--white); }
.section-head{ max-width:44rem; margin-bottom:2.4rem; }
.section-head p{ color:var(--ink-soft); }
.dark .section-head p{ color:rgba(255,255,255,.75); }

/* ---------- Cards ---------- */
.card-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:1.4rem; }
.card{
  background:var(--white);
  border-radius:var(--radius);
  padding:1.8rem 1.6rem;
  box-shadow:0 4px 16px rgba(62,18,24,.07);
  border-top:5px solid var(--honey);
  transition:transform .18s ease, box-shadow .18s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:0 14px 30px rgba(62,18,24,.13); }
.card h3{ margin:.7rem 0 .5rem; }
.card p{ color:var(--ink-soft); font-size:.98rem; }
.card .icon{
  width:52px; height:52px; border-radius:14px;
  background:var(--sagebg); display:grid; place-items:center;
}
.card .icon svg{ width:28px; height:28px; }
.card a.more{ display:inline-block; margin-top:.9rem; font-weight:800; text-decoration:none; }
.card a.more::after{ content:" →"; }

/* ---------- Stat band ---------- */
.stats{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:1.5rem; text-align:center;
}
.stat .num{ font-family:'Fraunces',serif; font-size:2.6rem; font-weight:700; color:var(--honey); line-height:1.05; }
.stat .lbl{ font-size:.85rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.7); margin-top:.35rem; }

/* ---------- Photo placeholders ---------- */
.ph{
  border-radius:var(--radius);
  background:
    linear-gradient(150deg, var(--sagebg), #e8d5cf);
  min-height:260px;
  display:grid; place-items:center;
  color:var(--moss); font-weight:800; font-size:.85rem;
  letter-spacing:.12em; text-transform:uppercase;
  border:2px dashed rgba(142,58,68,.35);
  text-align:center; padding:1rem;
}

/* ---------- Split layout ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:center; }
@media (max-width: 820px){ .split{ grid-template-columns:1fr; gap:1.8rem; } }

/* ---------- Checklist ---------- */
.checklist{ list-style:none; margin-top:1rem; }
.checklist li{
  padding-left:2.1rem; position:relative; margin:.65rem 0; color:var(--ink-soft);
}
.checklist li strong{ color:var(--ink); }
.checklist li::before{
  content:"✓"; position:absolute; left:0; top:0;
  width:1.45rem; height:1.45rem; border-radius:50%;
  background:var(--honey); color:var(--pine-deep);
  font-weight:900; font-size:.85rem;
  display:grid; place-items:center;
}
.dark .checklist li{ color:rgba(255,255,255,.8); }
.dark .checklist li strong{ color:var(--white); }

/* ---------- Pricing ---------- */
.price-tables{ display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:1.6rem; align-items:start; }
.price-card{
  background:var(--white); border-radius:var(--radius);
  box-shadow:0 4px 16px rgba(62,18,24,.07); overflow:hidden;
}
.price-card header{
  background:var(--pine); color:var(--white);
  padding:1.1rem 1.5rem;
  display:flex; justify-content:space-between; align-items:center;
}
.price-card header h3{ color:var(--white); font-size:1.15rem; }
.price-card header .tagline{ font-size:.78rem; color:var(--honey); font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.price-card table{ width:100%; border-collapse:collapse; }
.price-card td{
  padding:.85rem 1.5rem; font-size:.98rem;
  border-bottom:1px solid rgba(110,31,41,.08);
}
.price-card tr:last-child td{ border-bottom:none; }
.price-card td:last-child{ text-align:right; font-weight:800; color:var(--pine); white-space:nowrap; }
.price-card th{
  padding:.7rem 1.5rem; font-size:.75rem; font-weight:800; letter-spacing:.1em;
  text-transform:uppercase; color:var(--ink-soft); text-align:right;
  border-bottom:2px solid rgba(110,31,41,.15);
}
.price-card th:first-child{ text-align:left; }
.price-card td.mid{ text-align:right; font-weight:800; color:var(--pine); white-space:nowrap; }
.price-card td:only-child{ text-align:left; font-weight:700; color:var(--ink); white-space:normal; }
.price-card .note{ padding:.9rem 1.5rem 1.2rem; font-size:.85rem; color:var(--ink-soft); background:var(--sagebg); }

/* ---------- FAQ ---------- */
.faq{ max-width:46rem; }
.faq details{
  background:var(--white); border-radius:14px; margin-bottom:.9rem;
  box-shadow:0 3px 12px rgba(62,18,24,.06);
  overflow:hidden;
}
.faq summary{
  cursor:pointer; list-style:none;
  padding:1.1rem 3rem 1.1rem 1.4rem;
  font-weight:800; color:var(--pine); position:relative;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:"+"; position:absolute; right:1.3rem; top:50%;
  transform:translateY(-50%);
  font-size:1.5rem; color:var(--honey-deep); font-weight:400;
  transition:transform .2s ease;
}
.faq details[open] summary::after{ transform:translateY(-50%) rotate(45deg); }
.faq details p, .faq details ul{ padding:0 1.4rem 1.2rem; color:var(--ink-soft); }
.faq details ul{ padding-left:2.6rem; }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:2.5rem; }
@media (max-width:820px){ .contact-grid{ grid-template-columns:1fr; } }
.info-block{ margin-bottom:1.4rem; }
.info-block .lbl{ font-size:.78rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--honey-deep); }
.info-block .val{ font-size:1.15rem; font-weight:700; color:var(--pine); }
.info-block a{ text-decoration:none; }
.hours-table{ width:100%; border-collapse:collapse; max-width:24rem; }
.hours-table td{ padding:.5rem 0; border-bottom:1px solid rgba(110,31,41,.1); font-size:.98rem; }
.hours-table td:last-child{ text-align:right; font-weight:800; color:var(--pine); }

.form{ background:var(--white); border-radius:var(--radius); padding:2rem; box-shadow:0 4px 16px rgba(62,18,24,.07); }
.form label{ display:block; font-weight:800; font-size:.9rem; margin:1rem 0 .35rem; color:var(--pine); }
.form input, .form select, .form textarea{
  width:100%; padding:.75rem .9rem; font:inherit;
  border:1.5px solid rgba(110,31,41,.25); border-radius:10px; background:var(--cloud);
}
.form input:focus, .form select:focus, .form textarea:focus{
  outline:2px solid var(--honey); border-color:var(--honey);
}
.form button{ margin-top:1.4rem; border:0; cursor:pointer; width:100%; }

/* ---------- CTA band ---------- */
.cta-band{ text-align:center; }
.cta-band h2{ margin-bottom:.7rem; }
.cta-band p{ max-width:36rem; margin:0 auto 1.6rem; }

/* ---------- Footer ---------- */
.site-footer{
  background:var(--pine-deep); color:rgba(255,255,255,.75);
  padding:3rem 0 2rem; font-size:.95rem;
}
.footer-grid{
  display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:2.5rem; margin-bottom:2rem;
}
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr; } }
.site-footer h4{
  color:var(--white); font-family:'Fraunces',serif; font-size:1.05rem; margin-bottom:.8rem;
}
.site-footer a{ color:rgba(255,255,255,.75); text-decoration:none; }
.site-footer a:hover{ color:var(--honey); }
.site-footer ul{ list-style:none; }
.site-footer li{ margin:.4rem 0; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12); padding-top:1.4rem;
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:.8rem;
  font-size:.85rem; color:rgba(255,255,255,.5);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero{
  background:var(--pine); color:var(--white);
  padding:clamp(2.5rem,5vw,4rem) 0;
  position:relative; overflow:hidden;
}
.page-hero::before{
  content:""; position:absolute; inset:0;
  background-image:radial-gradient(rgba(255,255,255,.05) 2.5px, transparent 2.6px);
  background-size:34px 34px;
}
.page-hero h1{ color:var(--white); position:relative; }
.page-hero p{ position:relative; color:rgba(255,255,255,.8); max-width:38rem; margin-top:.8rem; font-size:1.1rem; }

/* ---------- Alert / policy callout ---------- */
.callout{
  background:#FFF6E6; border-left:5px solid var(--honey);
  border-radius:0 12px 12px 0;
  padding:1.1rem 1.4rem; margin:1.5rem 0; font-size:.98rem; color:var(--ink-soft);
}
.callout strong{ color:var(--ink); }

/* ---------- Review wall ---------- */
.review-wall{ columns:3 280px; column-gap:1.2rem; }
.review{
  break-inside:avoid; background:var(--white); border-radius:16px;
  padding:1.4rem 1.4rem 1.2rem; margin-bottom:1.2rem;
  box-shadow:0 4px 14px rgba(62,18,24,.08);
  border-top:4px solid var(--honey);
}
.review .stars{ color:var(--honey-deep); letter-spacing:.15em; font-size:.95rem; }
.review p{ color:var(--ink-soft); font-size:.97rem; margin:.5rem 0 .7rem; }
.review .who{ font-weight:800; color:var(--pine); font-size:.92rem; }

/* ---------- Masonry photo gallery ---------- */
.masonry{ columns:3 260px; column-gap:1.1rem; }
.masonry img{
  width:100%; margin-bottom:1.1rem; border-radius:14px;
  box-shadow:0 4px 14px rgba(62,18,24,.1);
  break-inside:avoid;
  transition:transform .18s ease;
}
.masonry img:hover{ transform:scale(1.02); }

/* ---------- Utility ---------- */
.mt-2{ margin-top:2rem; }
.center{ text-align:center; }
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--honey); color:var(--pine-deep);
  padding:.6rem 1rem; font-weight:800; z-index:100;
}
.skip-link:focus{ left:0; }

/* ---------- Reveal-on-scroll (class added by JS; content is fully visible with no JS) ---------- */
.reveal{
  opacity:0; transform:translateY(18px);
  transition:opacity .6s ease, transform .35s ease, box-shadow .18s ease;
}
.reveal.in{ opacity:1; transform:none; }

/* ---------- Back-to-top button ---------- */
.to-top{
  position:fixed; right:1.2rem; bottom:1.2rem; z-index:60;
  width:48px; height:48px; border-radius:50%;
  background:var(--pine); color:var(--white); border:none; cursor:pointer;
  font-size:1.3rem; line-height:1; display:grid; place-items:center;
  box-shadow:0 8px 22px rgba(62,18,24,.28);
  opacity:0; visibility:hidden; transform:translateY(12px);
  transition:opacity .25s ease, transform .25s ease, background .15s ease, visibility 0s linear .25s;
}
.to-top.show{ opacity:1; visibility:visible; transform:none; transition:opacity .25s ease, transform .25s ease, background .15s ease; }
.to-top:hover{ background:var(--moss); }
.to-top:focus-visible{ outline:3px solid var(--honey); outline-offset:3px; }
@media (max-width:600px){ .to-top{ width:44px; height:44px; right:.9rem; bottom:.9rem; } }
