:root {
  --ice: #EFF8FA;
  --ice-dark: #DCEFF2;
  --navy-dark: #123247;
  --slate: #4A6572;
  --teal: #1592A6;
  --teal-dark: #0E7386;
  --mint: #4FBFA8;
  --mint-bg: #DFF3ED;
  --white: #FFFFFF;

  --sofa: #1592A6;
  --sofa-bg: #DBF0F4;
  --chair: #B5762A;
  --chair-bg: #F3E4CC;
  --mattress: #6C63C7;
  --mattress-bg: #E5E2F8;
  --carpet: #C24A6B;
  --carpet-bg: #F6DCE4;
  --office: #2E7D5B;
  --office-bg: #DCEEE4;
  --restaurant: #B5432E;
  --restaurant-bg: #F4DCD5;
  --curtains: #6B4FA0;
  --curtains-bg: #E6DFF2;

  --shadow: 0 10px 30px rgba(18, 50, 71, 0.08);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--navy-dark);
  background: var(--ice);
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  margin: 0 0 .5em;
  color: var(--navy-dark);
}

p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Promo bar */
.promo-bar {
  background: var(--mattress);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
}

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(239, 248, 250, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ice-dark);
}

.header__inner {
  display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px;
}

.logo {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 21px;
  color: var(--navy-dark);
  white-space: nowrap;
}

.logo--light { color: var(--white); }

.nav { display: flex; gap: 26px; }
.nav a { font-weight: 600; font-size: 15px; color: var(--slate); transition: color .2s; white-space: nowrap; }
.nav a:hover { color: var(--teal); }

.header__actions { display: flex; align-items: center; gap: 14px; }

.header__phone {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy-dark);
  white-space: nowrap;
}

.burger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--navy-dark); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s, background .2s, color .2s, border-color .2s;
  font-family: inherit;
}
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-dark); }

.btn--ghost { background: transparent; border-color: var(--navy-dark); color: var(--navy-dark); }
.btn--ghost:hover { background: var(--navy-dark); color: var(--white); border-color: var(--navy-dark); }

.btn--small { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; text-align: center; }

/* Hero */
.hero { padding: 60px 0 40px; overflow: hidden; }

.hero__inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px;
}

.badge {
  display: inline-block;
  background: var(--mint-bg);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.15; }
.hero p { font-size: 17px; color: var(--slate); max-width: 480px; }

.hero__buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; margin-bottom: 20px; }

.hero__trust {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 13px; font-weight: 700; color: var(--slate);
}

.hero__art { position: relative; height: 340px; }

.hero__circle {
  position: absolute; inset: 0; margin: auto;
  width: 260px; height: 260px;
  background: var(--ice-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 110px;
  box-shadow: var(--shadow);
}

.hero__float {
  position: absolute; font-size: 40px;
  background: var(--white); border-radius: 50%;
  width: 76px; height: 76px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.hero__float--1 { top: 10px; left: 10px; animation-delay: 0s; }
.hero__float--2 { bottom: 30px; left: 30px; animation-delay: 1.2s; }
.hero__float--3 { top: 40px; right: 0; animation-delay: 2s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* USP */
.usp { background: var(--navy-dark); padding: 28px 0; }
.usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.usp__item { color: var(--white); }
.usp__item span { font-size: 28px; display: block; margin-bottom: 6px; }
.usp__item p { margin: 0; font-weight: 600; font-size: 14px; color: var(--ice-dark); }

/* Photo quote banner */
.photo-quote { background: var(--mint); padding: 36px 0; }

.photo-quote__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.photo-quote__text h2 {
  font-size: 22px;
  margin-bottom: 4px;
  color: var(--navy-dark);
}

.photo-quote__text p {
  margin: 0;
  color: var(--navy-dark);
  font-weight: 500;
  max-width: 480px;
}

.photo-quote .channel-buttons {
  flex-shrink: 0;
}

.photo-quote__ghost {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy-dark);
}
.photo-quote__ghost:hover { background: var(--ice-dark); }

/* Sections */
.section { padding: 72px 0; }
.section--alt { background: var(--ice-dark); }

.section__title { text-align: center; font-size: clamp(26px, 3vw, 34px); }
.section__title--left { text-align: left; }

.section__subtitle { text-align: center; color: var(--slate); max-width: 560px; margin: 0 auto 36px; }

/* Tabs */
.tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }

.tab {
  border: 2px solid var(--navy-dark);
  background: transparent;
  color: var(--navy-dark);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  font-size: 14px;
}
.tab:hover { border-color: var(--teal); }
.tab.is-active { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--white); }

