:root {
  --bg-dark: #0b1b26;
  --bg-light: #f6f7f9;
  --accent: #1c8ad4;
  --accent-soft: rgba(28, 138, 212, 0.12);
  --text-dark: #0f1b24;
  --text-light: #f1f4f7;
  --muted: #6b7a86;
  --border: rgba(15, 27, 36, 0.1);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-light);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 27, 38, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 10;
}

.site-header {
  background: radial-gradient(circle at top left, rgba(28, 138, 212, 0.25), transparent 55%), var(--bg-dark);
  color: var(--text-light);
  padding: 140px 0 80px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap:24px;
  padding: 16px 0;
}

.main-nav .logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
}

.hero {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
  margin-top: 32px;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 2vw + 1.5rem, 3rem);
  line-height: 1.3;
  margin: 0 0 16px;
}

.hero-text p {
  margin: 0 0 24px;
  max-width: 32ch;
  color: rgba(241, 244, 247, 0.85);
}

.cta {
  background: var(--accent);
  color: var(--text-light);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta::after {
  content: "→";
  font-size: 1.1em;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(28, 138, 212, 0.25);
}

.hero-card {
  background: rgba(15, 27, 36, 0.55);
  padding: 32px;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card h2 {
  margin: 0;
}

.hero-card p {
  margin: 0;
  color: rgba(241, 244, 247, 0.88);
}

main section {
  padding: 80px 0;
}

.section-dark {
  background: #eef3f8;
}

.section-light {
  background: var(--bg-light);
}

h2 {
  margin: 0 0 28px;
  font-size: 2rem;
}

h3 {
  margin-top: 0;
}

.two-column {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(15, 27, 36, 0.08);
}

.info-card h3 {
  margin-bottom: 16px;
}

.info-card span {
  font-weight: 600;
  display: inline-block;
  min-width: 90px;
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(12, 34, 49, 0.12);
}

.profile-image {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(12, 34, 49, 0.16);
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.profile-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.profile-image figcaption {
  padding: 16px 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.validation-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.validation-item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(28, 138, 212, 0.18);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: start;
}

.validation-icon {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.section-lead {
  max-width: 48ch;
  color: var(--muted);
  margin-bottom: 36px;
}

.gallery-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-grid figure {
  margin: 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 36px rgba(12, 34, 49, 0.12);
  display: flex;
  flex-direction: column;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-grid figcaption {
  padding: 16px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-section {
  gap: 48px;
}

.contact-facts {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  font-size: 0.98rem;
}

.contact-facts p {
  margin-top:0;
  margin-bottom:0;
}

.contact-facts span {
  display: inline-block;
  min-width: 90px;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-facts a {
  color: var(--accent);
  font-weight: 600;
}

.contact-image {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(12, 34, 49, 0.18);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.contact-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.contact-image figcaption {
  padding: 16px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 40px 0;
}

.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  align-items: start;
}

.footer-grid .logo {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid p {
  max-width:360px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-note {
  text-align: center;
  margin-top: 24px;
  color: rgba(241, 244, 247, 0.6);
  font-size: 0.85rem;
}

.video-section {
  align-items: center;
  gap: 48px;
}

.video-wrapper {
  max-width: 640px;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(12, 34, 49, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
}

.video-wrapper video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section[id] {
  scroll-margin-top: 120px;
}

@media (max-width: 640px) {
  .main-nav ul {
    display: none;
  }

  /*.hero-card {
    order: -1;
  }*/

  .video-section {
    gap: 32px;
  }

  .contact-image img,
  .profile-image img {
    height: 260px;
  }
}
