/* =========================================================
   Perłowy Połysk – mobilny detailing (strona ćwiczebna)
   Mobile-first, 360px → 1920px
   ========================================================= */

/* ---------- fonts (self-hosted, works offline) ---------- */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("assets/fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("assets/fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0E1113;
  --surface: #151A1D;
  --surface-2: #1B2125;
  --line: rgba(242, 244, 245, 0.09);
  --line-strong: rgba(242, 244, 245, 0.16);
  --text: #F2F4F5;
  --muted: #B3B9BE;
  /* brand colours */
  --accent: #1D84D1;
  --silver: #A8A8AA;
  /* derived shades of the brand blue */
  --accent-deep: #1670B5;   /* button fill – keeps white text above 4.5:1 */
  --accent-light: #5AAEEC;  /* small accent text on dark */
  --accent-glow: rgba(29, 132, 209, 0.35);

  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --gutter: 20px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 84px; }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--text);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
              transform 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 8px 24px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover {
  background: var(--accent);
  box-shadow: 0 12px 32px -10px rgba(29,132,209,0.6), inset 0 1px 0 rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(14, 17, 19, 0.35);
  color: var(--text);
  border-color: rgba(242, 244, 245, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--text); background: rgba(242,244,245,0.08); }

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.9375rem; }
.btn-sm .icon { width: 18px; height: 18px; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: linear-gradient(to bottom, rgba(14,17,19,0.75), rgba(14,17,19,0));
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(14, 17, 19, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: block; flex: none; }
.brand img { height: 48px; width: auto; }

.main-nav { display: none; }

/* text + SVG logo (Perłowy Połysk) */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-mark { width: 40px; height: 40px; flex: none; border-radius: 11px; box-shadow: 0 6px 18px -8px var(--accent-glow); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver); margin-top: 4px; }
@media (min-width: 768px) {
  .brand-mark { width: 48px; height: 48px; border-radius: 13px; }
  .brand-name { font-size: 1.25rem; }
  .brand-sub { font-size: 0.75rem; }
}
.footer-brand .brand-mark { width: 44px; height: 44px; }

.contact-phone.contact-mail { font-size: clamp(1.125rem, 4.8vw, 1.75rem); overflow-wrap: anywhere; }
.contact-phone.contact-mail .icon { width: 24px; height: 24px; }
.demo-note { font-size: 0.9375rem; }

/* contact form: spam trap, optional label, success state */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.optional { color: rgba(179,185,190,0.7); font-weight: 400; }
.btn:disabled { opacity: 0.7; cursor: progress; transform: none; }
.form.is-sent > :not(.form-success) { display: none; }
.form-success {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px 8px;
  text-align: center;
  outline: none;
}
.form-success[hidden] { display: none; }
.form-success-icon {
  width: 64px; height: 64px;
  fill: none; stroke: var(--accent-light); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  animation: pop-in 0.5s var(--ease) both;
}
.form-success h3 { font-size: 1.375rem; }
.form-success p { color: var(--muted); max-width: 28rem; }
.form-success .btn { margin-top: 8px; }
@keyframes pop-in { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }

@media (min-width: 768px) {
  .brand img { height: 64px; }
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    gap: 6px;
    margin-left: auto;
    margin-right: 12px;
  }
  .main-nav a {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
  }
  .main-nav a:hover { color: var(--text); background: rgba(242,244,245,0.06); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

/* Animated poster underneath the video: visible whenever the video can't
   autoplay (in-app viewers, battery saver, scripts blocked). */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("assets/poster.jpg") center / cover no-repeat;
  transform-origin: 60% 55%;
  animation: hero-drift 16s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-2%, -1.5%, 0); }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0;               /* shown only once frames are actually playing */
  transition: opacity 0.8s ease;
}
.hero-video.is-playing { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(14,17,19,0.98) 0%, rgba(14,17,19,0.82) 30%, rgba(14,17,19,0.25) 62%, rgba(14,17,19,0.35) 100%),
    linear-gradient(to right, rgba(14,17,19,0.55), rgba(14,17,19,0) 60%);
}

