/* ==========================================================================
   Echotrack Kennel Solutions — prospect concept
   Countryside "holiday camp" for dogs. Terracotta / mustard / sky / sand.
   ========================================================================== */

:root {
  /* Palette — proposed demo direction (no verified brand colours) */
  --terra: #a8471f;         /* button-safe terracotta */
  --terra-dark: #8a3a19;
  --terra-bright: #b5522b;
  --mustard: #e0b13c;
  --sky: #9fd3e6;
  --sand: #f5ecd9;
  --sand-2: #ebdfc4;
  --charcoal: #2b2622;
  --field: #6a9a4a;

  --text: #2b2622;
  --text-soft: #635a50;
  --on-dark: #f5ecd9;
  --on-dark-soft: #cfc4b0;
  --line: #e0d4ba;
  --focus: #a8471f;

  --font-display: Georgia, "Times New Roman", serif;
  --font-badge: Verdana, Tahoma, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --space-2: 1rem; --space-3: 1.5rem; --space-4: 2rem; --space-6: 3rem; --space-8: 4rem;
  --section: clamp(4rem, 9vw, 7rem);
  --container-wide: 85rem;
  --header-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--sand); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0 0 var(--space-2); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); }
h1 span { display: block; font-style: italic; color: var(--terra-bright); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 var(--space-2); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap--wide { width: min(100% - 2.5rem, var(--container-wide)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: var(--charcoal); color: #fff; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.camp-tag { display: inline-block; padding: .3rem .8rem; border: 2px solid var(--mustard); border-radius: 999px; font-family: var(--font-badge); font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); margin-bottom: var(--space-3); }
.camp-tag--dark { border-color: var(--terra); color: var(--terra); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.9rem; padding: .7rem 1.35rem; border: 2px solid transparent; border-radius: 12px; font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn--lg { min-height: 3.4rem; padding: .85rem 1.7rem; font-size: 1.05rem; }
.btn--terra { background: var(--terra); color: #fff; }
.btn--terra:hover { background: var(--terra-dark); }
.btn--outline { border-color: var(--sand); color: var(--sand); }
.btn--outline:hover { background: var(--sand); color: var(--charcoal); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 236, 217, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: var(--space-4); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.badge-mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--terra-bright); box-shadow: 0 0 0 3px var(--sand), 0 0 0 5px var(--mustard); flex: none; }
.badge-mark svg { width: 1.6rem; height: 1.6rem; fill: var(--sand); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-badge); font-weight: 700; font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; }
.brand-sub { font-family: var(--font-badge); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); margin-top: .25rem; }
.site-nav { display: none; }
.site-nav ul { display: flex; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-weight: 700; font-size: .95rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--terra-bright); }
.header-call { padding-inline: .9rem; min-height: 2.6rem; }
.header-call span { display: none; }
@media (min-width: 30rem) { .header-call span { display: inline; } }
@media (min-width: 56rem) { .site-nav { display: block; } }

/* Hero */
.hero { background: var(--charcoal); color: var(--on-dark); padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; gap: var(--space-6); align-items: center; }
.hero h1 { max-width: 14ch; margin-bottom: var(--space-3); }
.hero h1 span { color: var(--mustard); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.22rem); color: var(--on-dark-soft); max-width: 35rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: var(--space-4) 0 var(--space-3); }

