/* ==========================================================================
   Whiskers Care Company — core stylesheet
   Palette sampled from the company logo + the legacy theme accent colours.
   ========================================================================== */

:root {
  /* Brand */
  --sky:        #2ba6f9;
  --sky-deep:   #1668d6;
  --royal:      #1b52ea;
  --gold:       #f6ac01;
  --gold-soft:  #ffc94d;
  --coral:      #fb3502;
  --grass:      #1d9b0b;
  --magenta:    #ff1873;

  /* Neutrals */
  --ink:        #14202e;
  --ink-soft:   #33465c;
  --muted:      #6a7c90;
  --line:       #e6e1d6;
  --cream:      #fdf7ec;
  --cream-deep: #f7edda;
  --white:      #ffffff;

  /* System */
  --shadow-sm: 0 2px 8px rgba(20, 32, 46, .07);
  --shadow:    0 12px 32px -12px rgba(20, 32, 46, .22);
  --shadow-lg: 0 28px 60px -26px rgba(20, 32, 46, .34);
  --radius:    18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .8, .3, 1);

  --font-display: "Outfit", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--sky-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .55em;
  letter-spacing: -.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.9vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); }
p  { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--cream { background: var(--cream); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sky-deep); margin: 0 0 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--coral));
}
.eyebrow--center { justify-content: center; }
.section-head { max-width: 44rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .95rem 1.7rem; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--gold); color: var(--ink); box-shadow: 0 10px 26px -12px rgba(246, 172, 1, .95); }
.btn--primary:hover { background: var(--gold-soft); box-shadow: 0 16px 34px -12px rgba(246, 172, 1, 1); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #203348; }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(20, 32, 46, .18); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(20, 32, 46, .04); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: var(--cream); }
.btn--wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 116px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: auto; height: 90px; }
.brand__name { display: none; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: var(--ink); text-decoration: none;
  padding: .5rem .95rem; border-radius: var(--radius-pill);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: var(--cream-deep); }
.nav a[aria-current="page"] { color: var(--sky-deep); background: rgba(43, 166, 249, .1); }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  text-decoration: none; padding: .5rem .8rem; border-radius: var(--radius-pill);
  white-space: nowrap;
}
.header-phone:hover { background: var(--cream-deep); }
.header-phone svg { width: 1.1em; height: 1.1em; color: var(--sky-deep); }

