:root {
  --ink: #142233;
  --muted: #5f6f82;
  --line: #d7e6f2;
  --azure: #147eb8;
  --azure-dark: #0d5c88;
  --azure-soft: #eaf6fc;
  --bronze: #9a5a49;
  --white: #ffffff;
  --surface: #f8fbfd;
  --shadow: 0 18px 45px rgba(20, 34, 51, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    linear-gradient(90deg, rgba(20, 126, 184, 0.11) 0, rgba(20, 126, 184, 0.035) 72px, transparent 72px),
    linear-gradient(270deg, rgba(20, 126, 184, 0.11) 0, rgba(20, 126, 184, 0.035) 72px, transparent 72px),
    var(--white);
}

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

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

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

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

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

.nav-links a,
.lang-select,
.primary-link,
.secondary-link,
.menu-toggle,
button {
  border-radius: 8px;
}

.nav-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 10px 13px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

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

.lang-select {
  min-width: 112px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 10px 11px;
  font-weight: 650;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--azure-dark);
  cursor: pointer;
  font-size: 1.25rem;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/hero-cappadocia.png");
  background-size: cover;
  background-position: center right;
  opacity: 0.92;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.62);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 88px 0 116px;
}

.hero-copy {
  width: min(690px, 100%);
}

.eyebrow {
  color: var(--azure-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

.section h1 {
  font-size: clamp(2.25rem, 4.2vw, 4.25rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.lead {
  color: #344b60;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  max-width: 720px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-link,
.secondary-link,
button[type="submit"] {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 750;
  cursor: pointer;
}

.primary-link,
button[type="submit"] {
  background: var(--azure);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(20, 126, 184, 0.22);
}

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

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(820px, 100%);
  margin-top: -58px;
  position: relative;
  z-index: 2;
}

.metric,
.card,
.panel,
.contact-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metric {
  padding: 22px;
}

.metric strong {
  display: block;
  color: var(--azure-dark);
  font-size: 1.9rem;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-weight: 650;
}

.section {
  padding: 88px 0;
}

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.5fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p,
.muted {
  color: var(--muted);
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.panel,
.contact-block {
  padding: 24px;
}

.card-icon {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--azure-dark);
  background: var(--azure-soft);
  font-weight: 900;
}

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

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
  color: var(--muted);
}

[dir="rtl"] .feature-list li,
[dir="rtl"] .check-list li {
  padding-left: 0;
  padding-right: 24px;
}

.feature-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--azure);
}

[dir="rtl"] .feature-list li::before,
[dir="rtl"] .check-list li::before {
  left: auto;
  right: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.52fr);
  gap: 34px;
  align-items: start;
}

.quote-band {
  padding: 42px;
  border-top: 4px solid var(--azure);
  background: var(--white);
}

.quote-band p {
  color: var(--muted);
  font-size: 1.14rem;
}

.process {
  counter-reset: step;
}

.process .card {
  box-shadow: none;
}

.process .card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 16px;
  color: var(--azure-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

[dir="rtl"] th,
[dir="rtl"] td {
  text-align: right;
}

th {
  color: var(--azure-dark);
  background: var(--azure-soft);
}

tr:last-child td {
  border-bottom: 0;
}

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

.field {
  display: grid;
  gap: 7px;
}

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

label {
  color: var(--ink);
  font-weight: 720;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.footer {
  color: #dcecf6;
  background: #10283c;
  padding: 44px 0;
}

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

.footer img {
  width: 210px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer a {
  color: #ffffff;
  font-weight: 750;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.mini {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  body {
    background: var(--white);
  }

  .site-shell {
    width: min(100% - 28px, 760px);
  }

  .nav {
    grid-template-columns: 1fr auto auto;
    min-height: 74px;
    gap: 14px;
  }

  .brand img {
    width: 188px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
  }

  .nav-links {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 8px;
    margin-top: -2px;
    padding: 10px 0 16px;
    border-top: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    min-height: 50px;
    justify-content: space-between;
    padding: 13px 14px;
    border: 1px solid var(--line);
    background: var(--white);
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 64px 0 82px;
  }

  .hero::before {
    background-position: center;
  }

  .metrics,
  .section-head,
  .split,
  .grid-3,
  .grid-4,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metrics {
    margin-top: 22px;
    gap: 14px;
  }

  .card,
  .panel,
  .contact-block,
  .metric {
    box-shadow: 0 12px 28px rgba(20, 34, 51, 0.08);
  }

  .table-wrap {
    overflow: visible;
    margin-inline: 0;
    border: 0;
    background: transparent;
  }

  table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  thead {
    display: none;
  }

  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  tr {
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 24px rgba(20, 34, 51, 0.06);
  }

  th,
  td {
    padding: 14px;
  }

  td {
    border-bottom: 1px solid var(--line);
  }

  td:first-child {
    color: var(--azure-dark);
    background: var(--azure-soft);
    font-weight: 800;
  }

  td:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  body {
    line-height: 1.55;
  }

  .nav {
    gap: 8px;
    min-height: 68px;
  }

  .brand img {
    width: 132px;
  }

  .lang-select {
    min-width: 96px;
    padding: 10px 8px;
    font-size: 0.94rem;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  h1 {
    font-size: clamp(2.05rem, 10vw, 2.55rem);
    line-height: 1.06;
    margin-bottom: 18px;
  }

  h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.14;
  }

  h3 {
    font-size: 1.05rem;
  }

  .lead {
    font-size: 1.02rem;
  }

  .eyebrow {
    font-size: 0.78rem;
  }

  .hero-inner {
    padding: 52px 0 68px;
  }

  .actions {
    gap: 10px;
    margin-top: 24px;
  }

  .actions .primary-link,
  .actions .secondary-link,
  button[type="submit"] {
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
  }

  .metric,
  .card,
  .panel,
  .contact-block {
    padding: 22px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    gap: 20px;
    margin-bottom: 26px;
  }

  .grid-3,
  .grid-4,
  .grid-2 {
    gap: 14px;
  }

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

  .quote-band {
    padding: 24px;
  }

  input,
  select,
  textarea {
    min-height: 48px;
    font-size: 1rem;
  }

  .footer {
    padding: 34px 0;
  }

  .footer-links {
    gap: 10px 14px;
  }
}

@media (max-width: 340px) {
  .site-shell {
    width: min(100% - 22px, 760px);
  }

  .brand img {
    width: 116px;
  }

  .lang-select {
    min-width: 88px;
    font-size: 0.88rem;
  }
}
