:root {
  --blue: #2563eb;
  --blue-dark: #1e3a8a;
  --blue-deep: #0b1b3f;
  --blue-soft: #eff6ff;
  --blue-mid: #dbeafe;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --bg: #ffffff;
  --bg-accent: #f8fafc;
  --card: #ffffff;
  --yellow: #facc15;
  --footer: #0b1220;
  --ok: #15803d;
  --wa: #128c4a;
  --danger: #b91c1c;
  /* Mobile-first radii — scale up at larger breakpoints */
  --radius: 1.15rem;
  --radius-sm: 0.85rem;
  --header: 3.85rem;
  --bar: 4.1rem;
  --max: 80rem;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-lift: 0 14px 28px rgba(15, 23, 42, 0.09);
  --shadow-nav: 0 12px 30px rgba(15, 23, 42, 0.1);
  --gutter: 1rem;
  --touch: 2.85rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion: 180ms;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
  scroll-padding-bottom: calc(var(--bar) + 1rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1rem;
  letter-spacing: -0.011em;
  overflow-x: clip;
  padding-bottom: calc(var(--bar) + 1.6rem + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin: 0 0 0.55rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(1.55rem, 7.2vw, 3.2rem); }
h2 { font-size: clamp(1.28rem, 5vw, 2.15rem); }
h3 { font-size: clamp(1.05rem, 3.4vw, 1.28rem); font-weight: 750; }
p {
  margin: 0 0 0.85rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 65ch;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  color: var(--ink);
  padding: 0.6rem 0.8rem;
  z-index: 100;
}
.skip:focus { top: 0.5rem; }

.wrap { width: min(var(--max), calc(100% - (var(--gutter) * 2))); margin-inline: auto; }
.section { padding: 2rem 0; }
.section.tight { padding: 1.55rem 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead {
  font-size: 1.02rem;
  color: #334155;
  max-width: 46rem;
  line-height: 1.7;
}
.kicker {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.22);
  line-height: 1.35;
  white-space: normal;
  text-wrap: balance;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color var(--motion) var(--ease), box-shadow var(--motion) var(--ease), border-color var(--motion) var(--ease);
}
.site-header.is-scrolled {
  background: #fff;
  border-bottom-color: #e2e8f0;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.header-bar {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo { flex: 0 1 auto; min-width: 0; }
.logo img { height: clamp(36px, 9vw, 48px); width: auto; max-width: min(210px, 58vw); object-fit: contain; }
.logo:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.menu-toggle {
  margin-left: auto;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--blue-dark);
  font: inherit;
  font-weight: 800;
  min-height: var(--touch);
  min-width: 4.6rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: background-color var(--motion) var(--ease), border-color var(--motion) var(--ease), box-shadow var(--motion) var(--ease);
}
.menu-toggle:hover {
  background: var(--blue-soft);
  border-color: #93c5fd;
}

.nav { display: none; }
.nav.is-open {
  display: block;
  position: absolute;
  inset: calc(var(--header) + env(safe-area-inset-top, 0px)) 0 auto 0;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
  max-height: calc(100dvh - var(--header) - var(--bar) - env(safe-area-inset-top, 0px));
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-nav);
  animation: nav-panel-in 220ms var(--ease);
}

.nav a, .drop > button {
  display: flex;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  min-height: var(--touch);
  align-items: center;
  padding: 0.7rem 0.55rem;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background-color var(--motion) var(--ease), color var(--motion) var(--ease);
}
.nav > a:hover,
.drop > button:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
  text-decoration: none;
}
.nav a[aria-current="page"] {
  color: var(--blue);
  background: var(--blue-soft);
}

.drop > button {
  justify-content: space-between;
  gap: 0.5rem;
}
.drop > button::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  transition: transform var(--motion) var(--ease), opacity var(--motion) var(--ease);
  flex-shrink: 0;
}
.drop.is-open > button::after {
  transform: rotate(225deg);
  opacity: 0.85;
}

