:root {
  --itv-green: #386642;
  --itv-green-mid: #6a984d;
  --itv-green-bright: #6dc958;
  --itv-mint: #dbf2e2;
  --itv-mint-bg: #f4fbf6;
  --itv-page: #f7fbf8;
  --itv-cream: #f2e7d1;
  --itv-text: #302d2d;
  --itv-muted: #54595f;
  --itv-white: #ffffff;
  --itv-line: rgba(56, 102, 66, 0.12);
  --itv-radius: 16px;
  --itv-radius-sm: 10px;
  --itv-radius-lg: 24px;
  --itv-shadow: 0 10px 30px rgba(56, 102, 66, 0.07);
  --itv-shadow-sm: 0 2px 10px rgba(56, 102, 66, 0.05);
  --itv-max: 1140px;
  --itv-font: "Yekan Bakh", Tahoma, sans-serif;
  --itv-nums: "Yekan Bakh", Tahoma, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--itv-page);
  color: var(--itv-text);
  font-family: var(--itv-font);
  font-size: 16px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--itv-green); text-decoration: none; }
a:hover { text-decoration: underline; }

.itv-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.itv-page main { flex: 1; }

h1 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); }
h3 { font-size: 1.05rem; }

p { margin: 0 0 12px; }

.itv-skip {
  position: absolute;
  right: -999px;
  top: 8px;
  background: var(--itv-green);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 20;
}
.itv-skip:focus { right: 8px; }

.itv-wrap {
  width: min(calc(100% - 32px), var(--itv-max));
  margin-inline: auto;
}

.itv-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 251, 248, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(56, 102, 66, 0.04);
}
.itv-header--app { border-bottom: 1px solid var(--itv-line); }

.itv-header__inner {
  width: min(calc(100% - 32px), var(--itv-max));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.itv-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--itv-green);
  text-decoration: none;
}
.itv-brand img { width: 44px; height: 44px; object-fit: contain; }
.itv-brand strong { display: block; font-size: 1.12rem; color: var(--itv-green); }
.itv-brand small { display: block; color: var(--itv-muted); font-size: 0.75rem; font-weight: 500; }

.itv-header__cta-short { display: none; }

.itv-header__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex: 0 1 auto;
  min-width: 0;
}
.itv-header__quiet {
  color: var(--itv-muted);
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}
.itv-header__quiet:hover {
  color: var(--itv-green);
  text-decoration: none;
}

.itv-btn[hidden] { display: none !important; }

.itv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--itv-green);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 22px rgba(56, 102, 66, 0.18), 0 0 22px rgba(109, 201, 88, 0.22);
  text-decoration: none;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.itv-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.28) 48%, transparent 72%);
  transform: translateX(130%);
  pointer-events: none;
}
.itv-btn:hover {
  background: #2f5738;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(56, 102, 66, 0.24), 0 0 32px rgba(109, 201, 88, 0.32);
}
.itv-btn:hover::after {
  transform: translateX(-130%);
  transition: transform .55s ease;
}
.itv-btn:active { transform: translateY(-1px); }
.itv-btn__arrow {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform .22s ease;
}
.itv-ico {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}
.itv-ico--sm { width: 16px; height: 16px; }

.itv-btn .itv-ico {
  width: 18px;
  height: 18px;
}
.itv-btn:not(.itv-btn--outline):not(.itv-btn--ghost) .itv-ico {
  filter: brightness(0) invert(1);
}
.itv-btn:hover .itv-btn__arrow { transform: translateX(-4px); }
.itv-btn:hover .itv-btn__arrow--back { transform: translateX(4px); }
.itv-btn:focus-visible,
.itv-btn--ghost:focus-visible,
summary:focus-visible,
input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #6a984d;
  outline-offset: 2px;
}
.itv-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.itv-btn--lg { min-height: 54px; padding: 14px 28px; width: 100%; }
.itv-btn--sm { min-height: 42px; padding: 8px 18px; font-size: 0.92rem; }
.itv-btn--pill { border-radius: 999px; gap: 8px; }
.itv-btn--outline {
  background: #fff;
  color: var(--itv-green);
  border: 1.5px solid rgba(56, 102, 66, 0.35);
  box-shadow: 0 6px 18px rgba(56, 102, 66, 0.08);
}
.itv-btn--outline:hover {
  background: #fff;
  border-color: var(--itv-green);
  box-shadow: 0 12px 26px rgba(56, 102, 66, 0.14);
}
.itv-btn--outline::after { opacity: .45; }
.itv-btn--ghost {
  background: transparent;
  color: var(--itv-green);
  box-shadow: none;
  border: 1px solid var(--itv-line);
}
.itv-btn--ghost:hover { background: var(--itv-mint); }

.itv-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--itv-green);
  background: var(--itv-mint);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.itv-lead { font-size: 1.08rem; color: var(--itv-muted); }
.itv-meta {
  margin: 8px 0 0;
  color: var(--itv-muted);
  font-size: 0.92rem;
  font-family: var(--itv-nums);
}
.itv-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--itv-cream);
  color: #4a4033;
  border-radius: var(--itv-radius-sm);
  padding: 12px 14px;
  font-size: 0.9rem;
  margin-top: 18px;
}
.itv-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--itv-cream);
  border-right: 4px solid #c4a574;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.92rem;
}
.itv-text-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
}
.itv-center { text-align: center; margin-top: 28px; }
.itv-form-error {
  color: #8a3030;
  background: #fdecec;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 8px 0 0;
}

.itv-footer {
  border-top: 1px solid var(--itv-line);
  padding: 28px 0 40px;
  color: var(--itv-muted);
  font-size: 0.9rem;
}
.itv-footer__inner {
  width: min(calc(100% - 32px), var(--itv-max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.itv-footer__contact {
  width: min(calc(100% - 32px), var(--itv-max));
  margin: 18px auto 0;
  display: grid;
  gap: 12px;
}
.itv-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--itv-line);
  border-radius: 16px;
  padding: 12px 14px;
}
.itv-contact-row p {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--itv-text);
  flex: 1;
  min-width: 0;
}
.itv-contact-row a { color: inherit; }
.itv-map-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.itv-map-apps[hidden] { display: none; }

@media (min-width: 768px) {
  .itv-btn--lg { width: auto; }
}

@media (max-width: 767px) {
  .itv-header__inner {
    min-height: 60px;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .itv-brand { min-width: 0; }
  .itv-brand img { width: 36px; height: 36px; }
  .itv-brand strong { font-size: 1rem; }
  .itv-brand small { display: none; }
  .itv-header--landing .itv-header__quiet { display: none; }
  .itv-header__nav { gap: 8px; }
  .itv-header .itv-btn--sm {
    min-height: 38px;
    padding: 7px 12px;
    font-size: 0.82rem;
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .itv-header__cta-full { display: none; }
  .itv-header__cta-short { display: inline; }
}

@media (max-width: 374px) {
  .itv-header .itv-btn--sm { font-size: 0.78rem; padding: 6px 10px; min-height: 36px; }
  .itv-header .itv-btn--sm .itv-btn__arrow { display: none; }
  html, body { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .itv-btn,
  .itv-btn::after,
  .itv-btn__arrow,
  .itv-card,
  .itv-float,
  .itv-anim,
  .itv-hero__orb img {
    animation: none !important;
    transition: none !important;
  }
}
