/* ==========================================================================
   KindnessWorks — Home Technology Care
   Brand: Navy #082A54 · Turquoise #10C5C7 · Blue #078BD5 · Purple #701FD4
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.15vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.35rem + 2.3vw, 3.25rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --navy: #082a54;
  --navy-deep: #051d3b;
  --turquoise: #10c5c7;
  --blue: #078bd5;
  --purple: #701fd4;
  --soft-white: #fafcfd;
  --slate: #425466;

  --brand-gradient: linear-gradient(100deg, var(--turquoise) 0%, var(--blue) 48%, var(--purple) 100%);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(8, 42, 84, 0.06), 0 2px 8px rgba(8, 42, 84, 0.05);
  --shadow: 0 12px 30px -12px rgba(8, 42, 84, 0.18), 0 2px 8px rgba(8, 42, 84, 0.05);
  --shadow-lg: 0 30px 60px -24px rgba(8, 42, 84, 0.28);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
  --header-h: 76px;
}

/* Light (default) */
:root,
[data-theme="light"] {
  --bg: var(--soft-white);
  --bg-alt: #f1f6fa;
  --surface: #ffffff;
  --surface-2: #f7fafc;
  --border: #e2eaf1;
  --border-strong: #cfdce8;
  --heading: var(--navy);
  --body: var(--slate);
  --muted: #6b7d91;
  --on-navy: #eef5fb;
  --link: var(--blue);
}

[data-theme="dark"] {
  --bg: #051526;
  --bg-alt: #071e35;
  --surface: #0a2340;
  --surface-2: #0d2b4d;
  --border: #17395c;
  --border-strong: #23507b;
  --heading: #f2f8fd;
  --body: #b6c8db;
  --muted: #8ea4bd;
  --on-navy: #eef5fb;
  --link: #4fb6ea;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--text-base);
  line-height: 1.65;
  font-feature-settings: "cv02", "cv03", "cv04", "ss01";
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  color: var(--heading);
  font-weight: 700;
  letter-spacing: -0.021em;
  line-height: 1.14;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

h1 {
  font-size: var(--text-2xl);
}
h2 {
  font-size: var(--text-xl);
}
h3 {
  font-size: var(--text-lg);
  line-height: 1.3;
}
p {
  margin: 0 0 var(--space-4);
  text-wrap: pretty;
}
a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
ul {
  margin: 0 0 var(--space-4);
  padding-left: 1.15rem;
}
li {
  margin-bottom: var(--space-2);
}
strong {
  color: var(--heading);
  font-weight: 650;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: var(--space-3) var(--space-5);
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-10));
}
.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.section--tight {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.section--alt {
  background: var(--bg-alt);
}
.section--navy {
  background: var(--navy);
  color: #c9dcee;
  position: relative;
  overflow: hidden;
}
.section--navy h2,
.section--navy h3 {
  color: #ffffff;
}
[data-theme="dark"] .section--navy {
  background: var(--navy-deep);
}
.section--navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 82% -10%, rgba(16, 197, 199, 0.22), transparent 60%),
    radial-gradient(50% 80% at 8% 110%, rgba(112, 31, 212, 0.28), transparent 62%);
  pointer-events: none;
}
.section--navy > * {
  position: relative;
}

.stack-sm > * + * {
  margin-top: var(--space-3);
}
.center {
  text-align: center;
}
.measure {
  max-width: 62ch;
}
.measure-narrow {
  max-width: 48ch;
}
.center .measure,
.center .measure-narrow {
  margin-inline: auto;
}

.eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.center .eyebrow {
  justify-content: center;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand-gradient);
  flex: none;
}
.section--navy .eyebrow {
  color: var(--turquoise);
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--body);
}
.section--navy .lead {
  color: #c9dcee;
}

