/* Manrope (SIL OFL 1.1), self-hosted variable font */
/* cyrillic-ext */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Sipper Telecom — brand green (#529367) */
:root {
  --bg: #f4faf7;
  --bg-dark: #0f1f18;
  --surface: #ffffff;
  --text: #152820;
  --text-muted: #5c6b62;
  --primary: #529367;
  --primary-light: #6aa882;
  --primary-dark: #3d6b52;
  --accent: #2d6a4a;
  --accent-hover: #245238;
  --accent-soft: rgba(45, 106, 74, 0.14);
  --primary-soft: rgba(82, 147, 103, 0.12);
  --border: #d4e8dd;
  --shadow: 0 4px 24px rgba(21, 40, 32, 0.08);
  --shadow-lg: 0 24px 60px rgba(45, 106, 74, 0.16);
  --radius: 16px;
  --radius-sm: 12px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
  --site-header-h: 3.7rem;
  /* surfaces used by theme switching (light values = original design) */
  --header-bg: rgba(255, 255, 255, 0.96);
  --control-bg: #ffffff;
  --overlay: rgba(26, 21, 40, 0.42);
  --hero-grad: linear-gradient(180deg, #f8fcf9 0%, #e8f4ed 50%, var(--bg) 100%);
  --muted-grad: linear-gradient(180deg, #fff 0%, #f4faf7 100%);
  --quote-grad: linear-gradient(145deg, #f4faf7 0%, #fff 100%);
  --img-border: rgba(255, 255, 255, 0.8);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  padding-top: env(safe-area-inset-top, 0px);
  /* no backdrop-filter: it creates a containing block and breaks position:fixed children (mobile menu) */
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(26, 21, 40, 0.04);
}

.site-header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--text);
  letter-spacing: -0.03em;
}

.logo:hover {
  color: var(--primary);
}

.logo__img {
  height: 44px;
  width: auto;
  max-width: min(220px, 58vw);
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.site-footer .logo__img {
  height: 36px;
  max-width: 180px;
}

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

.nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.nav a:hover,
.nav a.is-active {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.25rem;
  background: var(--control-bg);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.lang-switcher button,
.lang-switcher a {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.55rem;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-switcher button:hover,
.lang-switcher a:hover {
  color: var(--text);
}

.lang-switcher button.is-active,
.lang-switcher a.is-active {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--control-bg);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

.nav-toggle:hover {
  border-color: var(--primary-light);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 20px;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

body.nav-open .nav-toggle__bars .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.nav-open .nav-toggle__bars .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle__bars .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-header__menu {
  display: flex;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-left: auto;
}

.nav-backdrop {
  display: none;
  position: fixed;
  /* Must stay below .site-header (200) or it covers the slide-out menu */
  z-index: 199;
  top: var(--site-header-h);
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: var(--overlay);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-header__inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .site-header__menu {
    position: fixed;
    z-index: 1;
    left: 0;
    right: 0;
    top: var(--site-header-h);
    height: calc(100vh - var(--site-header-h));
    max-height: calc(100dvh - var(--site-header-h));
    margin: 0;
    padding: 1.1rem min(5vw, 1.25rem) calc(1.35rem + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    align-items: stretch;
    gap: 1.35rem;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--control-bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(26, 21, 40, 0.12);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.25s ease, visibility 0.3s;
  }

  body.nav-open .site-header__menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-open .nav-backdrop:not([hidden]) {
    display: block;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .nav a {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-radius: 12px;
  }

  .lang-switcher {
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.4rem;
  }

  .lang-switcher button,
  .lang-switcher a {
    padding: 0.5rem 0.65rem;
    font-size: 0.78rem;
  }
}

@media (min-width: 768px) {
  .nav-backdrop {
    display: none !important;
  }

  .site-header__menu {
    position: static;
    z-index: auto;
    height: auto;
    max-height: none;
    overflow: visible;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 0;
    margin-left: auto;
    flex-direction: row;
    background: transparent;
    border: none;
    box-shadow: none;
  }
}

/* Hero — split + image */
.hero {
  padding: 2.5rem 0 3.5rem;
  background: var(--hero-grad);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 90%;
  background: radial-gradient(circle, rgba(82, 147, 103, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr 1.05fr;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: var(--control-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text);
  letter-spacing: -0.035em;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.06rem;
  color: var(--text-muted);
  max-width: 38ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.45rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 28px rgba(45, 106, 74, 0.35);
}

.btn--accent:hover {
  background: var(--accent-hover);
  color: #fff;
  box-shadow: 0 12px 36px rgba(45, 106, 74, 0.38);
}

.btn--outline {
  background: var(--control-bg);
  color: var(--primary);
  border: 2px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--primary-light);
  background: var(--control-bg);
}

.hero--inner {
  padding: 1.25rem 0 2.75rem;
}

.hero--inner h1 {
  font-size: clamp(1.75rem, 3.8vw, 2.55rem);
}

.hero--inner .hero__lead {
  max-width: 44ch;
}

.hero__visual {
  position: relative;
}

.hero__img-wrap {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--img-border);
}

.hero__img-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero__float {
  position: absolute;
  bottom: -12px;
  left: -8px;
  right: -8px;
  background: var(--control-bg);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  text-align: center;
}

@media (max-width: 959px) {
  .hero__float {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: -2rem;
  }
}

.hero__stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
}

.hero__stat span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Stats strip */
.stats-bar {
  background: var(--bg-dark);
  color: #d8efe4;
  padding: 2rem 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-bar__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-bar__item strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #8ec9a8, #c9e5d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-bar__item span {
  font-size: 0.8rem;
  opacity: 0.78;
  display: block;
  margin-top: 0.25rem;
}

.trust-line {
  text-align: center;
  padding: 1rem 0 0;
  font-size: 0.88rem;
  color: rgba(216, 239, 228, 0.72);
  max-width: 52rem;
  margin-inline: auto;
}

/* Sections */
section {
  padding: 3.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Solution cards with image */
.solution-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .solution-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.solution-card__img {
  height: 200px;
  overflow: hidden;
}

.solution-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-card__body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.solution-card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 800;
}

.solution-card__body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Split sections */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
  .split--reverse .split__text {
    order: 2;
  }
  .split--reverse .split__media {
    order: 1;
  }
}

.split__media {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.split__media img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
}

.split__text h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.split__text p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  color: var(--text);
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.bg-muted {
  background: var(--muted-grad);
}

/* Steps */
.steps-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border);
  position: relative;
  padding-top: 2.25rem;
}

.step-card__num {
  position: absolute;
  top: -0.5rem;
  left: 1.25rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.step-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Info block text section */
.info-block {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.info-block p + p {
  margin-top: 1rem;
}

.info-block .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

/* Benefits grid (6 cards) */
.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.45rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(82, 147, 103, 0.28);
  transform: translateY(-2px);
}

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 800;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.price-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.price-card--featured {
  border-color: var(--primary-light);
  box-shadow: 0 12px 40px rgba(45, 106, 74, 0.14);
  position: relative;
}

.price-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.price-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.price-card .price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.price-card .desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}

.price-card li {
  padding: 0.4rem 0 0.4rem 1.4rem;
  position: relative;
  font-size: 0.88rem;
  color: var(--text);
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* FAQ */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.faq summary {
  padding: 1rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq summary::after {
  content: "+";
  font-weight: 800;
  color: var(--primary);
  font-size: 1.25rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Quotes */
.quotes {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .quotes {
    grid-template-columns: repeat(2, 1fr);
  }
}

.quote {
  background: var(--quote-grad);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
}

.quote p {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
}

.quote footer {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* CTA band */
.cta-band {
  margin: 2rem 0 0;
  padding: 2.75rem 2rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #2d4a3a 0%, #529367 42%, #3d6b52 100%);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
}

.cta-band p {
  margin: 0 0 1.25rem;
  opacity: 0.92;
  max-width: 36rem;
  margin-inline: auto;
}

.cta-band .btn--accent {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta-band .btn--accent:hover {
  background: #e8f5ee;
  color: var(--primary-dark);
}

/* Page hero inner */
.page-hero {
  padding: 2.75rem 0 2rem;
  background: linear-gradient(155deg, #1a2e24 0%, #3d6b52 52%, #529367 120%);
  color: #fff;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-hero p {
  margin: 0;
  opacity: 0.9;
  max-width: 50ch;
}

/* About */
.values {
  display: grid;
  gap: 1rem;
}

.value-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.value-row svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* Contacts */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.contact-card {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-card--form {
  border-color: rgba(82, 147, 103, 0.32);
  box-shadow: 0 12px 44px rgba(45, 106, 74, 0.1);
}

.contact-card--form h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-card--form h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.contact-card h3 {
  margin-top: 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.contact-list svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 0.15rem;
}

.form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 1rem;
  background: var(--control-bg);
  color: var(--text);
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.form input.input--error,
.form textarea.input--error {
  border-color: #b91c1c;
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.15);
}

.form input.input--error:focus {
  border-color: #b91c1c;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.2);
}

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

.form .btn--submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 0.9rem;
  font-weight: 800;
}

.form .btn--submit:hover {
  background: var(--primary-dark);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  background: var(--control-bg);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer .logo {
  font-size: 1rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--primary);
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--bg-dark);
  color: #fff;
  border-radius: 12px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 300;
  max-width: min(320px, calc(100vw - 2rem));
}

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

@media (max-width: 767px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    padding: 1.35rem 0 2.35rem;
  }

  section {
    padding: 2.35rem 0;
  }

  .stats-bar {
    padding: 1.35rem 0;
  }

  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    max-width: none;
  }
}

/* Contact form: honeypot field (hidden from people) and error toast */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.toast.toast--error {
  background: #b42318;
  color: #fff;
}

.btn--submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

/* ---------- Logo name ---------- */
.logo__text {
  white-space: nowrap;
  line-height: 1.1;
}

.logo__text span {
  color: var(--primary);
}

@media (max-width: 380px) {
  .site-header .logo__text {
    font-size: 0.98rem;
  }
}

/* ---------- Theme toggle ---------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--control-bg);
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  order: 3;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.theme-toggle:hover {
  color: var(--primary);
  border-color: var(--primary-light);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

@media (max-width: 767px) {
  .theme-toggle {
    order: 1;
    width: 44px;
    height: 44px;
    margin-left: auto;
  }

  .nav-toggle {
    order: 2;
  }
}

/* ---------- Dark theme ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1511;
  --bg-dark: #070d0a;
  --surface: #14201a;
  --text: #e4efe8;
  --text-muted: #9fb3a7;
  --primary: #74b98e;
  --primary-light: #8cc9a2;
  --primary-dark: #b4dfc3;
  --accent: #2f7a53;
  --accent-hover: #388d61;
  --accent-soft: rgba(116, 185, 142, 0.16);
  --primary-soft: rgba(116, 185, 142, 0.14);
  --border: #24372d;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --header-bg: rgba(13, 21, 17, 0.94);
  --control-bg: #14201a;
  --overlay: rgba(0, 0, 0, 0.6);
  --hero-grad: linear-gradient(180deg, #101b15 0%, #0f1c15 50%, var(--bg) 100%);
  --muted-grad: linear-gradient(180deg, #111c16 0%, #0f1913 100%);
  --quote-grad: linear-gradient(145deg, #15221b 0%, #18271f 100%);
  --img-border: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] img:not(.logo__img) {
  filter: brightness(0.9);
}

:root[data-theme="dark"] .stats-bar {
  border-block: 1px solid var(--border);
}

:root[data-theme="dark"] .cta-band .btn--accent {
  background: #e4efe8;
  color: #1a3a2a;
}

:root[data-theme="dark"] .cta-band .btn--accent:hover {
  background: #ffffff;
  color: #1a3a2a;
}

:root[data-theme="dark"] .form input:focus,
:root[data-theme="dark"] .form textarea:focus {
  background: #18261f;
}

:root[data-theme="dark"] .toast {
  border: 1px solid var(--border);
}

.lang-switcher a {
  display: inline-block;
  line-height: 1.2;
  text-decoration: none;
}

/* Hero stats on phones: keep each value on one line, columns sized by content */
@media (max-width: 600px) {
  .hero__float {
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.85rem 0.9rem;
  }

  .hero__stat strong {
    font-size: clamp(0.85rem, 4.2vw, 1.35rem);
    white-space: nowrap;
  }

  .hero__stat span {
    font-size: clamp(0.6rem, 2.9vw, 0.72rem);
    white-space: nowrap;
  }
}

/* ---------- Legal pages (privacy policy) ---------- */
.legal-page {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.legal {
  max-width: 780px;
  margin-inline: auto;
}

.legal h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  color: var(--text);
}

.legal__meta {
  margin: 0 0 1.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal h2 {
  font-size: 1.2rem;
  margin: 2.25rem 0 0.6rem;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--text);
  overflow-wrap: anywhere;
}

.legal ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.legal li {
  margin-bottom: 0.5rem;
}

.legal a {
  color: #3f7a52;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note a {
  color: #3f7a52;
  text-decoration: underline;
  text-underline-offset: 2px;
}

:root[data-theme="dark"] .legal a,
:root[data-theme="dark"] .form-note a {
  color: var(--primary);
}
