:root {
  --maincolor: #b07f4b;
  --mainhover: #3aaa35;
  --textcolor: #777777;
  --secondarycolor: #f0c000;

  --bg-page: #fbfaf7;
  --bg-alt: #f1ede6;
  --panel: #ffffff;

  --ink-900: #171512;
  --ink-700: #5f5952;
  --ink-500: #888077;

  --line: #d9d1c6;
  --line-strong: #b9ae9f;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;

  --shadow-sm: 0 5px 14px rgba(22, 19, 15, 0.07);
  --shadow-md: 0 14px 28px rgba(22, 19, 15, 0.1);
  --header-height: 110px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink-700);
  background: var(--bg-page);
  line-height: 1.65;
  font-size: 16px;
}

h1,
h2,
h3,
strong {
  color: var(--ink-900);
}

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

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

.container {
  width: min(1240px, calc(100% - 2.8rem));
  margin: 0 auto;
}

.section {
  padding: clamp(3.4rem, 6vw, 6rem) 0;
}

.section-contrast {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--maincolor);
}

.section-head {
  max-width: 860px;
  margin-bottom: 1.9rem;
}

.section-head-tight {
  margin-top: 2.3rem;
}

.section-head h2 {
  margin: 0;
  font-family: "Libre Caslon Display", "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
}

.anchor-offset {
  display: block;
  position: relative;
  top: -106px;
  visibility: hidden;
}

.bg-grain {
  display: none;
}

.top-bar {
  background: #161310;
  border-bottom: 1px solid #2b2520;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.top-bar-shell {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.05rem;
  color: rgba(247, 242, 233, 0.86);
  font-size: 0.75rem;
}

.top-bar-shell a {
  color: #f6f2ea;
  font-weight: 600;
}

.site-header {
  position: fixed;
  top: var(--topbar-height, 40px);
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(9px);
  background: rgba(16, 13, 10, 0.32);
  border-bottom: none;
  transition: background-color 0.24s ease, top 0.24s ease, transform 0.28s ease, opacity 0.2s ease;
}

.nav-shell {
  min-height: 96px;
  padding: 0.7rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.nav-panel {
  display: flex;
  align-items: center;
  gap: 0.28rem;
}

.nav-panel > a {
  padding: 0.5rem 0.74rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  transition: background-color 0.2s ease;
}

.nav-panel > a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.5rem 0.88rem;
  font: inherit;
  font-weight: 700;
}

.site-header .btn-small {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

body.header-hidden .top-bar {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

body.header-hidden .site-header {
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
}

.hero {
  --hero-shift: 0px;
  position: relative;
  min-height: min(82vh, 790px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  background-image: url("/assets/modern/img/hero.webp");
  background-size: cover;
  background-position: 58% calc(50% + var(--hero-shift));
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 12, 10, 0.14) 0%, rgba(14, 12, 10, 0.08) 45%, rgba(14, 12, 10, 0.02) 100%);
}

.hero-layer {
  display: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 1rem;
  align-items: end;
  padding: calc(var(--topbar-height, 40px) + var(--header-height, 110px) + clamp(3.2rem, 5.8vw, 4.8rem)) 0 2rem;
}

.hero-copy {
  position: relative;
  max-width: 700px;
  padding: 0.9rem 0.9rem 0.95rem;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(10, 9, 8, 0.26) 0%, rgba(10, 9, 8, 0.15) 70%, rgba(10, 9, 8, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 18px rgba(6, 7, 8, 0.12);
  backdrop-filter: blur(1px);
}

.eyebrow {
  margin: 0 0 0.86rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f4d48a;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.54);
}

.hero h1 {
  margin: 0;
  max-width: 24ch;
  font-family: "Libre Caslon Display", "Times New Roman", serif;
  font-size: clamp(1.28rem, 2.55vw, 2.22rem);
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.52);
}

.hero-title-main,
.hero-title-sub {
  display: block;
}

