:root {
  --bg: #022f24;
  --bg-soft: #053b2f;
  --text: #edf9f2;
  --muted: #a2c9b8;
  --accent: #f2ca52;
  --accent-strong: #e9b93d;
  --card: rgba(3, 47, 36, 0.82);
  --line: rgba(242, 202, 82, 0.24);
  --line-soft: rgba(242, 202, 82, 0.14);
  --container: min(1120px, 92vw);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #01271f 0%, #053b2f 45%, #01271f 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

.zoomable {
  cursor: zoom-in;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(1, 30, 24, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-label {
  margin: 0 0 2px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.brand-name {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 9px 12px;
  color: #d5ece1;
  border-radius: 10px;
  transition: background-color 180ms ease, color 180ms ease;
}

.main-nav a:hover {
  background: rgba(242, 202, 82, 0.12);
  color: #fff6d9;
}

.main-nav a.is-active {
  background: rgba(242, 202, 82, 0.2);
  color: #fff0bd;
}

.hero-section {
  position: relative;
  min-height: 74vh;
  --parallax-x: 0px;
  --parallax-y: 0px;
  background-image:
    linear-gradient(115deg, rgba(1, 28, 22, 0.86), rgba(5, 59, 47, 0.82)),
    url("./docs/theme-poster.png");
  background-size: cover;
  background-position: center;
  display: grid;
  align-items: center;
  overflow: clip;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 20%, rgba(242, 202, 82, 0.18), transparent 48%);
  transform: translate(calc(var(--parallax-x) * -0.3), calc(var(--parallax-y) * -0.3));
  transition: transform 220ms ease-out;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  pointer-events: none;
}

.orb-one {
  width: 240px;
  height: 240px;
  top: 12%;
  right: 11%;
  background: radial-gradient(circle at 30% 30%, rgba(242, 202, 82, 0.45), rgba(242, 202, 82, 0.04));
  animation: floatA 8s ease-in-out infinite;
  transform: translate(calc(var(--parallax-x) * 0.45), calc(var(--parallax-y) * 0.45));
  transition: transform 220ms ease-out;
}

.orb-two {
  width: 190px;
  height: 190px;
  bottom: 11%;
  left: 8%;
  background: radial-gradient(circle at 30% 30%, rgba(196, 234, 206, 0.28), rgba(59, 130, 109, 0.08));
  animation: floatB 9s ease-in-out infinite;
  transform: translate(calc(var(--parallax-x) * -0.35), calc(var(--parallax-y) * -0.35));
  transition: transform 220ms ease-out;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: end;
  padding-block: clamp(70px, 11vw, 140px);
}

.hero-content {
  position: relative;
  max-width: 740px;
}

.chip {
  margin: 0 0 12px;
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(242, 202, 82, 0.14);
  border: 1px solid rgba(242, 202, 82, 0.38);
  color: #ffedb0;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
}

.hero-text {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  line-height: 1.65;
  color: #d6ede1;
}

.hero-cta {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  color: #1f2f10;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 10px 26px rgba(233, 185, 61, 0.28);
}

.hero-cta:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 30px rgba(233, 185, 61, 0.36);
}

.hero-glass-card {
  position: relative;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 36px rgba(2, 6, 23, 0.4);
}

.glass-card-label {
  margin: 0 0 8px;
  color: #ffedb0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.73rem;
  font-weight: 600;
}

.hero-glass-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.25;
}

.hero-glass-card p {
  margin: 0;
  color: #d8eee3;
  line-height: 1.55;
}

.hero-brand-icons {
  border-radius: 14px;
  margin: 10px 0 14px;
  border: 1px solid var(--line-soft);
}

.brand-look-section {
  padding: clamp(46px, 7vw, 72px) 0 4px;
}

.brand-look-layout {
  display: grid;
  grid-template-columns: 0.55fr 0.45fr;
  gap: 16px;
}

.brand-poster-card,
.brand-note-card {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(2, 43, 34, 0.45);
  overflow: hidden;
}

.brand-poster-card img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.brand-note-card {
  padding: 20px;
  display: grid;
  align-content: center;
}

.brand-note-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

.brand-note-card p {
  margin: 0;
  color: #d6ede1;
  line-height: 1.6;
}

.advantages-section {
  padding: clamp(46px, 8vw, 78px) 0 22px;
}

.catalog-section {
  padding: clamp(50px, 8vw, 84px) 0 12px;
  background: #033a2d;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

#catalogList {
  min-height: 680px;
  align-content: start;
}

.catalog-toolbar {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.catalog-toolbar input {
  width: min(440px, 100%);
  background: rgba(1, 40, 31, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: #eefbf3;
  outline: none;
}

.catalog-toolbar input::placeholder {
  color: #9fc6b6;
}

.catalog-toolbar input:focus {
  border-color: rgba(242, 202, 82, 0.62);
  box-shadow: 0 0 0 3px rgba(242, 202, 82, 0.18);
}

.catalog-toolbar p {
  margin: 0;
  color: #d6ede1;
}

.products-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.product-card {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 18px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(2, 6, 23, 0.42);
  transition: transform 220ms ease, border-color 220ms ease;
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.44);
}

.product-card h4 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
}

.product-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card strong {
  display: inline-block;
  margin-top: auto;
  color: #ffde84;
  font-size: 1rem;
}

.product-more-btn {
  justify-self: start;
  border: 1px solid rgba(242, 202, 82, 0.45);
  background: rgba(242, 202, 82, 0.1);
  color: #ffedb0;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.85rem;
  cursor: pointer;
}

.product-more-btn:hover {
  background: rgba(242, 202, 82, 0.16);
}

.catalog-more {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.catalog-more button {
  border: 1px solid rgba(242, 202, 82, 0.55);
  background: rgba(242, 202, 82, 0.12);
  color: #ffefbf;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
}

.catalog-more button:hover {
  background: rgba(242, 202, 82, 0.2);
}


.branches-section {
  padding: clamp(50px, 8vw, 86px) 0 14px;
}

.branches-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 16px;
  align-items: start;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.branch-card {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 16px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(2, 6, 23, 0.4);
}

.branch-card h4 {
  margin: 0 0 8px;
  font-size: 1.04rem;
}

.branch-card p {
  margin: 0 0 10px;
  color: #cbd5e1;
  line-height: 1.45;
}

.branch-card a {
  display: block;
  margin: 0 0 6px;
  color: #ffde84;
}

.branch-card a:last-child {
  margin-bottom: 0;
}

.branch-card a:hover {
  color: #fff0be;
}

.branches-image-card {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.45);
}

.branches-image-card img {
  width: 100%;
  display: block;
}

.advantages-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.advantage-card {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 20px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(2, 6, 23, 0.4);
  transition: transform 220ms ease, border-color 220ms ease;
}

.advantage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.44);
}

