/* Atlas Mermer — doğal taş / mermerci sitesi */
:root {
  --bg: #f6f4f0;
  --bg-tint: #ebe6df;
  --surface: #ffffff;
  --ink: #1a1917;
  --muted: #5c5954;
  --line: rgba(26, 25, 23, 0.12);
  --accent: #8b7355;
  --accent-dark: #6b5a44;
  --hero-overlay: rgba(26, 25, 23, 0.35);
  --header-bg: rgba(246, 244, 240, 0.85);
  --footer-bg: #eeebe6;
  --hero-glow: rgba(139, 115, 85, 0.12);
  --hero-caption-mask: rgba(26, 25, 23, 0.75);
  --section-dark-bg: #1e1d1b;
  --section-dark-text: #e8e4dc;
  --section-dark-link: #d4c4a8;
  --section-dark-muted: #b5aea4;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 18px 50px rgba(26, 25, 23, 0.08);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --space: clamp(1rem, 4vw, 2.5rem);
  --shell: min(1120px, calc(100% - var(--space) * 2));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

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

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: clamp(0.9rem, 2.2vw, 1.25rem);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}

.logo--with-image .logo__mark {
  display: none;
}

.logo__img {
  height: clamp(52px, 7vw, 72px);
  width: auto;
  max-width: min(320px, 62vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  background: transparent;
}

.logo--with-image .logo__text {
  font-size: clamp(1.1rem, 2.8vw, 1.35rem);
}

.logo__text--visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8e4dc 0%, #c4b8a8 45%, #9a8b78 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav__list a:hover {
  color: var(--accent-dark);
}

/* Ürünler alt menü */
.nav__drop {
  position: relative;
}

.nav__drop-main {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav__drop-main:hover {
  color: var(--accent-dark);
}

.nav__drop-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 721px) {
  .nav__drop-list {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.35rem;
    padding: 0.45rem 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(26, 25, 23, 0.1);
    min-width: 13rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 40;
  }

  .nav__drop:hover .nav__drop-list,
  .nav__drop:focus-within .nav__drop-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__drop-list a {
    display: block;
    padding: 0.45rem 1rem;
    font-size: 0.92rem;
  }

  .nav__drop-list a:hover {
    background: var(--bg-tint);
    color: var(--accent-dark);
  }
}

.section__subhead {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.8vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  scroll-margin-top: 5.5rem;
}

/* Sosyal medya */
.social-strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg-tint);
}

.social-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  padding: 0.65rem var(--space);
}

.social-strip__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: color 0.2s, background 0.2s, transform 0.15s;
}

.social__link:hover {
  color: var(--accent-dark);
  background: var(--bg);
  transform: translateY(-2px);
}

.social--contact .social__link {
  width: 2.75rem;
  height: 2.75rem;
}

.contact__social-block {
  margin-bottom: 1.5rem;
}

.contact__social-title {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer__social-row {
  padding: 1.25rem var(--space) 0;
  display: flex;
  justify-content: center;
}

.social--footer .social__link {
  background: var(--surface);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--primary {
  background: var(--ink);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

.btn--block {
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Üst slider — yatay kaydırmalı */
.top-slider {
  position: relative;
  width: 100%;
  margin: 0;
  --top-slider-h: 55vh;
}

.top-slider__viewport {
  position: relative;
  width: 100%;
  height: min(var(--top-slider-h, 55vh), 85vh);
  min-height: 180px;
  overflow: hidden;
  background: var(--bg-tint);
}

.top-slider__track {
  display: flex;
  flex-direction: row;
  height: 100%;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

.top-slider__slide {
  position: relative;
  flex-shrink: 0;
  height: 100%;
  box-sizing: border-box;
}

.top-slider__slide-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.top-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
}

.top-slider__hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: block;
}

a.top-slider__hit {
  text-decoration: none;
  color: transparent;
}

.top-slider__caption-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(transparent, rgba(26, 25, 23, 0.72));
  pointer-events: none;
}

.top-slider__caption {
  margin: 0;
  max-width: var(--max, 72rem);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space);
  font-size: 0.95rem;
  font-weight: 600;
  color: #faf9f7;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.top-slider__live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.top-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}

.top-slider__btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.top-slider__btn--prev {
  left: max(0.5rem, calc((100% - var(--max, 72rem)) / 2 + 0.25rem));
}

.top-slider__btn--next {
  right: max(0.5rem, calc((100% - var(--max, 72rem)) / 2 + 0.25rem));
}

.top-slider__dots {
  position: absolute;
  bottom: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

.top-slider__dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(26, 25, 23, 0.35);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.top-slider__dot.is-active {
  background: var(--accent-dark);
  transform: scale(1.25);
}

@media (max-width: 720px) {
  .top-slider__btn {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 1.35rem;
  }

  .top-slider__btn--prev {
    left: 0.35rem;
  }

  .top-slider__btn--next {
    right: 0.35rem;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--hero-glow), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 0.75rem;
}

.lede {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 34ch;
  margin: 0 0 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__visual {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, var(--hero-caption-mask));
  color: #f0ebe4;
  font-size: 0.875rem;
}

.hero__caption strong {
  color: #fff;
}

/* Sections */
.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

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

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

.section--dark a {
  color: var(--section-dark-link);
}

.section--dark .section__intro {
  color: var(--section-dark-muted);
}

.section__head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section__intro {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

.section__intro--narrow {
  margin-inline: auto;
}

.split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.stats {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.stats__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.stats__label {
  font-size: 0.8rem;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(26, 25, 23, 0.04);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

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

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.product {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow 0.25s, transform 0.25s;
}

.product:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product--clickable {
  cursor: pointer;
}

.product--clickable:focus {
  outline: none;
}

.product--clickable:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.product__hint {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.product__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

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

.product__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
  padding: 1.25rem 1.25rem 0;
}

.product__desc {
  margin: 0;
  padding: 0 1.25rem 0.65rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.product__desc:last-child {
  padding-bottom: 1.35rem;
}

.product__price {
  margin: 0;
  padding: 0 1.25rem 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-dark);
  letter-spacing: -0.01em;
}

.product__gallery-btn {
  margin: 0 1.25rem 1.35rem;
}

body.product-modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-modal[hidden] {
  display: none !important;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 25, 23, 0.55);
  backdrop-filter: blur(5px);
}

.product-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.75rem 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}

.product-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  background: var(--bg-tint);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.product-modal__close:hover {
  background: var(--line);
}

.product-modal__main img {
  width: 100%;
  height: auto;
  max-height: min(52vh, 480px);
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--bg-tint);
}

.product-modal__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.product-modal__thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg);
  flex: 0 0 auto;
}

.product-modal__thumb.is-active {
  border-color: var(--accent-dark);
}

.product-modal__thumb img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
}