.hero-title-main {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-title-sub {
  margin-top: 0.3rem;
  font-size: clamp(1.14rem, 1.88vw, 1.54rem);
  letter-spacing: 0.02em;
  line-height: 1.02;
}

.lead {
  margin: 0.95rem 0 0;
  max-width: 42ch;
  color: rgba(255, 251, 243, 0.93);
  font-size: clamp(0.84rem, 0.92vw, 0.9rem);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.64rem;
}

.metrics {
  list-style: none;
  margin: 0;
  padding: 1.08rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(7, 10, 12, 0.28);
  backdrop-filter: blur(2px);
  display: grid;
  gap: 0.64rem;
  align-self: end;
  box-shadow: 0 10px 22px rgba(7, 8, 10, 0.16);
}

.metric-item {
  padding-bottom: 0.58rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-value {
  display: block;
  font-family: "Libre Caslon Display", "Times New Roman", serif;
  color: #fff;
  font-size: clamp(2rem, 2.9vw, 2.75rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
}

.metric-label {
  display: block;
  margin-top: 0.14rem;
  color: rgba(255, 249, 239, 0.9);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-cta {
  margin-top: 0.2rem;
  display: grid;
  gap: 0.46rem;
}

.btn-metric {
  width: 100%;
  padding: 0.66rem 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.metric-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 0.4rem 0.84rem;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.metric-link:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--maincolor);
  color: #fff;
}

.btn-primary:hover {
  background: var(--mainhover);
  color: #0f280f;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.46);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
}

.btn-small {
  background: rgba(240, 192, 0, 0.24);
  border-color: rgba(176, 127, 75, 0.35);
  color: var(--ink-900);
}

.intro-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 1.45rem;
  align-items: center;
}

.intro-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.intro-copy h2 {
  margin: 0;
  font-family: "Libre Caslon Display", "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.1vw, 3.5rem);
  line-height: 0.92;
}

.intro-copy p {
  margin: 0.76rem 0 0;
}

.inline-link {
  display: inline-flex;
  margin-top: 0.96rem;
  color: var(--mainhover);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.duo-cards {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.duo-card {
  position: relative;
  min-height: 194px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.duo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.34s ease;
}

.duo-card:hover img {
  transform: scale(1.04);
}

.duo-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.88rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(17, 14, 12, 0.72);
}

.pool-feature {
  background: #202422;
  color: #fff;
}

.pool-shell {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.35rem;
  align-items: center;
}

.pool-shell img {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.pool-shell h2 {
  margin: 0;
  font-family: "Libre Caslon Display", "Times New Roman", serif;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 0.93;
  color: #fff;
}

.pool-shell p {
  margin: 0.88rem 0 1rem;
  color: rgba(255, 251, 243, 0.9);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.news-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.news-card a {
  display: block;
}

.news-card img {
  width: 100%;
  height: 186px;
  object-fit: cover;
}

.news-date {
  margin: -24px 0 0 0.84rem;
  width: fit-content;
  padding: 0.35rem 0.54rem;
  border-radius: 8px;
  background: var(--maincolor);
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 2;
}

.news-date span {
  display: block;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 700;
}

.news-date small {
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-copy {
  padding: 0.75rem 0.9rem 0.95rem;
}

.news-copy p {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mainhover);
}

.news-copy h3 {
  margin: 0.42rem 0;
  font-family: "Libre Caslon Display", "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.02;
}

.news-copy span {
  font-size: 0.82rem;
}

.center-link {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem;
}

.info-band,
.cert-block,
.faq-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-band.section,
.cert-block.section {
  padding: clamp(2.5rem, 4.4vw, 3.8rem) 0;
}

.info-band-shell,
.cert-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 430px);
  gap: clamp(1.3rem, 2.8vw, 2.6rem);
  align-items: center;
}

.cert-shell {
  grid-template-columns: minmax(340px, 430px) minmax(0, 1.08fr);
}

.info-band-shell > div,
.cert-shell > div {
  max-width: 720px;
}

.info-band-shell h2,
.cert-shell h2 {
  margin: 0;
  font-family: "Libre Caslon Display", "Times New Roman", serif;
  font-size: clamp(2.2rem, 3.7vw, 3.3rem);
  line-height: 0.93;
  max-width: 16ch;
}

.info-band-shell p,
.cert-shell p {
  margin: 0.9rem 0 0;
  line-height: 1.5;
  max-width: 60ch;
}

.info-band-shell img,
.cert-shell img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.info-band-shell p + p,
.cert-shell p + p {
  margin-top: 1.05rem;
}

.info-band-shell .btn,
.cert-shell .btn {
  margin-top: 1.35rem;
}

.info-band-shell .btn-ghost,
.cert-shell .btn-ghost {
  background: #ffffff;
  border-color: var(--line-strong);
  color: var(--ink-900);
}

.info-band-shell .btn-ghost:hover,
.cert-shell .btn-ghost:hover {
  background: rgba(176, 127, 75, 0.14);
  border-color: var(--maincolor);
  color: var(--ink-900);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.78rem;
}

.gallery-grid img {
  width: 100%;
  height: 228px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.74rem;
}

.logo-grid img {
  width: 100%;
  height: 98px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.76rem;
}

.certifications img {
  height: 90px;
}

.review-head {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.review-head h2 {
  margin: 0;
  font-family: "Libre Caslon Display", "Times New Roman", serif;
  font-size: clamp(2.1rem, 3.2vw, 3rem);
  line-height: 0.92;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.74rem;
}

.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0.96rem;
}

.review-card h3 {
  margin: 0;
  color: var(--maincolor);
  font-size: 0.92rem;
}

.review-card p {
  margin: 0.56rem 0 0;
  font-size: 0.88rem;
}

.review-card .review-meta {
  margin-top: 0.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.74rem;
}

.faq-grid details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-grid details[open] {
  border-color: var(--line-strong);
  box-shadow: 0 5px 12px rgba(22, 19, 15, 0.06);
}

.faq-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--ink-900);
}

.faq-grid summary::after {
  content: "\203A";
  font-size: 1.15rem;
  line-height: 1;
  color: var(--maincolor);
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.faq-grid details[open] summary::after {
  transform: rotate(270deg);
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid p {
  margin: 0.64rem 0 0;
  font-size: 0.89rem;
}

.cta-band {
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--maincolor);
  border-radius: var(--radius-lg);
  background: #1d1a17;
  color: #f7f2ea;
  padding: clamp(1.25rem, 2.7vw, 1.95rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.95rem;
  align-items: center;
}

.cta-band h2 {
  margin: 0;
  font-family: "Libre Caslon Display", "Times New Roman", serif;
  font-size: clamp(2.1rem, 3.1vw, 3rem);
  line-height: 0.92;
  color: #fff;
}

.cta-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.48rem;
}

.cta-links a {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.44rem 0.84rem;
}

.contact-shell {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 1rem;
  align-items: start;
}

.contact-form,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-form {
  padding: 1rem;
}

.contact-feedback {
  display: none;
  margin-bottom: 0.9rem;
  padding: 0.62rem 0.74rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.contact-feedback.is-visible {
  display: block;
}

.contact-feedback.is-success {
  border: 1px solid #6fa275;
  background: #ecf7ed;
  color: #214f28;
}

.contact-feedback.is-error {
  border: 1px solid #cc8a84;
  background: #fff3f1;
  color: #7b231c;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.form-field {
  display: grid;
  gap: 0.28rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.contact-form label {
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-700);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.58rem 0.66rem;
  font: inherit;
  color: var(--ink-900);
  background: #fff;
}

.contact-form textarea {
  min-height: 128px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--maincolor);
  box-shadow: 0 0 0 3px rgba(176, 127, 75, 0.16);
}

.contact-submit-row {
  margin-top: 0.92rem;
  display: grid;
  gap: 0.62rem;
  align-items: start;
}

.contact-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-500);
}

