/* =========================================================
   JB Service Kft. — design tokens
   ========================================================= */
:root {
  /* brand */
  --navy-950: #070f1c;
  --navy-900: #0a1424;
  --navy-800: #101d33;
  --navy-700: #16294a;
  --blue-600: #2f6be0;
  --blue-500: #3f7df6;
  --blue-300: #8ab2ff;
  --yellow-400: #f2c94c;
  --yellow-500: #e0b232;

  /* surfaces */
  --bg-light: #f6f8fb;
  --bg-tint: #eef3fb;
  --surface: #ffffff;
  --border-light: #dfe6f0;
  --border-dark: rgba(255, 255, 255, .1);

  /* text */
  --ink: #0d1a2e;
  --ink-muted: #4a5b74;
  --on-dark: #e8edf6;
  --on-dark-muted: #a7b6cd;

  /* type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* layout */
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 72px;

  /* motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow-sm: 0 1px 2px rgba(13, 26, 46, .06), 0 2px 8px rgba(13, 26, 46, .05);
  --shadow-md: 0 8px 30px rgba(13, 26, 46, .10);
  --shadow-dark: 0 20px 60px rgba(0, 0, 0, .45);
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-light);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
[hidden] { display: none !important; }

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

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

:focus-visible { outline: 3px solid var(--yellow-400); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--yellow-400); color: var(--navy-900); font-weight: 600;
  padding: 10px 16px; border-radius: 8px; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.break { overflow-wrap: anywhere; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 15.5px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease-out), border-color .2s, color .2s, transform .2s var(--ease-out), box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 14.5px; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn .ic { width: 18px; height: 18px; }

.btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 6px 20px rgba(63, 125, 246, .35); }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 8px 26px rgba(63, 125, 246, .45); }

.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--on-dark); border-color: rgba(255, 255, 255, .24); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); }

.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--border-light); }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); }

.link-btn {
  background: none; border: 0; padding: 4px 0; min-height: 32px; cursor: pointer;
  color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: currentColor;
}
.link-btn:hover { color: var(--blue-500); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 20, 36, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
  color: var(--on-dark);
}
.site-header.is-scrolled { border-bottom-color: var(--border-dark); background: rgba(10, 20, 36, .96); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; min-height: 44px; }
.brand img { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand-sub { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow-400); font-weight: 600; margin-top: 3px; }

.main-nav ul { display: flex; gap: 4px; }
.main-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--on-dark-muted); text-decoration: none; font-size: 14.5px; font-weight: 500;
  border-radius: 8px; transition: color .2s, background-color .2s;
}
.main-nav a:not(.btn):hover, .main-nav a.is-active { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--border-dark); border-radius: 12px;
  color: var(--on-dark); cursor: pointer;
}
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-900); color: var(--on-dark);
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 80% 30%, rgba(63, 125, 246, .28), transparent 70%),
    radial-gradient(40% 40% at 95% 85%, rgba(242, 201, 76, .12), transparent 70%),
    radial-gradient(50% 50% at 0% 0%, rgba(63, 125, 246, .12), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 80%);
}

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04);
  border-radius: 999px; padding: 8px 16px; font-size: 13.5px; font-weight: 500; color: var(--on-dark-muted);
  margin-bottom: 24px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow-400); box-shadow: 0 0 0 4px rgba(242, 201, 76, .18); }

.hero h1 { font-size: clamp(40px, 6.2vw, 68px); font-weight: 700; margin-bottom: 22px; color: #fff; }
.accent { color: var(--blue-500); background: linear-gradient(90deg, var(--blue-500), var(--blue-300)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: clamp(16.5px, 1.6vw, 18.5px); line-height: 1.65; color: var(--on-dark-muted); max-width: 580px; margin-bottom: 32px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; color: var(--on-dark); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ic { width: 18px; height: 18px; color: var(--yellow-400); stroke-width: 2.5; }

/* hero visual */
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 460px; width: 100%; justify-self: center; }
.orbit { position: absolute; inset: 8%; display: grid; place-items: center; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); }
.orbit-ring.r1 { inset: 0; border-style: dashed; border-color: rgba(138, 178, 255, .25); animation: spin 60s linear infinite; }
.orbit-ring.r2 { inset: 14%; background: radial-gradient(circle, rgba(63, 125, 246, .22), rgba(10, 20, 36, 0) 70%); border-color: rgba(255, 255, 255, .08); }
.orbit-logo { width: 58%; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); animation: floaty 7s ease-in-out infinite; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(16, 29, 51, .86); border: 1px solid var(--border-dark);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 14px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow-dark);
  animation: floaty 8s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-display); font-size: 15px; color: #fff; }