.advantage-card h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.advantage-card p {
  margin: 0;
  line-height: 1.6;
  color: #d6ede1;
}

.gallery-section {
  padding: clamp(56px, 9vw, 96px) 0;
}

.section-head h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3.6vw, 2rem);
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.gallery-grid {
  margin-top: 24px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  min-height: 230px;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(2, 6, 23, 0.45);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.62);
}

.footer-grid {
  padding: 36px 0 44px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-grid h4 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.footer-grid p {
  margin: 0 0 10px;
  color: #d6ede1;
  line-height: 1.5;
}

.footer-grid strong {
  color: #f9fafb;
}

#companyPhoneLink,
#companyEmailLink,
.footer-grid a {
  color: #ffde84;
}

.footer-grid a:hover {
  color: #fff0be;
}

.disclaimer {
  border-top: 1px solid var(--line-soft);
  padding: 0 0 34px;
}

.disclaimer p {
  margin: 0;
  color: #b8d7ca;
  font-size: 0.93rem;
  line-height: 1.6;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1, 14, 10, 0.82);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  border-radius: 12px;
  border: 1px solid rgba(242, 202, 82, 0.35);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(242, 202, 82, 0.55);
  background: rgba(1, 40, 31, 0.86);
  color: #ffedb0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 111;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1, 14, 10, 0.86);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.product-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-card {
  width: min(740px, 94vw);
  max-height: 88vh;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(242, 202, 82, 0.35);
  background: linear-gradient(140deg, rgba(9, 51, 40, 0.98), rgba(4, 34, 27, 0.98));
  padding: 20px;
  color: #e8f7ee;
}

.product-modal-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.product-modal-card p {
  margin: 0 0 12px;
  line-height: 1.6;
  color: #d2ece0;
}

.product-modal-price {
  display: inline-block;
  margin-bottom: 12px;
  color: #ffde84;
  font-weight: 700;
}

.product-modal-close {
  position: sticky;
  top: 0;
  float: right;
  border: 1px solid rgba(242, 202, 82, 0.55);
  background: rgba(242, 202, 82, 0.12);
  color: #ffefbf;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.65, 0.3, 1),
    transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

@keyframes floatA {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes floatB {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

@media (max-width: 860px) {
  .header-inner {
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .hero-glass-card {
    max-width: 520px;
  }

  .brand-look-layout {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .branches-layout {
    grid-template-columns: 1fr;
  }

  .branches-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: 66vh;
  }

  .hero-layout {
    padding-block: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto;
  }

  .reveal,
  .delay-1,
  .delay-2,
  .floating-orb,
  .hero-cta,
  .advantage-card,
  .photo-card {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
