:root {
  --bg: #1e3554;
  --panel: #2a4a6e;
  --lime: #c5a04a;
  --gold: #d4b05c;
  --cream: #f5f2ed;
  --beige: #e5d9c8;
  --text: #fbf8f2;
  --muted: #e4d9c6;
  --line: rgba(197, 160, 74, 0.42);
  --max: 1140px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: Outfit, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { text-align: justify; }
.container { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; }
.kicker {
  color: var(--lime);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
}
h1, h2 { font-family: "Playfair Display", Georgia, serif; line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); margin-bottom: 16px; }
.lead, .quote { color: var(--muted); max-width: 80ch; }
.quote--banner {
  max-width: none;
  width: 100%;
  margin: 36px 0 0;
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  white-space: nowrap;
  text-align: center;
  font-size: clamp(0.58rem, 1.55vw, 1.2rem);
  line-height: 1.3;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #0b1b32;
  font-weight: 800;
  padding: 13px 22px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(197, 160, 74, 0.28);
}
.btn--ghost { background: transparent; color: #fff; border: 1px solid var(--line); box-shadow: none; }
.btn--sm { padding: 8px 16px; font-size: 0.88rem; }
.btn:hover { filter: brightness(1.08); }

.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 8px 22px;
  background: rgba(30, 53, 84, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav__brand img { height: 88px; width: auto; max-width: min(460px, 70vw); object-fit: contain; }
.nav__links { display: flex; gap: 22px; align-items: center; font-size: 0.92rem; }
.nav__toggle { display: none; background: 0; border: 0; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }

.hero {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: auto;
}
.hero__media, .hero__overlay { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 58%;
  filter: brightness(1.14) saturate(1.08);
}
.hero__overlay {
  background:
    linear-gradient(90deg, rgba(30,53,84,.45) 0%, rgba(30,53,84,.12) 48%, rgba(255,200,120,.08) 100%),
    linear-gradient(180deg, rgba(255,214,150,.18) 0%, rgba(30,53,84,.15) 52%, rgba(30,53,84,.58) 100%);
}
.hero__content { position: relative; padding: 90px 0 70px; z-index: 2; }
.hero h1.slogan {
  font-size: clamp(1.55rem, 4.2vw, 3.1rem);
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
  margin: 10px 0 14px;
  padding: 0;
  border-left: 0;
  max-width: none;
  width: 100%;
  line-height: 1.25;
  white-space: nowrap;
  text-shadow: 0 8px 40px #000;
}
.hero h1.slogan span {
  color: #fff;
}
.hero__sub {
  color: #eee;
  margin-bottom: 26px;
  max-width: 36ch;
  text-align: left;
  font-size: 1.05rem;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.values { background: #25466a; border-block: 1px solid var(--line); }
.values__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.values__grid article {
  padding: 22px 12px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.values__grid article:last-child { border-right: 0; }
.values svg { width: 36px; height: 36px; margin: 0 auto 8px; }
.values strong { letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.78rem; }

.stats { background: linear-gradient(90deg, #1e3554, #2d5278); padding: 28px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.stats b { display: block; font-size: clamp(2rem, 5vw, 3.2rem); color: var(--lime); line-height: 1; }
.stats span { color: var(--muted); font-size: 0.9rem; }

.about, .services, .presence, .team, .method, .adapt { padding: 80px 0; }
.method { padding: 96px 0 72px; background: linear-gradient(180deg, #1e3554 0%, #2a4a6e 100%); }
.adapt { padding: 72px 0 104px; background: #243e5f; }
.about { background: #243e5f; }
.about__grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: 40px; align-items: center; }
.about__grid > div:first-child {
  min-width: 0;
  container-type: inline-size;
}
.about__title {
  white-space: nowrap;
  font-size: clamp(0.95rem, 8.2cqi, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 100%;
  overflow: hidden;
}
.about__grid p { color: var(--muted); margin-bottom: 12px; }
.about__panel {
  border: 1px solid var(--gold);
  padding: 28px 24px;
  background: #3d3420;
}
.about__panel p { color: #fff; font-family: "Playfair Display", serif; font-size: 1.1rem; margin: 0 0 10px; text-align: left; }
.about__panel .slogan {
  color: var(--gold);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  margin-bottom: 16px;
  white-space: nowrap;
}
.about__panel .slogan span { color: #fff; }

.services { background: radial-gradient(circle at 0 0, rgba(197,160,74,.22), transparent 42%), #27486c; }
.services__frame {
  position: relative;
  margin: 18px 0 8px;
  overflow: hidden;
}
.services__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #27486c 0%, rgba(39,72,108,0) 18%, rgba(39,72,108,0) 82%, #27486c 100%),
    linear-gradient(180deg, #27486c 0%, rgba(39,72,108,0) 12%, rgba(39,72,108,0) 88%, #27486c 100%);
}
.services__photo {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  min-height: 170px;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--lime); }
.card__ico { color: var(--gold); font-weight: 800; letter-spacing: 0.12em; }
.card h3 { font-family: Outfit, sans-serif; margin: 8px 0 10px; }

.remodel { padding: 80px 0; background: #2a4a6e; border-block: 1px solid var(--line); }
.remodel__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.remodel__frame {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.remodel__frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}
.remodel__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #2a4a6e 0%, rgba(42,74,110,0) 16%, rgba(42,74,110,0) 84%, #2a4a6e 100%),
    linear-gradient(180deg, #2a4a6e 0%, rgba(42,74,110,0) 18%, rgba(42,74,110,0) 82%, #2a4a6e 100%);
}
.remodel__items { display: grid; gap: 10px; margin-top: 18px; }
.remodel__items article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: #335c82;
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.remodel__items article:hover {
  border-color: var(--gold);
  transform: translateX(4px);
}
.remodel__ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--gold);
}
.remodel__ico svg { width: 22px; height: 22px; }
.remodel__items p { color: #eee; margin: 0; text-align: left; font-size: 0.95rem; }
.remodel__tag {
  margin-top: 18px;
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-style: italic;
  text-align: left;
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.chips span {
  border: 1px solid var(--line);
  padding: 10px 14px;
  background: #335c82;
}
.chips--gold span { color: var(--gold); border-color: rgba(212,175,55,.4); }

.allies {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin: 22px 0 8px;
  overflow: visible;
  padding: 12px 0 8px;
  width: 100%;
  max-width: 100%;
}
.allies img {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  height: 88px;
  object-fit: contain;
  background: #fff;
  padding: 10px 12px;
  border: 1px solid transparent;
  filter: grayscale(1);
  opacity: 0.82;
  transition: transform .25s ease, filter .25s ease, opacity .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.allies img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-8px) scale(1.03);
  border-color: var(--gold);
  box-shadow: 0 14px 30px rgba(197, 160, 74, 0.28);
}

.team { background: #243e5f; }
.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.roles article {
  background: #335c82;
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 18px 12px 16px;
  text-align: center;
  min-height: 118px;
  display: grid;
  place-items: center;
  gap: 8px;
  transition: border-color .2s, transform .2s;
}
.roles article:hover {
  border-color: var(--lime);
  transform: translateY(-3px);
}
.roles svg { width: 28px; height: 28px; color: var(--gold); }
.roles strong { font-size: 0.92rem; }
.roles small { display: block; color: var(--muted); font-size: 0.72rem; line-height: 1.3; }
.team__photo {
  width: min(980px, 100%);
  max-height: 380px;
  object-fit: contain;
  margin: 22px auto 26px;
  border: 1px solid var(--line);
  background: #1a2a38;
}

.tools { padding: 72px 0; background: #1e3554; border-block: 1px solid var(--line); }
.tools__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; }
.tools p { color: var(--muted); }
.tools__badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: transparent;
  border: 0;
  padding: 0;
}
.tools__badges figure { margin: 0; text-align: center; }
.tools__badges svg { width: 72px; height: 72px; margin: 0 auto 8px; }
.tools__badges figcaption { color: var(--gold); font-size: 0.82rem; font-weight: 700; }

.method h2, .adapt h2 {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 36px;
}
.method h2::after, .adapt h2::after {
  content: "";
  display: block;
  width: 88px;
  height: 2px;
  background: var(--gold);
  margin-top: 16px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
  position: relative;
}
.steps article {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 26px 22px 28px;
  min-height: 0;
  position: relative;
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.steps article:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.steps__ico {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: #fff;
  padding: 10px 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(197, 160, 74, 0.28);
}
.steps h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Outfit, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.steps h3 span {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}
.steps p { color: var(--muted); margin-top: 0; }

.adapt__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.adapt__grid article {
  background: linear-gradient(180deg, #335c82 0%, #2a4a6e 100%);
  border: 1px solid var(--line);
  padding: 28px 22px 26px;
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 16px;
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.adapt__grid article:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.adapt__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(197, 160, 74, 0.4);
  background: rgba(197, 160, 74, 0.08);
}
.adapt__mark svg { width: 22px; height: 22px; }
.adapt__grid p { color: #eee; margin: 0; text-align: left; }

.section-band { margin-bottom: 32px; max-width: 58ch; }
.section-band h2 { margin-bottom: 8px; }
.section-band__tag {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  margin: 0;
}
.section-band--jobs .kicker { color: #e8c56a; }
.section-band--contact .kicker { color: var(--lime); }
.jobs {
  padding: 80px 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(197,160,74,.22), transparent 45%),
    #243e5f;
  border-block: 1px solid var(--line);
}
.contact {
  padding: 80px 0 88px;
  background: #152a42;
  border-block: 1px solid var(--line);
}
.form--jobs {
  background: #1f3320;
  border: 1px solid rgba(197, 160, 74, 0.55);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.form--jobs input,
.form--jobs select,
.form--jobs textarea {
  background: #162814;
  border-color: rgba(197, 160, 74, 0.28);
}
.form input[type="file"] {
  padding: 10px;
  color: var(--muted);
  cursor: pointer;
}
.form input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 12px;
  border: 0;
  background: var(--gold);
  color: #0b1b32;
  font-weight: 700;
  cursor: pointer;
}

.form--contact {
  background: #1e3554;
  border: 1px solid rgba(255,255,255,.14);
}
.form--contact input,
.form--contact select,
.form--contact textarea {
  background: #0f2238;
}

.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact h2 { margin-bottom: 10px; }
.contact__sub { color: var(--muted); margin-bottom: 28px; text-align: left; }
.contact__list { list-style: none; margin: 0; }
.contact__list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 16px 0;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}
.contact__list li:first-child { border-top: 1px solid rgba(255,255,255,.08); }
.contact__list strong { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.contact__list a, .contact__list span { color: #eee; display: block; margin-top: 4px; font-size: 0.95rem; }
.contact__list a:hover { color: var(--lime); }
.icon {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; color: var(--gold); background: transparent;
}
.icon svg { width: 22px; height: 22px; }

.form {
  display: grid; gap: 14px;
  background: #2a4a6e;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.1);
}
.form .kicker { margin-bottom: 4px; }
.form label { display: grid; gap: 6px; font-size: 0.86rem; color: var(--muted); }
.form input, .form select, .form textarea {
  background: #1e3554; border: 1px solid rgba(255,255,255,.16); color: #fff; padding: 12px; font: inherit;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 1px solid var(--lime); border-color: var(--lime);
}
.form .btn { width: 100%; margin-top: 6px; }
.form__ok { color: var(--lime); text-align: left; }
.form__err { color: #f0a8a8; text-align: left; font-size: 0.88rem; }

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 48px 16px 110px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer p { text-align: center; margin: 0; }
.footer__logo {
  height: auto;
  width: min(420px, 86vw);
  margin: 0 auto 8px;
  object-fit: contain;
  display: block;
}
.footer a { color: var(--gold); }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: flex; align-items: center; gap: 8px;
  background: #25d366; color: #073b1d;
  padding: 10px 14px 10px 10px; border-radius: 999px;
  font-weight: 800; font-size: 0.75rem; line-height: 1.2;
  box-shadow: 0 10px 28px rgba(37,211,102,.4);
}
.wa-float svg { width: 32px; height: 32px; color: #fff; }

@media (min-width: 901px) {
  .steps article, .adapt__grid article { min-height: 236px; }
}
@media (max-width: 900px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .about, .services, .presence, .team, .method, .adapt, .contact, .remodel, .tools {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .jobs { padding-top: 52px; padding-bottom: 52px; }
  .adapt { padding-bottom: 72px; }
  .nav { padding: 8px 12px; }
  .nav__brand img { height: 58px; max-width: min(220px, 58vw); }
  .nav__toggle { display: block; flex-shrink: 0; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    background: #243e5f;
    border: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 4px;
    z-index: 40;
  }
  .nav__links a { padding: 10px 8px; }
  .nav.is-open .nav__links { display: flex; }
  .values__grid {
    grid-template-columns: 1fr;
  }
  .values__grid article {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 8px;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .values__grid article:last-child {
    grid-column: auto;
    border-bottom: 0;
  }
  .values svg {
    width: 28px;
    height: 28px;
    margin: 0;
    flex-shrink: 0;
  }
  .values strong { font-size: 0.82rem; letter-spacing: 0.12em; }
  .stats__grid, .about__grid, .cards, .cards--3, .steps, .adapt__grid, .tools__inner, .contact__grid, .remodel__inner {
    grid-template-columns: 1fr;
  }
  .about__title {
    font-size: clamp(1.05rem, 6.8vw, 2.2rem);
  }
  .roles { grid-template-columns: 1fr 1fr; }
  .hero {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
    max-height: none;
  }
  .hero__content {
    position: relative;
    padding: 14px 0 16px;
    background: transparent;
  }
  .hero .kicker,
  .hero__sub { display: none; }
  .hero h1.slogan {
    font-size: clamp(0.78rem, 3.8vw, 1.2rem);
    max-width: none;
    white-space: nowrap;
    margin-bottom: 10px;
  }
  .hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero__cta .btn {
    width: auto;
    padding: 8px 12px;
    font-size: 0.78rem;
  }
  .remodel__frame, .remodel__frame img { min-height: 220px; }
  .services__photo { max-height: 240px; }
  .allies {
    flex-wrap: wrap;
    gap: 8px;
  }
  .allies img {
    flex: 1 1 calc(50% - 8px);
    width: auto;
    min-width: 0;
    height: 64px;
    padding: 8px;
  }
  .allies img:hover { transform: none; }
  .steps__ico { height: 110px; }
  .quote--banner {
    white-space: normal;
    font-size: 1rem;
    padding: 18px 16px 8px;
    text-align: justify;
  }
  p { text-align: justify; overflow-wrap: break-word; hyphens: auto; }
  .contact__list a, .contact__list span { overflow-wrap: anywhere; }
  .form { padding: 20px 16px; }
  .wa-float { right: 12px; bottom: 12px; }
  .footer { padding-bottom: 96px; }
  .footer__logo { width: min(280px, 78vw); }
}
@media (max-width: 480px) {
  .wa-float span { display: none; }
  .wa-float { padding: 10px; }
  .roles { grid-template-columns: 1fr; }
}