.float-card small { display: block; font-size: 12.5px; color: var(--on-dark-muted); }
.fc-1 { top: 6%; left: -2%; }
.fc-2 { top: 44%; right: -6%; animation-delay: -2.5s; }
.fc-3 { bottom: 4%; left: 6%; animation-delay: -5s; }
.fc-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.fc-icon.blue { background: rgba(63, 125, 246, .18); color: var(--blue-300); }
.fc-icon.amber { background: rgba(255, 140, 66, .16); color: #ffa766; }
.fc-icon.yellow { background: rgba(242, 201, 76, .16); color: var(--yellow-400); }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* stats */
.stats {
  margin: clamp(40px, 6vw, 64px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-dark); border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
}
.stat { padding: 22px 24px; display: flex; flex-direction: column-reverse; gap: 2px; }
.stat + .stat { border-left: 1px solid var(--border-dark); }
.stat dd { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: var(--yellow-400); letter-spacing: -.02em; line-height: 1.1; }
.stat dd.blue { color: var(--blue-300); }
.stat dt { font-size: 14px; color: var(--on-dark-muted); }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding-top: clamp(32px, 5vw, 56px); }
.section-light { background: var(--bg-light); }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--navy-900); color: var(--on-dark); }

.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--yellow-400); }
.section-dark .eyebrow { color: var(--yellow-400); }
.section h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--ink-muted); line-height: 1.65; }
.section-sub.on-dark { color: var(--on-dark-muted); }

