:root {
  --ink: #081522;
  --ink-2: #12263a;
  --muted: #5e6b77;
  --line: #d9e0e7;
  --surface: #ffffff;
  --surface-soft: #f4f7f9;
  --gold: #c99a35;
  --gold-dark: #8e6a20;
  --blue: #0c3556;
  --green: #3b4d33;
  --shadow: 0 18px 50px rgba(8, 21, 34, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  background:
    linear-gradient(135deg, rgba(12, 53, 86, .08) 0 1px, transparent 1px 80px),
    linear-gradient(45deg, rgba(201, 154, 53, .07) 0 1px, transparent 1px 96px),
    var(--surface-soft);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.language-radio {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.uk {
  display: none;
}

#lang-uk:checked ~ .page .en {
  display: none;
}

#lang-uk:checked ~ .page .uk {
  display: revert;
}

#lang-en:checked ~ .page .language-switch label[for="lang-en"],
#lang-uk:checked ~ .page .language-switch label[for="lang-uk"] {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.page {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(217, 224, 231, .82);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--ink);
}

.brand strong {
  display: block;
  font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1;
  text-transform: uppercase;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.language-switch {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.language-switch label {
  min-width: 42px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: clamp(560px, calc(100vh - 82px), 760px);
  padding: clamp(38px, 5.4vw, 76px) clamp(18px, 5vw, 78px);
  overflow: hidden;
  color: #fff;
  background: url("assets/main_bg.jpg") center / cover no-repeat;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 85%, transparent);
}

.hero::after {
  width: 520px;
  height: 520px;
  left: auto;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(201, 154, 53, .38);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(201, 154, 53, .32) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(255, 255, 255, .2) 50%, transparent 50.2%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
}

.status-pill,
.eyebrow {
  width: fit-content;
  margin: 0 0 15px;
  color: var(--gold);
  font-size: clamp(11px, .85vw, 13px);
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill {
  padding: 7px 11px;
  border: 1px solid rgba(201, 154, 53, .55);
  border-radius: 6px;
  color: #f2ca71;
  background: rgba(8, 21, 34, .34);
}

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

h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.03;
  letter-spacing: 0;
}

h1 strong,
h1 small,
h1 em {
  display: block;
}

h1 strong {
  margin-bottom: 20px;
  font-size: 1em;
  line-height: .92;
}

h1 small {
  max-width: 780px;
  margin-top: 8px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(17px, 1.65vw, 25px);
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

h1 em {
  margin-top: 24px;
  color: #f2ca71;
  font-size: clamp(18px, 1.8vw, 27px);
  line-height: 1.25;
  font-style: normal;
  font-weight: 700;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(25px, 2.9vw, 42px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(18px, 1.25vw, 20px);
  line-height: 1.2;
}

.lead {
  max-width: 700px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(16px, 1.25vw, 19px);
}

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

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button {
  gap: 10px;
  padding: 13px 18px;
  font-weight: 800;
}

.button svg,
.icon-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #101820;
  background: var(--gold);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .08);
}

.hero-panel {
  display: grid;
  place-items: center;
}

.signal-card {
  width: min(100%, 430px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 32px;
  border: 1px solid rgba(201, 154, 53, .42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)),
    radial-gradient(circle, rgba(201, 154, 53, .18), transparent 58%);
  box-shadow: var(--shadow);
  text-align: center;
}

.signal-card span {
  display: grid;
  place-items: center;
  width: clamp(132px, 18vw, 210px);
  aspect-ratio: 1;
  border: 2px solid rgba(201, 154, 53, .72);
  border-radius: 50%;
  color: #fff;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 900;
}

.signal-card p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.section,
.contact-section {
  padding: clamp(38px, 5vw, 72px) clamp(18px, 5vw, 78px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(280px, .7fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  background: #fff;
}

.section-text {
  color: var(--muted);
  font-size: clamp(16px, 1.15vw, 18px);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 26px;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.direction-grid article {
  min-height: 220px;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .84);
}

.direction-grid svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--gold-dark);
  fill: currentColor;
}

.direction-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(15px, 1vw, 16px);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, .7fr);
  gap: clamp(24px, 5vw, 72px);
  background: #113217;
  color: #fff;
}

.contact-section .section-text,
.contact-list span {
  color: rgba(255, 255, 255, .74);
}

.contact-list {
  display: grid;
  gap: 9px;
  margin: 28px 0;
}

.contact-list a {
  width: fit-content;
  color: #fff;
  text-decoration-color: rgba(201, 154, 53, .6);
  text-underline-offset: 5px;
}

.icon-button {
  width: 48px;
  color: #fff;
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
}

.icon-button.whatsapp {
  background: #1f8f55;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 7px;
  padding: 12px 13px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form .button {
  width: 100%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 5vw, 78px);
  color: rgba(255, 255, 255, .72);
  background: #0b2a07;
  font-size: 14px;
}

.response-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 154, 53, .18), transparent 30%),
    linear-gradient(120deg, var(--ink), var(--blue));
}

.response-card {
  width: min(100%, 520px);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  box-shadow: var(--shadow);
}

.response-card h1 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 44px);
}

.response-card p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .78);
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    justify-content: start;
  }

  .signal-card {
    max-width: 360px;
  }

  .direction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 981px) {
  .brand img {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand small {
    max-width: 170px;
    font-size: 10px;
  }

  .language-switch label {
    min-width: 36px;
    padding: 6px 8px;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  h1 strong {
    margin-bottom: 16px;
  }

  h1 small {
    font-size: 16px;
  }

  h1 em {
    margin-top: 20px;
    font-size: 18px;
  }

  h2 {
    font-size: 25px;
  }

  .button {
    width: 100%;
  }

  .direction-grid {
    grid-template-columns: 1fr;
  }

  .direction-grid article {
    min-height: auto;
  }

  .contact-form {
    padding: 18px;
  }

  .site-footer {
    flex-direction: column;
  }
}