.drop-panel {
  display: none;
  padding: 0.15rem 0 0.55rem;
  margin: 0 0 0.25rem;
  border-left: 2px solid var(--blue-mid);
  margin-left: 0.45rem;
  padding-left: 0.45rem;
}
.drop.is-open .drop-panel { display: grid; gap: 0.1rem; }
.drop-panel a {
  font-weight: 650;
  color: #1e293b;
  min-height: 2.5rem;
  padding: 0.55rem 0.65rem;
}
.drop-panel a:hover {
  background: var(--blue-soft);
  text-decoration: none;
}
.drop-label {
  margin: 0.45rem 0.2rem 0.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.nav .btn {
  margin-top: 0.65rem;
  text-align: center;
  justify-content: center;
  width: 100%;
}

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.95rem;
  padding: 0.85rem 1.05rem;
  min-height: var(--touch);
  width: 100%;
  max-width: 100%;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.015em;
  transition: transform var(--motion) var(--ease), background-color var(--motion) var(--ease), border-color var(--motion) var(--ease), box-shadow var(--motion) var(--ease), color var(--motion) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
  background: #1d4ed8;
  color: #fff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.32);
}
.btn-white { background: #fff; color: var(--blue-dark); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12); }
.btn-white:hover { background: var(--yellow); color: var(--blue-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-line {
  background: #f1f5f9;
  color: #1e293b;
  border-color: transparent;
  box-shadow: none;
}
.btn-line:hover { background: var(--blue); color: #fff; border-color: transparent; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 18px rgba(18, 140, 74, 0.2); }
.btn-wa:hover { background: #0e703b; color: #fff; box-shadow: 0 12px 24px rgba(18, 140, 74, 0.28); }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.actions .btn {
  flex: 1 1 100%;
  width: 100%;
}

.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(2, 6, 23, 0.92) 0%, rgba(30, 58, 138, 0.78) 45%, rgba(37, 99, 235, 0.55) 100%),
    url("https://res.cloudinary.com/o0kjfrgh/image/upload/v1790788622/brother-cooling-system/repair.webp") center/cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3.5rem;
  background: linear-gradient(180deg, transparent, #fff);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 0.85rem;
  align-items: start;
  padding: 1.5rem 0 1.75rem;
  grid-template-columns: 1fr;
  grid-template-areas:
    "kicker"
    "title"
    "intro"
    "media"
    "price"
    "note"
    "points"
    "actions";
}
.hero-kicker { grid-area: kicker; margin-bottom: 0; max-width: min(100%, 22rem); }
.hero-grid > h1 { grid-area: title; margin: 0; }
.hero-intro { grid-area: intro; display: grid; gap: 0.7rem; min-width: 0; }
.hero-frame { grid-area: media; }
.hero-price { grid-area: price; margin: 0; }
.hero-grid > .note { grid-area: note; margin: 0; }
.hero-points { grid-area: points; }
.hero-actions { grid-area: actions; margin-top: 0.15rem; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 span { color: #93c5fd; }
.hero p { color: #e0e7ff; font-size: 0.98rem; max-width: none; margin: 0; }
.hero .note { color: #dbeafe; font-size: 0.9rem; }
.hero strong { color: #fff; }
.hero-price strong {
  display: inline-block;
  font-size: 1.02rem;
  line-height: 1.45;
  padding: 0.55rem 0.8rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-points li {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #eff6ff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.32rem 0.65rem;
}
.hero-frame {
  border: 3px solid rgba(255,255,255,0.14);
  border-radius: 1.15rem;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 14px 28px rgba(0,0,0,0.24);
  max-width: 100%;
  width: 100%;
  margin: 0.15rem 0 0.2rem;
}
.hero-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 14.5rem;
  object-fit: cover;
}

.card-grid, .area-grid, .rate-grid, .step-grid, .two-grid, .price-grid, .problem-grid, .service-stack {
  display: grid;
  gap: 0.9rem;
  align-items: stretch;
}

/* Equal-height cards in grids; pin the final action/link to the bottom */
.card-grid > .panel,
.card-grid > .area-card,
.card-grid > .card,
.card-grid > .problem-card,
.area-grid > .area-card,
.step-grid > .step,
.rate-grid > .rate,
.problem-grid > .panel,
.problem-grid > .problem-card,
.price-grid > .price-card {
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-grid > .panel > :last-child,
.problem-grid > .panel > :last-child,
.card-grid > .area-card > .more,
.area-grid > .area-card > .more,
.card-grid > .card > .more {
  margin-top: auto;
}

.card-grid > .panel > p:last-child,
.problem-grid > .panel > p:last-child {
  margin-bottom: 0;
}

/* Inside split layouts, avoid cramped 3-column cards beside the photo */
.split .card-grid {
  grid-template-columns: 1fr;
}
.service-block {
  display: grid;
  gap: 0;
  overflow: hidden;
  padding: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color var(--motion) var(--ease), box-shadow var(--motion) var(--ease);
}
.service-block:hover {
  border-color: #3b82f6;
  box-shadow: var(--shadow-lift);
}
.service-block-copy { padding: 1.1rem 1.05rem 1.2rem; }
.service-block-media {
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  background: var(--blue-mid);
}
.service-block-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 280ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .service-block:hover .service-block-media img {
    transform: scale(1.03);
  }
}
.service-block-media figcaption {
  padding: 0.55rem 1rem 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  background: #fff;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0.75rem 0 1rem;
  padding: 0;
  visibility: visible;
  opacity: 1;
}
.service-tags li {
  display: inline-flex;
  align-items: center;
  background: #dbeafe;
  border: 1px solid #60a5fa;
  border-radius: 999px;
  color: #1e3a8a;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.25;
  padding: 0.45rem 0.8rem;
  white-space: nowrap;
  visibility: visible;
  opacity: 1;
}
.home-price-table {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 1.2rem;
  max-width: 36rem;
}
.home-price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.15rem;
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow);
  transition: transform var(--motion) var(--ease), box-shadow var(--motion) var(--ease), border-color var(--motion) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .home-price-row:hover {
    transform: translateY(-2px);
    border-color: #3b82f6;
    box-shadow: var(--shadow-lift);
  }
}
.home-price-row strong {
  color: var(--blue);
  font-size: 1.22rem;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.price-highlight {
  margin-top: 1rem;
  max-width: 28rem;
  border-color: #e2e8f0;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.05rem 1.1rem;
}
.price-highlight-title {
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
}
.price-highlight-amount {
  font-size: clamp(1.65rem, 7vw, 2.45rem);
  font-weight: 800;
  color: var(--blue);
  margin: 0.15rem 0 0.45rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.price-card-inline {
  max-width: 40rem;
  border-color: #e2e8f0;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
}
.price-card-inline .price-highlight-amount {
  margin-top: 0.35rem;
}
.home-price-row strong.quote-status,
.quote-status {
  color: #c2410c;
  font-size: 0.98rem;
}
.price-cards .btn {
  width: 100%;
  margin-top: 0.35rem;
}
.cta-band {
  background: linear-gradient(160deg, #eff6ff 0%, #fff 45%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.35rem 1.05rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  width: auto;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #60a5fa, #facc15);
}
.cta-band h2,
.cta-band p {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .actions {
  margin: 1rem auto 0.6rem;
  justify-content: center;
}
.cta-band .fine {
  max-width: 42rem;
}

/* Section-aware card surfaces — .in style: white, 2rem radius, slate border, blue hover */
.card, .rate, .step, .area-card, .price-card, .panel, .faq details, .form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card, .area-card, .rate, .step, .price-card, .panel {
  position: relative;
  transition: transform var(--motion) var(--ease), box-shadow var(--motion) var(--ease), border-color var(--motion) var(--ease);
}
.card, .price-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.area-card {
  background: #fff;
  border-color: #e2e8f0;
  padding: 0;
  overflow: hidden;
}
.rate {
  background: #fff;
  border-color: #e2e8f0;
}
.step {
  background: #fff;
  border-color: #e2e8f0;
}
.panel {
  background: #fff;
}
.problem-card,
.panel.has-media {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 100%;
}
.problem-card-media,
.panel-media,
.area-card-media,
.step-media {
  display: block;
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(165deg, #dbeafe, #eff6ff 55%, #f8fbff);
}
.problem-card-media img,
.panel-media img,
.area-card-media img,
.step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 360ms var(--ease);
}
.problem-card:hover .problem-card-media img,
.panel.has-media:hover .panel-media img,
.area-card:hover .area-card-media img,
.step.has-media:hover .step-media img {
  transform: scale(1.04);
}
.problem-card-body,
.panel-body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}
.problem-card-body > :last-child,
.panel-body > :last-child {
  margin-bottom: 0;
}
.problem-card-body p,
.panel-body p {
  margin-bottom: 0.65rem;
}
.problem-card-body h3,
.panel-body h3,
.problem-card-body h2,
.panel-body h2 {
  margin-top: 0;
}
.area-card {
  padding: 0;
}
.area-card-media {
  aspect-ratio: 16 / 10;
}
.area-card-media.is-product {
  aspect-ratio: 1 / 1;
  max-height: 11rem;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}
@media (min-width: 760px) {
  .area-card-media.is-product {
    max-height: 9.5rem;
  }
}
.area-card-media.is-product img {
  object-fit: contain;
  object-position: center;
  padding: 0.75rem;
}
.area-card > h3,
.area-card > p,
.area-card > .more {
  margin-left: 1.1rem;
  margin-right: 1.1rem;
}
.area-card > h3 {
  margin-top: 0.95rem;
}
.area-card > .more {
  margin-bottom: 1.1rem;
}
.step.has-media {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.step.has-media .step-media {
  aspect-ratio: 16 / 9;
}
.step.has-media > span,
.step.has-media > h3,
.step.has-media > p,
.step.has-media > ul {
  margin-left: 1.1rem;
  margin-right: 1.1rem;
}
.step.has-media > span {
  margin-top: 1rem;
}
.step.has-media > :last-child {
  margin-bottom: 1.15rem;
}
.card::before, .price-card::before {
  content: none;
}
.area-card::before {
  content: none;
}
.card, .area-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.card .media, .price-card .media, .icon-media {
  aspect-ratio: 16/10;
  background: linear-gradient(160deg, #dbeafe, #eff6ff);
  position: relative;
  overflow: hidden;
}
.card .media img, .price-card .media img, .split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms var(--ease);
}
.card .body { padding: 1.05rem 1.05rem 1.2rem; }
.card h3, .area-card h3 { margin-bottom: 0.35rem; }
.card p, .area-card p { color: var(--muted); font-size: 0.95rem; flex-grow: 1; }
.card .more, .area-card .more {
  font-weight: 800;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--blue);
  transition: gap var(--motion) var(--ease), color var(--motion) var(--ease);
}
.card .more::after, .area-card .more::after {
  content: "→";
  transition: transform var(--motion) var(--ease);
}
.icon-media {
  display: grid;
  place-items: center;
  color: var(--blue);
  background: linear-gradient(160deg, #dbeafe, #eff6ff);
}
.badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  z-index: 2;
  box-shadow: 0 6px 14px rgba(29, 78, 216, 0.28);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover, .area-card:hover, .rate:hover, .step:hover, .price-card:hover, .panel:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
    border-color: #3b82f6;
  }
  .card:hover .media img, .price-card:hover .media img {
    transform: scale(1.03);
  }
  .card:hover .more, .area-card:hover .more { gap: 0.5rem; }
  .card:hover .more::after, .area-card:hover .more::after { transform: translateX(2px); }
  .area-card:hover { text-decoration: none; color: inherit; }
}

.problem-list, .check-list, .plain-list { margin: 0; padding-left: 1.1rem; }
.problem-list li, .check-list li { margin: 0.35rem 0; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 1.4rem; position: relative; }
.check-list li::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--blue); position: absolute; left: 0; top: 0.55rem; }

.step { padding: 1.1rem 1.05rem 1.2rem; }
.step span {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.55rem;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.22);
}

.rate { padding: 1.1rem 1.05rem; }
.rate strong { display: block; font-size: clamp(1.35rem, 6vw, 1.85rem); color: var(--blue); letter-spacing: -0.02em; }
.rate .unit { color: var(--muted); font-size: 0.9rem; }

.area-card { text-decoration: none; color: inherit; min-height: 100%; }
.plain-areas { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; list-style: none; }
.plain-areas li, .chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  color: #334155;
  font-weight: 700;
  font-size: 0.9rem;
  max-width: 100%;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.page-head { padding: 1.35rem 0 0.55rem; }
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.75rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: #94a3b8; }

.split { display: grid; gap: 1.1rem; align-items: start; }
.split-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.panel { padding: 1.1rem 1.05rem 1.2rem; min-width: 0; }
.card-grid > .panel > :last-child,
.problem-grid > .panel > :last-child {
  margin-bottom: 0;
}
.card-grid > .panel > a:last-child,
.card-grid > .panel > p:last-child,
.problem-grid > .panel > a:last-child,
.problem-grid > .panel > p:last-child {
  margin-top: auto;
  padding-top: 0.55rem;
}
.stack { display: grid; gap: 0.8rem; }

.price-card .media { aspect-ratio: 16/9; }
.price-card .body { padding: 0.4rem 1rem 1rem; }
.price-rows { list-style: none; margin: 0; padding: 0; }
.price-rows li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.35rem 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.price-rows li > span:first-child {
  flex: 1 1 12rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.price-rows .amt { color: var(--blue); white-space: nowrap; }
.price-rows .amt.quote { color: #c2410c; font-size: 0.92rem; white-space: normal; }
.price-card .btn { width: 100%; margin: 0.8rem 0 0.2rem; }

.faq details {
  padding: 0.35rem 1.2rem;
  box-shadow: none;
  background: #fff;
  border-radius: 1.25rem;
  transition: border-color var(--motion) var(--ease), box-shadow var(--motion) var(--ease), background-color var(--motion) var(--ease);
}
.faq details[open] {
  border-color: #3b82f6;
  background: #fff;
  box-shadow: var(--shadow-lift);
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  padding: 0.95rem 0;
  min-height: var(--touch);
  display: flex;
  align-items: center;
  letter-spacing: -0.015em;
}
.faq details p { color: var(--muted); }

.form-card {
  padding: 1.15rem 1.05rem;
  background: #fff;
  border-color: #e2e8f0;
  border-radius: var(--radius);
}
.form-card label { display: block; font-weight: 750; font-size: 0.92rem; margin-bottom: 0.75rem; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  max-width: 100%;
  margin-top: 0.3rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
  transition: border-color var(--motion) var(--ease), box-shadow var(--motion) var(--ease);
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  outline: none;
}
.form-card .btn { width: 100%; }
.field-error, .form-error { color: var(--danger); font-size: 0.88rem; font-weight: 700; }
.form-ok {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 1rem;
  padding: 1rem;
}
.fine { font-size: 0.88rem; color: var(--muted); }

.site-footer {
  background:
    radial-gradient(700px 280px at 12% 0%, rgba(37, 99, 235, 0.22), transparent 55%),
    var(--footer);
  color: #e2e8f0;
  padding: 2.4rem 0 1.3rem;
  margin-top: 1.25rem;
}
.site-footer a { color: #f8fafc; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 1.5rem; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer p { color: #e2e8f0; max-width: none; }
.site-footer .logo img { height: 42px; background: #fff; border-radius: 0.55rem; padding: 0.25rem 0.4rem; }
.footer-note {
  display: inline-block;
  margin-top: 0.45rem;
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.55;
}
.footer-bottom {
  border-top: 1px solid #334155;
  margin-top: 1.5rem;
  padding-top: 1.05rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}
.footer-bottom p { color: #cbd5e1; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.sticky-actions {
  position: fixed;
  left: max(0.45rem, env(safe-area-inset-left, 0px));
  right: max(0.45rem, env(safe-area-inset-right, 0px));
  bottom: calc(0.4rem + env(safe-area-inset-bottom, 0px));
  z-index: 35;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sticky-actions a {
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  min-height: 3.15rem;
  min-width: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  padding: 0.4rem 0.25rem;
  border-radius: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.1;
  transition: transform 120ms var(--ease), filter 120ms var(--ease);
}
.sticky-actions a > span:last-child {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sticky-actions a:active { transform: scale(0.97); }
.sticky-ico {
  display: inline-flex;
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}
.sticky-ico svg { display: block; width: 100%; height: 100%; }
.sticky-call {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 5px 12px rgba(37, 99, 235, 0.26);
}
.sticky-wa {
  background: linear-gradient(180deg, #22c55e 0%, #128c4a 100%);
  box-shadow: 0 5px 12px rgba(18, 140, 74, 0.26);
}
.sticky-book {
  background: linear-gradient(180deg, #facc15 0%, #eab308 100%);
  color: #0f172a;
  box-shadow: 0 5px 12px rgba(234, 179, 8, 0.26);
}
.sticky-actions.is-clear { visibility: hidden; pointer-events: none; }

.booking-form,
.booking-form .btn,
.booking-form .fine {
  scroll-margin-bottom: calc(var(--bar) + 1.5rem);
}

/* Small phones */
@media (max-width: 379px) {
  :root { --gutter: 0.85rem; --radius: 1.05rem; --header: 3.65rem; }
  .hero-grid { padding: 1.35rem 0 1.55rem; }
  .section { padding: 1.65rem 0; }
  .kicker { font-size: 0.66rem; }
  .sticky-actions {
    left: max(0.3rem, env(safe-area-inset-left, 0px));
    right: max(0.3rem, env(safe-area-inset-right, 0px));
    gap: 0.28rem;
    padding: 0.3rem;
  }
  .sticky-actions a { font-size: 0.72rem; min-height: 3rem; padding: 0.35rem 0.15rem; }
  .ac-type-home-grid { gap: 0.5rem; }
  .ac-type-card-home { padding: 0.5rem 0.45rem 0.55rem; }
  .ac-type-card-home .ac-type-card-copy strong { font-size: 0.9rem; }
  .ac-type-card-home .ac-type-card-copy span { font-size: 0.78rem; }
}

/* Larger phones / small tablets */
@media (min-width: 480px) {
  :root {
    --gutter: 1.15rem;
    --radius: 1.25rem;
    --radius-sm: 0.9rem;
    --header: 4.1rem;
  }
  .section { padding: 2.35rem 0; }
  .section.tight { padding: 1.8rem 0; }
  .btn, button.btn {
    width: auto;
    max-width: none;
    padding: 0.88rem 1.2rem;
    border-radius: 1.05rem;
  }
  .actions .btn {
    flex: 1 1 calc(50% - 0.4rem);
    width: auto;
  }
  .nav .btn,
  .form-card .btn,
  .price-cards .btn,
  .price-card .btn { width: 100%; }
  .hero-frame {
    max-width: none;
    border-width: 4px;
    border-radius: 1.25rem;
  }
  .hero-frame img {
    max-height: 16rem;
  }
  .panel,
  .rate,
  .step {
    padding: 1.2rem 1.2rem 1.25rem;
  }
  .problem-card-body,
  .panel-body,
  .card .body {
    padding: 1.15rem 1.2rem 1.25rem;
  }
  .service-block-copy { padding: 1.25rem 1.25rem 1.35rem; }
  .cta-band { padding: 1.65rem 1.35rem; }
  .form-card { padding: 1.3rem; }
  .page-head { padding: 1.65rem 0 0.6rem; }
}

/* Tablets */
@media (min-width: 760px) {
  :root {
    --gutter: 1.35rem;
    --header: 4.6rem;
    --radius: 1.65rem;
    --radius-sm: 1rem;
    --bar: 4.35rem;
    --shadow-lift: 0 20px 40px rgba(15, 23, 42, 0.1);
  }
  body { font-size: 1.02rem; }
  .section { padding: 3.2rem 0; }
  .section.tight { padding: 2.4rem 0; }
  .page-head { padding: 2rem 0 0.5rem; }
  .lead { font-size: 1.08rem; }
  .actions .btn {
    flex: 0 1 auto;
  }
  .card-grid, .rate-grid, .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
  .step-grid, .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
  .split .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-grid, .split, .footer-grid { grid-template-columns: 1.15fr 0.85fr; }
  .service-block {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
  }
  .service-block-media {
    border-radius: calc(var(--radius) - 1px) 0 0 calc(var(--radius) - 1px);
    min-height: 100%;
  }
  .service-block-media img { height: 100%; aspect-ratio: auto; min-height: 14rem; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid {
    gap: 0.85rem 2rem;
    padding: 2.8rem 0 3rem;
    grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
    grid-template-areas:
      "kicker media"
      "title media"
      "intro media"
      "price media"
      "note media"
      "points media"
      "actions media";
    align-items: center;
  }
  .hero-kicker { max-width: min(100%, 26rem); }
  .hero h1 { max-width: none; }
  .hero p { font-size: 1.04rem; line-height: 1.65; }
  .hero-intro { gap: 0.8rem; max-width: 42rem; }
  .hero-frame {
    border-width: 6px;
    border-radius: 1.5rem;
    margin: 0;
    max-width: 22rem;
    justify-self: end;
  }
  .hero-frame img {
    aspect-ratio: 4 / 5;
    max-height: 24rem;
  }
  .split-photo { aspect-ratio: auto; }
  .form-card .btn { width: auto; }
  .nav .btn { width: auto; }
  .cta-band { padding: 2rem 1.6rem; }
  .price-highlight,
  .price-card-inline { padding: 1.35rem 1.4rem; }
}

/* Desktop */
@media (min-width: 980px) {
  .menu-toggle { display: none; }
  .nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-left: auto;
    position: static;
    background: none;
    border: 0;
    padding: 0;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    animation: none;
  }
  .nav > a, .drop > button {
    width: auto;
    min-height: 0;
    padding: 0.5rem 0.7rem;
    border-radius: 0.7rem;
    font-weight: 700;
  }
  .drop > button {
    justify-content: flex-start;
    gap: 0.4rem;
  }
  .drop > button::after {
    width: 0.38rem;
    height: 0.38rem;
    margin-top: -0.12rem;
  }
  .nav > a[aria-current="page"], .drop.is-current > button { color: var(--blue); background: var(--blue-soft); }
  .drop { position: relative; }
  .drop-panel {
    display: grid;
    gap: 0.15rem;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    min-width: 18rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 0.5rem;
    margin: 0;
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-nav);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    z-index: 30;
    transition: opacity 160ms var(--ease), transform 160ms var(--ease), visibility 160ms;
  }
  .drop:hover .drop-panel, .drop:focus-within .drop-panel, .drop.is-open .drop-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .drop:hover > button::after,
  .drop:focus-within > button::after,
  .drop.is-open > button::after {
    transform: rotate(225deg);
    opacity: 0.9;
  }
  .drop-panel a {
    border-radius: 0.7rem;
    padding: 0.65rem 0.8rem;
    min-height: 0;
    font-weight: 650;
  }
  .drop-panel a:hover,
  .drop-panel a[aria-current="page"] {
    background: var(--blue-soft);
    color: var(--blue-dark);
    text-decoration: none;
  }
  .nav .btn {
    margin: 0 0 0 0.45rem;
    padding: 0.72rem 1rem;
    width: auto;
    border-radius: 0.8rem;
  }
  .card-grid, .problem-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .area-grid, .step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rate-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-grid { padding: 3rem 0 3.2rem; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .sticky-actions { display: none; }
  body { padding-bottom: 0; }
  html { scroll-padding-bottom: 1rem; }
  :root {
    --radius: 2rem;
    --radius-sm: 1rem;
  }
}

/* Wide desktop */
@media (min-width: 1200px) {
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Soft below-the-fold reveal: opacity/transform only; skipped when reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(8px);
  }
  .motion-ready .reveal {
    transition: opacity 320ms var(--ease), transform 320ms var(--ease);
    will-change: auto;
  }
  .motion-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  .motion-ready .ac-type-home-grid > .reveal:nth-child(1).is-visible { transition-delay: 0ms; }
  .motion-ready .ac-type-home-grid > .reveal:nth-child(2).is-visible { transition-delay: 40ms; }
  .motion-ready .ac-type-home-grid > .reveal:nth-child(3).is-visible { transition-delay: 80ms; }
  .motion-ready .ac-type-home-grid > .reveal:nth-child(4).is-visible { transition-delay: 120ms; }
  .motion-ready .card-grid > .reveal:nth-child(2).is-visible,
  .motion-ready .problem-grid > .reveal:nth-child(2).is-visible,
  .motion-ready .step-grid > .reveal:nth-child(2).is-visible { transition-delay: 35ms; }
  .motion-ready .card-grid > .reveal:nth-child(3).is-visible,
  .motion-ready .problem-grid > .reveal:nth-child(3).is-visible,
  .motion-ready .step-grid > .reveal:nth-child(3).is-visible { transition-delay: 70ms; }
  .hero .kicker,
  .hero h1,
  .hero-intro,
  .hero .hero-points,
  .hero .actions,
  .hero .note,
  .hero-price {
    animation: hero-copy-in 360ms var(--ease) both;
  }
  .hero h1 { animation-delay: 30ms; }
  .hero-intro { animation-delay: 55ms; }
  .hero-price { animation-delay: 75ms; }
  .hero .note { animation-delay: 90ms; }
  .hero .hero-points { animation-delay: 105ms; }
  .hero .actions { animation-delay: 120ms; }
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes nav-panel-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.nav-repair-trigger {
  justify-content: space-between;
  gap: 0.55rem;
}
.nav-repair-more {
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.85;
}

.ac-type-home {
  padding-top: 1.25rem;
  padding-bottom: 0.35rem;
}
.ac-type-home-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.95rem 0.8rem 1.05rem;
}
.ac-type-home-head {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}
.ac-type-home-head h2 {
  margin-bottom: 0.3rem;
}
.ac-type-home-head .lead {
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.55;
}
.ac-type-home-head .btn {
  justify-self: stretch;
  width: 100%;
}
.ac-type-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
a.ac-type-card.ac-type-card-home,
.ac-type-card.ac-type-card-home {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 0.45rem;
  padding: 0.55rem 0.5rem 0.7rem;
  min-width: 0;
  min-height: 100%;
  height: 100%;
  align-items: stretch;
  border-radius: calc(var(--radius) - 0.2rem);
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 18px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--motion) var(--ease), box-shadow var(--motion) var(--ease), transform var(--motion) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  a.ac-type-card.ac-type-card-home:hover,
  .ac-type-card.ac-type-card-home:hover {
    border-color: #93c5fd;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
  }
}
a.ac-type-card.ac-type-card-home:active,
.ac-type-card.ac-type-card-home:active {
  transform: scale(0.99);
}
a.ac-type-card-home .ac-type-card-media,
.ac-type-card-home .ac-type-card-media {
  display: block !important;
  flex: 0 0 auto;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 16 / 11;
  border-radius: calc(var(--radius) - 0.35rem);
  background: linear-gradient(180deg, #f8fbff 0%, #e8f0ff 100%);
  overflow: hidden;
}
a.ac-type-card-home .ac-type-card-media img,
.ac-type-card-home .ac-type-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.4rem 0.5rem;
}
a.ac-type-card-home .ac-type-card-copy,
.ac-type-card-home .ac-type-card-copy {
  display: block !important;
  width: 100%;
  min-width: 0;
  padding: 0.1rem 0.2rem 0.05rem;
  text-align: center;
}
a.ac-type-card-home .ac-type-card-copy strong,
.ac-type-card-home .ac-type-card-copy strong {
  display: block;
  width: 100%;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: keep-all;
  hyphens: none;
}
a.ac-type-card-home .ac-type-card-copy > span,
.ac-type-card-home .ac-type-card-copy > span {
  display: block;
  width: 100%;
  margin-top: 0.15rem;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.35;
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: keep-all;
  hyphens: none;
}
.ac-type-home-foot {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.ac-type-home-foot a {
  font-weight: 750;
  display: inline;
}

@media (min-width: 720px) {
  .ac-type-home-panel {
    padding: 1.35rem 1.35rem 1.3rem;
  }
  .ac-type-home-head {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 1rem;
  }
  .ac-type-home-head .btn {
    width: auto;
    justify-self: end;
  }
  .ac-type-home-grid {
    gap: 0.85rem;
  }
  a.ac-type-card.ac-type-card-home,
  .ac-type-card.ac-type-card-home {
    flex-direction: column !important;
    grid-template-columns: none !important;
    padding: 0.7rem 0.65rem 0.8rem;
  }
  .ac-type-card-home .ac-type-card-media {
    max-height: 8.5rem;
    aspect-ratio: 16 / 11;
  }
  .ac-type-card-home .ac-type-card-copy strong {
    font-size: 1.05rem;
  }
  .ac-type-card-home .ac-type-card-copy > span {
    font-size: 0.88rem;
  }
  .sticky-actions a {
    flex-direction: row;
    font-size: 0.88rem;
    gap: 0.35rem;
    min-height: 3.05rem;
    padding: 0.55rem 0.4rem;
  }
}

@media (min-width: 980px) {
  .ac-type-home {
    margin-top: -1.5rem;
    padding-top: 0;
    position: relative;
    z-index: 2;
  }
  .ac-type-home-panel {
    padding: 1.4rem 1.5rem 1.35rem;
  }
  .ac-type-home-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
  }
  a.ac-type-card.ac-type-card-home,
  .ac-type-card.ac-type-card-home {
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 0.5rem;
    padding: 0.75rem 0.7rem 0.85rem;
    text-align: center;
  }
  .ac-type-card-home .ac-type-card-media {
    max-height: 8.25rem;
    aspect-ratio: 16 / 11;
  }
  .ac-type-card-home .ac-type-card-copy strong {
    font-size: 1.04rem;
  }
  .ac-type-card-home .ac-type-card-copy > span {
    font-size: 0.86rem;
  }
}

body.ac-type-open {
  overflow: hidden;
}

.ac-type-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.ac-type-overlay[hidden] {
  display: none;
}

.ac-type-dialog {
  width: min(100%, 28rem);
  max-height: min(88dvh, 40rem);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 1.25rem 1.25rem 0 0;
  box-shadow: var(--shadow-nav);
  padding: 1rem 1rem calc(1.15rem + env(safe-area-inset-bottom, 0px));
  animation: ac-type-sheet-in 220ms var(--ease);
}

.ac-type-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.ac-type-dialog-head h2 {
  margin: 0;
  font-size: 1.2rem;
}
.ac-type-close {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  font-size: 0.9rem;
  min-height: 2.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.ac-type-close:hover {
  background: var(--blue-soft);
  border-color: #93c5fd;
  color: var(--blue-dark);
}

.ac-type-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.ac-type-card {
  display: grid;
  grid-template-columns: 4.8rem 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition:
    background-color var(--motion) var(--ease),
    border-color var(--motion) var(--ease),
    box-shadow var(--motion) var(--ease),
    transform var(--motion) var(--ease);
}
.ac-type-card:hover {
  background: #fff;
  border-color: #3b82f6;
  box-shadow: var(--shadow-lift);
  text-decoration: none;
  transform: translateY(-2px);
}
.ac-type-card-media {
  display: block;
  width: 4.8rem;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 0.75rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}
.ac-type-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.35rem;
}
.ac-type-card-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}
.ac-type-card-copy strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ac-type-card-copy span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.ac-type-all {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.9rem;
  min-height: var(--touch);
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}
.ac-type-all:hover {
  background: var(--blue-mid);
  text-decoration: none;
}

@keyframes ac-type-sheet-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 720px) {
  .ac-type-overlay {
    align-items: center;
    padding: 1.25rem;
  }
  .ac-type-dialog {
    width: min(100%, 34rem);
    border-radius: 1.15rem;
    padding: 1.2rem 1.25rem 1.25rem;
    animation: ac-type-panel-in 200ms var(--ease);
  }
  .ac-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }
  .ac-type-card {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 0.75rem;
    min-height: 100%;
  }
  .ac-type-card-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
  }
  .ac-type-card-media img {
    padding: 0.55rem;
  }
  .ac-type-dialog-head h2 {
    font-size: 1.35rem;
  }
}

@keyframes ac-type-panel-in {
  from {
    opacity: 0;
    transform: translateY(0.65rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drop-panel,
  .btn,
  .card,
  .area-card,
  .rate,
  .step,
  .price-card,
  .panel,
  .card .media img,
  .price-card .media img,
  .service-block-media img,
  .card .more,
  .card .more::after,
  .area-card .more,
  .area-card .more::after,
  .faq details,
  .reveal,
  .site-header,
  .nav.is-open,
  .home-price-row,
  .ac-type-dialog,
  .ac-type-card {
    transition: none !important;
    animation: none !important;
  }
  .card:hover, .area-card:hover, .rate:hover, .step:hover, .price-card:hover, .panel:hover, .home-price-row:hover, .ac-type-card:hover {
    transform: none;
  }
  .card:hover .media img, .price-card:hover .media img, .service-block:hover .service-block-media img {
    transform: none;
  }
}

/* ===== UI polish system (content-preserving layouts) ===== */
.section-band {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-block: 1px solid #eef2f7;
}
.section.wrap.section-band,
.section.tight.wrap.section-band {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}
.section.wrap.section-band > *,
.section.tight.wrap.section-band > * {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.home-price-layout {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  align-items: start;
}
.home-price-table {
  max-width: none;
  margin: 0;
}
.home-price-notes {
  padding: 1.15rem 1.1rem 1.25rem;
}
.home-price-notes > :last-child { margin-bottom: 0; }
.home-price-notes .btn { width: 100%; }

.home-info-pair {
  align-items: stretch;
}
.home-info-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.15rem 1.35rem;
}
.home-info-card > :last-child { margin-top: auto; padding-top: 0.75rem; }

.service-block {
  border-radius: calc(var(--radius) - 0.15rem);
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 20px rgba(15, 23, 42, 0.04);
}
.service-block:hover {
  border-color: #93c5fd;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.1);
}
.problem-card,
.panel.has-media,
.card {
  border-color: #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 16px rgba(15, 23, 42, 0.035);
}
.step {
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 18px rgba(15, 23, 42, 0.04);
  border-radius: var(--radius);
}
.step p { color: #475569; }

.page-hero {
  display: grid;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 1.5rem;
}
.page-hero-copy {
  min-width: 0;
  display: grid;
  gap: 0.75rem;
}
.page-hero-copy > * { margin-bottom: 0; }
.page-hero-copy .lead { margin-bottom: 0; }
.page-hero-copy .actions { margin-top: 0.25rem; }
.page-hero-copy .price-highlight { margin-top: 0.35rem; max-width: none; }
.page-hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-lift);
  background: #0f172a;
}
.page-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}

.pricing-split { align-items: stretch; }
.pricing-split > .panel,
.pricing-split > .stack { height: 100%; }

.service-area-chips {
  margin-top: 0.85rem;
}
.service-area-chips a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}
.service-area-chips a:hover {
  color: var(--blue-dark);
  text-decoration: none;
}
.service-area-chips li {
  transition: border-color var(--motion) var(--ease), box-shadow var(--motion) var(--ease), transform var(--motion) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .service-area-chips li:hover {
    border-color: #93c5fd;
    box-shadow: var(--shadow-lift);
    transform: translateY(-1px);
  }
}

.check-list-grid {
  display: grid;
  gap: 0.55rem 1.25rem;
}
@media (min-width: 760px) {
  .check-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Expandable cards */
.balance-cards > .panel.is-expandable {
  position: relative;
  height: auto;
  min-height: 100%;
}
.balance-cards > .panel.is-expandable:not(.is-expanded) .expandable-body {
  max-height: 12.5rem;
  overflow: hidden;
  mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
}
.expand-toggle {
  appearance: none;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 0.35rem 0 0;
  margin-top: 0.35rem;
  text-align: left;
  min-height: 2.4rem;
}
.expand-toggle:hover { text-decoration: underline; }
.balance-cards > .panel.is-expanded .expandable-body {
  max-height: none;
  mask-image: none;
  -webkit-mask-image: none;
}

.faq details {
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

@media (min-width: 760px) {
  .home-price-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.25rem;
    align-items: stretch;
  }
  .home-price-notes {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .home-price-notes .btn { width: auto; align-self: flex-start; margin-top: auto; }
  .page-hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: center;
    padding-bottom: 2rem;
  }
  .page-hero-media img { aspect-ratio: 4 / 3; }
  .two-grid.home-info-pair,
  .two-grid.pricing-split {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}

@media (min-width: 980px) {
  .hero-intro { max-width: 44rem; }
  .hero-kicker { max-width: min(100%, 28rem); }
  .page-hero {
    gap: 1.75rem;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    align-items: start;
  }
  .problem-card-media,
  .panel-media {
    aspect-ratio: 16 / 10;
  }
  .step-grid { gap: 1.15rem; }
}

@media (max-width: 759px) {
  .hero-grid > h1 {
    max-width: none;
    font-size: clamp(1.55rem, 7.5vw, 2.2rem);
  }
  .hero-points {
    justify-content: flex-start;
  }
  a.ac-type-card.ac-type-card-home,
  .ac-type-card.ac-type-card-home {
    flex-direction: column !important;
    grid-template-columns: none !important;
  }
  .ac-type-card-home .ac-type-card-copy {
    text-align: center;
  }
  .page-hero-media {
    order: -1;
  }
  .page-hero-media img {
    aspect-ratio: 16 / 10;
    max-height: 14rem;
  }
}
