:root {
  --bg: #f6f1eb;
  --surface: #ffffff;
  --surface-soft: #fffaf6;
  --text: #181614;
  --muted: #686159;
  --line: rgba(24, 22, 20, 0.1);
  --primary: #ff385c;
  --primary-dark: #e02e4e;
  --shadow: 0 18px 44px rgba(26, 18, 12, 0.08);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 56, 92, 0.08), transparent 30%),
    linear-gradient(180deg, #fff8f6 0%, var(--bg) 32%, #f8f4ef 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand__logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 7px;
}

.brand__eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand__sub,
.hero__text,
.section__intro,
.section__copy p,
.card__body p,
.service-list p,
.panel-card li,
.contact-card span,
.footer p {
  color: var(--muted);
}

.brand__sub {
  margin: 4px 0 0;
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 600;
  color: #302b27;
  font-size: 0.98rem;
  flex-wrap: wrap;
}

.nav a {
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav a:hover::after {
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 14px 32px rgba(255, 56, 92, 0.24);
}

.button--primary:hover {
  background: var(--primary-dark);
}

.button--secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.button--ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.hero {
  padding: 74px 0 44px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 42px;
  align-items: center;
}

.pill,
.card__tag,
.section__label,
.panel-card__label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill,
.section__label,
.panel-card__label {
  color: var(--primary-dark);
  background: rgba(255, 56, 92, 0.09);
  padding: 8px 12px;
}

.hero h1,
.section h2 {
  margin: 18px 0 0;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero h1 {
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  max-width: 11ch;
}

.section h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  max-width: 13ch;
}

.hero__text {
  margin: 22px 0 0;
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.hero__stats article,
.card,
.panel-card,
.contact-card,
.gallery__item,
.visual {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero__stats article {
  border-radius: var(--radius-md);
  padding: 20px;
}

.hero__stats strong,
.contact-card strong,
.card__body h3,
.service-list h3 {
  display: block;
  font-size: 1rem;
}

.hero__stats span,
.contact-card span {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero__visuals {
  display: grid;
  gap: 16px;
}

.visual {
  border-radius: 30px;
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.visual--large {
  min-height: 460px;
  background:
    linear-gradient(180deg, rgba(20, 15, 12, 0.05), rgba(20, 15, 12, 0.48)),
    linear-gradient(135deg, rgba(255, 56, 92, 0.2), rgba(255, 255, 255, 0)),
    url('https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&w=1200&q=80') center/cover;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.visual--small {
  min-height: 170px;
  padding: 18px;
  display: flex;
  align-items: end;
  font-weight: 700;
  color: white;
}

.visual--pattern-a,
.visual--pattern-b {
  overflow: hidden;
}

.visual--pattern-a img,
.visual--pattern-b img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.visual--pattern-a {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.06), rgba(17, 17, 17, 0.48)),
    url('https://images.unsplash.com/photo-1582582429416-0f3f8f4b2d6d?auto=format&fit=crop&w=900&q=80') center/cover;
}

.visual--pattern-b {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.06), rgba(17, 17, 17, 0.48)),
    url('https://images.unsplash.com/photo-1558467528-1c93f2f8f0f4?auto=format&fit=crop&w=900&q=80') center/cover;
}

.visual--image {
  overflow: hidden;
}

.visual--image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  position: absolute;
  inset: 0;
}

.visual--image span,
.card__image span,
.panel-card__media span {
  position: relative;
  z-index: 1;
}

.visual--products {
  background:
    linear-gradient(180deg, rgba(20, 15, 12, 0.1), rgba(20, 15, 12, 0.52)),
    url('https://images.unsplash.com/photo-1521572267360-ee0c2909d518?auto=format&fit=crop&w=1200&q=80') center/cover;
}

.visual--services {
  background:
    linear-gradient(180deg, rgba(20, 15, 12, 0.1), rgba(20, 15, 12, 0.52)),
    url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1200&q=80') center/cover;
}

.visual__overlay {
  position: absolute;
  inset: auto 24px 24px 24px;
  color: white;
}

.visual__overlay p,
.visual__overlay span {
  margin: 0;
}

.visual__overlay p {
  font-size: 1.5rem;
  font-weight: 800;
}

.visual__overlay span {
  margin-top: 6px;
  font-size: 0.95rem;
  opacity: 0.92;
}

.section {
  padding: 56px 0;
}

.section--muted {
  background: rgba(255, 255, 255, 0.44);
}

.section__grid,
.split-layout,
.section__header,
.contact-card {
  display: grid;
  gap: 26px;
}

.section__grid,
.split-layout {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
}

.section__copy {
  font-size: 1rem;
  line-height: 1.9;
}

.section__header {
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 22px;
}

.section__header--split {
  align-items: start;
}

.section__header--stacked {
  grid-template-columns: 1fr;
}

.section__copy--inline {
  max-width: 44ch;
}

.cards {
  display: grid;
  gap: 20px;
}

.cards--product {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards--business {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card--business {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 18px 18px 22px;
}

.card__index {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #6e89c8;
  margin-bottom: 14px;
}

.card--business .card__image {
  min-height: 215px;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.card--business .card__image--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card--business .card__body {
  padding: 16px 0 0;
}

.card--business .card__body h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.card--business .card__body p {
  color: var(--muted);
  line-height: 1.75;
}

.cards--detail {
  margin-top: 6px;
}

.card {
  border-radius: 28px;
  overflow: hidden;
}

.card--link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card__image {
  min-height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.card__image--photo {
  background: none;
}

.card__image--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card__image--textiles {
  background-image: linear-gradient(180deg, rgba(24, 18, 15, 0.08), rgba(24, 18, 15, 0.42)), url('https://images.unsplash.com/photo-1582582494700-0f0a0f1a2df8?auto=format&fit=crop&w=1000&q=80');
}

.card__image--home {
  background-image: linear-gradient(180deg, rgba(24, 18, 15, 0.08), rgba(24, 18, 15, 0.42)), url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1000&q=80');
}

.card__image--commerce {
  background-image: linear-gradient(180deg, rgba(24, 18, 15, 0.08), rgba(24, 18, 15, 0.42)), url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1000&q=80');
}

.card__body,
.panel-card,
.contact-card {
  padding: 24px;
}

.card__tag {
  background: rgba(25, 25, 25, 0.06);
  color: #2e2924;
  padding: 7px 11px;
}

.card__body h3,
.service-list h3 {
  margin: 14px 0 10px;
  font-size: 1.25rem;
}

.card__body p,
.service-list p {
  margin: 0;
  line-height: 1.7;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.services-block {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  padding: 26px;
  box-shadow: var(--shadow);
  min-height: 100%;
}

.services-block h2 {
  margin: 16px 0 0;
}

.services-block__intro {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 56ch;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.service-list article {
  min-height: 148px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.service-list--text {
  margin-top: 22px;
}

.services-block--why {
  display: flex;
  flex-direction: column;
}

.product-video-block {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface-soft);
}

.services-points {
  margin: 22px 0 0;
  padding-left: 18px;
  line-height: 1.9;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.gallery__item {
  min-height: 200px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 20px;
  font-weight: 800;
  color: white;
  background: linear-gradient(180deg, rgba(20, 15, 12, 0.1), rgba(20, 15, 12, 0.55)), #ddd;
}

.gallery__item--tall {
  min-height: 280px;
  background-image: linear-gradient(180deg, rgba(20, 15, 12, 0.08), rgba(20, 15, 12, 0.58)), url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1000&q=80');
  background-size: cover;
  background-position: center;
}

.gallery__item:nth-child(2) {
  background-image: linear-gradient(180deg, rgba(20, 15, 12, 0.08), rgba(20, 15, 12, 0.58)), url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1000&q=80');
  background-size: cover;
  background-position: center;
}

.gallery__item:nth-child(3) {
  background-image: linear-gradient(180deg, rgba(20, 15, 12, 0.08), rgba(20, 15, 12, 0.58)), url('https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=1000&q=80');
  background-size: cover;
  background-position: center;
}

.contact-card {
  border-radius: 32px;
  grid-template-columns: 1fr;
}

.contact-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-card__grid > div {
  padding: 18px;
  border-radius: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.footer {
  padding: 30px 0 44px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .section__header,
  .section__grid,
  .split-layout,
  .services-layout,
  .hero__grid,
  .cards--product,
  .cards--business,
  .cards--detail,
  .gallery,
  .contact-card__grid,
  .hero__stats,
  .service-list {
    grid-template-columns: 1fr;
  }

  .topbar__inner {
    display: flex;
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero h1 {
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .section h2 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .visual--large {
    min-height: 340px;
  }

  .visual-grid {
    grid-template-columns: 1fr;
  }

}
