@import url("https://fonts.googleapis.com/css2?family=K2D:wght@400;700&family=Raleway:wght@400;500;600;700&display=swap");

:root {
  --bg: #0d161a;
  --bg-soft: #142127;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(225, 239, 242, 0.16);
  --text: #e1eff2;
  --muted: #b7c5cb;
  --shadow: rgba(0, 0, 0, 0.3);
  --max-width: 1180px;
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(225, 239, 242, 0.08), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(225, 239, 242, 0.07), transparent 20%),
    linear-gradient(180deg, #0a1114 0%, #0d161a 48%, #101b21 100%);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

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

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

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  padding: 1.5rem 0 1rem;
}

.site-header__inner,
.site-footer__inner {
  border: 1px solid var(--line);
  background: rgba(7, 11, 14, 0.6);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px var(--shadow);
}

.site-header__inner {
  border-radius: 999px;
  padding: 1rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand__mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.brand__title {
  margin: 0;
  font: 600 1.02rem/1.1 "Raleway", "Avenir Next", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand__subtitle {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.site-nav__links a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font: 500 0.92rem/1 "Raleway", "Avenir Next", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav__links a:hover,
.site-nav__links a:focus-visible,
.site-nav__links a[aria-current="page"] {
  background: rgba(225, 239, 242, 0.1);
  color: var(--text);
  transform: translateY(-1px);
}

.page-main {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  flex: 1;
  padding: 1.25rem 0 3rem;
}

.hero-home {
  min-height: calc(100vh - 16rem);
  display: grid;
  place-items: center;
  padding: 2rem 0 3rem;
}

.hero-home__panel,
.page-panel,
.contact-card,
.legal-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(7, 11, 14, 0.65);
  box-shadow: 0 24px 60px var(--shadow);
}

.hero-home__panel {
  width: min(100%, 980px);
  border-radius: 40px;
  padding: clamp(2rem, 4vw, 4rem);
  text-align: center;
}

.hero-home__logo {
  width: min(68vw, 430px);
  margin: 0 auto 1.75rem;
}

.hero-home__tagline {
  margin: 0;
  font: 700 clamp(1.8rem, 4vw, 2.6rem) / 1.25 "K2D", "Raleway", sans-serif;
  color: #ffffff;
  text-shadow:
    1px 1px 1px rgba(255, 255, 255, 0.5),
    -1px -1px 1px rgba(0, 0, 0, 0.6);
}

.page-panel {
  border-radius: 32px;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.page-hero {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.page-hero h1,
.contact-card h1,
.legal-card h1,
.legal-card h2,
.legal-card h3,
.legal-card h4 {
  margin: 0;
  font-family: "Raleway", "Avenir Next", sans-serif;
}

.page-hero h1,
.contact-card h1,
.legal-card h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.05;
}

.page-hero p,
.contact-card p,
.legal-card p,
.legal-card li {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.page-hero__lead {
  color: #ffffff;
  font: 500 1.15rem/1.5 "Avenir Next", "Segoe UI", sans-serif;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.button,
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(225, 239, 242, 0.09);
  color: var(--text);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-2px);
  background: rgba(225, 239, 242, 0.15);
  border-color: rgba(225, 239, 242, 0.28);
}

.button {
  font: 600 0.9rem/1 "Raleway", "Avenir Next", sans-serif;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.button--ghost {
  background: transparent;
}

.store-badge img {
  height: 44px;
  width: auto;
}

.gallery {
  display: grid;
  gap: 1rem;
}

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

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

.gallery-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-card:hover,
.gallery-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.28);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card--phototint {
  aspect-ratio: 3 / 4;
}

.gallery-card--phone {
  aspect-ratio: 9 / 19.5;
}

.contact-wrap {
  min-height: calc(100vh - 22rem);
  display: grid;
  place-items: center;
}

.contact-card {
  width: min(100%, 760px);
  border-radius: 34px;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.contact-card__mail {
  display: inline-flex;
  margin-top: 1.4rem;
  font: 600 clamp(1.1rem, 3vw, 1.4rem) / 1.2 "Raleway", "Avenir Next", sans-serif;
  color: #ffffff;
}

.legal-wrap {
  padding-top: 0.5rem;
}

.legal-card {
  width: min(100%, 960px);
  margin: 0 auto;
  border-radius: 34px;
  padding: clamp(1.75rem, 4vw, 3rem);
}

.legal-card > * + * {
  margin-top: 1rem;
}

.legal-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal-card li + li {
  margin-top: 0.55rem;
}

.legal-card h2 {
  margin-top: 2rem;
  font-size: 1.7rem;
}

.legal-card h3 {
  margin-top: 1.35rem;
  font-size: 1.2rem;
}

.legal-card h4 {
  margin-top: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer {
  padding: 0 0 2rem;
}

.site-footer__inner {
  border-radius: 30px;
  padding: 1.35rem 1.5rem;
  text-align: center;
}

.site-footer__copy {
  margin: 0;
  font: 500 0.92rem/1.8 "Raleway", "Avenir Next", sans-serif;
  color: var(--muted);
}

.site-footer__copy + .site-footer__copy {
  margin-top: 0.2rem;
}

.site-footer__copy a:hover,
.site-footer__copy a:focus-visible,
.contact-card__mail:hover,
.contact-card__mail:focus-visible,
.legal-card a:hover,
.legal-card a:focus-visible {
  color: #ffffff;
}

@media (max-width: 1120px) {
  .gallery--phototint {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .site-header__inner {
    border-radius: 34px;
    justify-content: center;
  }

  .brand {
    justify-content: center;
    text-align: center;
  }

  .site-nav__links {
    justify-content: center;
  }

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

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  .page-main {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .site-header {
    padding-top: 0.8rem;
  }

  .site-header__inner,
  .site-footer__inner,
  .hero-home__panel,
  .page-panel,
  .contact-card,
  .legal-card {
    border-radius: 24px;
  }

  .site-nav__links {
    gap: 0.25rem;
  }

  .site-nav__links a {
    padding: 0.65rem 0.85rem;
    font-size: 0.8rem;
  }

  .page-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .store-badge {
    width: 100%;
  }

  .gallery--phototint,
  .gallery--nurleft {
    grid-template-columns: 1fr;
  }
}
