/* ============================================
   BURRATA.RS — Mobile-First Responsive Styles
   ============================================ */

/* ---------- Custom Properties ---------- */
:root {
  --color-bg: #FAF6F0;
  --color-cream: #F2E8D9;
  --color-terracotta: #C4704B;
  --color-olive: #4A5D3A;
  --color-text: #2C2620;
  --color-text-light: #6B6057;
  --color-gold: #D4A96A;
  --color-dark: #1E1A16;
  --color-white: #FFFFFF;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1200px;
  --container-pad: 1.25rem;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 2px 16px rgba(44, 38, 32, 0.08);
  --shadow-lg: 0 8px 32px rgba(44, 38, 32, 0.12);
  --transition: 0.3s ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-wrap {
  width: 100%;
  overflow-x: hidden;
}

img,
picture {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--color-text-light);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-terracotta);
  color: var(--color-white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: #a85d3d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(196, 112, 75, 0.35);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}

.btn--full {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn__spinner[hidden] {
  display: none;
}

.btn__spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background-color var(--transition), padding var(--transition), box-shadow var(--transition);
}

.nav--solid {
  background-color: var(--color-bg);
  padding: 0.625rem 0;
  box-shadow: var(--shadow);
}

.nav__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  color: var(--color-white);
  transition: color var(--transition);
  z-index: 1001;
}

.nav--solid .nav__logo {
  color: var(--color-text);
}

.nav__logo-icon {
  width: 140px;
  height: 32px;
}

.nav__links {
  display: none;
  gap: 2rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--transition);
}

.nav__link:hover::after {
  width: 100%;
}

.nav--solid .nav__link {
  color: var(--color-text-light);
}

.nav--solid .nav__link:hover {
  color: var(--color-text);
}

.nav__actions {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.nav__lang-btn {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.25rem 0.375rem;
  transition: color var(--transition);
}

.nav__lang-btn--active {
  color: var(--color-white);
}

.nav--solid .nav__lang-btn {
  color: var(--color-text-light);
}

.nav--solid .nav__lang-btn--active {
  color: var(--color-terracotta);
}

.nav__lang-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8125rem;
}

.nav--solid .nav__lang-sep {
  color: var(--color-text-light);
  opacity: 0.3;
}

.nav__cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}

.nav__hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav--solid .nav__hamburger-line {
  background-color: var(--color-text);
}

.nav__hamburger--open .nav__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger--open .nav__hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--open .nav__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.nav__mobile {
  position: fixed;
  inset: 0;
  background-color: var(--color-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 999;
}

.nav__mobile--open {
  opacity: 1;
  visibility: visible;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.nav__mobile-link {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-white);
  transition: color var(--transition);
}

.nav__mobile-link:hover {
  color: var(--color-gold);
}

.nav__mobile-lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__mobile-lang .nav__lang-btn {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.nav__mobile-lang .nav__lang-btn--active {
  color: var(--color-white);
}

.nav__mobile-lang .nav__lang-sep {
  color: rgba(255, 255, 255, 0.3);
}

.nav__mobile-cta {
  font-size: 1.125rem;
  padding: 0.875rem 2.5rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__slide--active {
  opacity: 1;
}

.hero__slide,
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(30, 26, 22, 0.55) 0%,
    rgba(30, 26, 22, 0.35) 50%,
    rgba(30, 26, 22, 0.65) 100%
  );
}

.hero__content {
  text-align: center;
  padding: 0 var(--container-pad);
  max-width: 800px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  margin-bottom: 2rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Our Story ---------- */
.story {
  padding: 5rem 0 0;
  position: relative;
}

.story__block {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: center;
}

.story__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story__image:hover img {
  transform: scale(1.03);
}

.story__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-terracotta);
  margin-bottom: 0.5rem;
}

.story__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.story__desc {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.divider {
  margin-top: 2rem;
}

.divider {
  overflow: hidden;
}

.divider svg {
  display: block;
  width: 100%;
  height: 40px;
}

/* ---------- Products ---------- */
.products {
  padding: 5rem 0;
  background-color: var(--color-cream);
  overflow: hidden;
}

.products__hero {
  text-align: center;
  margin-bottom: 3rem;
}

.products__hero picture {
  display: block;
  max-width: 500px;
  margin: 0 auto;
}

.products__hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.products__features {
  display: grid;
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--color-olive);
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.feature-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ---------- Quality ---------- */
.quality {
  padding: 5rem 0;
  background-color: var(--color-dark);
  color: var(--color-white);
}

.quality__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.quality__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 0.375rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.quality__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.quality__desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.quality__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
}

.quality__badge-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  font-weight: 500;
}

.quality__badge-item svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--color-gold);
}

/* ---------- Collaborators ---------- */
.collab {
  padding: 4rem 0 3rem;
  background-color: var(--color-cream);
  overflow: hidden;
}

.collab__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 2rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.collab__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.collab__track:hover {
  animation-play-state: paused;
}