.contact-panel {
  padding: 1rem;
}

.contact-panel h3 {
  margin: 0;
  font-family: "Libre Caslon Display", "Times New Roman", serif;
  font-size: 2rem;
  line-height: 0.96;
}

.contact-panel p {
  margin: 0.78rem 0 0;
  font-size: 0.9rem;
}

.contact-person {
  margin-top: 0.95rem;
}

.contact-person-role {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maincolor);
}

.contact-person-name {
  margin: 0.35rem 0 0;
  color: var(--ink-900);
  font-family: "Libre Caslon Display", "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 0.95;
}

.contact-points {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.contact-points li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.76rem;
  font-size: 0.84rem;
}

.contact-panel-note {
  margin-top: 0.92rem;
  font-size: 0.78rem;
  color: var(--ink-500);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: #12100e;
  color: rgba(255, 246, 228, 0.9);
  padding: 2rem 0;
  border-top: 1px solid rgba(176, 127, 75, 0.4);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.footer-mark {
  width: 120px;
  opacity: 0.9;
}

.site-footer p {
  margin: 0.62rem 0 0;
  color: rgba(255, 246, 228, 0.72);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.footer-links a {
  border: 1px solid rgba(240, 192, 0, 0.4);
  border-radius: 999px;
  padding: 0.34rem 0.68rem;
  font-size: 0.76rem;
}

.footer-links a:hover {
  background: rgba(240, 192, 0, 0.15);
}

.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.74s ease, transform 0.74s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-shell,
  .intro-grid,
  .pool-shell,
  .info-band-shell,
  .cert-shell,
  .contact-shell,
  .cta-band,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .news-grid,
  .gallery-grid,
  .logo-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1240px, calc(100% - 1.35rem));
  }

  .top-bar-shell {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.36rem 0.7rem;
    padding: 0.35rem 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    top: calc(var(--topbar-height, 40px) + var(--header-height, 96px) - 10px);
    left: 0.68rem;
    right: 0.68rem;
    display: grid;
    gap: 0.4rem;
    padding: 0.8rem;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    transform: translateY(-135%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  body.menu-open .nav-panel {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    min-height: 74vh;
    background-position: 62% calc(50% + var(--hero-shift));
  }

  .hero-copy {
    max-width: 100%;
    padding: 0.78rem 0.8rem 0.84rem;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(10, 9, 8, 0.34) 0%, rgba(10, 9, 8, 0.2) 72%, rgba(10, 9, 8, 0.04) 100%);
  }

  .brand img {
    width: 92px;
  }

  .hero h1 {
    max-width: 17.2ch;
    font-size: clamp(1.34rem, 6vw, 2.18rem);
  }

  .hero-title-main {
    letter-spacing: 0.03em;
  }

  .hero-title-sub {
    font-size: clamp(1.04rem, 4.8vw, 1.42rem);
  }

  .news-grid,
  .gallery-grid,
  .logo-grid,
  .review-grid,
  .faq-grid,
  .duo-cards,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .btn,
  .duo-card img {
    transition: none;
  }
}