.product-modal__price {
  margin: 0 0 0.35rem;
}

.product-modal__price p {
  margin: 0;
  font-weight: 600;
  color: var(--accent-dark);
}

.product-modal__desc {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.55;
}

.product-modal__subproducts {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.product-modal__subheading {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.product-modal__sublist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-modal__sublist li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.product-modal__sublist li:last-child {
  border-bottom: none;
}

.product-modal__sublist strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.product-modal__subdesc {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.product-modal__subimg {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 0.35rem 0 0.45rem;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.load-banner {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.load-banner--error {
  color: #8b2c2c;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery__item--large {
  grid-column: 1 / -1;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 21 / 9;
}

.gallery__item:not(.gallery__item--large) img {
  aspect-ratio: 4 / 3;
}

.gallery__item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  color: #f5f2ec;
  font-size: 0.85rem;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact__address {
  font-style: normal;
  margin-top: 1.5rem;
}

.contact__address p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.contact__address strong {
  color: var(--ink);
}

.contact__form {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.field {
  display: block;
  margin-bottom: 1rem;
}

.field span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: var(--bg);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

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

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  background: var(--footer-bg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: start;
}

.footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.footer__tagline {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer__nav a:hover {
  color: var(--ink);
}

.footer__copy {
  grid-column: 1 / -1;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
    max-width: 420px;
    margin-inline: auto;
  }

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

  .stats {
    flex-wrap: wrap;
  }

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

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

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

@media (max-width: 720px) {
  .site-header {
    backdrop-filter: blur(6px);
  }

  .top-slider__viewport {
    height: clamp(220px, 52vh, 430px);
    min-height: 220px;
  }

  .top-slider__caption-bar {
    padding: 0.55rem 0.75rem;
  }

  .top-slider__caption {
    font-size: 0.86rem;
    line-height: 1.35;
    padding: 0 0.45rem;
  }

  .top-slider__dots {
    bottom: 0.45rem;
    padding: 0.25rem 0.45rem;
    gap: 0.3rem;
  }

  .top-slider__dot {
    width: 0.4rem;
    height: 0.4rem;
  }

  .hero {
    padding: 1.4rem 0 2.3rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 2.25rem 0;
  }

  .product {
    border-radius: 10px;
  }

  .product__title {
    font-size: 1.08rem;
  }

  .product-modal {
    padding: 0.55rem;
  }

  .product-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 1.1rem);
    padding: 2.5rem 1rem 1.2rem;
    border-radius: 12px;
  }

  .product-modal__close {
    top: 0.6rem;
    right: 0.6rem;
    width: 2.2rem;
    height: 2.2rem;
  }

  .product-modal__main img {
    max-height: 40vh;
  }

  .product-modal__thumb img {
    width: 60px;
    height: 60px;
  }

  .product-modal__subimg {
    max-width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    top: 60px;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem var(--space);
    background: var(--bg);
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    gap: 1rem;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__list > li {
    border-bottom: 1px solid var(--line);
  }

  .nav__list > li.nav__drop {
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.35rem;
  }

  .nav__list a,
  .nav__drop-main {
    display: block;
    padding: 0.85rem 0;
  }

  .nav__drop-list {
    padding-left: 0.85rem;
    margin: 0 0 0.35rem;
    border-left: 2px solid var(--line);
  }

  .nav__drop-list li {
    border-bottom: none;
  }

  .nav__drop-list a {
    padding: 0.55rem 0;
    font-size: 0.92rem;
    color: var(--muted);
  }

  .nav__cta {
    text-align: center;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 420px) {
  .top-slider__viewport {
    height: clamp(200px, 46vh, 360px);
    min-height: 200px;
  }

  .hero__copy h1 {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .section__intro {
    font-size: 0.95rem;
  }
}