.nav-toggle {
  display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  background: var(--cream-deep); border: 0; border-radius: 14px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-phone span { display: none; }
  .nav {
    position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch;
    gap: .2rem; padding: 1rem 1.25rem 1.5rem;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 1rem; font-size: 1.1rem; }
  .site-header__inner { position: relative; }
}
@media (max-width: 460px) {
  .brand img { height: 66px; }
  .header-actions .btn { padding: .8rem 1.1rem; font-size: .95rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(168deg, var(--cream) 0%, #fffdf8 55%, #eef7ff 100%);
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(4rem, 8vw, 7rem);
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--sky-deep), var(--royal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__copy .lead { max-width: 34rem; font-size: 1.15rem; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.hero__badge {
  position: absolute; left: -1.2rem; bottom: -1.4rem;
  background: #fff; border-radius: var(--radius); padding: .95rem 1.25rem;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: .8rem; max-width: 17rem;
}
.hero__badge img { width: 42px; height: 42px; border-radius: 0; box-shadow: none; aspect-ratio: auto; }
.hero__badge strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1rem; }
.hero__badge span { font-size: .85rem; color: var(--muted); line-height: 1.45; display: block; }
.hero__blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; z-index: 0;
}
.hero__blob--a { width: 380px; height: 380px; background: rgba(43, 166, 249, .35); top: -120px; right: -80px; }
.hero__blob--b { width: 320px; height: 320px; background: rgba(246, 172, 1, .3); bottom: -140px; left: -110px; }
.hero .wrap { position: relative; z-index: 1; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 1.75rem 2.5rem; margin-top: 2.6rem;
  padding-top: 1.9rem; border-top: 1px solid rgba(20, 32, 46, .1);
}
.hero__stats div strong {
  display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); line-height: 1.1;
}
.hero__stats div span { font-size: .9rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__badge { left: 0; bottom: -1.1rem; }
}

/* ---------- Feature cards (Why choose us) ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  aspect-ratio: 5 / 4; object-fit: cover;
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

.feature-list { list-style: none; display: grid; gap: 1.1rem; margin: 2rem 0 2.2rem; }
.feature-list li {
  display: grid; grid-template-columns: 48px 1fr; gap: 1.1rem; align-items: start;
}
.feature-list .ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  color: #fff; flex: none;
}
.feature-list .ic svg { width: 24px; height: 24px; }
.ic--sky   { background: linear-gradient(140deg, var(--sky), var(--sky-deep)); }
.ic--gold  { background: linear-gradient(140deg, var(--gold-soft), var(--gold)); color: var(--ink); }
.ic--grass { background: linear-gradient(140deg, #45c22f, var(--grass)); }
.ic--coral { background: linear-gradient(140deg, #ff7a45, var(--coral)); }
.feature-list h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.feature-list p { margin: 0; font-size: .98rem; }

/* ---------- Service cards ---------- */
.card-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  margin-top: 3rem;
}
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service__img { position: relative; overflow: hidden; aspect-ratio: 3 / 2; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service:hover .service__img img { transform: scale(1.06); }
.service__tag {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  background: rgba(255, 255, 255, .94); color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .35rem .75rem; border-radius: var(--radius-pill);
}
.service__body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.service__body h3 { margin-bottom: .5rem; }
.service__body p { font-size: .98rem; margin-bottom: 1.3rem; }
.service__link {
  margin-top: auto; align-self: flex-start;
  font-family: var(--font-display); font-weight: 600; color: var(--sky-deep);
  text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
}
.service__link svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.service__link:hover svg { transform: translateX(4px); }

.area-note {
  display: inline-flex; align-items: center; gap: .6rem; flex-wrap: nowrap;
  text-align: left; margin-top: 1.4rem; max-width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: .65rem 1.4rem; font-size: .97rem; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.area-note svg { width: 1.15em; height: 1.15em; color: var(--coral); flex: none; }
@media (max-width: 560px) { .area-note { border-radius: var(--radius); align-items: flex-start; } .area-note svg { margin-top: .25em; } }

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; gap: .85rem; margin: 1.8rem 0 2.2rem; }
.checklist li {
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.05rem;
}
.checklist li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--grass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid; gap: 1.5rem; margin-top: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  align-items: start;
}
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.9rem 1.75rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-self: start;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card--feature { border-color: var(--gold); box-shadow: 0 18px 44px -22px rgba(246, 172, 1, .85); position: relative; }
.price-card__flag {
  position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--ink); font-family: var(--font-display); font-weight: 700;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: var(--radius-pill); white-space: nowrap;
}
.price-card__head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.3rem; min-height: 46px; }
.price-card__head .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }
.price-card__head .ic svg { width: 24px; height: 24px; }
.price-card__head h3 { margin: 0; font-size: 1.18rem; }
.price-list { list-style: none; display: grid; gap: .1rem; }
.price-list li {
  display: flex; align-items: baseline; gap: .75rem;
  padding: .68rem 0; border-bottom: 1px dashed var(--line); font-size: .99rem;
}
.price-list li:last-child { border-bottom: 0; }
.price-list .label { color: var(--ink-soft); }
.price-list .dots { flex: 1; border-bottom: 1px dotted rgba(106, 124, 144, .4); transform: translateY(-4px); }
.price-list .amount { font-family: var(--font-display); font-weight: 700; color: var(--ink); white-space: nowrap; }
.price-list li.is-addon .label { color: var(--muted); font-size: .93rem; padding-left: .9rem; position: relative; }
.price-list li.is-addon .label::before {
  content: "+"; position: absolute; left: 0; color: var(--gold); font-weight: 700;
}
.price-list li.is-addon .amount { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.price-note { font-size: .9rem; color: var(--muted); margin: 1.2rem 0 0; }

.price-card--wide { grid-column: 1 / -1; }
.price-card--wide .price-list { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 0 3rem; display: grid; }

/* ---------- Promo band ---------- */
.promo {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  isolation: isolate; color: #fff;
  padding: clamp(2.6rem, 5vw, 4rem) clamp(1.6rem, 4vw, 3.5rem);
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
.promo::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/promo-banner.jpg") center / cover no-repeat;
  background-image: image-set(url("../img/promo-banner.webp") type("image/webp"),
                              url("../img/promo-banner.jpg") type("image/jpeg"));
}
.promo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(20, 32, 46, .94) 10%, rgba(20, 32, 46, .8) 55%, rgba(22, 60, 150, .82) 100%);
}
.promo .eyebrow { color: var(--gold-soft); }
.promo .eyebrow::before { background: var(--gold); }
.promo h2 { color: #fff; margin-bottom: .35em; }
.promo p { color: rgba(255, 255, 255, .86); margin: 0; font-size: 1.1rem; max-width: 34rem; }
.promo__off {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  color: var(--gold-soft);
}
@media (max-width: 760px) { .promo { grid-template-columns: 1fr; } }

/* ---------- CTA band (dark) ---------- */
.cta-band {
  background: var(--ink); color: rgba(255, 255, 255, .82);
  border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2.4rem, 5vw, 3.75rem) clamp(1.6rem, 4vw, 3.5rem);
  position: relative;
}
.cta-band h2 { color: #fff; }
.cta-band p { margin-bottom: 1.8rem; }
.cta-band__art img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band__art { display: none; } }