.grad-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-16));
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 620;
  letter-spacing: -0.005em;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--primary {
  background-image: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(7, 139, 213, 0.65);
}
.btn--primary:hover {
  box-shadow: 0 16px 32px -12px rgba(7, 139, 213, 0.8);
}
.btn--outline {
  background: transparent;
  color: var(--heading);
  border-color: var(--border-strong);
}
.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn--light {
  background: #fff;
  color: var(--navy);
}
.btn--ghost-light {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.center .btn-row {
  justify-content: center;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header--scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header .container {
  max-width: 1400px;
}
.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex: none;
}
.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: -0.01em;
}
.brand__name em {
  font-style: normal;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand__descriptor {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 3px;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(var(--space-4), 1.5vw, var(--space-6));
}
.nav a {
  font-size: var(--text-sm);
  white-space: nowrap;
  font-weight: 520;
  color: var(--body);
  text-decoration: none;
  padding: var(--space-2) 0;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav a[aria-current="page"] {
  color: var(--heading);
  font-weight: 600;
}
.nav a.btn--primary {
  color: #fff;
  border-bottom: 0;
}
.nav a.btn--primary::after {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: none;
}
.header__phone {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--heading);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.header__phone:hover {
  color: var(--blue);
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  flex: none;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.icon-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}
[data-theme="dark"] .theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}
[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.nav-toggle {
  display: none;
}
@media (max-width: 1380px) {
  .header__phone {
    display: none;
  }
}

@media (max-width: 1180px) {
  .header__phone {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: var(--space-4) clamp(var(--space-5), 5vw, var(--space-10)) var(--space-6);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav[data-open="true"] {
    opacity: 1;
    transform: none;
    visibility: visible;
  }
  .nav a {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border);
    font-size: var(--text-base);
  }
  .nav a::after {
    display: none;
  }
  .nav .btn {
    margin-top: var(--space-4);
  }
  .header__actions .btn {
    display: none;
  }
}
@media (min-width: 1181px) {
  .nav .btn {
    display: none;
  }
}

/* ---------- Hero ---------- */
body {
  overflow-x: clip; /* clip, not hidden: `hidden` would break position:sticky */
}
.hero {
  position: relative;
  padding-block: clamp(var(--space-12), 6vw, var(--space-24)) clamp(var(--space-12), 7vw, var(--space-24));
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle at center, rgba(16, 197, 199, 0.16), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -35%;
  left: -12%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle at center, rgba(112, 31, 212, 0.12), transparent 62%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: center;
}
.hero h1 {
  margin-bottom: var(--space-5);
}
.hero__media {
  position: relative;
}
.hero__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3.2;
}
.hero__badge {
  position: absolute;
  bottom: -26px;
  left: -34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: max-content;
  max-width: min(320px, 74%);
}
.hero__badge svg {
  width: 30px;
  height: 30px;
  flex: none;
}
.hero__badge span {
  font-size: var(--text-xs);
  line-height: 1.4;
  color: var(--body);
}
.hero__badge b {
  display: block;
  color: var(--heading);
  font-size: var(--text-sm);
}

@media (max-width: 1050px) {
  .hero__badge {
    left: -16px;
  }
}
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__media {
    order: -1;
    margin-bottom: var(--space-8);
  }
  .hero__badge {
    left: auto;
    right: var(--space-4);
    bottom: -20px;
  }
}

/* ---------- Trust strip ---------- */
.trust {
  border-block: 1px solid var(--border);
  background: var(--surface);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: var(--space-6) var(--space-8);
  padding-block: var(--space-8);
}
.trust__item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-sm);
  line-height: 1.45;
}
.trust__item svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--blue);
  margin-top: 2px;
}
.trust__item b {
  color: var(--heading);
  display: block;
}
.trust__item span {
  color: var(--muted);
  font-size: var(--text-xs);
}

/* ---------- Answer lines (advertising language) ---------- */
.answers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}
@media (max-width: 900px) {
  .answers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .answers {
    grid-template-columns: 1fr;
  }
}
.answer {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: var(--space-5) var(--space-5) var(--space-4);
  font-size: var(--text-sm);
  color: var(--muted);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.answer:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.answer b {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-base);
  font-weight: 700;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Cards / services ---------- */
.grid {
  display: grid;
  gap: clamp(var(--space-5), 2.4vw, var(--space-8));
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 720px) {
  .grid--2 {
    grid-template-columns: 1fr;
  }
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.04);
}
.card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__body h3 {
  margin-bottom: var(--space-3);
}
.card__body p {
  font-size: var(--text-sm);
  color: var(--body);
}
.card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  font-size: var(--text-sm);
}
.card__list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: var(--space-2);
  color: var(--body);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--brand-gradient);
}
.card__link {
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: 620;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--blue);
}
.card__link:hover {
  gap: var(--space-3);
}

