:root {
  --ink: #12202a;
  --muted: #5b6972;
  --line: #dde5e7;
  --paper: #fbfcfb;
  --soft: #edf4f1;
  --green: #1f7a5a;
  --green-dark: #11523e;
  --amber: #d49a34;
  --blue: #2f6f93;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(18, 32, 42, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(18, 32, 42, .86), rgba(18, 32, 42, .18));
  transition: background .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(18, 32, 42, .96);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  padding: 6px;
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong { font-size: 15px; letter-spacing: .02em; }
.brand small { margin-top: 4px; font-size: 12px; opacity: .82; }

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.nav-cta,
.header-phone {
  opacity: .92;
  transition: opacity .2s ease, color .2s ease;
}

.nav a:hover,
.nav-cta:hover,
.header-phone:hover { opacity: 1; color: #dff5e9; }

.nav-cta {
  min-height: 36px;
  margin: -8px 0;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 8px;
  padding: 7px 13px;
  color: var(--white);
  background: rgba(31, 122, 90, .72);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.header-phone {
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  flex: 0 0 auto;
}

.nav-mobile-cta {
  display: none;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
}

.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero { min-height: 690px; background: var(--ink); }
.slider { position: relative; min-height: 690px; overflow: hidden; }

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 120px clamp(18px, 5vw, 72px) 86px;
  background-image:
    linear-gradient(90deg, rgba(18, 32, 42, .92) 0%, rgba(18, 32, 42, .74) 38%, rgba(18, 32, 42, .22) 72%),
    var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .55s ease, transform .7s ease;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-copy {
  width: min(650px, 100%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1,
.hero h2 {
  margin-bottom: 22px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: .96;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 580px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .88);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-1px); }
.button.primary { color: var(--white); background: var(--green); }
.button.primary:hover { background: var(--green-dark); }
.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .08);
}

.slider-controls {
  position: absolute;
  z-index: 4;
  left: clamp(18px, 5vw, 72px);
  bottom: 36px;
  display: flex;
  gap: 10px;
}

.slider-controls button {
  width: 38px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
}

.slider-controls button.is-active { background: var(--white); }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  box-shadow: var(--shadow);
}

.trust-strip div {
  padding: 24px clamp(16px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.trust-strip strong,
.trust-strip span { display: block; }
.trust-strip strong { margin-bottom: 5px; font-size: 17px; }
.trust-strip span { color: var(--muted); font-size: 14px; }

.section {
  padding: 86px clamp(18px, 5vw, 72px);
}

.muted { background: var(--soft); }
.gallery-section { background: var(--white); }

.section-heading,
.section-text {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-heading h2,
.section-text h2,
.cta-band h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.section-heading p:not(.eyebrow),
.section-text + .intro-grid,
.product-panel p,
.card p,
.steps p,
.footer p {
  color: var(--muted);
}

.intro {
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: clamp(28px, 6vw, 72px);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  font-size: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card,
.product-panel,
.steps div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card {
  padding: 26px;
  min-height: 205px;
}

.card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--green-dark);
  background: #e4f3eb;
  font-weight: 900;
}

.card h3,
.product-panel h3,
.steps h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.gallery-carousel {
  position: relative;
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
  scroll-snap-align: start;
  aspect-ratio: 3 / 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(18, 32, 42, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(18, 32, 42, .12);
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-prev { left: -12px; }
.gallery-next { right: -12px; }

.gallery-arrow::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 17px;
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--green-dark);
  border-left: 3px solid var(--green-dark);
}

.gallery-prev::before { transform: rotate(-45deg); }
.gallery-next::before {
  left: 13px;
  transform: rotate(135deg);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.gallery-dots button {
  width: 28px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: #cad6d8;
  cursor: pointer;
}

.gallery-dots button.is-active {
  background: var(--green);
}

.product-panel {
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.product-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(31, 122, 90, .09);
}

.product-panel.accent::after { background: rgba(47, 111, 147, .12); }

.product-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-size: 28px;
  font-weight: 900;
}

.product-panel.accent .product-icon { background: var(--blue); }

.product-panel ul {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  padding-left: 20px;
}

.product-panel li { margin-bottom: 8px; }

.process { background: var(--white); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.steps div { padding: 26px; }
.steps strong {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
}

.cta-band {
  display: grid;
  grid-template-columns: .78fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: 82px clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 32, 42, .96), rgba(17, 82, 62, .94)),
    url("assets/images/slide-conference.jpg") center/cover;
}

.cta-band p:not(.eyebrow) { color: rgba(255, 255, 255, .82); }

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.lead-form textarea { resize: vertical; }
.wide { grid-column: 1 / -1; }
.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
  font-weight: 700;
}

.form-status.is-error {
  color: #ffd0c8;
}

.modal {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility .2s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 32, 42, .72);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--white);
  background: linear-gradient(135deg, #12202a, #11523e);
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.08;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 10px;
  width: 18px;
  height: 2px;
  background: var(--white);
}

.modal-close::before { transform: rotate(45deg); }
.modal-close::after { transform: rotate(-45deg); }

.modal-form {
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 34px;
  padding: 54px clamp(18px, 5vw, 72px);
  background: #101820;
  color: var(--white);
}

.footer address,
.socials {
  display: grid;
  gap: 9px;
  font-style: normal;
}

.footer p,
.footer span { color: rgba(255, 255, 255, .68); }
.footer a { color: rgba(255, 255, 255, .82); }
.footer a:hover { color: var(--white); }

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.social-icons a:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .42);
  background: rgba(31, 122, 90, .42);
}

.social-icons svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 980px) {
  .site-header { gap: 16px; }
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 18px;
    background: rgba(18, 32, 42, .97);
  }
  .site-header.is-open .nav { display: grid; }
  .nav-cta {
    width: max-content;
    margin: 4px 0 0;
  }
  .header-cta {
    margin: 0;
  }
  .header-phone { margin-left: auto; }
  .menu-button { display: block; }
  .trust-strip,
  .cards,
  .steps { grid-template-columns: repeat(2, 1fr); }
  .intro,
  .cta-band,
  .footer { grid-template-columns: 1fr; }
  .gallery-track { grid-auto-columns: calc((100% - 18px) / 2); }
}

@media (max-width: 680px) {
  .site-header {
    height: 68px;
    padding: 10px 14px;
  }
  .brand { min-width: 0; }
  .brand small,
  .header-phone,
  .header-cta { display: none; }
  .nav { top: 68px; }
  .hero,
  .slider { min-height: 640px; }
  .slide {
    padding: 112px 18px 80px;
    background-image:
      linear-gradient(90deg, rgba(18, 32, 42, .94), rgba(18, 32, 42, .7)),
      var(--bg);
  }
  .hero-copy p:not(.eyebrow) { font-size: 17px; }
  .button { width: 100%; }
  .nav-cta { width: 100%; }
  .nav-mobile-cta { display: inline-flex; }
  .trust-strip,
  .cards,
  .product-grid,
  .steps,
  .intro-grid,
  .lead-form { grid-template-columns: 1fr; }
  .gallery-track { grid-auto-columns: 86%; }
  .gallery-arrow { display: none; }
  .trust-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .section,
  .cta-band { padding: 62px 18px; }
  .product-panel,
  .card,
  .steps div { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