.collab__logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: var(--radius);
  filter: grayscale(30%);
  opacity: 0.85;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.collab__logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.collab__logo--dark-bg {
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  background: var(--color-charcoal);
}

.collab__logo--svg {
  height: 40px;
  padding: 0.75rem 1rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---------- Gallery ---------- */
.gallery {
  padding: 5rem 0;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.gallery__cell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery__cell-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease, transform 0.5s ease;
}

.gallery__cell-img--active {
  opacity: 1;
}

.gallery__cell:hover .gallery__cell-img--active {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(10, 8, 6, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.lightbox[open] {
  opacity: 1;
  visibility: visible;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  color: var(--color-white);
  line-height: 1;
  z-index: 10;
  transition: opacity var(--transition);
  padding: 0.25rem 0.5rem;
}

.lightbox__close:hover {
  opacity: 0.7;
}

/* Arrows */
.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  font-size: 3rem;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background var(--transition), opacity var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.lightbox__arrow:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__arrow--prev { left: 1rem; }
.lightbox__arrow--next { right: 1rem; }

/* Stage */
.lightbox__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 3.5rem 4rem 0.5rem;
  min-height: 0;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  transition: opacity 0.3s ease;
}

/* Counter */
.lightbox__counter {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  padding: 0.5rem 0 0.25rem;
  font-family: var(--font-body);
}

/* Thumbnail strip */
.lightbox__thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 1rem 1rem;
  overflow-x: auto;
  max-width: 100%;
  justify-content: center;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.lightbox__thumbs::-webkit-scrollbar {
  height: 4px;
}

.lightbox__thumbs::-webkit-scrollbar-track {
  background: transparent;
}

.lightbox__thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.lightbox__thumb {
  flex-shrink: 0;
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.3s ease, outline-color 0.3s ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.lightbox__thumb:hover {
  opacity: 0.7;
}

.lightbox__thumb--active {
  opacity: 1;
  outline-color: var(--color-gold);
}

/* ---------- Contact ---------- */
.contact {
  padding: 5rem 0;
  background-color: var(--color-cream);
}

.contact__grid {
  display: grid;
  gap: 3rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact__info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-terracotta);
  margin-top: 0.125rem;
}

.contact__info-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.contact__link {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-text-light);
  transition: color var(--transition);
}

.contact__link:hover {
  color: var(--color-terracotta);
}

.contact__social {
  display: flex;
  gap: 1rem;
  margin-top: 0.25rem;
}

.contact__social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-light);
  transition: color var(--transition);
}

.contact__social-link svg {
  width: 20px;
  height: 20px;
}

.contact__social-link:hover {
  color: var(--color-terracotta);
}

/* Form */
.contact__form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.form__input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid #d9d2ca;
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__input::placeholder {
  color: #b0a89e;
}

.form__input:focus {
  outline: none;
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(196, 112, 75, 0.15);
}

.form__input:invalid:not(:placeholder-shown) {
  border-color: #c44b4b;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
}

.form__status--success {
  background-color: #e8f5e8;
  color: #2d6a2d;
}

.form__status--error {
  background-color: #fde8e8;
  color: #a93232;
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer__logo {
  width: 130px;
  height: 32px;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer__link {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--color-gold);
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
}

.footer__social a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer__social a:hover {
  color: var(--color-gold);
}

.footer__social svg {
  width: 22px;
  height: 22px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__made {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===========================================
   RESPONSIVE — Tablet (768px+)
   =========================================== */
@media (min-width: 768px) {
  :root {
    --container-pad: 2rem;
  }

  /* Nav */
  .nav__hamburger {
    display: none;
  }

  .nav__links {
    display: flex;
  }

  .nav__actions {
    display: flex;
  }

  .nav__mobile {
    display: none !important;
  }

  /* Story */
  .story__block {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .story__block--reverse .story__image {
    order: 2;
  }

  .story__block--reverse .story__text {
    order: 1;
  }

  /* Products */
  .products__features {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  /* Contact */
  .contact__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .contact__form {
    padding: 2.5rem;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ===========================================
   RESPONSIVE — Desktop (1024px+)
   =========================================== */
@media (min-width: 1024px) {
  /* Story */
  .story__block {
    gap: 5rem;
  }

  /* Products */
  .products__features {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* ===========================================
   RESPONSIVE — Large Desktop (1280px+)
   =========================================== */
@media (min-width: 1280px) {
  :root {
    --container-pad: 2.5rem;
  }
}

/* ---------- Lightbox responsive ---------- */
@media (max-width: 767px) {
  .lightbox__arrow {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 2.25rem;
  }

  .lightbox__arrow--prev { left: 0.5rem; }
  .lightbox__arrow--next { right: 0.5rem; }

  .lightbox__stage {
    padding: 3rem 3rem 0.25rem;
  }

  .lightbox__thumb {
    width: 48px;
    height: 36px;
  }

  .lightbox__thumbs {
    gap: 0.375rem;
    padding: 0.5rem 0.75rem 0.75rem;
  }
}

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

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 2px;
}
