:root {
  --bg: #07111f;
  --bg-soft: #f6efe7;
  --surface: #ffffff;
  --text: #16233b;
  --muted: #59667a;
  --primary: #dc6a1b;
  --primary-dark: #b84e0d;
  --accent: #113d72;
  --border: rgba(255, 255, 255, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #050913;
  line-height: 1.7;
  overflow-x: hidden;
}

body.page-body {
  background: #f7f3eb;
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #ff9f4d);
  color: white;
  font-size: 1.35rem;
  line-height: 1;
}

.menu-btn {
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  padding: 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.menu-btn span {
  width: 1.2rem;
  height: 2px;
  background: white;
  display: block;
}

.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 90vw);
  height: 100vh;
  height: 100dvh;
  background: rgba(7, 17, 31, 0.96);
  color: white;
  padding: 2rem 1.4rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.side-panel.open {
  transform: translateX(0);
}

.side-panel__close {
  align-self: flex-end;
  border: 0;
  background: transparent;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.side-panel nav {
  display: grid;
  gap: 1rem;
}

.side-panel a {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 40;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 6rem 0 3rem;
  background: linear-gradient(110deg, rgba(7, 17, 31, 0.82), rgba(14, 32, 54, 0.6));
  color: white;
  overflow: hidden;
}

.hero__layer,
.section__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: translate3d(0, 0, 0);
}

.hero__layer {
  background-image: url('images/hero-great-wall.jpg');
}

.hero::after,
.section__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 17, 31, 0.86), rgba(7, 17, 31, 0.35));
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.3rem, 4.2vw, 4rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  margin-bottom: 0.8rem;
}

.hero__text,
.split__content p,
.section-heading p {
  color: rgba(255, 255, 255, 0.85);
}

.card p,
.feature p,
.contact-card p {
  color: var(--muted);
}

.section--light .split__content p,
.section--light .section-heading p,
.section--light .contact-panel p,
.section--light .showcase__content p {
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.6rem 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn--primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 14px 30px rgba(220, 106, 27, 0.24);
}

.btn--primary:hover {
  background: var(--primary-dark);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 620px;
}

.hero__stats div {
  padding: 1rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  text-align: center;
}

.hero__stats strong {
  display: block;
  font-size: 1.15rem;
}

.hero__stats span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: 5.5rem 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

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

.section--image {
  overflow: hidden;
  color: white;
}

.section__bg {
  background-image: url('https://images.unsplash.com/photo-1782913403748-9cb44b6a5159?auto=format&fit=crop&w=1800&q=80');
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.showcase-section {
  min-height: auto;
  padding: 5rem 0 3rem;
}

.showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.showcase__media {
  position: relative;
  overflow: hidden;
  border-radius: 1.8rem;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.16);
}

.showcase__media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.showcase__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent);
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.showcase__list {
  display: grid;
  gap: 0.8rem;
  margin: 1.3rem 0 1.5rem;
}

.showcase__list > div {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: white;
  border: 1px solid rgba(17, 61, 114, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.showcase__list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--accent);
}

.showcase__list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.split__media img {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: 1.6rem;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.16);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.card-grid > .card {
  flex: 0 1 calc((100% - 2.4rem) / 3);
  min-width: 0;
}

.card-grid > .card.card--featured {
  flex-basis: calc((100% - 2.4rem) / 3 * 2 + 1.2rem);
}

.card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.3rem;
  overflow: hidden;
  color: var(--text);
  box-shadow: 0 24px 60px rgba(5, 15, 35, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 70px rgba(5, 15, 35, 0.2);
}

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

.card__body {
  padding: 1.2rem;
}

.card-top-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.card-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card--featured {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, rgba(220, 106, 27, 0.08), rgba(255, 255, 255, 0.96));
}

.card--featured .card__body {
  padding: 1.6rem;
}

