:root {
  --ink: #111820;
  --muted: #5c6873;
  --panel: #ffffff;
  --paper: #f6f1e8;
  --cream: #fbf7ef;
  --line: #ddd4c7;
  --dark: #071923;
  --green: #007a4d;
  --red: #b3292e;
  --yellow: #e1b33d;
  --shadow: 0 20px 55px rgba(17, 24, 32, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(251, 247, 239, .92);
  border-bottom: 1px solid rgba(17, 24, 32, .08);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--red));
  font-size: 12px;
}
.topbar nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 800; color: #33414c; }
.actions { display: flex; align-items: center; gap: 8px; }
.lang, .call-mini {
  border: 1px solid var(--line);
  background: #fff;
  min-width: 42px;
  height: 36px;
  padding: 0 13px;
  border-radius: 7px;
  font-weight: 900;
  color: var(--ink);
}
.call-mini { display: inline-grid; place-items: center; color: #fff; background: var(--dark); border-color: var(--dark); }

.hero {
  min-height: calc(100svh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  padding: clamp(46px, 8vw, 110px) clamp(22px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(251,247,239,.98), rgba(251,247,239,.76)),
    radial-gradient(circle at 80% 25%, rgba(0,122,77,.12), transparent 28%),
    var(--cream);
}
.hero-copy { max-width: 760px; }
.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 12px;
  font-weight: 950;
  color: var(--red);
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(43px, 6vw, 86px);
  line-height: .94;
  letter-spacing: 0;
}
.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #40505d;
  font-size: 17px;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.primary, .secondary {
  min-height: 46px;
  display: inline-grid;
  place-items: center;
  padding: 0 22px;
  border-radius: 7px;
  font-weight: 950;
  border: 1px solid var(--dark);
}
.primary { background: var(--dark); color: #fff; }
.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.metric-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.metric-row div {
  width: 122px;
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.metric-row strong { color: var(--green); font-size: 25px; line-height: 1; }
.metric-row span { color: var(--muted); font-size: 12px; font-weight: 800; }

.hero-media {
  position: relative;
  min-height: 520px;
}
.photo {
  position: absolute;
  object-fit: cover;
  border: 7px solid #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.photo.exterior { width: 86%; right: 0; top: 58px; aspect-ratio: 16/9; }
.photo.diag { width: 66%; left: 0; bottom: 54px; aspect-ratio: 16/10; }
.photo.engine { width: 38%; left: 8%; top: 0; aspect-ratio: 3/4; }

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--dark);
  color: #fff;
}
.quick-strip a, .quick-strip div {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px clamp(22px, 4vw, 56px);
  border-right: 1px solid rgba(255,255,255,.09);
}
.quick-strip span { color: var(--yellow); font-size: 12px; font-weight: 950; }
.quick-strip strong { font-size: 16px; }

.section, .proof-section, .visit { padding: clamp(62px, 8vw, 112px) clamp(22px, 5vw, 72px); }
.flow { background: var(--paper); }
.section-head { max-width: 850px; margin-bottom: 28px; }
.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}
.service-board {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.tabs { display: grid; gap: 10px; align-content: start; }
.tab {
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  color: var(--ink);
  background: #fff;
  font-weight: 950;
  cursor: pointer;
}
.tab.active { color: #fff; border-color: var(--green); background: var(--green); }
.panel {
  min-height: 194px;
  display: grid;
  align-content: end;
  padding: 28px;
  color: #fff;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7,25,35,.92), rgba(7,25,35,.58)),
    url("images/image_05.jpg") center/cover;
}
.panel p { margin: 0; max-width: 690px; line-height: 1.55; }
.panel p:first-child { color: var(--yellow); font-weight: 950; }
.panel h3 { margin: 8px 0 12px; font-size: 25px; line-height: 1.1; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cards article {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.cards span { color: var(--red); font-weight: 950; }
.cards h3 { margin: 26px 0 12px; }
.cards p { margin: 0; color: var(--muted); line-height: 1.6; }

.proof-section { background: var(--cream); }
.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: stretch;
}
.gallery-main { position: relative; margin: 0; min-height: 560px; border-radius: 8px; overflow: hidden; background: #fff; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 10px 13px;
  color: #fff;
  background: rgba(7,25,35,.88);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 950;
}
.thumbs { display: grid; gap: 16px; grid-template-rows: repeat(4, 1fr); }
.thumb {
  padding: 0;
  border: 3px solid transparent;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}
.thumb.active { border-color: var(--red); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.visit {
  background:
    linear-gradient(90deg, rgba(251,247,239,.95), rgba(251,247,239,.82)),
    url("images/image_02.jpg") center/cover fixed;
}
.visit-card {
  max-width: 980px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 30px;
  align-items: center;
  padding: clamp(28px, 5vw, 44px);
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.visit-card h2 { margin: 0 0 12px; font-size: clamp(34px, 4vw, 54px); line-height: 1; }
.visit-card p:not(.eyebrow) { margin: 0; color: var(--muted); line-height: 1.65; }
.visit-actions { display: grid; gap: 10px; }
.source { max-width: 980px; margin: 28px 0 0; color: #33414c; font-size: 13px; line-height: 1.6; }

.sticky {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 30;
  min-height: 52px;
  display: none;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-weight: 950;
  box-shadow: var(--shadow);
}
.sticky.is-hidden { display: none; }

@media (max-width: 920px) {
  .topbar nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-media { min-height: 420px; }
  h1 { font-size: clamp(39px, 11vw, 64px); }
  .quick-strip, .cards, .gallery, .visit-card { grid-template-columns: 1fr; }
  .service-board { grid-template-columns: 1fr; }
  .tabs { grid-template-columns: 1fr; }
  .gallery-main { min-height: 420px; }
  .thumbs { grid-template-columns: repeat(4, 1fr); grid-template-rows: none; }
  .thumb { min-height: 92px; }
  .visit { background-attachment: scroll; }
}

@media (max-width: 640px) {
  .topbar { padding: 10px 12px; min-height: 58px; }
  .brand strong { max-width: 116px; font-size: 13px; line-height: 1.1; }
  .call-mini { display: none; }
  .hero { padding: 32px 14px 44px; gap: 20px; }
  .lead { font-size: 15px; line-height: 1.55; }
  .hero-actions { display: grid; }
  .metric-row { display: grid; grid-template-columns: 1fr; }
  .metric-row div { width: 100%; min-height: 70px; }
  .hero-media { min-height: 360px; }
  .photo { border-width: 5px; }
  .photo.exterior { width: 92%; top: 60px; }
  .photo.diag { width: 78%; bottom: 18px; }
  .photo.engine { width: 44%; left: 2%; }
  .quick-strip a, .quick-strip div { min-height: 92px; padding: 18px 16px; }
  .section, .proof-section, .visit { padding: 56px 14px; }
  .section-head h2 { font-size: 34px; }
  .panel { min-height: 220px; padding: 20px; }
  .cards article { min-height: 0; padding: 22px; }
  .gallery-main { min-height: 330px; }
  .thumbs { gap: 8px; }
  .thumb { min-height: 74px; }
  .visit-card { padding: 22px; }
  .visit-actions .primary, .visit-actions .secondary { width: 100%; }
  .sticky:not(.is-hidden) { display: grid; }
}
