:root {
  --page-bg: #ffffff;
  --soft-bg: #eef4f8;
  --border: #dbe4eb;
  --brand: #1a2d7a;
  --brand-soft: #63a6d8;
  --text: #4d4d4d;
  --muted: #8a95a3;
  --footer: #3168a6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--page-bg);
  color: var(--text);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -40px;
  padding: 8px 12px;
  background: var(--brand);
  color: #fff;
  z-index: 1000;
}

.skip-link:focus {
  top: 8px;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: min(1200px, calc(100% - 24px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: min(340px, 100%);
  max-width: 340px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--brand-soft);
}

.site-nav ul,
.footer-nav ul,
.gallery-grid,
.reasons-list,
.services-list,
.products-list,
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 48px;
}

.site-nav a {
  color: var(--brand-soft);
  font-size: 20px;
  line-height: 1;
}

.site-nav a[aria-current="page"] {
  color: var(--brand);
}

.page-hero {
  background: #eef4f8;
  border-top: 1px solid #eff4f8;
  border-bottom: 1px solid var(--border);
  padding: 34px 0 30px;
}

.page-hero h1 {
  margin: 0;
  text-align: center;
  color: var(--brand);
  font-size: 32px;
  font-style: italic;
  font-weight: 500;
}

.breadcrumbs {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  color: #7d8794;
  font-size: 14px;
}

.home-hero {
  position: relative;
  overflow: hidden;
  height: 62vh;
  min-height: 420px;
  max-height: 640px;
}

.hero-slider,
.hero-slide {
  height: 100%;
}

.hero-slider {
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}

.hero-dot.is-active {
  background: #ffffff;
}

.soft-band {
  background: #eef4f8;
  padding: 12px 0;
  border-top: 1px solid #ebf1f5;
  border-bottom: 1px solid #ebf1f5;
}

.section {
  padding: 54px 0;
}

.home-intro {
  background: #fff;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.text-block h2,
.services-panel h2,
.contact-box h2,
.content-title {
  margin: 0 0 28px;
  color: var(--brand);
  font-size: 33px;
  font-weight: 400;
  line-height: 1.15;
}

.text-block p,
.about-copy p,
.contact-copy p,
.services-panel li,
.products-panel li,
.contact-list li,
.footer-note {
  font-size: 18px;
  line-height: 1.85;
}

.gallery-section h2 {
  margin: 0 0 36px;
  color: var(--brand);
  font-size: 42px;
  font-weight: 600;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px 20px;
}

.gallery-link {
  display: block;
  background: #fff;
}

.gallery-link img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 6px solid #f6f8fa;
}

.content-wrap {
  background: #fff;
}

.services-layout {
  display: grid;
  grid-template-columns: 49% 51%;
  gap: 24px;
  align-items: start;
}

.services-layout img {
  width: 100%;
}

.services-panel,
.products-panel {
  padding-top: 12px;
}

.services-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.services-panel h2,
.products-panel h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.services-list li,
.products-list li {
  margin-bottom: 6px;
  color: #5b5b5b;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
}

.about-copy h2:first-child {
  font-size: 64px;
  margin-bottom: 24px;
}

.about-copy h3 {
  margin: 70px 0 24px;
  color: var(--brand);
  font-size: 28px;
  font-weight: 600;
}

.about-split {
  display: grid;
  grid-template-columns: 47% 53%;
  gap: 28px;
  align-items: stretch;
}

.about-side {
  min-height: 0;
  width: 100%;
  padding: 28px 30px;
  color: #fff;
  background: linear-gradient(180deg, #51a4dc, #468fca);
}

.about-split > div,
.about-split img,
.about-split p {
  height: 100%;
}

.about-split img {
  width: 100%;
  object-fit: cover;
}

.about-split p {
  margin: 0;
}

.about-side h3 {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 600;
}

.reasons-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.5;
}

.reasons-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  font-weight: 700;
}

.contact-map iframe {
  width: 100%;
  height: 610px;
  border: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 22% 50% 28%;
  gap: 28px;
  align-items: start;
}

.contact-copy h3,
.contact-form h3,
.contact-box h2 {
  margin: 0 0 26px;
  color: var(--brand);
  font-size: 32px;
  font-weight: 600;
}

.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 12px;
  border: 1px solid #ececec;
  background: #fff;
  color: #666;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
  margin-top: 14px;
}

.contact-form button {
  margin-top: 18px;
  min-width: 82px;
  padding: 12px 20px;
  border: 0;
  color: #fff;
  background: #4d97d0;
}

.mail-cta {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 18px;
  background: #4d97d0;
  color: #fff;
}

.contact-box {
  min-height: 334px;
  padding: 22px 28px;
  color: #fff;
  background: linear-gradient(180deg, #57a8de, #458cc7);
}

.contact-box h2 {
  color: #fff;
}

.contact-list li {
  margin-bottom: 26px;
  font-size: 16px;
  line-height: 1.45;
}

.contact-list strong,
.contact-list a,
.contact-list span {
  color: #fff;
}

.site-footer {
  margin-top: 28px;
  background: var(--footer);
  color: #fff;
  padding: 38px 0 24px;
}

.footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
}

.footer-nav ul {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 16px;
}

.footer-note {
  margin: 34px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

.footer-brand img {
  width: 228px;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.86);
  z-index: 999;
}

.lightbox[aria-hidden="false"] {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: min(92vw, 1280px);
  max-height: 92vh;
}

.lightbox img,
.lightbox video {
  max-width: 100%;
  max-height: 92vh;
}

.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 28px;
  line-height: 1;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .site-nav ul {
    gap: 28px;
  }

  .about-copy h2:first-child {
    font-size: 48px;
  }

  .contact-layout,
  .about-layout,
  .services-layout,
  .two-col {
    grid-template-columns: 1fr;
  }

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

  .contact-map iframe {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 84px;
  }

  .brand img {
    max-width: 240px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 84px;
    left: 12px;
    right: 12px;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid var(--border);
    display: none;
  }

  .site-nav[data-open="true"] {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .page-hero h1,
  .gallery-section h2,
  .text-block h2,
  .content-title,
  .contact-copy h3,
  .contact-form h3,
  .contact-box h2 {
    font-size: 24px;
  }

  .about-copy h2:first-child {
    font-size: 30px;
  }

  .about-copy h3,
  .services-panel h2,
  .products-panel h2,
  .about-side h3 {
    font-size: 24px;
  }

  .gallery-grid,
  .contact-form .row,
  .about-split {
    grid-template-columns: 1fr;
  }

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

  .gallery-section h2 {
    text-align: center;
  }

  .section {
    padding: 34px 0;
  }
}

@media (max-width: 414px) {
  .container,
  .footer-inner {
    width: calc(100% - 24px);
  }

  .text-block p,
  .about-copy p,
  .contact-copy p,
  .services-panel li,
  .products-panel li,
  .contact-list li {
    font-size: 16px;
    line-height: 1.7;
  }

  .gallery-link img {
    border-width: 6px;
  }

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

  .home-hero {
    height: 34vh;
    min-height: 240px;
    max-height: 320px;
  }
}