/* services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  position: relative; background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
}
.service::after {
  content: ""; position: absolute; left: 24px; right: 24px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--blue-500), var(--yellow-400));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #c9d6ea; }
.service:hover::after { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, #e8f0ff, #f3f7ff); color: var(--blue-600); border: 1px solid #d6e3fb;
}
.service-icon .ic { width: 24px; height: 24px; }
.service h3 { font-size: 18.5px; font-weight: 600; margin-bottom: 8px; letter-spacing: -.01em; }
.service p { font-size: 15px; color: var(--ink-muted); line-height: 1.6; }

/* midea */
.midea {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
  padding: clamp(32px, 5vw, 64px);
  background: linear-gradient(140deg, #13305e 0%, #0e1f3d 55%, #0b1830 100%);
  border: 1px solid rgba(63, 125, 246, .35); border-radius: var(--radius-lg);
}
.midea::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 125, 246, .35), transparent 65%); pointer-events: none;
}
.midea > * { position: relative; }
.midea h2 { color: #fff; }
.badge-blue {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(63, 125, 246, .16); border: 1px solid rgba(63, 125, 246, .45); color: var(--blue-300);
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; margin-bottom: 22px;
}
.midea .section-sub { margin-bottom: 26px; max-width: 560px; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-bottom: 32px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15.5px; color: var(--on-dark); }
.checklist .ic {
  width: 26px; height: 26px; padding: 5px; border-radius: 50%;
  background: rgba(242, 201, 76, .16); color: var(--yellow-400); stroke-width: 3;
}

.midea-visual { position: relative; display: grid; place-items: center; min-height: 320px; }
.hp-unit {
  width: min(340px, 100%); aspect-ratio: 1.35 / 1; border-radius: 18px;
  background: linear-gradient(180deg, #f4f7fb, #dfe6f0); box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 -6px 0 rgba(0, 0, 0, .06);
  display: grid; grid-template-columns: 1.4fr .6fr; gap: 16px; padding: 22px;
}
.hp-grille {
  border-radius: 50%; aspect-ratio: 1; align-self: center;
  background: repeating-radial-gradient(circle, #c6d0de 0 2px, #e9eef5 2px 9px);
  display: grid; place-items: center; border: 6px solid #cfd8e5;
}
.hp-fan {
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, #8ea2bf 0 18%, transparent 18% 33%, #8ea2bf 33% 51%, transparent 51% 66%, #8ea2bf 66% 84%, transparent 84%);
  animation: spin 4s linear infinite; opacity: .7;
}
.hp-panel { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.hp-panel span { height: 6px; border-radius: 3px; background: #c6d0de; }
.hp-panel span:first-child { background: var(--blue-500); width: 60%; }
.hp-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(10, 20, 36, .85); border: 1px solid var(--border-dark); color: var(--on-dark);
  padding: 10px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow-dark);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hp-chip .ic { width: 18px; height: 18px; color: var(--yellow-400); }
.chip-a { top: 4%; left: 0; }
.chip-b { bottom: 4%; right: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 28px 24px;
}
.step-num {
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .06em;
  color: var(--navy-900); background: var(--yellow-400); border-radius: 8px; padding: 4px 10px; margin-bottom: 18px;
}
.step h3 { font-size: 18.5px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-muted); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 42px; right: -17px; width: 18px; height: 2px; background: var(--border-light);
}

/* about */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-copy p { color: var(--ink-muted); font-size: 16.5px; line-height: 1.75; margin-bottom: 16px; max-width: 620px; }
.about-copy .about-strong { color: var(--ink); font-weight: 600; }
.signature { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-900); color: var(--yellow-400); font-family: var(--font-display); font-weight: 700; font-size: 17px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--border-light);
}
.signature strong { display: block; font-family: var(--font-display); font-size: 17px; }
.signature small { display: block; color: var(--ink-muted); font-size: 14px; }

.values { display: grid; gap: 12px; }
.value {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-sm);
}
.value-icon {
  width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-900); color: var(--yellow-400);
}
.value strong { display: block; font-family: var(--font-display); font-size: 17px; margin-bottom: 2px; }
.value small { display: block; font-size: 14.5px; color: var(--ink-muted); line-height: 1.55; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3;
  background: var(--border-light); border: 0; padding: 0; cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.05); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 90vh; }
.lightbox::backdrop { background: rgba(3, 8, 18, .88); }
.lightbox img { max-height: 86vh; width: auto; margin: auto; border-radius: 12px; }
.lightbox .modal-close { position: absolute; top: 10px; right: 10px; }