.hero-content {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 48px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  margin-bottom: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(14,17,19,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.875rem;
  font-weight: 500;
}
.badge-stars { color: #F5C04E; }

.hero h1 {
  font-size: clamp(2.375rem, 9.5vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: 12ch;
}

.hero-sub {
  margin-top: 18px;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 2.6vw, 1.3125rem);
  color: rgba(242,244,245,0.9);
}

.hero-note {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--silver);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

@media (min-width: 560px) {
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
}

@media (min-width: 768px) {
  .hero-content { padding-bottom: 88px; }
}

/* ---------- trust bar ---------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  padding-block: 22px;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.3;
}
.trust-list .icon { color: var(--accent-light); width: 22px; height: 22px; }

@media (min-width: 900px) {
  .trust-list {
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
    padding-block: 26px;
  }
  .trust-list li { font-size: 1rem; }
}

/* ---------- sections ---------- */
.section { padding-block: 80px; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

@media (min-width: 768px) {
  .section { padding-block: 120px; }
}

.section-head { max-width: 46rem; margin-bottom: 40px; }
@media (min-width: 768px) { .section-head { margin-bottom: 56px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--accent-light);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

h2 { font-size: clamp(1.875rem, 5.4vw, 3.25rem); }

.lead {
  margin-top: 16px;
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  color: var(--muted);
}

.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ---------- services ---------- */
.services {
  display: grid;
  gap: 16px;
}

.service {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service:hover {
  border-color: rgba(29,132,209,0.55);
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -28px var(--accent-glow);
}

.service-icon {
  width: 44px; height: 44px;
  margin-bottom: 22px;
  fill: none;
  stroke: var(--accent-light);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 { font-size: 1.3125rem; margin-bottom: 10px; }
.service p { color: var(--muted); }

.service .price {
  margin-top: auto;
  padding-top: 22px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service .price::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(29,132,209,0.18);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.tags li {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--muted);
  background: rgba(242,244,245,0.03);
}
.tags strong { color: var(--text); font-weight: 600; margin-right: 4px; }

.service-urgent {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(29,132,209,0.16), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
}

@media (min-width: 640px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services > :last-child { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  .services > * { grid-column: span 2; }
  .services > :nth-child(4),
  .services > :nth-child(5) { grid-column: span 3; }
  .service { padding: 34px 32px; }
}

/* ---------- before / after ---------- */
.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 1920 / 1084;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
@media (max-width: 639px) {
  .ba { aspect-ratio: 4 / 3.4; }
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-label {
  position: absolute;
  top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(14,17,19,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-label-before { left: 14px; }
.ba-label-after { right: 14px; color: #fff; background: rgba(22,112,181,0.85); }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 44px;
  margin-left: -22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  touch-action: none;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--text);
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
}
.ba-knob {
  position: relative;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transition: transform 0.2s var(--ease), background-color 0.2s;
}
.ba-knob svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ba-handle:hover .ba-knob,
.ba.is-dragging .ba-knob { transform: scale(1.08); }
.ba-handle:focus-visible { outline: none; }
.ba-handle:focus-visible .ba-knob { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent-light); }

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  gap: 14px;
}
@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery li:first-child { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .gallery li:first-child { grid-column: auto; }
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: rgba(8,10,11,0.94);
  color: var(--text);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(8,10,11,0.6); }
.lightbox img {
  max-width: min(94vw, 1600px);
  max-height: 84vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.lb-btn {
  position: absolute;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(21,26,29,0.8);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.lb-btn:hover { background: var(--accent-deep); border-color: var(--accent); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
}
.step-num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent-light), var(--silver));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .step { padding: 36px 32px; }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 58px;
    right: -21px;
    width: 22px; height: 2px;
    background: linear-gradient(to right, var(--accent), transparent);
  }
}

/* ---------- reviews ---------- */
.reviews { display: grid; gap: 16px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

.review {
  margin: 0;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.stars {
  color: #F5C04E;
  letter-spacing: 3px;
  font-size: 1.125rem;
  margin-bottom: 16px;
}
.review blockquote { margin: 0 0 20px; }
.review blockquote p { font-size: 1.0625rem; line-height: 1.6; }
.review figcaption {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9375rem;
}

.reviews-more { margin-top: 32px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-light);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, gap 0.2s var(--ease);
}
.link-arrow:hover { border-color: currentColor; gap: 12px; }

/* ---------- service area ---------- */
.area { display: grid; gap: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: border-color 0.2s, color 0.2s;
}
.chips li:hover { border-color: var(--accent); }
.chips li:first-child { border-color: rgba(29,132,209,0.6); color: #fff; background: rgba(29,132,209,0.14); }
.area-note { color: var(--muted); font-size: 1.0625rem; }
.area-note a { color: var(--accent-light); font-weight: 600; }

@media (min-width: 1024px) {
  .area { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 28px 64px; }
  .area-note { grid-column: 2; }
}

/* ---------- contact ---------- */
.contact { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact { grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; } }

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-phone .icon { width: 30px; height: 30px; color: var(--accent-light); }
.contact-phone:hover { color: var(--accent-light); }

.contact-list { margin-top: 20px; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .icon { color: var(--accent-light); }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: border-color 0.2s; }
.contact-list a:hover { border-color: var(--text); }

.hours {
  margin-top: 32px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.hours h3 { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; margin-bottom: 14px; }
.hours h3 .icon { color: var(--accent-light); }
.hours dl { margin: 0; display: grid; gap: 8px; }
.hours dl div { display: flex; justify-content: space-between; gap: 16px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

.form { padding: 28px 22px; display: grid; gap: 18px; }
.form h3 { font-size: 1.375rem; }
@media (min-width: 768px) { .form { padding: 40px 36px; } }

.field { display: grid; gap: 8px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label { font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B3B9BE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.field input::placeholder { color: rgba(179,185,190,0.6); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(242,244,245,0.3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29,132,209,0.25);
}
.field [aria-invalid="true"] { border-color: #F0727A; }

.form-error { color: #F49AA0; font-size: 0.9375rem; }
.form-hint { color: var(--muted); font-size: 0.8125rem; text-align: center; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 48px 40px;
  background: #0A0C0E;
  color: var(--muted);
  font-size: 0.9375rem;
}
.footer-inner { display: grid; gap: 22px; justify-items: start; }
.footer-logo { height: 72px; width: auto; }
.footer-name { color: var(--text); font-weight: 600; margin-bottom: 4px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-demo {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(179,185,190,0.75);
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
}

/* ---------- mobile call bar ---------- */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(14,17,19,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.callbar.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }

@media (max-width: 767px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) {
  .callbar { display: none; }
}

/* ---------- reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero::before { animation: none; transform: none; }
}