.feature {
  padding: var(--space-6);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.feature__num {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--turquoise);
  display: block;
  margin-bottom: var(--space-3);
}
.feature p {
  font-size: var(--text-sm);
  color: #b8cee2;
  margin: 0;
}
.feature h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(16, 197, 199, 0.16), rgba(112, 31, 212, 0.16));
  color: var(--blue);
  margin-bottom: var(--space-4);
}
.icon-tile svg {
  width: 24px;
  height: 24px;
}

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: center;
}
.split__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split--reverse .split__media {
  order: 2;
}
@media (max-width: 780px) {
  .split--reverse .split__media {
    order: -1;
  }
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: var(--space-8);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: var(--space-6);
  border-top: 2px solid var(--border);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -0.9em;
  left: 0;
  background: var(--bg);
  padding-right: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--blue);
}
.section--alt .step::before {
  background: var(--bg-alt);
}
.step h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}
.step p {
  font-size: var(--text-sm);
  margin: 0;
}

/* ---------- Values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-3);
}
@media (max-width: 1100px) {
  .values {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.value {
  border-radius: var(--radius);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}
.value b {
  display: block;
  color: var(--heading);
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}
.value span {
  font-size: var(--text-xs);
  color: var(--muted);
}

.quote {
  border-left: 3px solid transparent;
  border-image: var(--brand-gradient) 1;
  padding-left: var(--space-6);
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--heading);
  font-weight: 500;
  max-width: 60ch;
}

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: var(--space-6);
}
.testimonial,
.testimonial blockquote,
.testimonial figcaption {
  margin: 0;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.stars {
  display: flex;
  gap: 3px;
  color: var(--turquoise);
}
.stars svg {
  width: 16px;
  height: 16px;
}
.testimonial p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.6;
}
.testimonial footer {
  margin-top: auto;
  font-size: var(--text-xs);
  color: var(--muted);
}
.testimonial footer b {
  display: block;
  color: var(--heading);
  font-size: var(--text-sm);
}
.note {
  font-size: var(--text-xs);
  color: var(--muted);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  display: inline-block;
}

/* ---------- Pills / lists ---------- */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: 0;
  margin: 0 0 var(--space-4);
  list-style: none;
}
.pills li {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 550;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--body);
}
.section--navy .pills li {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: #dcebf7;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
}
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-gradient);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='black'/%3E%3C/svg%3E");
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.5em;
  width: 10px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.x-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.x-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: var(--space-2);
}
.x-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--border-strong);
}

/* ---------- Areas ---------- */
.areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}
.areas li {
  margin: 0;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--heading);
  font-weight: 550;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brand-gradient);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-8), 5vw, var(--space-16));
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: var(--space-8);
  align-items: center;
}
.cta-band h2 {
  color: #fff;
  margin-bottom: var(--space-3);
}
.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 52ch;
}
@media (max-width: 780px) {
  .cta-band {
    grid-template-columns: 1fr;
  }
}

