:root {
  --bg: #101418;
  --bg-elevated: #171d24;
  --surface: #1e262f;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f6f8;
  --muted: #b7c0c9;
  --accent: #f0a61d;
  --accent-deep: #c9840a;
  --ink-on-accent: #141414;
  --steel: #3d7eb8;
  --ok: #3ecf8e;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 12px;
  --max: 1120px;
  --font-display: "Prompt", sans-serif;
  --font-body: "Sarabun", sans-serif;
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --accent-rail: rgba(240, 166, 29, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(61, 126, 184, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(240, 166, 29, 0.12), transparent 50%),
    linear-gradient(180deg, #0c1014 0%, var(--bg) 40%, #0e1318 100%);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0.03;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.03) 2px,
    rgba(255, 255, 255, 0.03) 3px
  );
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
.btn {
  font: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  box-shadow: var(--focus-ring);
}

.btn:focus-visible,
.header-cta:focus-visible,
.float-cta .btn:focus-visible {
  outline-offset: 3px;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

section[id],
#top {
  scroll-margin-top: 1rem;
}

#how,
#symptoms,
#work,
#trust,
#gallery,
#reviews,
#faq {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--accent);
  color: var(--ink-on-accent);
  padding: 0.75rem 1rem;
  z-index: 100;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 1.25rem 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand__sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink-on-accent);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-cta__short {
  display: none;
}

.header-cta:hover {
  background: #ffb938;
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.42) 0%, rgba(8, 10, 14, 0.28) 35%, rgba(8, 10, 14, 0.9) 78%, #0c1014 100%),
    linear-gradient(90deg, rgba(8, 10, 14, 0.82) 0%, rgba(8, 10, 14, 0.35) 50%, rgba(8, 10, 14, 0.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 7.5rem 0 4.5rem;
  max-width: 42rem;
  animation: riseIn 1s var(--ease-out) both;
}

.hero-brand {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 7.5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-brand span {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(0.95rem, 2.6vw, 1.25rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.06em;
}

.hero h1 {
  margin: 0.45rem 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  line-height: 1.35;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.94);
  max-width: 22ch;
}

.hero__lead {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  max-width: 36rem;
}

/* Identity / disambiguation */
.identity {
  padding: 2.5rem 0 1rem;
}

.identity-card {
  padding: 1.85rem 1.5rem 1.65rem;
  border: 1px solid rgba(240, 166, 29, 0.35);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(240, 166, 29, 0.1) 0%, transparent 42%),
    linear-gradient(180deg, rgba(61, 126, 184, 0.06), transparent 50%),
    var(--bg-elevated);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.identity-card h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  line-height: 1.3;
}

.identity-card > p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 46rem;
}

.identity-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 800px) {
  .identity-points {
    grid-template-columns: 1fr 1fr;
  }
}

.identity-points li {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
}

.identity-points li,
.service-item,
.reg-facts > div {
  border-left: 1px solid var(--accent-rail);
  background: rgba(255, 255, 255, 0.03);
}

.identity-points strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
}

.identity-points span {
  color: var(--muted);
  font-size: 0.95rem;
}

.identity-points a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  min-width: 2.75rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--accent);
  color: var(--ink-on-accent);
}

.btn--primary:hover {
  background: #ffb938;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Sections */
section {
  padding: clamp(3.75rem, 6vw, 5.5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.35rem;
}

@media (min-width: 900px) {
  #work .section-head,
  #gallery .section-head,
  #reviews .section-head {
    margin-left: clamp(0rem, 10vw, 7rem);
    max-width: 34rem;
  }
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.6vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.35rem;
  height: 1px;
  background: var(--accent);
  opacity: 0.85;
}

/* Services */
.services {
  background:
    linear-gradient(180deg, transparent, rgba(30, 38, 47, 0.55) 20%, rgba(30, 38, 47, 0.55) 80%, transparent);
}

.service-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: 1.7fr 0.85fr;
    gap: 1.5rem;
    align-items: stretch;
  }
}

.service-visual {
  position: relative;
  min-height: 320px;
  max-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .service-visual {
    min-height: 480px;
    max-height: 560px;
    height: 100%;
  }
}

.service-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(8, 10, 14, 0.5));
  pointer-events: none;
  z-index: 1;
}

.service-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.7s var(--ease-out);
}

