:root {
  --ink: #13202b;
  --deep: #263246;
  --blue: #2e6f93;
  --teal: #2e8277;
  --magenta: #b93aa7;
  --paper: #fbfaf7;
  --soft: #eef5f3;
  --line: #d9e0df;
  --muted: #5f6d76;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(18, 32, 43, 0.12);
}

* {
  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(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px 48px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 176px;
  height: auto;
}

nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 0.94rem;
  font-weight: 700;
  min-width: 0;
}

nav a,
.text-link {
  color: var(--blue);
}

.header-call,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
}

.header-call,
.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.button.secondary.dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(19, 32, 43, 0.88), rgba(19, 32, 43, 0.54), rgba(19, 32, 43, 0.18)),
    linear-gradient(0deg, rgba(19, 32, 43, 0.72), rgba(19, 32, 43, 0.05) 42%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 48px));
  margin: 0 0 72px 48px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--magenta);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2b7e6;
}

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

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: clamp(2.08rem, 5.8vw, 4.65rem);
  line-height: 0.98;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.82rem, 3.6vw, 2.85rem);
  line-height: 1.06;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.22rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}

.section {
  padding: 78px 48px;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  background: var(--white);
}

.intro-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.trust-band div {
  min-height: 142px;
  padding: 28px;
  background: var(--soft);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  margin-bottom: 8px;
  color: var(--deep);
  font-size: 1.1rem;
}

.trust-band span,
.section-heading p,
.split-copy p,
.cert-copy p,
.story p,
.contact-copy p {
  color: var(--muted);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 680px;
}

.home-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

figure {
  position: relative;
  min-height: 310px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.compact-gallery {
  grid-template-columns: repeat(4, 1fr);
}

.compact-gallery figure {
  min-height: 250px;
  aspect-ratio: 1 / 0.82;
}

.compact-gallery figure:first-child {
  grid-row: auto;
}

figure img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(19, 32, 43, 0.82);
  font-size: 0.9rem;
  font-weight: 800;
}

.split,
.certification {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.split {
  background: var(--soft);
}

.split-image,
.cert-image,
.logo-panel {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--white);
}

.split-image img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  padding: 13px 16px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--white);
  font-weight: 700;
}

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

.logo-panel {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: 36px;
}

.logo-panel img {
  width: min(100%, 440px);
  max-height: 170px;
  object-fit: contain;
  margin: 0 auto;
}

.text-link {
  display: inline-flex;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.community-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, 46%);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 20px;
  scroll-snap-type: x mandatory;
}

.community-slider img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: #f7f1e8;
  border-radius: 8px;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.gallery-strip img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.story {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 44px;
  align-items: center;
  background: var(--deep);
  color: var(--white);
}

.story-photo {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.story-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}

.story h2 {
  color: var(--white);
}

.story p {
  color: rgba(255, 255, 255, 0.82);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

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

.review-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 42%);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 20px;
  scroll-snap-type: x mandatory;
}

.review-slider article {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 10px 28px rgba(18, 32, 43, 0.08);
}

.stars {
  color: #d49a22;
  font-size: 1.28rem;
  letter-spacing: 0;
}

.review-slider p {
  margin: 20px 0 0;
  color: var(--deep);
  font-size: 1.08rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--soft);
}

.contact-actions {
  justify-content: flex-end;
}

.site-footer {
  padding: 38px 48px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
  text-align: center;
}

.site-footer img {
  width: 168px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.24));
}

.site-footer p {
  margin-bottom: 6px;
}

.site-footer a {
  color: var(--white);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 12px 20px;
  }

  nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 3px;
    white-space: nowrap;
  }

  nav a {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    width: calc(100% - 40px);
    margin: 0 20px 50px;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .section {
    padding: 58px 20px;
  }

  .intro,
  .split,
  .certification,
  .contact,
  .story {
    grid-template-columns: 1fr;
  }

  .trust-band,
  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-grid,
  .compact-gallery {
    grid-template-columns: 1fr;
  }

  figure:first-child {
    grid-row: auto;
  }

  .split-image img,
  .story-photo img,
  .community-slider img,
  .gallery-strip img {
    height: 330px;
  }

  .community-slider {
    grid-auto-columns: minmax(280px, 82%);
  }

  .review-slider {
    grid-auto-columns: minmax(280px, 82%);
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 142px;
  }

  nav {
    gap: 10px;
    font-size: 0.78rem;
  }

  .header-call {
    padding: 9px 14px;
  }

  .hero {
    min-height: 590px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  h1 {
    font-size: 2.08rem;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 1.82rem;
  }

  .button {
    width: 100%;
  }

  .trust-band,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    min-height: auto;
    padding: 22px;
  }

  figure {
    min-height: 250px;
  }
}