.open-status { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .95rem; color: var(--on-dark-soft); margin: 0; }
.open-status::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: #776d61; flex: none; }
.open-status.is-open { color: #9fe0b5; }
.open-status.is-open::before { background: #3cc37a; }
.open-status.is-closed { color: #f4b496; }
.open-status.is-closed::before { background: var(--terra-bright); }
.panel .open-status { color: var(--text-soft); }
.panel .open-status.is-open { color: #1b6e4d; }
.panel .open-status.is-closed { color: var(--terra-dark); }

.video-card { justify-self: center; width: min(100%, 24rem); padding: .8rem; border-radius: 22px; background: #fff; color: var(--charcoal); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); transform: rotate(2deg); }
.video-head { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9rem; margin-bottom: .6rem; }
.video-day { margin-left: auto; font-size: .78rem; color: var(--text-soft); }
.rec { width: .6rem; height: .6rem; border-radius: 50%; background: #d64545; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
.video-frame { position: relative; border-radius: 14px; overflow: hidden; }
.video-frame svg { width: 100%; height: auto; }
.play { position: absolute; left: 50%; top: 50%; width: 3.4rem; height: 3.4rem; margin: -1.7rem 0 0 -1.7rem; border-radius: 50%; background: rgba(43, 38, 34, .7); }
.play::after { content: ""; position: absolute; left: 1.3rem; top: 1rem; border: .7rem solid transparent; border-left: 1.1rem solid #fff; }
.pup--big { animation: run 3s ease-in-out infinite; }
.pup--small, .pup--small2 { animation: run 2.4s ease-in-out infinite reverse; }
@keyframes run { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(14px); } }
.video-foot { display: flex; justify-content: space-between; font-size: .85rem; color: var(--text-soft); margin-top: .5rem; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.15fr 1fr; } }

/* Paw-track divider */
.tracks { height: 46px; background: var(--sand-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='46' viewBox='0 0 120 46'%3E%3Cg fill='%23d6c7a6'%3E%3Cg transform='translate(18 26) rotate(80)'%3E%3Cellipse cx='0' cy='4' rx='5' ry='4'/%3E%3Ccircle cx='-5' cy='-3' r='2'/%3E%3Ccircle cx='-1.6' cy='-6' r='2'/%3E%3Ccircle cx='1.6' cy='-6' r='2'/%3E%3Ccircle cx='5' cy='-3' r='2'/%3E%3C/g%3E%3Cg transform='translate(68 16) rotate(100)'%3E%3Cellipse cx='0' cy='4' rx='5' ry='4'/%3E%3Ccircle cx='-5' cy='-3' r='2'/%3E%3Ccircle cx='-1.6' cy='-6' r='2'/%3E%3Ccircle cx='1.6' cy='-6' r='2'/%3E%3Ccircle cx='5' cy='-3' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat-x center; }

/* Sections */
.section { padding-block: var(--section); }
.section-head { max-width: 42rem; margin-bottom: var(--space-6); }

.badges { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.badges li { position: relative; padding: var(--space-4) var(--space-3) var(--space-3); background: #fff; border-radius: 18px; border: 2px dashed var(--line); }
.badges p { margin: 0; color: var(--text-soft); }
.badge { display: inline-grid; place-items: center; width: 3.4rem; height: 3.4rem; margin-bottom: var(--space-2); border-radius: 50%; background: var(--mustard); color: var(--charcoal); font-family: var(--font-badge); font-weight: 700; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--terra-bright); }
.badges li:nth-child(even) .badge { background: var(--sky); }
@media (min-width: 48rem) { .badges { grid-template-columns: 1fr 1fr; } }
@media (min-width: 72rem) { .badges { grid-template-columns: repeat(4, 1fr); } }

/* Setting */
.setting { background: var(--terra-dark); color: var(--on-dark); padding-block: var(--section); }
.setting-grid { display: grid; gap: var(--space-6); align-items: center; }
.setting p { color: #f1dccd; max-width: 34rem; }
.map-card svg { width: 100%; max-width: 30rem; margin-inline: auto; }
@media (min-width: 60rem) { .setting-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }

/* Book */
.book-grid { display: grid; gap: var(--space-4); align-items: start; }
.big-phone { display: inline-block; font-family: var(--font-badge); font-weight: 700; font-size: clamp(2.2rem, 7vw, 3.8rem); letter-spacing: .02em; line-height: 1; text-decoration: none; color: var(--terra); margin: var(--space-2) 0; }
.big-phone:hover { color: var(--terra-dark); }
.where { font-family: var(--font-badge); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--text-soft); margin-bottom: var(--space-4); }
.panel { padding: var(--space-4); background: #fff; border-radius: 18px; border: 2px solid var(--line); }
.panel h3 { font-size: 1.25rem; }
.panel .open-status { margin-bottom: var(--space-2); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .45rem 0; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; color: var(--terra); }
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding: .5rem 0 .5rem 1.7rem; border-top: 1px dashed var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .9rem; width: .9rem; height: .9rem; border-radius: 50%; background: var(--mustard); box-shadow: 0 0 0 2px var(--terra-bright); }
@media (min-width: 52rem) { .book-grid { grid-template-columns: 1fr 1fr; } .book-grid > div:first-child { grid-column: 1 / -1; } }
@media (min-width: 72rem) { .book-grid { grid-template-columns: 1.2fr 1fr 1fr; } .book-grid > div:first-child { grid-column: auto; } }

/* Footer */
.site-footer { background: var(--charcoal); color: var(--on-dark-soft); padding: var(--space-8) 0 calc(var(--space-4) + 4.5rem); font-size: .95rem; }
.footer-inner { display: grid; gap: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid rgba(245, 236, 217, .14); }
.footer-inner strong { color: var(--sand); }
.footer-inner p { margin: 0; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer a { color: var(--sand); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.disclosure { margin: var(--space-3) 0 0; font-size: .8rem; opacity: .75; }
@media (min-width: 48rem) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } .site-footer { padding-bottom: var(--space-4); } }

/* Call bar + toast */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(245, 236, 217, .96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
.call-bar .btn { width: 100%; }
.call-bar .btn span { font-weight: 500; opacity: .9; }
@media (min-width: 48rem) { .call-bar { display: none; } }
.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 70; max-width: calc(100% - 2rem); padding: .8rem 1.2rem; background: var(--charcoal); color: var(--sand); border-left: 5px solid var(--mustard); border-radius: 10px; font-weight: 600; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45); transform: translate(-50%, 1rem); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 47.99rem) { .toast { bottom: 5.5rem; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
