/* ==========================================================================
   VetHouse Veterinary Clinic
   1. Tokens        2. Reset       3. Type        4. Layout
   5. Header        6. Hero        7. Front desk  8. Components
   9. Blog         10. Forms      11. Footer     12. Responsive
   ========================================================================== */

/* 1. TOKENS ================================================================ */
:root {
  /* colour — sampled from the VetHouse logo */
  --ink:        #072331;   /* the wordmark navy */
  --ink-soft:   #46606d;
  --paper:      #f7f9fa;
  --white:      #ffffff;
  --sky:        #dcecf7;
  --sky-soft:   #eef6fb;

  --blue:       #59afe2;   /* dog tile   */
  --blue-deep:  #1b7bb0;   /* links, primary buttons — passes contrast on white */
  --yellow:     #ffd213;   /* cat tile   */
  --red:        #ed1e24;   /* cross tile */
  --red-deep:   #cf1319;   /* urgent bar — passes contrast with white text */
  --green:      #9ccc3c;   /* house tile */
  --green-deep: #5d8a1c;

  --line:       rgba(7, 35, 49, .13);
  --line-firm:  rgba(7, 35, 49, .26);

  /* type */
  --display: "Jost", "Century Gothic", sans-serif;
  --body:    "Figtree", -apple-system, "Segoe UI", sans-serif;
  --ui:      "Jost", "Century Gothic", sans-serif;
  --prose:   "Source Serif 4", Georgia, serif;

  /* space + shape */
  --wrap: 1140px;
  --gut: clamp(1.15rem, 4vw, 2.5rem);
  --r: 8px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(7,35,49,.05), 0 12px 32px -16px rgba(7,35,49,.28);
}

/* 2. RESET ================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.02rem, .3vw + .96rem, 1.12rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 2px; border-radius: 3px; }
/* on the navy bands the ring flips to yellow so it stays visible */
.footer :focus-visible, .section--ink :focus-visible,
.desk__top :focus-visible { outline-color: var(--yellow); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.skip {
  position: absolute; left: .5rem; top: -4rem; z-index: 99;
  background: var(--ink); color: var(--white); padding: .7rem 1.1rem;
  font-family: var(--ui); font-size: .9rem; border-radius: var(--r);
  transition: top .18s ease;
}
.skip:focus { top: .5rem; color: var(--white); }
.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* 3. TYPE ================================================================== */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.018em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.18rem, 1.5vw, 1.4rem); letter-spacing: -.012em; }
h4 { font-size: 1.05rem; letter-spacing: -.008em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
.lede {
  font-size: clamp(1.14rem, .55vw + 1.03rem, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
}
.eyebrow {
  font-family: var(--ui);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::after {
  content: ""; height: 1px; flex: 1; background: var(--line-firm);
}
.measure { max-width: 62ch; }

/* 4. LAYOUT ================================================================ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(3.2rem, 7vw, 5.6rem); }
.section--tight { padding-block: clamp(2.4rem, 4.5vw, 3.4rem); }
.section--sky { background: var(--sky-soft); border-block: 1px solid var(--line); }
.section--ink { background: var(--ink); color: var(--sky); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .eyebrow { color: var(--yellow); }
.section--ink .eyebrow::after { background: rgba(255,255,255,.28); }
.section-head { margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); max-width: 56ch; }
.section-head p { color: var(--ink-soft); }
.section--ink .section-head p { color: var(--sky); }
.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)); }
.split { display: grid; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: start; }
@media (min-width: 60rem) { .split { grid-template-columns: 1.05fr .95fr; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* 5. HEADER ================================================================ */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246,247,244,.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 4.4rem;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 700; font-size: 1.06rem;
  letter-spacing: -.02em; line-height: 1.1;
  color: var(--ink); text-decoration: none; margin-right: auto;
}
.brand:hover { color: var(--blue-deep); }
.brand__mark { width: 2.1rem; height: 2.1rem; flex: none; }
.brand small {
  display: block; font-family: var(--ui); font-weight: 500;
  font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: .12em;
}
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  font-family: var(--ui); font-size: .93rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  padding: .5rem .7rem; border-radius: var(--r);
}
.nav a:hover { background: var(--sky); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--blue-deep); box-shadow: inset 0 -2px 0 var(--blue-deep); }
.nav__cta { margin-left: .5rem; }
.burger {
  display: none; background: var(--white); border: 1px solid var(--line-firm);
  border-radius: var(--r); padding: .55rem .7rem; cursor: pointer;
  font-family: var(--ui); font-size: .88rem; font-weight: 600; color: var(--ink);
  align-items: center; gap: .45rem;
}
.burger:hover { background: var(--sky); }