/* ---------- Blog ---------- */
.post-card {
  display: grid; grid-template-columns: minmax(0, .95fr) 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card__img { height: 100%; min-height: 260px; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.5rem 2rem 1.9rem 0; }
.post-card__meta {
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
  font-size: .85rem; color: var(--muted); margin-bottom: .9rem;
}
.chip {
  background: rgba(43, 166, 249, .12); color: var(--sky-deep);
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  padding: .25rem .7rem; border-radius: var(--radius-pill); text-decoration: none;
}
.post-card h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
@media (max-width: 780px) {
  .post-card { grid-template-columns: 1fr; }
  .post-card__body { padding: 0 1.6rem 1.9rem; }
  .post-card__img { min-height: 200px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--cream) 0%, #fffdf8 60%, #eef7ff 100%);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 4.5rem);
  position: relative; overflow: hidden;
}
.page-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 1; object-fit: cover; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { max-width: 36rem; }
@media (max-width: 880px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__media { display: none; } }

.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .9rem; color: var(--muted); margin-bottom: 1.2rem; list-style: none; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--sky-deep); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: rgba(106, 124, 144, .55); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-details { list-style: none; display: grid; gap: 1.1rem; margin: 2rem 0; }
.contact-details li { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; align-items: center; }
.contact-details .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.contact-details .ic svg { width: 22px; height: 22px; }
.contact-details span { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-details a, .contact-details strong {
  font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.08rem;
  text-decoration: none; word-break: break-word;
}
.contact-details a:hover { color: var(--sky-deep); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.5rem); box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field label .req { color: var(--coral); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 14px;
  background: var(--cream); transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; background: #fff; border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(43, 166, 249, .16);
}
/* Third-party embedded form (SureForm). Reserve height so the card does not
   collapse while the script loads, and keep whatever it injects responsive. */
.embed-form { min-height: 600px; }
/* Height is left alone — the embed script sets it and keeps it in sync with
   the form's content. Only the width is forced. */
.embed-form iframe { display: block; width: 100% !important; max-width: 100%; border: 0; }
.embed-form noscript p { margin: 0; font-size: .95rem; }

.form-status { margin: 1rem 0 0; font-size: .95rem; border-radius: 14px; padding: .85rem 1.1rem; display: none; }
.form-status.is-visible { display: block; }
.form-status[data-state="ok"] { background: rgba(29, 155, 11, .1); color: #15720a; }
.form-status[data-state="error"] { background: rgba(251, 53, 2, .1); color: #b32a05; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 940px) { .article-layout { grid-template-columns: 1fr; } }
.article { font-size: 1.08rem; }
.article h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-top: 2.4rem; }
.article h3 { margin-top: 1.8rem; font-size: 1.2rem; }
.article p strong, .article h3 strong { color: var(--ink); }
.article__hero img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 2.2rem; }
.article__meta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; color: var(--muted); font-size: .92rem; margin-bottom: 1.6rem; }
.article__share { display: flex; gap: .55rem; align-items: center; margin: 2.5rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.article__share span { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin-right: .3rem; }
.share-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream-deep); color: var(--ink); text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.share-btn:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.share-btn svg { width: 18px; height: 18px; }