.card-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.card--photo {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  background-image: linear-gradient(180deg, rgba(7, 17, 31, 0.45) 0%, rgba(7, 17, 31, 0.72) 60%, rgba(7, 17, 31, 0.95) 100%), var(--card-photo);
  background-size: cover;
  background-position: center;
  color: white;
}

.card--photo h3 {
  color: white;
}

.card--photo p {
  color: rgba(255, 255, 255, 0.88);
}

.card--photo .text-link {
  color: white;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card--text {
  padding: 1.5rem;
}

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

.text-link {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--primary);
  font-weight: 700;
}

.card .text-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 61, 114, 0.08);
}

.page-header .brand {
  color: var(--text);
}

.page-header .menu-btn {
  background: rgba(17, 61, 114, 0.08);
}

.page-header .menu-btn span {
  background: var(--text);
}

.page-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: white;
  overflow: hidden;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 17, 31, 0.85), rgba(7, 17, 31, 0.35));
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 4rem 0;
}

.page-hero__content p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 650px;
}

.list {
  padding-left: 1rem;
  color: var(--muted);
}

.list li {
  margin-bottom: 0.5rem;
}

.list li:last-child {
  margin-bottom: 0;
}

.inline-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.feature--rich {
  background: white;
  border: 1px solid rgba(17, 61, 114, 0.08);
  border-radius: 1rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

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

.feature {
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 1rem;
  border: 1px solid rgba(17, 61, 114, 0.08);
}

.section--dark {
  background: linear-gradient(135deg, #08111f, #0e223c);
  color: white;
}

.quote {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 2.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.6rem;
  backdrop-filter: blur(10px);
}

.quote .hero__actions {
  flex-wrap: nowrap;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.contact-card {
  padding: 1.5rem;
  border-radius: 1.4rem;
  background: white;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.contact-phone a {
  font-weight: 700;
  color: var(--accent);
}

.contact-card > p {
  margin: 0 0 1rem;
}

.contact-list {
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
  color: var(--muted);
}

.contact-list a,
.contact-list .format-label {
  color: var(--accent);
  font-weight: 700;
}

.phone-block {
  display: flex;
  flex-direction: column;
  margin-top: 0.4rem;
}

.phone-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.phone-line--group {
  margin-top: 1.1rem;
}

.phone-line__numbers {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.phone-block a {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}

.phone-note {
  color: var(--muted);
}

.form-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.4rem;
}

.form-card label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--text);
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid rgba(17, 61, 114, 0.12);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--text);
  background: #fbf8f3;
}

.form-card textarea {
  resize: vertical;
  min-height: 110px;
}

.consent-field {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400 !important;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
}

.consent-field input[type='checkbox'] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.consent-field a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

.form-card select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%2316233b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}

.messenger-section {
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
  overflow: hidden;
  padding: 4.5rem 0;
  text-align: center;
}

.messenger-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, 0.72);
}

.messenger-section__content {
  position: relative;
  z-index: 1;
}

.messenger-section h2 {
  color: white;
  margin: 0 0 2.25rem;
}