/* 6. BUTTONS =============================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--ui); font-size: .95rem; font-weight: 600; line-height: 1;
  padding: .82rem 1.3rem; border-radius: var(--r); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue-deep); color: var(--white); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--ink); color: var(--white); }
.btn--accent { background: var(--yellow); color: var(--ink); }
.btn--accent:hover { background: #ffdc45; color: var(--ink); }
.btn--ghost { border-color: var(--line-firm); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--blue-deep); }
.btn--sm { padding: .58rem .9rem; font-size: .87rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }

/* 7. HERO ================================================================== */
.hero { padding-block: clamp(2.6rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }
.hero h1 { margin-bottom: .55em; }
.hero__sub { max-width: 44ch; }
.hero__note {
  font-family: var(--ui); font-size: .84rem; color: var(--ink-soft);
  margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
}

/* 8. FRONT DESK (signature element) ======================================== */
.desk {
  background: var(--white);
  border: 1px solid var(--line-firm);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.desk__top {
  background: var(--ink); color: var(--white);
  padding: 1.15rem 1.35rem 1.2rem;
}
.desk__status {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--ui); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: .45rem;
}
.dot {
  width: .62rem; height: .62rem; border-radius: 50%; flex: none;
  background: var(--yellow); position: relative;
}
.dot--open { background: var(--green); }
.dot--open::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--green); animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.desk__headline {
  font-family: var(--display); font-weight: 700; font-size: 1.32rem;
  letter-spacing: -.02em; line-height: 1.15; margin: 0;
}
.desk__hours { padding: .35rem 1.35rem .5rem; margin: 0; }
.desk__hours div {
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--ui); font-size: .88rem;
  padding: .5rem 0; border-bottom: 1px solid var(--line);
}
.desk__hours div:last-child { border-bottom: 0; }
.desk__hours dt { color: var(--ink-soft); }
.desk__hours dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.desk__hours .is-today dt, .desk__hours .is-today dd { color: var(--ink); font-weight: 700; }
.desk__hours .is-shut dd { color: var(--ink-soft); }
.desk__foot {
  background: var(--sky-soft); border-top: 1px solid var(--line);
  padding: 1rem 1.35rem 1.1rem;
  font-family: var(--ui); font-size: .86rem;
}
.desk__foot strong { display: block; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: .25rem; }
.desk__foot a { font-weight: 700; font-size: 1.02rem; }

/* 9. COMPONENTS ============================================================ */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.2rem, 2vw, 1.55rem);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card h3 { margin-bottom: .45em; }
.card p { font-size: .97rem; color: var(--ink-soft); }
.card__num {
  font-family: var(--ui); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep);
  display: block; margin-bottom: .7rem;
}
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-deep); color: inherit; }

/* who we treat — typographic strip */
.species { border-block: 1px solid var(--line-firm); padding-block: 1.5rem; }
.species ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem 0;
}
.species li {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.75rem); letter-spacing: -.02em;
  padding-inline: clamp(.7rem, 2vw, 1.4rem);
  border-right: 1px solid var(--line-firm); line-height: 1.2;
}
.species li:first-child { padding-left: 0; }
.species li:last-child { border-right: 0; }
.species__note { font-family: var(--ui); font-size: .87rem; color: var(--ink-soft); margin: 1.1rem 0 0; }

/* testimonials */
.quote {
  background: var(--white); border: 1px solid var(--line);
  border-left: 3px solid var(--quote, var(--blue));
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: clamp(1.3rem, 2.2vw, 1.7rem);
  display: flex; flex-direction: column;
}
.quote blockquote {
  margin: 0 0 1.1rem; font-size: 1.06rem; line-height: 1.55;
}
.quote figcaption { margin-top: auto; font-family: var(--ui); font-size: .84rem; }
.quote figcaption b { display: block; font-size: .95rem; letter-spacing: -.01em; }
.quote figcaption span { color: var(--ink-soft); }