@media (min-width: 768px) {
  .service-visual img {
    position: absolute;
    inset: 0;
    min-height: 0;
  }
}

.service-visual:hover img {
  transform: scale(1.03);
}

.service-list {
  display: grid;
  gap: 0;
  align-content: center;
}

.service-item {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.service-item:first-child {
  padding-top: 0;
}

.service-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.service-item h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Areas */
.area-wrap {
  display: grid;
  gap: 1.5rem;
}

.area-copy p {
  color: var(--muted);
}

.area-tags {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.area-visual {
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 340px;
  box-shadow: var(--shadow);
  transform: rotate(-0.4deg);
}

.area-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.area-visual:hover img {
  transform: scale(1.03);
}

@media (min-width: 900px) {
  .area-wrap {
    grid-template-columns: 0.72fr 1.4fr;
    gap: 2rem;
    align-items: center;
  }

  .area-visual {
    min-height: 460px;
    transform: rotate(0.45deg) translateY(0.35rem);
  }

  .area-visual img {
    min-height: 460px;
  }
}

/* Steps */
.steps {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: start;
  }

  .step:nth-child(2) {
    margin-top: 1.25rem;
  }

  .step:nth-child(3) {
    margin-top: 2.35rem;
  }
}

.step {
  position: relative;
  padding: 1.15rem 0 1.25rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  overflow: visible;
  transition: border-color 0.35s var(--ease-out);
}

.step:hover {
  border-color: rgba(240, 166, 29, 0.45);
  transform: none;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* Proof / real work */
.proof-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .proof-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-auto-rows: minmax(220px, auto);
    gap: 0.75rem;
  }

  .proof--feature {
    grid-row: span 2;
  }
}

.proof {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid transparent;
}

.proof img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.proof--feature img {
  min-height: 520px;
}

.proof:hover img {
  transform: scale(1.04);
}

.proof figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.25rem 1rem 0.95rem;
  color: rgba(244, 246, 248, 0.92);
  font-size: 0.9rem;
  line-height: 1.45;
  border-top: 0;
  background: linear-gradient(180deg, transparent, rgba(8, 10, 14, 0.88));
  pointer-events: none;
}

/* Trust / certificate */
.trust-wrap {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .trust-wrap {
    grid-template-columns: 0.85fr 1.2fr;
    gap: 1.75rem;
  }
}

.trust-copy p:last-of-type,
.trust-copy > p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.reg-facts {
  margin: 0 0 1rem;
  display: grid;
  gap: 0.65rem;
}

.reg-facts > div {
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 0.85rem;
}

.reg-facts dt {
  color: var(--muted);
  font-size: 0.85rem;
}

.reg-facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
}

.reg-verify {
  margin: 0 !important;
  font-size: 0.92rem;
}

.reg-verify a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.trust-cert {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.trust-cert img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
}

.trust-cert figcaption {
  padding: 0.8rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 800px) {
  .gallery-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 165px;
    gap: 0.7rem;
  }

  .gallery-grid .span-2 {
    grid-column: span 7;
    grid-row: span 3;
  }

  .gallery-grid .tall {
    grid-column: span 5;
    grid-row: span 4;
  }

  .gallery-grid figure:nth-child(3) {
    grid-column: span 4;
    grid-row: span 2;
  }

  .gallery-grid figure:nth-child(4) {
    grid-column: span 3;
    grid-row: span 2;
  }

  .gallery-grid figure:nth-child(5),
  .gallery-grid figure:nth-child(6) {
    grid-column: span 4;
    grid-row: span 2;
  }
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  min-height: 180px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.gallery-grid figure:hover img {
  transform: scale(1.045);
}

/* Reviews */
.reviews {
  background: linear-gradient(180deg, transparent, rgba(23, 29, 36, 0.8), transparent);
}

.review-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review {
  padding: 1.35rem 1.2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.review--photo {
  padding: 0;
  overflow: hidden;
  display: grid;
}

.review--photo > img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.review__body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.review__stars {
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.review p {
  margin: 0 0 1rem;
  color: #d5dbe2;
}

.review footer {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Map / Contact */
.contact-panel {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .contact-panel {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 1.75rem;
    align-items: stretch;
  }
}

.contact-card {
  padding: 1.85rem 1.55rem;
  background:
    linear-gradient(160deg, rgba(240, 166, 29, 0.07), transparent 45%),
    var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 1.9rem);
  letter-spacing: -0.02em;
}

.contact-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.contact-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.contact-list li {
  display: grid;
  gap: 0.15rem;
}

.contact-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-list a,
.contact-list strong {
  font-family: var(--font-display);
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--accent);
}

.map-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 360px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 820px;
}

