:root {
  --navy: #082d63;
  --navy-dark: #031a3d;
  --orange: #f29a16;
  --orange-deep: #d77600;
  --white: #ffffff;
  --ink: #122033;
  --muted: #617083;
  --line: rgba(8, 45, 99, 0.14);
  --shadow: 0 18px 52px rgba(3, 26, 61, 0.16);
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f7f8fb;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(3, 26, 61, 0.58), rgba(3, 26, 61, 0));
  transition: background 220ms ease, box-shadow 220ms ease, height 220ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  height: var(--header-height);
  background: rgba(3, 26, 61, 0.96);
  box-shadow: 0 10px 32px rgba(3, 26, 61, 0.18);
}

.brand {
  flex: 0 0 auto;
  width: clamp(112px, 13vw, 156px);
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.brand img {
  width: auto;
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.2));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 40px) clamp(20px, 7vw, 96px) 70px;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 26, 61, 0.9) 0%, rgba(3, 26, 61, 0.68) 36%, rgba(3, 26, 61, 0.22) 100%),
    linear-gradient(180deg, rgba(3, 26, 61, 0.28), rgba(3, 26, 61, 0.7));
}

.hero-content {
  width: min(690px, 100%);
  padding-top: 4vh;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 36px;
  height: 2px;
  content: "";
  background: currentColor;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 9vw, 7.7rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero p {
  width: min(620px, 100%);
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2.2vw, 1.38rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: #1f1607;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.52);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.section {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 72px);
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-light {
  background:
    radial-gradient(circle at 0 0, rgba(242, 154, 22, 0.11), transparent 32vw),
    #f8fafc;
}

.section-heading {
  width: min(720px, 100%);
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 14px;
  color: var(--navy-dark);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 32px rgba(8, 45, 99, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(242, 154, 22, 0.5);
  box-shadow: var(--shadow);
}

.card-mark {
  display: block;
  margin-bottom: 30px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
}

.product-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.12rem;
}

.product-card p,
.advantage-copy p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.section-deep {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(242, 154, 22, 0.14), transparent 34%),
    linear-gradient(120deg, var(--navy-dark), var(--navy));
}

.section-deep h2,
.section-deep p {
  color: var(--white);
}

.advantage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.advantage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.advantage-list div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.advantage-list strong,
.advantage-list span {
  display: block;
}

.advantage-list strong {
  margin-bottom: 4px;
  color: var(--orange);
  font-size: 1.35rem;
}

.advantage-list span {
  color: rgba(255, 255, 255, 0.82);
}

.advantage-media {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 16px;
  align-items: center;
}

.advantage-media img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.advantage-media img:first-child {
  transform: translateY(28px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #dfe6ef;
  box-shadow: 0 12px 28px rgba(8, 45, 99, 0.08);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.gallery-item::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: rgba(3, 26, 61, 0.28);
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery-item::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)) center / 16px 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)) center / 2px 16px no-repeat;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 220ms ease, transform 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover::before,
.gallery-item:focus-visible::before,
.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  transform: translate(-50%, -50%) scale(1);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.gallery-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-tall {
  grid-row: span 2;
}

.section-contact {
  background: var(--white);
  padding-bottom: clamp(42px, 5vw, 70px);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 12px;
}

.contact-panel a,
.contact-panel address {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 20px 22px;
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  background: #f6f8fb;
  font-style: normal;
}

.contact-panel span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-panel strong {
  color: var(--navy-dark);
  line-height: 1.45;
}

.map-section {
  width: 100vw;
  height: 30vh;
  min-height: 230px;
  overflow: hidden;
  background: #dfe6ef;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.92) contrast(1.04);
}

.site-footer {
  padding: 46px clamp(18px, 5vw, 72px) 18px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-dark);
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 34px;
}

.site-footer img {
  width: 170px;
  margin-bottom: 16px;
  padding: 8px;
  border-radius: 8px;
  background: var(--white);
}

.site-footer h3 {
  margin-bottom: 14px;
  color: var(--white);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.76);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  transition: all .3s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  transform: scale(1.1);
}