/* facebook */
.fb-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.fb-copy .section-sub { margin-bottom: 26px; }
.fb-frame {
  background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 14px; box-shadow: var(--shadow-md); min-height: 420px; display: grid; max-width: 528px; width: 100%; justify-self: center;
}
.fb-frame iframe { width: 100%; height: 600px; border: 0; border-radius: 12px; display: block; }
.fb-consent {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px;
  border: 1.5px dashed var(--border-light); border-radius: 14px; padding: 40px 28px; color: var(--ink-muted);
}
.fb-consent p { max-width: 340px; }
.fb-consent-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1877f2; color: #fff; }
.fb-consent-icon .ic { width: 26px; height: 26px; }
.fb-consent .link-btn { font-size: 14px; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact h2 { color: #fff; }
.contact-info .section-sub { margin-bottom: 32px; }
.contact-list { display: grid; gap: 12px; margin-bottom: 32px; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 14px 18px;
  border: 1px solid var(--border-dark); border-radius: var(--radius); background: rgba(255, 255, 255, .03);
  text-decoration: none; transition: background-color .2s, border-color .2s;
}
.contact-list a:hover { background: rgba(63, 125, 246, .12); border-color: rgba(63, 125, 246, .5); }
.ci { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(63, 125, 246, .18); color: var(--blue-300); }
.contact-list small { display: block; font-size: 13px; color: var(--on-dark-muted); }
.contact-list strong { display: block; font-family: var(--font-display); font-size: 17.5px; font-weight: 600; color: #fff; }

.area-title { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 12px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chips li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--border-dark); font-size: 14px; }

.quote-form {
  background: var(--surface); color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-dark);
}
.quote-form h3 { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.form-note { font-size: 14.5px; color: var(--ink-muted); margin-bottom: 24px; }
.field { margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.field label span { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--border-light); background: var(--bg-light); color: var(--ink);
  font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(63, 125, 246, .18);
}
.field.has-error input { border-color: #c0392b; }
.field-error { font-size: 13.5px; color: #b03a2e; margin-top: 6px; min-height: 0; }
.field-error:empty { display: none; }
.form-legal { font-size: 13px; color: var(--ink-muted); margin-top: 14px; text-align: center; }
.form-legal .link-btn { font-size: 13px; color: var(--blue-600); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: 56px 0 24px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border-dark); }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand strong { color: #fff; font-family: var(--font-display); font-size: 17px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 4px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; font-size: 13px; }
.footer-links { display: flex; gap: 20px; }
.footer-links .link-btn { color: var(--on-dark-muted); text-decoration: none; }
.footer-links .link-btn:hover { color: #fff; }

.mobile-callbar { display: none; }

/* =========================================================
   Modals
   ========================================================= */
.modal {
  width: min(560px, calc(100vw - 32px)); max-height: 86vh; padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--border-dark); border-radius: var(--radius-lg);
  background: #0f1f38; color: var(--on-dark); box-shadow: var(--shadow-dark);
}
.modal-wide { width: min(680px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(3, 8, 18, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .28s var(--ease-out); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.modal-head h2 { font-size: 26px; color: #fff; }
.modal-close {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: var(--on-dark); border: 0; border-radius: 50%; cursor: pointer;
}
.modal-close:hover { background: rgba(255, 255, 255, .16); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 0; font-size: 15px; }
.kv dt { color: var(--on-dark-muted); }
.kv dd { margin: 0; }
.kv a, .prose a { color: var(--blue-300); }
.modal-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border-dark); font-size: 13px; color: var(--on-dark-muted); }
.prose p { font-size: 15px; line-height: 1.7; color: #c7d3e6; margin-bottom: 14px; }
.prose strong { color: #fff; }
.prose .muted { font-size: 13px; color: var(--on-dark-muted); }
.prose .btn-outline { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, .24); }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .main-nav a:not(.btn) { padding: 0 9px; font-size: 14px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .header-call span { display: none; }
  .header-call { width: 44px; padding: 0; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    background: var(--navy-900); border-bottom: 1px solid var(--border-dark);
    padding: 12px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility 0s .25s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; gap: 2px; margin-bottom: 16px; }
  .main-nav a:not(.btn) { min-height: 52px; font-size: 17px; padding: 0 12px; color: var(--on-dark); }
  .nav-cta-mobile { display: flex; width: 100%; }

  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { max-width: 380px; order: -1; display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border-dark); }

  .midea, .about, .fb-wrap, .contact { grid-template-columns: 1fr; }
  .midea-visual { min-height: 260px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .mobile-callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(10, 20, 36, .96); border-top: 1px solid var(--border-dark);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  body { padding-bottom: 76px; }
}

@media (max-width: 600px) {
  .brand-sub { display: none; }
  .services, .steps { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .cta-row .btn { flex: 1 1 100%; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .stat { padding: 18px; }
  .service { padding: 22px 20px; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; }
  .service-icon { margin-bottom: 0; grid-row: span 2; }
}

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