/* team */
.person { text-align: left; }
.person__photo {
  aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: var(--sky);
  border: 1px solid var(--line); margin-bottom: .9rem; object-fit: cover; width: 100%;
}
.person h3 { margin-bottom: .1em; }
.person__role { font-family: var(--ui); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: .6rem; }
.person p { font-size: .95rem; color: var(--ink-soft); }

/* fact list */
.facts { list-style: none; margin: 0; padding: 0; }
.facts li {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .99rem;
}
.facts li::before {
  content: ""; flex: none; width: .55rem; height: .55rem; margin-top: .55em;
  background: var(--blue); border-radius: 2px; transform: rotate(45deg);
}
.section--ink .facts li { border-color: rgba(255,255,255,.16); }

/* 10. BLOG ================================================================= */
.post-list { display: grid; gap: 1.2rem; }
.post-card {
  display: grid; gap: .3rem 1.6rem; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.15rem, 2vw, 1.6rem);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-deep); color: inherit; }
@media (min-width: 48rem) { .post-card { grid-template-columns: 9rem 1fr; } }
.post-card h3 { margin-bottom: .3em; }
.post-card p { font-size: .97rem; color: var(--ink-soft); margin: 0; }
.meta {
  font-family: var(--ui); font-size: .78rem; letter-spacing: .04em;
  color: var(--ink-soft); text-transform: uppercase;
}
.tag {
  display: inline-block; font-family: var(--ui); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--sky); color: var(--ink);
  padding: .28rem .55rem; border-radius: 3px; margin: .6rem .35rem 0 0;
}

/* article body */
.article { max-width: 68ch; margin-inline: auto; }
.article__head { border-bottom: 1px solid var(--line-firm); padding-bottom: 1.6rem; margin-bottom: 2rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.9em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose blockquote {
  margin: 1.7em 0; padding: .2rem 0 .2rem 1.3rem;
  border-left: 3px solid var(--blue); color: var(--ink-soft); font-size: 1.08rem;
}
.prose img { border-radius: var(--r-lg); margin: 1.8em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line-firm); margin: 2.4em 0; }
.prose code {
  font-size: .9em; background: var(--sky-soft); padding: .1em .35em;
  border-radius: 3px; font-family: ui-monospace, monospace;
}
.callout {
  background: var(--sky-soft); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.2rem 1.4rem; margin: 2rem 0;
  font-size: .98rem;
}
.callout strong { font-family: var(--ui); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); display: block; margin-bottom: .4rem; }

/* 11. FORMS ================================================================ */
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-family: var(--ui); font-size: .87rem; font-weight: 600;
  margin-bottom: .35rem;
}
.field .hint { font-family: var(--ui); font-size: .8rem; color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--ui); font-size: .97rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-firm);
  border-radius: var(--r); padding: .7rem .8rem;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-deep); }
.form-note { font-family: var(--ui); font-size: .84rem; color: var(--ink-soft); margin-top: .9rem; }
.form-msg {
  font-family: var(--ui); font-size: .92rem; border-radius: var(--r);
  padding: .8rem 1rem; margin-bottom: 1.2rem; display: none;
}
.form-msg.is-on { display: block; }
.form-msg--ok { background: #e7f1e5; border: 1px solid var(--green-deep); color: #33512f; }
.form-msg--bad { background: #fdecec; border: 1px solid var(--red-deep); color: #8a1116; }


/* map */
.map {
  border: 1px solid var(--line-firm); border-radius: var(--r-lg);
  overflow: hidden; background: var(--sky);
}
.map iframe { width: 100%; height: 340px; border: 0; }

/* 12. FOOTER =============================================================== */
.footer { background: var(--ink); color: var(--sky); padding-block: clamp(2.6rem, 5vw, 4rem) 1.6rem; }
.footer a { color: var(--white); }
.footer a:hover { color: var(--yellow); }
.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h4 {
  font-family: var(--ui); font-size: .74rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--yellow); margin-bottom: 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; font-family: var(--ui); font-size: .93rem; }
.footer li { margin-bottom: .55rem; }
.footer__brand { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--white); letter-spacing: -.02em; margin-bottom: .5rem; }
.footer__brand + p { font-size: .97rem; max-width: 32ch; }
.footer__legal {
  margin-top: 2.6rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.16);
  font-family: var(--ui); font-size: .8rem; color: rgba(211,223,238,.75);
  display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: space-between;
}