.footer-social a[aria-label="Facebook"]:hover,
.footer-social a[aria-label="Facebook"]:focus-visible {
  color: #1877F2;
}

.footer-social a[aria-label="Instagram"]:hover,
.footer-social a[aria-label="Instagram"]:focus-visible {
  color: #E4405F;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer a:hover {
  color: var(--orange);
}

.copyright {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  font-size: clamp(0.58rem, 2.35vw, 0.9rem);
}

.fixed-actions {
  position: fixed;
  right: clamp(14px, 2.2vw, 30px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 25;
  display: grid;
  gap: 14px;
}

.fixed-actions a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  transition: transform 180ms ease, filter 180ms ease;
}

.fixed-actions a:hover,
.fixed-actions a:focus-visible {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 8px 14px rgba(3, 26, 61, 0.25));
}

.fixed-actions img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(2, 12, 28, 0.74);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-frame {
  position: relative;
  display: grid;
  max-width: min(1120px, 92vw);
  max-height: 86vh;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.46);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 220ms ease, transform 220ms ease;
}

.lightbox.is-open .lightbox-frame {
  opacity: 1;
  transform: scale(1);
}

.lightbox-frame img {
  display: block;
  width: auto;
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
}

.lightbox button {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

.lightbox button:hover,
.lightbox button:focus-visible {
  transform: scale(1.08);
}

.lightbox button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.lightbox-close {
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
  font-size: 2.6rem;
  line-height: 1;
}

.lightbox-arrow {
  top: 50%;
  width: 54px;
  height: 70px;
  font-size: 4.4rem;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-arrow:hover,
.lightbox-arrow:focus-visible {
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev {
  left: clamp(12px, 3vw, 42px);
}

.lightbox-next {
  right: clamp(12px, 3vw, 42px);
}

body.lightbox-open {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantage-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .site-header,
  .site-header.is-scrolled,
  .site-header.menu-open {
    height: var(--header-height);
    padding-inline: 16px;
  }

  .brand {
    width: 108px;
  }

  .brand img {
    max-height: 48px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    display: grid;
    width: min(260px, calc(100vw - 32px));
    gap: 2px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(3, 26, 61, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 12px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 26, 61, 0.9), rgba(3, 26, 61, 0.54)),
      linear-gradient(180deg, rgba(3, 26, 61, 0.22), rgba(3, 26, 61, 0.78));
  }

  .product-grid,
  .advantage-list {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
    padding: 20px;
  }

  .card-mark {
    margin-bottom: 18px;
  }

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

  .lightbox {
    padding: 16px;
  }

  .lightbox-frame,
  .lightbox-frame img {
    max-width: calc(100vw - 32px);
    max-height: 78vh;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
  }

  .lightbox-arrow {
    width: 42px;
    height: 58px;
    font-size: 3.6rem;
  }

  .gallery-wide,
  .gallery-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 480px) {
  .hero {
    min-height: 100svh;
    padding-bottom: 54px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.3rem);
  }

  .hero-actions {
    display: grid;
    width: min(100%, 310px);
  }

  .section {
    padding-inline: 16px;
  }

  .site-footer {
    padding-inline: 12px;
  }

  .copyright {
    font-size: 0.5rem;
  }

  .product-card {
    padding: 18px;
  }

  .advantage-media {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .advantage-media img:first-child {
    transform: none;
  }

  .advantage-media img {
    aspect-ratio: auto;
    height: auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .gallery-item::after {
    width: 40px;
    height: 40px;
  }

  .lightbox-frame,
  .lightbox-frame img {
    max-width: calc(100vw - 24px);
    max-height: 76vh;
  }

  .lightbox-prev {
    left: 4px;
  }

  .lightbox-next {
    right: 4px;
  }

  .fixed-actions {
    right: 8px;
    bottom: 10px;
    gap: 10px;
  }

  .fixed-actions a {
    width: 42px;
    height: 42px;
  }

  .fixed-actions img {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    transform: none;
  }

  .gallery-item img,
  .gallery-item::before,
  .gallery-item::after,
  .lightbox,
  .lightbox-frame {
    transition-duration: 0.001ms !important;
  }
}