.sidebar { display: grid; gap: 1.25rem; position: sticky; top: 132px; }
.widget { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.widget h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.widget ul { list-style: none; display: grid; gap: .7rem; }
.widget a { color: var(--ink-soft); text-decoration: none; font-size: .97rem; }
.widget a:hover { color: var(--sky-deep); }
.widget--cta { background: var(--ink); border-color: var(--ink); color: rgba(255,255,255,.8); text-align: center; }
.widget--cta h3 { color: #fff; }
.widget--cta p { font-size: .95rem; }
@media (max-width: 940px) { .sidebar { position: static; } }

/* ---------- Newsletter + footer ---------- */
.newsletter {
  background: linear-gradient(120deg, var(--sky-deep), var(--royal));
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1fr auto; gap: 1.8rem; align-items: center;
}
.newsletter h2 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.9rem); margin: 0; max-width: 26ch; }
.newsletter form { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter input {
  font: inherit; padding: .9rem 1.2rem; border-radius: var(--radius-pill);
  border: 0; min-width: 260px; flex: 1; color: var(--ink);
}
.newsletter input:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 800px) { .newsletter { grid-template-columns: 1fr; } .newsletter input { min-width: 0; } }

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .68); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-size: 1rem; letter-spacing: .04em; margin: 0 0 1.1rem; }
.site-footer ul { list-style: none; display: grid; gap: .65rem; }
.site-footer a { color: rgba(255, 255, 255, .68); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer p { font-size: .95rem; }
.footer-brand img { height: 74px; width: auto; margin-bottom: 1rem; background: #fff; border-radius: 14px; padding: .5rem .7rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); color: #fff;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.socials a:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .88rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.no-js .reveal { opacity: 1; transform: none; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Floating chat widget ---------- */
.chat { position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 95; }

/* --- launcher --- */
.chat__launcher {
  display: flex; align-items: center; gap: .6rem;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font-display); color: var(--ink);
}
.chat__orb {
  position: relative; flex: none;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--gold-soft), var(--gold));
  color: var(--ink);
  box-shadow: 0 14px 32px -10px rgba(246, 172, 1, .95);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.chat__orb svg { width: 26px; height: 26px; grid-area: 1 / 1; transition: opacity .2s var(--ease), transform .3s var(--ease); }
.chat__orb-x { opacity: 0; transform: rotate(-45deg) scale(.7); }
.chat__launcher:hover .chat__orb { transform: translateY(-3px) scale(1.04); }
.chat__launcher:focus-visible { outline: none; }
.chat__launcher:focus-visible .chat__orb { outline: 3px solid var(--sky-deep); outline-offset: 4px; }

/* pulsing halo */
.chat__orb::before, .chat__orb::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--gold); z-index: -1; opacity: 0;
  animation: chat-pulse 2.6s var(--ease) infinite;
}
.chat__orb::after { animation-delay: 1.3s; }
@keyframes chat-pulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.85); opacity: 0; }
  100% { transform: scale(1.85); opacity: 0; }
}

