:root {
  color-scheme: light;
  --ink: #2e2426;
  --muted: #75696b;
  --paper: #fffafa;
  --soft: #f7eeee;
  --line: #e8d8da;
  --berry: #9f5b63;
  --berry-dark: #713f47;
  --rose: #d9a0a6;
  --sage: #687d6d;
  --shadow: 0 20px 50px rgba(79, 47, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, Tahoma, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(232, 216, 218, 0.82);
  background: rgba(255, 250, 250, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--berry);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--berry-dark);
}

.lang-switch {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
}

.lang-switch button {
  min-width: 40px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.lang-switch button.active {
  color: white;
  background: var(--berry);
}

.section-band {
  background:
    linear-gradient(135deg, rgba(247, 238, 238, 0.96), rgba(255, 250, 250, 0.8)),
    radial-gradient(circle at 20% 20%, rgba(217, 160, 166, 0.22), transparent 34%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: end;
  min-height: 78vh;
  padding: clamp(78px, 11vw, 128px) clamp(18px, 6vw, 92px) clamp(42px, 7vw, 82px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-family: "Segoe UI", Arial, Tahoma, sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: "Segoe UI", Arial, Tahoma, sans-serif;
  font-size: clamp(2rem, 4.6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 12px 0 8px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: white;
  background: var(--berry);
  box-shadow: 0 14px 28px rgba(159, 91, 99, 0.24);
}

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

.button.secondary {
  color: var(--berry-dark);
  border-color: var(--rose);
  background: white;
}

.button.subtle {
  color: var(--ink);
  background: transparent;
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(232, 216, 218, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-panel div {
  display: grid;
  gap: 3px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.hero-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-panel span,
dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.visit,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  padding: clamp(58px, 9vw, 104px) clamp(18px, 6vw, 92px);
}

.story-copy > p,
.contact p,
.visit dd {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.products,
.story-gallery {
  padding: clamp(58px, 9vw, 104px) clamp(18px, 6vw, 92px);
}

.story-gallery {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.story-copy {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 24px;
}

.gallery-intro {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.gallery-intro h3 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.gallery-intro p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.section-kicker) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.gallery-shell {
  display: grid;
  gap: 16px;
}

.gallery-stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.gallery-track {
  display: grid;
}

.gallery-slide {
  position: relative;
  display: none;
  grid-area: 1 / 1;
  height: min(72vh, 760px);
  min-height: 420px;
  margin: 0;
  overflow: hidden;
}

.gallery-slide.active {
  display: block;
}

.gallery-slide img {
  display: block;
}

.gallery-backdrop {
  position: absolute;
  inset: -24px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(1.05);
  opacity: 0.42;
  transform: scale(1.08);
}

.gallery-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.gallery-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
  color: white;
  background: rgba(46, 36, 38, 0.42);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 900;
  transform: translateY(-50%);
  transition: background 160ms ease, transform 160ms ease;
}

.gallery-control:hover {
  background: rgba(46, 36, 38, 0.68);
  transform: translateY(-50%) scale(1.04);
}

.gallery-control.prev {
  left: 18px;
}

.gallery-control.next {
  right: 18px;
}

.gallery-thumbs {
  display: grid;
  grid-auto-columns: minmax(72px, 1fr);
  grid-auto-flow: column;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumbs button {
  min-width: 72px;
  height: 68px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
  cursor: pointer;
}

.gallery-thumbs button.active {
  border-color: var(--berry);
}

.gallery-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-card::before,
.product-card::after {
  position: absolute;
  z-index: -1;
  content: "";
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-card::before {
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 250, 0.58)),
    var(--category-art);
  background-position: center;
  background-size: cover;
}

.product-card::after {
  right: 18px;
  bottom: 14px;
  width: 118px;
  height: 92px;
  border: 2px solid rgba(113, 63, 71, 0.2);
  border-radius: 46% 54% 48% 52%;
  background: rgba(255, 255, 255, 0.36);
  transform: translate(10px, 8px) rotate(-8deg);
}

.product-card:hover,
.product-card:focus-within {
  border-color: rgba(159, 91, 99, 0.36);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-card:hover::before,
.product-card:hover::after,
.product-card:focus-within::before,
.product-card:focus-within::after {
  opacity: 1;
}

.product-card:hover::after,
.product-card:focus-within::after {
  transform: translate(0, 0) rotate(-8deg);
}

.product-card span {
  color: var(--berry);
  font-weight: 900;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.category-bras {
  --category-art: url("assets/category-bras.jpg");
}

.category-underwear {
  --category-art: url("assets/category-underwear.jpg");
}

.category-sets {
  --category-art: url("assets/category-sets.jpg");
}

.category-sleepwear {
  --category-art: url("assets/category-sleepwear.jpg");
}

.category-export {
  --category-art: url("assets/category-export.jpg");
}

.category-basics {
  --category-art: url("assets/category-basics.jpg");
}

.visit {
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
}

dl {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

dd {
  margin: 3px 0 0;
}

.map-wrap {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.contact {
  align-items: center;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  color: var(--berry-dark);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 92px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .visit,
  .contact,
  .story-gallery {
    grid-template-columns: 1fr;
  }

  .story-copy {
    position: static;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

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

  .gallery-slide {
    height: 64vh;
    min-height: 340px;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .main-nav {
    gap: 18px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(2.62rem, 16vw, 4.2rem);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .social-link {
    width: 100%;
  }

  .social-link {
    justify-content: center;
  }

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

  .gallery-slide {
    height: 420px;
    min-height: 0;
  }

  .gallery-control {
    width: 40px;
    height: 40px;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 360px;
  }

  footer {
    flex-direction: column;
  }
}