/* Material tabs */
.material-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.material-tabs__label {
  font-weight: 700;
  font-size: 14px;
  color: var(--slate);
}

.material-tab {
  border: 1.5px solid var(--slate);
  background: var(--white);
  color: var(--slate);
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  transition: all .2s;
}

.material-tab span {
  font-weight: 700;
  opacity: 0.75;
}

.material-tab:hover { border-color: var(--mattress); }

.material-tab.is-active {
  background: var(--mattress);
  border-color: var(--mattress);
  color: var(--white);
}

/* Cards / grid */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  position: relative;
  border-top: 5px solid var(--teal);
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(18, 50, 71, 0.14); }

.card--sofa { border-top-color: var(--sofa); }
.card--chair { border-top-color: var(--chair); }
.card--mattress { border-top-color: var(--mattress); }
.card--carpet { border-top-color: var(--carpet); }
.card--office { border-top-color: var(--office); }
.card--restaurant { border-top-color: var(--restaurant); }
.card--curtains { border-top-color: var(--curtains); }

.card__icon {
  font-size: 32px; margin-bottom: 14px;
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ice-dark);
}
.card__icon--sofa { background: var(--sofa-bg); }
.card__icon--chair { background: var(--chair-bg); }
.card__icon--mattress { background: var(--mattress-bg); }
.card__icon--carpet { background: var(--carpet-bg); }
.card__icon--office { background: var(--office-bg); }
.card__icon--restaurant { background: var(--restaurant-bg); }
.card__icon--curtains { background: var(--curtains-bg); }

.card__name { font-size: 19px; margin-bottom: 4px; }
.card__desc { color: var(--slate); font-size: 14px; flex-grow: 1; }

.card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }

.card__price { font-weight: 800; font-size: 19px; color: var(--teal-dark); }
.card--sofa .card__price { color: var(--sofa); }
.card--chair .card__price { color: var(--chair); }
.card--mattress .card__price { color: var(--mattress); }
.card--carpet .card__price { color: var(--carpet); }
.card--office .card__price { color: var(--office); }
.card--restaurant .card__price { color: var(--restaurant); }
.card--curtains .card__price { color: var(--curtains); }

.add-btn {
  border: none; background: var(--navy-dark); color: var(--white);
  font-weight: 700; padding: 9px 16px; border-radius: 999px;
  cursor: pointer; transition: background .2s; font-size: 14px;
}
.add-btn:hover { background: var(--teal); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}

.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  font-weight: 800; font-size: 17px;
  margin-bottom: 14px;
}

.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--slate); margin: 0; }

/* Guarantee callout */
.guarantee {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--office-bg);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 24px;
  box-shadow: var(--shadow);
}

.guarantee__icon { font-size: 40px; flex-shrink: 0; }
.guarantee h3 { margin-bottom: 4px; font-size: 18px; }
.guarantee p { margin: 0; color: var(--slate); font-size: 14px; }

/* B2B / Equipment two-col */
.b2b__inner, .equipment__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.equipment__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.equipment__art {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

.check-list li { padding-left: 28px; position: relative; margin-bottom: 12px; color: var(--navy-dark); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

.form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
}

input, textarea {
  font-family: inherit; font-size: 15px;
  padding: 12px 16px; border-radius: 10px;
  border: 1.5px solid var(--ice-dark);
  background: var(--ice);
  color: var(--navy-dark);
  resize: none;
}
input:focus, textarea:focus { outline: none; border-color: var(--teal); }

/* Reviews */
/* Before/after gallery */
.gallery { display: flex; flex-direction: column; gap: 32px; }

.gallery__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gallery__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.gallery__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  color: var(--white);
}