/* --- typewriter speech bubble --- */
.chat__bubble {
  position: relative; display: inline-grid;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: .6rem 1.05rem; box-shadow: var(--shadow);
  font-weight: 600; font-size: .95rem; line-height: 1.3; white-space: nowrap;
  text-align: left;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
/* Holds the width of the longest phrase so the bubble never resizes mid-type. */
.chat__sizer { grid-area: 1 / 1; visibility: hidden; height: 0; }
.chat__type { grid-area: 1 / 1; }
.chat__bubble::after {
  content: ""; position: absolute; right: -6px; top: 50%; margin-top: -6px;
  width: 12px; height: 12px; background: #fff;
  border-right: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.chat__type::after {
  content: ""; display: inline-block; width: 2px; height: 1em;
  background: var(--coral); margin-left: 2px; vertical-align: -.15em;
  animation: chat-caret 1s steps(1) infinite;
}
@keyframes chat-caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* --- open state --- */
.chat.is-open .chat__bubble { opacity: 0; transform: translateX(12px); pointer-events: none; }
.chat.is-open .chat__orb::before, .chat.is-open .chat__orb::after { animation: none; opacity: 0; }
.chat.is-open .chat__orb-chat { opacity: 0; transform: rotate(45deg) scale(.7); }
.chat.is-open .chat__orb-x { opacity: 1; transform: none; }

/* --- panel --- */
.chat__panel {
  position: absolute; right: 0; bottom: calc(100% + .85rem);
  width: min(20.5rem, calc(100vw - 2.3rem));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.15rem;
  transform-origin: bottom right;
  animation: chat-in .28s var(--ease) both;
}
.chat__panel[hidden] { display: none; }
@keyframes chat-in {
  from { opacity: 0; transform: translateY(10px) scale(.94); }
  to   { opacity: 1; transform: none; }
}
.chat__panel-head { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1.1rem; }
.chat__title { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.1rem; margin: 0; }
.chat__sub { margin: .15rem 0 0; font-size: .88rem; color: var(--muted); }
.chat__close {
  margin-left: auto; flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: var(--cream-deep); color: var(--ink-soft); cursor: pointer;
  display: grid; place-items: center; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.chat__close:hover { background: var(--ink); color: #fff; }
.chat__close svg { width: 16px; height: 16px; }

.chat__action {
  display: flex; align-items: center; gap: .85rem;
  padding: .8rem .9rem; border-radius: var(--radius);
  background: var(--cream); text-decoration: none; color: var(--ink);
  margin-bottom: .6rem;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.chat__action:hover { transform: translateX(3px); }
.chat__action--call:hover { background: rgba(43, 166, 249, .14); }
.chat__action--text:hover { background: rgba(29, 155, 11, .12); }
.chat__action-ic {
  flex: none; width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center; color: #fff;
}
.chat__action-ic svg { width: 20px; height: 20px; }
.chat__action--call .chat__action-ic { background: linear-gradient(140deg, var(--sky), var(--sky-deep)); }
.chat__action--text .chat__action-ic { background: linear-gradient(140deg, #45c22f, var(--grass)); }
.chat__action-txt { display: grid; line-height: 1.3; }
.chat__action-txt strong { font-family: var(--font-display); font-size: 1rem; }
.chat__action-txt span { font-size: .86rem; color: var(--muted); }
.chat__action-go { width: 18px; height: 18px; margin-left: auto; color: var(--muted); flex: none; }

.chat__note { margin: .9rem 0 0; text-align: center; font-size: .8rem; color: var(--muted); }

@media (max-width: 600px) {
  .chat { right: .9rem; bottom: .9rem; }
  .chat__bubble { font-size: .88rem; padding: .5rem .85rem; }
  .chat__orb { width: 54px; height: 54px; }
  .chat__orb svg { width: 23px; height: 23px; }
}
@media (max-width: 380px) {
  .chat__bubble { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .chat__orb::before, .chat__orb::after { animation: none; opacity: 0; }
  .chat__type::after { animation: none; opacity: 1; }
  .chat__panel { animation: none; }
}