.faq-item {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.45;
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  background: rgba(240, 166, 29, 0.08);
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 1rem 1.15rem 1.15rem;
  color: var(--muted);
}

/* SEO content block */
.seo-block {
  max-width: 920px;
}

.seo-lead {
  color: var(--muted);
  margin: 0 0 1.4rem;
  font-size: 1.05rem;
}

.symptom-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .symptom-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.symptom-grid article {
  padding: 0.85rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.symptom-grid article:last-child {
  border-bottom: 0;
}

.symptom-grid h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.symptom-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.guide-list {
  display: grid;
  gap: 0;
}

.guide-list article {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.guide-list article:last-child {
  border-bottom: 0;
}

.guide-list h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.35;
}

.guide-list p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}

.seo-cta-line {
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.seo-cta-line a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-nav a:hover {
  color: var(--accent);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 5.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer a:hover {
  color: var(--accent);
}

/* Floating CTA (mobile) */
.float-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(8, 10, 14, 0.92) 30%);
  display: none;
}

/* Back to top */
.back-to-top {
  display: flex;
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 45;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--text);
  background: rgba(30, 38, 47, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--surface);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  body {
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom));
    font-size: 1rem;
  }

  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .site-header {
    padding: 0.85rem 0;
  }

  .site-header__inner {
    gap: 0.6rem;
  }

  .brand__sub {
    font-size: 0.75rem;
  }

  .header-cta {
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .header-cta__full {
    display: none;
  }

  .header-cta__short {
    display: inline;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__content {
    padding: 5.5rem 0 6.5rem;
    max-width: none;
  }

  .hero-brand {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
  }

  .hero h1 {
    font-size: clamp(1.15rem, 4.6vw, 1.4rem);
  }

  .hero__lead {
    font-size: 0.98rem;
    margin-bottom: 1.25rem;
  }

  .cta-row {
    flex-direction: column;
  }

  .cta-row .btn {
    width: 100%;
  }

  .identity {
    padding: 1.5rem 0 0.5rem;
  }

  .identity-card {
    padding: 1.2rem 1rem 1.15rem;
  }

  .identity-card h2 {
    font-size: 1.25rem;
  }

  section {
    padding: 3.25rem 0;
  }

  .section-head {
    margin-bottom: 1.4rem;
  }

  .service-visual {
    min-height: 220px;
  }

  .proof--feature img {
    min-height: 260px;
  }

  .proof img {
    min-height: 180px;
  }

  .gallery-grid figure,
  .gallery-grid img {
    min-height: 140px;
  }

  .gallery-grid .tall {
    grid-row: auto;
  }

  .gallery-grid .span-2 {
    grid-column: span 2;
  }

  .review--photo > img {
    height: 160px;
  }

  .map-frame {
    min-height: 280px;
  }

  .contact-card {
    padding: 1.25rem 1.05rem;
  }

  .trust-cert img {
    max-height: 420px;
    object-fit: contain;
    margin-inline: auto;
  }

  .site-footer {
    padding: 2rem 0 1.5rem;
  }

  .footer-nav {
    gap: 0.45rem 0.85rem;
  }

  .float-cta {
    display: block;
  }

  .float-cta .btn {
    width: 100%;
    min-height: 3.15rem;
  }

  .back-to-top {
    right: 1rem;
    bottom: calc(5.5rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .header-cta {
    padding: 0.5rem 0.7rem;
    font-size: 0.78rem;
  }

  .brand__name {
    font-size: 1.2rem;
  }
}

/* Reveal animation — only when JS opted in (content stays visible without JS) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes heroZoom {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1.02);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::before {
    display: none;
  }

  .hero__media img,
  .js .reveal,
  .hero__content {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .header-cta:hover,
  .step:hover,
  .proof:hover img,
  .gallery-grid figure:hover img,
  .service-visual:hover img,
  .area-visual:hover img {
    transform: none;
  }

  .area-visual {
    transform: none !important;
  }

  .back-to-top {
    transition: none !important;
  }
}
