:root {
  --bg: #f7f4f2;
  --surface: #ffffff;
  --accent: #c49b7a;
  --accent-dark: #a27852;
  --text: #232220;
  --muted: #66625d;
  --line: rgba(36, 35, 33, 0.12);
  --shadow: 0 20px 45px rgba(35, 34, 32, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  transition: all 0.25s ease;
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: 0.75rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid rgba(35, 34, 32, 0.18);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 30px rgba(35, 34, 32, 0.12);
  backdrop-filter: blur(6px);
}

.lang-switcher button {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.lang-switcher button + button {
  margin-left: 0.1rem;
}

.lang-switcher button:hover {
  color: var(--text);
}

.lang-switcher button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(196, 155, 122, 0.35);
}

.lang-switcher button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent);
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  letter-spacing: 0.12em;
  margin-left: 0.75rem;
  display: inline-block;
}

.logo span {
  color: var(--accent);
}\r\n\r\n.hero {
  background: linear-gradient(135deg, #fdfaf6 0%, #f4ece5 48%, #f1e5dc 100%);
  padding-bottom: 5rem;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
  width: min(1100px, 92vw);
  margin: 0 auto 3rem;
  padding-top: 2rem;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 30px rgba(196, 155, 122, 0.25);
}

.btn.primary:hover {
  transform: translateY(-3px);
  background: var(--accent-dark);
}

.btn.ghost {
  border-color: var(--accent);
  color: var(--accent);
}

.btn.ghost:hover {
  background: rgba(196, 155, 122, 0.16);
}

.hero-card {
  align-self: center;
  padding: 2.25rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
}

.hero-card ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.hero-card li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
}

.hero-card li::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.45rem;
}

section {
  padding: 5rem 0;
}

section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 1.25rem;
}

.about .container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.about-image img {
  width: 100%;
  max-width: 460px;
  border-radius: 32px;
  object-fit: cover;
  box-shadow: var(--shadow);
  margin-left: auto;
}

@media (max-width: 900px) {
  .about .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    order: -1;
    justify-content: center;
  }

  .about-image img {
    max-width: 100%;
  }
}

.about-text p {
  color: var(--muted);
}