.gallery__tag--before { background: var(--carpet); }
.gallery__tag--after { background: var(--office); }

.gallery__photo img { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 20, 30, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  padding: 40px;
}

.lightbox.is-open { opacity: 1; pointer-events: auto; }

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  color: var(--navy-dark);
}

/* FAQ */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 4px 24px;
}

.faq__item summary {
  padding: 18px 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  transition: transform .2s;
}

.faq__item[open] summary::after { transform: rotate(45deg); }

.faq__item p {
  padding-bottom: 18px;
  margin: 0;
  color: var(--slate);
  font-size: 15px;
}

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

.review { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.review p { font-style: italic; margin-bottom: 12px; }
.review span { font-weight: 700; color: var(--teal-dark); font-size: 14px; }

/* Pricing note */
.pricing-note {
  text-align: center;
  color: var(--slate);
  font-size: 13px;
  max-width: 640px;
  margin: 28px auto 0;
}

/* Rating platform links */
.rating-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
  font-size: 14px;
}

.rating-links__label { color: var(--slate); font-weight: 600; }
.rating-links a {
  font-weight: 700;
  color: var(--teal-dark);
  text-decoration: underline;
}
.rating-links a:hover { color: var(--teal); }

/* Footer */
.footer { background: var(--navy-dark); color: var(--ice-dark); padding: 56px 0 20px; }
.footer__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 32px; }
.footer h4 { color: var(--white); margin-bottom: 10px; }
.footer a { text-decoration: underline; }
.footer a:hover { color: var(--mint); }
.footer__copy { text-align: center; font-size: 13px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin: 0; }

/* Cart drawer (order drawer) */
.overlay {
  position: fixed; inset: 0; background: rgba(18, 50, 71, 0.45);
  z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0;
  width: min(420px, 100vw); height: 100%;
  background: var(--ice);
  z-index: 70;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex; flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--ice-dark);
}
.cart-drawer__close { border: none; background: none; font-size: 20px; cursor: pointer; color: var(--navy-dark); }

.cart-drawer__items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty { color: var(--slate); text-align: center; margin-top: 40px; }

.cart-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ice-dark); }
.cart-item__icon { font-size: 26px; }
.cart-item__info { flex: 1; }
.cart-item__name { font-weight: 700; font-size: 14px; }
.cart-item__price { color: var(--slate); font-size: 13px; }

.cart-item__qty { display: flex; align-items: center; gap: 8px; }

.qty-btn {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--navy-dark); background: var(--white);
  cursor: pointer; font-weight: 700; line-height: 1;
}
.qty-btn:hover { background: var(--ice-dark); }

.cart-item__remove {
  border: none; background: none; color: var(--carpet);
  cursor: pointer; font-size: 13px; font-weight: 700; margin-left: 8px;
}

.cart-drawer__summary { border-top: 1px solid var(--ice-dark); padding: 20px 24px 24px; }

.cart-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--slate); margin-bottom: 8px; }
.cart-row--total { font-weight: 800; font-size: 18px; color: var(--navy-dark); margin-top: 8px; }

.delivery__note { font-size: 13px; color: var(--slate); }

.checkout-form { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

.channel-buttons { display: flex; gap: 10px; }
.channel-buttons .btn { flex: 1; padding: 12px 16px; font-size: 14px; text-align: center; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy-dark); color: var(--white);
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
  opacity: 0; pointer-events: none; transition: all .3s ease;
  z-index: 100; box-shadow: var(--shadow);
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__phone { display: none; }

  .nav.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--ice); padding: 16px 24px; gap: 16px;
    border-bottom: 1px solid var(--ice-dark);
  }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { height: 240px; order: -1; }
  .usp__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .b2b__inner, .equipment__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cart-drawer { width: 100vw; }
  .steps { grid-template-columns: 1fr; }
  .equipment__photos { grid-template-columns: 1fr; }
}
