:root {
  --bg: #fafafa;
  --accent: #0b6fb8;
  --accent-dark: #07558e;
  --muted: #666;
  --text: #222;
  --card: #fff;
  --border: #e5e5e5;
  --maxw: 1200px;
  --gap: 18px;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(0, 0, 0, .05);

  --font:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;

  background:
    linear-gradient(
      180deg,
      #dceef8 0%,
      #edf5f5 22%,
      #f5f4ee 48%,
      #f8f1dc 74%,
      #f1dfb0 100%
    );

  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}


body.modal-open {
  overflow: hidden;
}


img {
  max-width: 100%;
  height: auto;
}


button,
input,
select,
textarea {
  font: inherit;
}


button,
a {
  -webkit-tap-highlight-color: transparent;
}


a {
  color: var(--accent);
  text-decoration-thickness: .08em;
  text-underline-offset: .15em;
}


a:hover {
  color: var(--accent-dark);
}


:focus-visible {
  outline: 3px solid #ffb000;
  outline-offset: 3px;
}


.container {
  width: min(
    calc(100% - 36px),
    var(--maxw)
  );

  margin-inline: auto;
}


.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}


.header-inner {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto
    minmax(443px, 1fr);

  align-items: center;
  gap: 24px;

  min-height: 82px;
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: var(--text);
  text-decoration: none;
}


.brand img {
  flex: 0 0 auto;
}


.brand-text {
  display: grid;
}


.brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.1;
}


.brand-subtitle {
  color: var(--muted);
  font-size: .9rem;
}


.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

}


.main-nav a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}


.main-nav a:hover {
  color: var(--accent);
}


.header-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}


.search {
  display: flex;
  gap: 6px;
}


.search input {
  width: 180px;
}


.language-select {
  min-width: 130px;
}


input,
select,
textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 9px 11px;
}


textarea {
  resize: vertical;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;
  padding: 9px 16px;

  border: 1px solid var(--accent);
  border-radius: 8px;

  background: var(--accent);
  color: #fff;

  font-weight: 700;
  text-decoration: none;

  cursor: pointer;
}


.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}


.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}


.btn-secondary {
  background: transparent;
  color: var(--accent);
}


.btn-secondary:hover {
  background: #eef7fd;
  color: var(--accent-dark);
}


main {
  padding-block: 28px 44px;
}


.page-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    320px;

  gap: var(--gap);
}


.main-column,
.sidebar {
  display: grid;
  gap: var(--gap);
  align-content: start;
}


.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}


.card h2 {
  margin-top: 0;
}


.hero {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    300px;

  gap: 28px;
  align-items: center;
}


.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .8rem;
}


.hero h1 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}


.hero-description {
  font-size: 1.08rem;
  color: #444;
}


.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}


.hero-photo {
  margin: 0;
}


.hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;

  border-radius: var(--radius);

  cursor: zoom-in;
}


.hero-photo figcaption {
  margin-top: 8px;
  color: var(--muted);
  text-align: center;
  font-size: .9rem;
}


.news-entry {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}


.news-entry h3 {
  margin-top: 0;
}


.site-footer {
  padding-block: 32px;
  background: #f0f2f4;
  border-top: 1px solid var(--border);
}


.footer-grid {
  display: grid;
  grid-template-columns:
    1.3fr
    1fr
    1fr;

  gap: 28px;
}


.footer-grid h2 {
  font-size: 1rem;
}


.footer-grid p {
  color: #555;
}


.modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;

  display: grid;
  place-items: center;

  padding: 20px;

  background: rgba(0, 0, 0, .58);
}


.modal[hidden],
.lightbox[hidden] {
  display: none;
}


.modal-content {
  position: relative;

  width: min(
    100%,
    680px
  );

  max-height: calc(100vh - 40px);
  overflow: auto;

  background: #fff;
  border-radius: var(--radius);
  padding: 28px;

  box-shadow:
    0 12px 50px rgba(0, 0, 0, .25);
}


.modal-close,
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;

  width: 42px;
  height: 42px;

  border: 1px solid var(--border);
  border-radius: 50%;

  background: #fff;
  color: var(--text);

  font-size: 1.5rem;
  line-height: 1;

  cursor: pointer;
}


.modal-content form {
  display: grid;
  gap: 9px;
}


.form-status {
  min-height: 1.6em;
}


.contact-list {
  display: grid;
  gap: 16px;
  margin-block: 20px;
}


.contact-phone {
  display: grid;
  gap: 8px;

  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}


.phone-number {
  font-size: 1.1rem;
  font-weight: 700;
}


.phone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}


.lightbox {
  background: rgba(0, 0, 0, .88);
}


.lightbox img {
  max-width: min(
    94vw,
    1400px
  );

  max-height: 90vh;

  object-fit: contain;
}


.lightbox-close {
  position: fixed;
  z-index: 1001;

  color: #111;
}


.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 2000;

  transform: translateY(-200%);

  padding: 10px 14px;

  background: #fff;
  color: #111;

  border: 2px solid var(--accent);
  border-radius: 8px;
}


.skip-link:focus {
  transform: translateY(0);
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