.contact-quicklinks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.quicklink {
  width: 58px;
  height: 58px;
  border-radius: 26%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 2px 10px rgba(21, 19, 15, 0.08);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quicklink:hover {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 14px 34px rgba(21, 19, 15, 0.12);
}

.quicklink:nth-child(2):hover {
  transform: scale(1.15) rotate(8deg);
}

.quicklink svg {
  width: auto;
  height: 100%;
}

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

.qk-tg svg {
  transform: scale(0.92);
}

.qk-wa svg {
  transform: scale(0.7);
}

.qk-max {
  background: linear-gradient(140deg, #3d7bff 0%, #6a4cf0 55%, #9c4fe0 100%);
}

.qk-tg {
  background: linear-gradient(140deg, #2aabee 0%, #229ed9 100%);
}

.qk-wa {
  background: linear-gradient(140deg, #6fdb6f 0%, #25d366 100%);
}

.footer-messengers {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-messengers .quicklink {
  width: 40px;
  height: 40px;
  border-radius: 24%;
}

.messenger-qr {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.messenger-qr img {
  width: 160px;
  border-radius: 1rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.messenger-qr p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.messenger-qr p a {
  color: white;
  font-weight: 700;
  text-decoration: underline;
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.photo-gallery img {
  flex: 0 1 calc((100% - 2.7rem) / 4);
  min-width: 0;
  height: 220px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease;
}

.photo-gallery img:hover {
  transform: scale(1.03);
}

.photo-gallery--wide img {
  height: 260px;
}

.price-table-wrap {
  overflow-x: auto;
  border-radius: 1.2rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 0.98rem;
}

.price-table caption {
  text-align: left;
  padding: 1.1rem 1.4rem 0.6rem;
  font-weight: 700;
  color: var(--muted);
}

.price-table th,
.price-table td {
  padding: 0.95rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid rgba(17, 61, 114, 0.08);
  white-space: nowrap;
}

.price-table th:first-child,
.price-table td:first-child {
  white-space: normal;
}

.price-table thead th {
  background: var(--accent);
  color: white;
  font-weight: 700;
}

.price-table tbody tr:hover {
  background: rgba(220, 106, 27, 0.06);
}

.price-table td.price-cell {
  font-weight: 700;
  color: var(--accent);
  text-align: right;
}

.price-table .price-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(220, 106, 27, 0.14);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.price-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.8rem;
}

.video-frame {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.16);
}

.video-frame video {
  display: block;
  width: 100%;
}

.material-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.material-item {
  background: white;
  border-radius: 1rem;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.material-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.material-item summary::-webkit-details-marker {
  display: none;
}

.material-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.material-item[open] summary::after {
  content: '–';
}

.material-item p {
  color: var(--muted);
  margin: 0.9rem 0 0;
}

.material-item p + p {
  margin-top: 0.6rem;
}

.email-list {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.email-list a {
  font-weight: 700;
  color: var(--accent);
}

.site-footer {
  padding: 1.3rem 0 2rem;
  background: #040811;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-shell p,
.footer-shell a {
  margin: 0;
}

.footer-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-side {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: auto;
}

.footer-credit {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit:hover {
  color: rgba(255, 255, 255, 0.8);
}

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

.js-anim .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

@media (max-width: 960px) {
  .split,
  .showcase,
  .contact-panel,
  .features-grid,
  .card-grid--2 {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid > .card,
  .card-grid > .card.card--featured {
    flex-basis: 100%;
  }

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

  .quote {
    flex-direction: column;
    align-items: flex-start;
  }

  .quote .hero__actions {
    flex-wrap: wrap;
  }

  .photo-gallery img {
    flex-basis: calc((100% - 1.8rem) / 3);
  }
}

@media (max-width: 720px) {
  .hero__stats,
  .split,
  .showcase,
  .contact-panel,
  .features-grid,
  .card-grid--2 {
    grid-template-columns: 1fr;
  }

  .section {
    min-height: auto;
    padding: 4rem 0;
  }

  .hero {
    padding-top: 5rem;
  }

  .hero__content {
    padding-top: 1rem;
  }

  .photo-gallery img {
    flex-basis: calc((100% - 0.9rem) / 2);
    height: 170px;
  }
}

.photo-gallery img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem;
  background: rgba(5, 9, 19, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__frame {
  position: relative;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100svh - 7rem);
  border-radius: 0.9rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: -2.2rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: fixed;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--primary);
}

.lightbox__close svg,
.lightbox__prev svg,
.lightbox__next svg {
  width: 22px;
  height: 22px;
}

.lightbox__close {
  top: 1.2rem;
  right: 1.2rem;
}

.lightbox__prev {
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev:hover,
.lightbox__next:hover {
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 640px) {
  .lightbox {
    padding: 2.5rem 0.5rem;
  }

  .lightbox__close,
  .lightbox__prev,
  .lightbox__next {
    width: 40px;
    height: 40px;
  }

  .lightbox__prev {
    left: 0.4rem;
  }

  .lightbox__next {
    right: 0.4rem;
  }
}