/* 13. RESPONSIVE =========================================================== */
@media (max-width: 56rem) {
  .burger { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: var(--white); border-bottom: 1px solid var(--line-firm);
    padding: .8rem var(--gut) 1.2rem; box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .7rem .5rem; font-size: 1rem; }
  .nav__cta { margin: .5rem 0 0; }
  .species li { border-right: 0; padding-inline: 0; width: 50%; }
}
@media (min-width: 60rem) {
  .hero .split { grid-template-columns: 1.15fr .85fr; align-items: center; }
}

/* print */
@media print {
  .masthead, .footer, .utility, .callfab, .btn-row, .map { display: none; }
  body { background: #fff; }
}

/* hours table when it sits in the dark footer */
.footer .desk__hours { padding: 0; }
.footer .desk__hours div { border-color: rgba(255,255,255,.16); font-size: .85rem; padding: .42rem 0; }
.footer .desk__hours dt { color: rgba(211,223,238,.8); }
.footer .desk__hours dd { color: var(--white); }
.footer .desk__hours .is-today dt,
.footer .desk__hours .is-today dd { color: var(--yellow); }

/* ghost button on a dark background */
.btn--ghost-light { border-color: rgba(255,255,255,.42); color: var(--white); background: transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }

/* eyebrow with no trailing rule (centred layouts) */
.eyebrow--plain { justify-content: center; }
.eyebrow--plain::after { display: none; }

/* centred page (404) */
.centered { text-align: center; }
.centered .lede { margin-inline: auto; max-width: 46ch; }
.centered .btn-row { justify-content: center; }

.note-gap { margin-top: 1.5rem; }
.stack-gap { margin-top: 2.2rem; }
.stack-gap-lg { margin-top: 2rem; }


/* ==========================================================================
   VetHouse brand components
   ========================================================================== */

/* the wordmark in the header */
.brand__mark { width: 2.5rem; height: auto; flex: none; }
.brand__word {
  font-family: var(--display); font-weight: 500; font-size: 1.62rem;
  letter-spacing: .005em; line-height: 1; color: var(--ink);
}
.brand__word em { font-style: normal; font-weight: 300; }
.brand:hover .brand__word { color: var(--blue-deep); }

/* the four doors — one per logo tile */
.doors { display: grid; gap: clamp(.9rem, 2vw, 1.4rem); }
@media (min-width: 34rem) { .doors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 66rem) { .doors { grid-template-columns: repeat(4, 1fr); } }

.door {
  display: block; text-decoration: none; color: inherit;
  background: var(--white, #fff);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  border-bottom: 5px solid var(--door, var(--blue));
  padding: clamp(1.1rem, 2vw, 1.5rem);
  transition: transform .18s ease, box-shadow .18s ease;
}
.door:hover, .door:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.door img { width: 4.2rem; height: auto; margin-bottom: .9rem; }
.door h3 { font-size: 1.22rem; margin-bottom: .35em; }
.door p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.door__go {
  display: inline-block; margin-top: .9rem;
  font-family: var(--ui); font-weight: 600; font-size: .88rem;
  color: var(--blue-deep);
}
.door:hover .door__go { text-decoration: underline; }
.door--dog  { --door: #59afe2; }
.door--cat  { --door: #ffd213; }
.door--care { --door: #ed1e24; }
.door--home { --door: #9ccc3c; }

/* logo in the footer */
.footer__logo { width: 8.5rem; height: auto; margin-bottom: 1rem; }

/* article prose gets a serif, loaded only on post.html */
.prose { font-family: var(--prose); font-size: 1.09rem; line-height: 1.68; }
.prose h2, .prose h3 { font-family: var(--display); }


/* accent button: the logo yellow with navy text */
.btn--accent { background: var(--yellow); color: var(--ink); }
.btn--accent:hover { background: #ffdc45; color: var(--ink); }


/* footer lockup */
.footer__logo { width: 4.6rem; height: auto; margin-bottom: .85rem; }
.footer__brand {
  font-family: var(--display); font-weight: 500; font-size: 1.5rem;
  letter-spacing: .005em; color: var(--white); margin-bottom: .5rem;
}
.footer__brand em { font-style: normal; font-weight: 300; }


/* testimonials cycle through the logo palette */
.quote:nth-child(3n+1) { --quote: #59afe2; }
.quote:nth-child(3n+2) { --quote: #9ccc3c; }
.quote:nth-child(3n+3) { --quote: #ed1e24; }

/* ==========================================================================
   Mobile corrections
   ========================================================================== */

/* long words and email addresses must never push the layout sideways */
p, li, dd, dt, h1, h2, h3, h4, blockquote, .facts li { overflow-wrap: break-word; }

/* images carry width/height attributes for layout stability — keep the ratio */
img { height: auto; }

/* --- touch targets: 44px is the Apple and Android minimum --------------- */
.btn { min-height: 44px; }
.btn--sm { min-height: 40px; }
.burger { min-height: 44px; min-width: 44px; justify-content: center; }
.field input, .field select { min-height: 44px; }
/* 16px stops iOS zooming the page when a field is focused */
.field input, .field select, .field textarea { font-size: 1rem; }

@media (max-width: 56rem) {
  .nav a { min-height: 44px; display: flex; align-items: center; }
  .nav__cta { margin: .7rem 0 0; padding: .82rem 1.3rem; font-size: .95rem; min-height: 44px; }
}

/* --- the opening-hours board on small phones ---------------------------- */
@media (max-width: 30rem) {
  .desk__hours { padding-inline: 1rem; }
  .desk__hours div { font-size: .82rem; gap: .6rem; }
  .desk__top, .desk__foot { padding-inline: 1rem; }
}
/* below ~352px the day and its hours no longer fit side by side */
@media (max-width: 22rem) {
  .desk__hours div { flex-wrap: wrap; }
  .desk__hours dd { width: 100%; text-align: left; }
}


/* ==========================================================================
   Bara informativă de sus (a înlocuit banda roșie)
   ========================================================================== */
.utility {
  background: var(--sky-soft);
  border-bottom: 1px solid var(--line);
  font-family: var(--ui);
  font-size: .84rem;
  color: var(--ink-soft);
}
.utility .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .35rem 1.15rem; padding-block: .55rem;
}
.utility a { color: var(--ink); font-weight: 600; text-decoration: none; }
.utility a:hover { color: var(--blue-deep); text-decoration: underline; }
.utility__status {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--ink);
}
.utility__push { margin-left: auto; }
/* the dot is the only colour here: green when open, red when shut */
.utility .dot { background: var(--red); width: .55rem; height: .55rem; }
.utility .dot--open { background: var(--green-deep); }
.utility .dot--open::after { display: none; }   /* no pulsing on a pale strip */

@media (max-width: 44rem) {
  .utility__addr { display: none; }
  .utility__push { margin-left: auto; }
}

/* ==========================================================================
   Nota care apare doar în afara programului
   ========================================================================== */
.desk__closed {
  margin: .9rem 0 0;
  padding: .7rem .85rem;
  background: #fdecec;
  border-left: 3px solid var(--red-deep);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: .84rem; line-height: 1.45; color: var(--ink);
}
.desk__closed strong {
  display: block; font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red-deep); margin-bottom: .25rem;
}
.desk__closed a { display: inline-block; margin-top: .35rem; font-weight: 700; }
.desk__closed[hidden] { display: none; }

/* ==========================================================================
   Buton de apel fix, doar pe telefon
   ========================================================================== */
.callfab { display: none; }
@media (max-width: 56rem) {
  .callfab {
    display: inline-flex; align-items: center; gap: .5rem;
    position: fixed; right: 1rem; bottom: 1rem; z-index: 45;
    min-height: 48px; padding: .8rem 1.2rem;
    background: var(--blue-deep); color: var(--white);
    font-family: var(--ui); font-weight: 600; font-size: .95rem;
    border-radius: 999px; text-decoration: none;
    box-shadow: 0 6px 22px -6px rgba(7, 35, 49, .55);
  }
  .callfab:hover, .callfab:focus-visible { background: var(--ink); color: var(--white); }
  /* keep the footer clear of the button */
  .footer__legal { padding-bottom: 3.2rem; }
}
@media print { .callfab, .utility { display: none; } }