.facts {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.fact {
  background: var(--surface);
  padding: 1.3rem 1.8rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.fact strong {
  display: block;
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
}

.fact span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.about-image {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  border-radius: 32px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.services {
  background: var(--surface);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.service {
  background: var(--bg);
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid rgba(35, 34, 32, 0.06);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(35, 34, 32, 0.12);
}

.service h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.service p {
  color: var(--muted);
  margin-bottom: 0;
}

.process {
  background: linear-gradient(135deg, #fefaf7 0%, #f4ece5 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.step {
  background: var(--surface);
  border-radius: 26px;
  padding: 2rem;
  border: 1px solid rgba(35, 34, 32, 0.06);
  box-shadow: var(--shadow);
}

.step .number {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.step h3 {
  margin: 0 0 0.85rem;
}

.step p {
  color: var(--muted);
}

.gallery .subtitle {
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  background: var(--surface);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.placeholder {
  aspect-ratio: 4 / 5;
  width: 100%;
}

.placeholder.gradient {
  background: linear-gradient(135deg, rgba(35, 34, 32, 0.2) 0%, rgba(196, 155, 122, 0.7) 100%);
}

.gallery-item figcaption {
  padding: 1.4rem;
  font-weight: 500;
}

.testimonials {
  background: var(--surface);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--bg);
  border-radius: 24px;
  padding: 2rem;
  font-style: italic;
  border: 1px solid rgba(35, 34, 32, 0.06);
  box-shadow: var(--shadow);
}

.testimonial h3 {
  margin-top: 1.4rem;
  font-style: normal;
  font-size: 1rem;
  color: var(--muted);
}

.contact {
  background: linear-gradient(120deg, #f7f1ea 0%, #fdfcfa 100%);
}

.contact-card {
  background: var(--surface);
  border-radius: 32px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 25px 55px rgba(35, 34, 32, 0.12);
  border: 1px solid rgba(35, 34, 32, 0.06);
}

.contact-card p {
  color: var(--muted);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0 2.5rem;
}

.contact-info .label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.contact-info a:hover {
  color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
}

input,
textarea {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(35, 34, 32, 0.15);
  background: #fdfbf8;
  font: inherit;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(196, 155, 122, 0.2);
}

.footer {
  background: #1f1e1c;
  color: rgba(255, 255, 255, 0.75);
  padding: 1.8rem 0;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.back-to-top {
  color: #fff;
  font-weight: 500;
}

.back-to-top:hover {
  color: var(--accent);
}

@media (max-width: 960px) {
  .nav-actions {
    margin-left: auto;
    margin-right: 0.5rem;
  }

  .lang-switcher {
    padding: 0.2rem;
    box-shadow: 0 10px 24px rgba(35, 34, 32, 0.12);
  }
}

@media (max-width: 640px) {
  .nav-actions {
    gap: 0.75rem;
    margin-right: 0.35rem;
  }

  .lang-switcher button {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
  }
}

/* --- Gallery slider refresh --- */
.gallery-slider {
  margin-top: clamp(1.5rem, 5vw, 3rem);
  padding: clamp(1rem, 3vw, 2.5rem) clamp(1.25rem, 5vw, 3.5rem);
  border-radius: 28px;
  border: 1px solid rgba(35, 34, 32, 0.08);
  background: var(--surface);
  box-shadow: 0 24px 50px rgba(35, 34, 32, 0.08);
}

.gallery-slider .slider-window,
.gallery-slider .slider-viewport {
  overflow: hidden;
  width: 100%;
}

.gallery-slider .slider-track {
  display: flex;
  transition: transform 360ms cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}

.gallery-slider .slide {
  flex: 0 0 100%;
  padding: clamp(1rem, 3vw, 2rem) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.gallery-slider .slide-figure {
  margin: 0;
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.gallery-slider .slide-media {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(220px, 45vw, 460px);
}

.gallery-slider .slide-media img {
  width: auto;
  max-width: min(640px, 92%);
  max-height: clamp(220px, 48vw, 520px);
  object-fit: contain;
  border-radius: 24px;
  border: 1px solid rgba(35, 34, 32, 0.08);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.gallery-slider .slide-caption {
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

.gallery-slider .slide-empty {
  width: 100%;
  text-align: center;
  font-size: 1rem;
  color: var(--muted);
  padding: clamp(1.5rem, 4vw, 3rem) 1rem;
}

.gallery-slider .slider-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.gallery-slider .slider-btn {
  appearance: none;
  border: 1px solid rgba(35, 34, 32, 0.15);
  background: var(--surface);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(35, 34, 32, 0.08);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

.gallery-slider .slider-btn:hover,
.gallery-slider .slider-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(35, 34, 32, 0.35);
  box-shadow: 0 16px 30px rgba(35, 34, 32, 0.18);
  outline: none;
}

.gallery-slider .slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.gallery-slider .slider-dots[hidden] {
  display: none;
}

.gallery-slider .slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(35, 34, 32, 0.2);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.gallery-slider .slider-dots .dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,1px,1px);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 960px) {
  .gallery-slider {
    padding: 1.25rem 1.5rem;
    border-radius: 22px;
  }

  .gallery-slider .slide-media {
    min-height: clamp(200px, 55vw, 380px);
  }
}

@media (max-width: 640px) {
  .gallery-slider {
    padding: 1rem;
  }

  .gallery-slider .slide-media img {
    max-width: 100%;
    max-height: 320px;
  }

  .gallery-slider .slider-controls {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    row-gap: 0.75rem;
  }

  .gallery-slider .slider-dots {
    grid-column: 1 / -1;
  }
}






.size-chart {
  background: var(--surface);
}

.size-chart-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 32px;
  background: var(--bg);
  border: 1px solid rgba(35, 34, 32, 0.06);
  box-shadow: var(--shadow);
  position: relative;
}

.size-chart-copy h2 {
  margin-bottom: 1rem;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.size-table-wrapper {
  overflow-x: auto;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
}

.size-table thead tr {
  background: var(--surface);
}

.size-table th,
.size-table td {
  padding: 0.85rem;
  text-align: center;
  font-size: 0.95rem;
}

.size-table th {
  font-weight: 600;
}

.size-table tbody th {
  text-align: left;
}

.size-table tbody tr + tr {
  border-top: 1px solid rgba(35, 34, 32, 0.08);
}

.size-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.workflow {
  background: linear-gradient(135deg, #fefaf7 0%, #f4ece5 100%);
}

.workflow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.workflow-steps li {
  background: var(--bg);
  border-radius: 28px;
  padding: 1.8rem;
  border: 1px solid rgba(35, 34, 32, 0.05);
  box-shadow: var(--shadow);
}

.step-number {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.workflow-steps h3 {
  margin: 0 0 0.6rem;
}

.workflow-steps p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 640px) {
  .size-chart-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gallery-actions {
    flex-direction: column;
  }

  .gallery-actions .btn.download {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .size-table th,
  .size-table td {
    font-size: 0.85rem;
    padding: 0.65rem;
  }

  .modal-panel {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .modal-close {
    top: 0.5rem;
    right: 0.5rem;
  }
}


.gallery-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.gallery-actions .btn.download {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #c49b7a 0%, #a27852 100%);
  color: #fff;
  border: none;
  font-weight: 600;
  box-shadow: 0 18px 32px rgba(162, 120, 82, 0.35);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.gallery-actions .btn.download:hover,
.gallery-actions .btn.download:focus-visible {
  background: linear-gradient(135deg, #d7b390 0%, #b98562 100%);
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(162, 120, 82, 0.45);
  color: #fff;
}

.size-chart-modal[hidden] {
  display: none;
}

.size-chart-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  z-index: 999;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 12, 8, 0.5);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: 90vh;
  overflow: auto; /* прокрутка лишається */
  padding: clamp(0.5rem, 2vw, 1.25rem);
  background: transparent;

  /* ховаємо скролбар, але НЕ вимикаємо скрол */
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* старі IE/Edge */
}

/* Chrome / Safari / мобільні */
.modal-panel::-webkit-scrollbar {
  display: none;
}


.modal-close {
  position: absolute;
  top: clamp(0.5rem, 2vw, 1rem);
  right: clamp(0.5rem, 2vw, 1rem);
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.modal-close:hover {
  background: #fff;
}

.modal-close span {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-block;
}

.modal-close span::before,
.modal-close span::after {
  content: '';
  position: absolute;
  inset: 0;
  height: 2px;
  background: var(--text);
  top: 50%;
  left: 0;
}

.modal-close span::before {
  transform: rotate(45deg);
}

.modal-close span::after {
  transform: rotate(-45deg);
}

body.modal-open {
  overflow: hidden;
}

.about .container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .about .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image img {
    max-width: 320px;
    margin-inline: auto;
  }
}

/* ABOUT SECTION CLEAN & MODERN */
.about {
  background: #fafafa;
  padding: 60px 20px;
}

.about .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

/* MOBILE */
@media (max-width: 900px) {
  .about .container {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    max-width: 320px;
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: #ffffff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close::before,
.modal-close::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  background: #333;
  border-radius: 2px;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-close:hover {
  background: #f0f0f0;
}

.about-text {
  flex: 1;
  max-width: 600px; /* головне! */
  line-height: 1.6;
}

/* ===== Мобільна адаптація (планшети + телефони) ===== */
@media (max-width: 768px) {
  /* Менші відступи секцій */
  section {
    padding: 3rem 0;
  }

  .container {
    width: min(100%, 94vw);
  }

  /* Хедер / герой-блок */
  .hero {
    padding-bottom: 3rem;
  }

  .hero-content {
    grid-template-columns: 1fr;      /* одна колонка */
    gap: 2.5rem;
    text-align: left;
  }

  .hero-text h1 {
    font-size: clamp(1.9rem, 7vw, 2.4rem);
  }

  .hero-text p {
    font-size: 0.98rem;
  }

  .hero-card {
    padding: 1.7rem;
  }

  /* Навбар – щоб не був «зажатий» */
  .nav {
    padding: 1rem 0;
    gap: 0.5rem;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .nav a {
    font-size: 0.85rem;
  }

  .logo {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
    margin-left: 0.5rem;
  }
}

/* ===== Телефони (портрет) ===== */
@media (max-width: 640px) {
  /* «Про ательє» – картинка й текст */
  .about .container {
    grid-template-columns: 1fr;      /* одна колонка */
    gap: 2rem;
  }

  .about-text {
    order: 1;
  }

  .about-image {
    order: 2;
    min-height: 260px;
  }

  .facts {
    flex-direction: column;
    gap: 1rem;
  }

  /* Навбар ще компактніший */
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-actions {
    margin-left: 0;
    margin-right: 0;
  }

  /* Герой – текст займає всю ширину */
  .hero-content {
    text-align: left;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Галерея / workflow / контакт – трохи більші відступи */
  .gallery-slider,
  .workflow-steps li,
  .service,
  .contact-card {
    border-radius: 20px;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

/* Прибрати стрілки та сам скролбар у всіх браузерах */
.scrollable {
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE/Edge */
}

.scrollable::-webkit-scrollbar {
    display: none;                /* Chrome, Safari */
}

/* Прибираємо стрілки та скролбар у розмірній таблиці */
.size-table-wrapper {
    overflow-x: auto;              /* залишаємо прокрутку */
    -webkit-overflow-scrolling: touch; /* плавний свайп на iPhone */
    scrollbar-width: none;         /* Firefox: приховати скрол */
}

.size-table-wrapper::-webkit-scrollbar {
    display: none;                 /* Chrome/Safari: приховати скрол */
}

/* Приховати скролбар у модальному вікні, але залишити прокрутку */
.modal-panel {
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* старі IE/Edge */
}

.modal-panel::-webkit-scrollbar {
  display: none;                /* Chrome / Safari / мобільні */
}

.size-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* приємний свайп на телефонах */
  scrollbar-width: none;
}

.size-table-wrapper::-webkit-scrollbar {
  display: none;
}

.gallery-slider .slider-btn {
  opacity: 0;
  pointer-events: none;
}