/* ---------- Forms ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: start;
}
@media (max-width: 900px) {
  .form-wrap {
    grid-template-columns: 1fr;
  }
}
.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  box-shadow: var(--shadow-sm);
}
.field {
  margin-bottom: var(--space-5);
}
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: var(--space-5);
}
label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: var(--space-2);
}
input,
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: var(--text-sm);
  color: var(--heading);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
textarea {
  min-height: 130px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 139, 213, 0.16);
}
.form-help {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: var(--space-3);
}
.form-status {
  display: none;
  margin-top: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-sm);
  background: rgba(16, 197, 199, 0.12);
  border: 1px solid rgba(16, 197, 199, 0.4);
  font-size: var(--text-sm);
  color: var(--heading);
}
.form-status[data-visible="true"] {
  display: block;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  display: flex;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
}
.contact-list li:last-child {
  border-bottom: 0;
}
.contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex: none;
  margin-top: 3px;
}
.contact-list b {
  display: block;
  color: var(--heading);
}
.contact-list a {
  color: var(--body);
  text-decoration: none;
}
.contact-list a:hover {
  color: var(--blue);
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20)) clamp(var(--space-8), 4vw, var(--space-12));
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle at center, rgba(16, 197, 199, 0.14), transparent 62%);
}
.page-hero h1 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}
.page-hero .container {
  position: relative;
}
.crumbs {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-bottom: var(--space-4);
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--blue);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: #a9c3da;
  padding-block: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-8);
  font-size: var(--text-sm);
}
[data-theme="dark"] .footer {
  background: var(--navy-deep);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
.footer__grid > * {
  min-width: 0;
}
@media (min-width: 620px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-10);
  }
}
@media (min-width: 940px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  }
}
.footer h4 {
  color: #fff;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer li {
  margin-bottom: var(--space-2);
}
.footer a {
  color: #a9c3da;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer a:hover {
  color: #fff;
}
.footer .brand__name {
  color: #fff;
}
.footer .brand__descriptor {
  color: #7f9cb8;
}
.footer__slogan {
  margin: var(--space-5) 0 0;
  max-width: 34ch;
  color: #a9c3da;
}
.footer__bottom {
  margin-top: clamp(var(--space-10), 5vw, var(--space-16));
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: #7f9cb8;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal[data-shown="true"] {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Official logo ---------- */
.brand__logo {
  display: block;
  height: 62px;
  width: auto;
  flex: none;
}
[data-theme="dark"] .header .brand,
[data-theme="dark"] .nav .brand {
  background: #fafcfd;
  border-radius: 12px;
  padding: 5px 11px;
}
.brand--chip {
  background: #fafcfd;
  border-radius: 16px;
  padding: 16px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.brand__logo--full {
  height: 118px;
}
@media (max-width: 900px) {
  .brand__logo {
    height: 52px;
  }
  .brand__logo--full {
    height: 100px;
  }
}
@media (max-width: 420px) {
  .brand__logo {
    height: 44px;
  }
}

/* ---------- Language toggle ---------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  font: inherit;
  flex: none;
}
.lang-toggle__opt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 4px 9px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-toggle__opt.is-on {
  background: var(--brand-gradient);
  color: #fff;
}
.lang-toggle:hover {
  border-color: var(--turquoise);
}

/* ---------- WhatsApp ---------- */
.btn--whatsapp {
  background: #25d366;
  color: #04310f;
  border: 1px solid #1fb457;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 650;
}
.btn--whatsapp:hover {
  background: #1fbe5b;
  color: #032a0d;
}
.btn--whatsapp svg {
  width: 18px;
  height: 18px;
}
.wa-fab {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: clamp(14px, 3vw, 26px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: #25d366;
  color: #05340f;
  font-weight: 650;
  font-size: 0.94rem;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(6, 62, 24, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-fab svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(6, 62, 24, 0.4);
}
@media (max-width: 560px) {
  .wa-fab {
    padding: 12px;
  }
  .wa-fab span {
    display: none;
  }
}

/* ---------- Footer brand strip ---------- */
.footer__strip {
  margin: var(--space-10) 0 0;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #9db6cc;
}

@media (max-width: 620px) {
  .footer__strip {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    line-height: 1.9;
    padding-inline: var(--space-8);
  }
}

.footer__bottom {
  padding-bottom: 70px;
}
@media (max-width: 560px) {
  .footer__bottom {
    padding-bottom: 58px;
  }
}

/* Original layout retained; location and review form additions. */
.hero__location {
  color: var(--body);
  font-size: var(--text-sm);
  font-weight: 600;
  margin: 0 0 var(--space-4);
}
.review-form-wrap { max-width: 820px; }
.review-rating { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.review-rating legend { font-weight: 600; color: var(--heading); margin-bottom: 12px; }
.review-rating__options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.review-rating__options label { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: 10px; cursor: pointer; color: var(--heading); }
.review-rating__options label:has(input:checked) { border-color: var(--turquoise); box-shadow: inset 0 0 0 1px var(--turquoise); }
.review-rating__options input { width: 18px; height: 18px; padding: 0; margin: 0; accent-color: var(--purple); }
#review-ready { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
#review-ready .form-help { margin-top: 16px; }
@media (max-width: 1180px) {
  .header__actions { margin-left: auto; }
  .nav { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
}
@media (max-width: 600px) {
  .header__inner { gap: 8px; }
  .header__actions { gap: 6px; }
  .header .brand__logo { height: 42px; }
  [data-theme="dark"] .header .brand { padding: 4px 6px; }
  .lang-toggle__opt { padding-inline: 5px; }
  .review-rating__options { gap: 8px; }
}
