:root {
  --color-dark: #0f111a;
  --color-light: #f8f9fa;
  --color-accent: #c99b61;
  --color-accent-2: #fecb89;
  --color-gray: #646a78;
  --color-white: #ffffff;
  --max-width: 1280px;
  --header-height: 93px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--color-light);
  color: var(--color-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
  object-fit: cover;
}

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

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-dark);
}

p {
  margin: 0 0 16px;
  color: var(--color-gray);
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  line-height: 1.4;
}

.form-status.visible {
  display: block;
}

.form-status.success {
  background: #e8f6ee;
  color: #1f6a3a;
  border: 1px solid #bfe7cf;
}

.form-status.error {
  background: #fbe9e7;
  color: #8f2e24;
  border: 1px solid #f2c1ba;
}

section {
  padding: 96px min(6vw, 96px);
}

.section-inner {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px min(8vw, 120px);
  background-color: rgba(20, 24, 36, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 32px;
}

.site-nav a {
  color: #d9ddea;
  font-weight: 500;
  font-size: clamp(1rem, 1vw, 1.08rem);
  transition: color var(--transition-fast);
}

.site-nav a.active {
  color: var(--color-accent-2);
}

.site-nav a:hover {
  color: var(--color-accent-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-button {
  background: transparent;
  color: var(--color-white);
  border: none;
  padding: 8px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.08em;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.phone-button:hover,
.phone-button:focus-visible {
  color: var(--color-accent-2);
  transform: translateY(-2px);
  outline: none;
}

.phone-text {
  color: #d9ddea;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  font-size: 0.94rem;
  line-height: 1;
}

.phone-accent {
  color: var(--color-accent-2);
  font-size: 1.7em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  margin-left: 0.35em;
}

.burger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--color-white);
  transition: transform var(--transition-fast);
}

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

.burger.open span:nth-child(2) {
  opacity: 0;
}

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

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  padding: clamp(96px, 14vh, 170px) min(6vw, 96px);
}

.hero--video {
  min-height: calc(100svh - var(--header-height));
  color: var(--color-white);
  background-color: var(--color-dark);
}

.hero--video::before {
  display: none;
}

.hero--video::after {
  content: "";
  position: absolute;
  pointer-events: none;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(15, 17, 26, 0) 0%, rgba(15, 17, 26, 0.92) 100%);
  z-index: 1;
}

.hero--video .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero--video .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--video .hero-text h1,
.hero--video .hero-text .hero-subtitle,
.hero--video .hero-text .hero-list,
.hero--video .hero-text .hero-cta {
  opacity: 0;
  transform: translateY(14px);
  animation: heroEnter 1.25s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero--video .hero-text h1 {
  animation-delay: 0.12s;
}

.hero--video .hero-text .hero-subtitle {
  animation-delay: 0.34s;
}

.hero--video .hero-text .hero-list {
  animation-delay: 0.58s;
}

.hero--video .hero-text .hero-cta {
  animation-delay: 0.84s;
}

.hero--video .hero-list li {
  opacity: 0;
  transform: translateY(10px);
  animation: heroItem 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero--video .hero-list li:nth-child(1) { animation-delay: 0.70s; }
.hero--video .hero-list li:nth-child(2) { animation-delay: 0.82s; }
.hero--video .hero-list li:nth-child(3) { animation-delay: 0.94s; }
.hero--video .hero-list li:nth-child(4) { animation-delay: 1.06s; }
.hero--video .hero-list li:nth-child(5) { animation-delay: 1.18s; }
.hero--video .hero-list li:nth-child(6) { animation-delay: 1.30s; }

.hero--video .hero-video {
  transform: scale(1.03);
  animation: heroVideoBreath 26s ease-in-out infinite alternate;
}

@keyframes heroEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroItem {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroVideoBreath {
  from { transform: scale(1.03); }
  to { transform: scale(1.075); }
}

@media (prefers-reduced-motion: reduce) {
  .hero--video .hero-text h1,
  .hero--video .hero-text .hero-subtitle,
  .hero--video .hero-text .hero-list,
  .hero--video .hero-text .hero-cta,
  .hero--video .hero-list li {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero--video .hero-video {
    animation: none !important;
    transform: none !important;
  }
}

.hero--video .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 50% 25%, rgba(0, 0, 0, 0.55), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.75) 100%);
}

.hero--video h1,
.hero--video p,
.hero--video .hero-list li {
  color: var(--color-white);
}

.hero--video .hero-subtitle {
  color: rgba(255, 255, 255, 0.82);
}

.hero--video .hero-layout {
  grid-template-columns: 1fr;
  gap: 28px;
  justify-items: center;
  text-align: center;
}

.hero--video .hero-text {
  max-width: 1120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero--video .hero-primary {
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
}

.hero--video .scroll-indicator {
  color: rgba(255, 255, 255, 0.72);
}

.hero--video .scroll-indicator:hover {
  color: var(--color-accent-2);
}

/* Align services hero title height to match home hero (without list/CTA) */
.services-page #hero.hero--video .section-inner {
  transform: translateY(-72px);
}

@media (max-width: 1024px) {
  .services-page #hero.hero--video .section-inner {
    transform: translateY(-48px);
  }
}

@media (max-width: 768px) {
  .services-page #hero.hero--video .section-inner {
    transform: translateY(-32px);
  }
}

.hero--video h1 {
  font-size: clamp(3.2rem, 5.8vw, 5rem);
  letter-spacing: -0.02em;
}

.hero--video .hero-highlight {
  color: var(--color-accent-2);
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto 8px;
  padding-bottom: 6px;
}

.hero--video .hero-highlight::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(240px, 70%);
  height: 3px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(254, 203, 137, 0), rgba(254, 203, 137, 0.95), rgba(254, 203, 137, 0));
}

.hero--video .hero-subtitle {
  font-size: 1.12rem;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.hero--video .hero-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 34px auto 40px;
  width: min(1120px, 100%);
  padding: 0;
}

.hero--video .hero-list li {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: transparent;
  border: none;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.2;
}

.hero--video .hero-list li::before {
  display: none;
}

.hero--video .hero-list li + li {
  position: relative;
}

.hero--video .hero-list li + li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.22);
}

.hero--video .hero-primary {
  padding: 18px 44px;
}

.hero .section-inner {
  position: relative;
  z-index: 2;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  align-items: stretch;
  gap: 54px;
  padding-top: 16px;
}

.hero-text {
  max-width: 560px;
  align-self: center;
}

.hero h1 {
  font-size: clamp(2.8rem, 4.8vw, 4rem);
  margin: 0 0 24px;
  line-height: 1.15;
}

.hero-highlight {
  display: block;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 1.05rem;
}

.hero-list {
  padding-left: 0;
  margin: 28px 0 32px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 12px 28px;
}

.hero-list li {
  position: relative;
  padding-left: 22px;
  color: var(--color-dark);
  font-weight: 500;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-primary {
  padding: 18px 40px;
  font-size: 1rem;
  letter-spacing: 0.1em;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 25px 45px rgba(214, 166, 106, 0.35);
  text-transform: uppercase;
  border: 2px solid transparent;
  background-image: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  color: var(--color-dark);
}

.hero-primary::after {
  content: "→";
  font-size: 1.2rem;
  line-height: 1;
}

.hero-cta-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-gray);
}

.btn {
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 28px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
  color: var(--color-dark);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-dark);
}

.btn-outline:hover {
  background-color: rgba(214, 166, 106, 0.15);
}

.btn.full-width {
  width: 100%;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  height: 100%;
}

.visual-card {
  position: relative;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.visual-card img {
  width: auto;
  max-width: 640px;
  height: auto;
}

.plan-card img {
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(20, 24, 36, 0.12));
}

.preview-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.preview-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.link-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.link-button::after {
  content: "→";
  font-size: 1.1rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.preview-card {
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(20, 24, 36, 0.04);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.preview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: rgba(201, 155, 97, 0.3);
}

.preview-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.preview-card p {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

.card-arrow {
  align-self: flex-end;
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: transform var(--transition-fast);
}

.preview-card:hover .card-arrow {
  transform: translateX(6px);
  color: var(--color-accent-2);
}

.furniture-preview-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.furniture-preview-media {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.media-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  border-radius: 0;
}

.media-card:hover img {
  transform: scale(1.05);
}

.media-card.main {
  height: 400px;
}

.media-card.secondary {
  height: 320px;
}

@media (max-width: 768px) {
  .furniture-preview-media {
    grid-template-columns: 1fr;
  }

  .media-card.main,
  .media-card.secondary {
    height: 280px;
  }
}

.preview-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.project-card-preview {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 400px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.project-card-preview img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card-preview:hover img {
  transform: scale(1.05);
}

.project-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px;
  background: linear-gradient(to top, rgba(15, 17, 26, 0.9), transparent);
  color: var(--color-white);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.project-card-overlay h3 {
  color: var(--color-white);
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.project-card-overlay p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.95rem;
}

.project-arrow {
  font-size: 1.5rem;
  color: var(--color-white);
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-fast);
}

.project-card-preview:hover .project-arrow {
  opacity: 1;
  transform: translateX(0);
}

.quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.quiz-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.quiz-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 26, 0.6);
  backdrop-filter: blur(4px);
}

.quiz-dialog {
  position: relative;
  background: var(--color-white);
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(15, 17, 26, 0.25);
  width: min(820px, 94vw);
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 32px clamp(24px, 4vw, 48px);
  gap: 24px;
  z-index: 1;
}

.quiz-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 17, 26, 0.08);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.quiz-close:hover,
.quiz-close:focus-visible {
  background: rgba(201, 155, 97, 0.15);
  color: var(--color-accent);
  outline: none;
}

.quiz-progress {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 17, 26, 0.08);
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  width: 10%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  transition: width 0.3s ease;
}

.quiz-progress-text {
  font-size: 0.9rem;
  color: rgba(15, 17, 26, 0.65);
}

.quiz-form {
  flex: 1;
  overflow-y: auto;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quiz-form.completed {
  display: none;
}

.quiz-error {
  margin: 0;
  color: #b3261e;
  background: rgba(179, 38, 30, 0.08);
  border: 1px solid rgba(179, 38, 30, 0.3);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.95rem;
  display: none;
}

.quiz-error.visible {
  display: block;
}

.quiz-step {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.quiz-step.active {
  display: flex;
}

.quiz-step--tight {
  gap: 14px;
}

.quiz-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.quiz-card-grid--three {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.quiz-card-grid--four {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.quiz-option-card {
  border: 1px solid rgba(15, 17, 26, 0.1);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  font-weight: 600;
  gap: 10px;
  cursor: pointer;
  background: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.quiz-option-card input {
  display: none;
}

.quiz-option-card span {
  line-height: 1.4;
  color: var(--color-dark);
}

.quiz-option-card small {
  display: block;
  font-weight: 400;
  color: rgba(15, 17, 26, 0.65);
  margin-top: 4px;
}

.quiz-option-card:has(input:checked) {
  border-color: rgba(201, 155, 97, 0.45);
  box-shadow: 0 12px 32px rgba(20, 24, 36, 0.08);
  transform: translateY(-4px);
}

.quiz-option-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-checkbox-card {
  border: 1px solid rgba(15, 17, 26, 0.1);
  border-radius: 16px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.quiz-checkbox-card input {
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
}

.quiz-checkbox-card:has(input:checked) {
  border-color: rgba(201, 155, 97, 0.45);
  box-shadow: 0 12px 24px rgba(20, 24, 36, 0.08);
}

.quiz-field,
.quiz-field textarea {
  width: 100%;
}

.quiz-field input,
.quiz-field textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(15, 17, 26, 0.12);
  padding: 16px 18px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.quiz-field textarea {
  min-height: 120px;
  resize: vertical;
}

.quiz-field input:focus,
.quiz-field textarea:focus {
  border-color: rgba(201, 155, 97, 0.6);
  box-shadow: 0 0 0 3px rgba(201, 155, 97, 0.15);
  outline: none;
}

.quiz-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
}

.quiz-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
}

.quiz-checkbox span {
  line-height: 1.4;
}

.quiz-hint {
  font-size: 0.9rem;
  color: rgba(15, 17, 26, 0.65);
  margin: 0;
}

.quiz-two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.quiz-block {
  border: 1px solid rgba(15, 17, 26, 0.08);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quiz-block-title {
  margin: 0;
  font-weight: 600;
}

.quiz-input-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(15, 17, 26, 0.12);
  border-radius: 14px;
  padding: 8px 14px;
  max-width: 220px;
  width: fit-content;
  justify-content: center;
}

.quiz-input-row input {
  border: none;
  padding: 0;
  width: 82px;
  text-align: center;
  font-size: 1.1rem;
}

.quiz-input-row input:focus {
  border: none;
  box-shadow: none;
  outline: none;
}

.quiz-unit {
  font-weight: 600;
  color: rgba(15, 17, 26, 0.6);
}

.quiz-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(15, 17, 26, 0.65);
}

#quizAreaRange {
  accent-color: var(--color-accent);
}

.quiz-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.quiz-policy {
  font-size: 0.85rem;
  color: rgba(15, 17, 26, 0.65);
  margin: 8px 0 0;
}

.quiz-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.quiz-footer .quiz-nav {
  flex: 1;
  min-height: 56px;
}

.quiz-footer .prev {
  border-width: 2px;
}

.quiz-footer .next {
  box-shadow: 0 12px 24px rgba(201, 155, 97, 0.4);
}

.quiz-footer.hidden {
  display: none;
}

.quiz-thanks {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 24px;
}

.quiz-thanks.active {
  display: flex;
}

body.quiz-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .quiz-dialog {
    width: calc(100vw - 24px);
    padding: 24px 20px 28px;
    border-radius: 24px;
  }

  .quiz-close {
    top: 12px;
    right: 12px;
  }

  .quiz-footer {
    flex-direction: column;
  }

  .quiz-footer .quiz-nav {
    width: 100%;
  }

  .quiz-card-grid,
  .quiz-card-grid--three,
  .quiz-card-grid--four {
    grid-template-columns: 1fr;
  }

  .quiz-two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .quiz-dialog {
    max-height: 100vh;
    border-radius: 0;
  }

  .quiz-progress h3 {
    font-size: 1.2rem;
  }

  .quiz-close {
    background: rgba(15, 17, 26, 0.12);
  }
}
.about-preview-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.about-preview-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.contacts-preview-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  align-items: center;
  border: 1px solid rgba(20, 24, 36, 0.04);
}

.map-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(20, 24, 36, 0.04);
}


.page-hero {
  padding: 140px min(6vw, 96px) 80px;
  background: linear-gradient(180deg, #fdfdfd 0%, #f5f5f7 100%);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 640px;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 18px;
}

.page-hero-note {
  margin-top: 0;
  font-size: 0.95rem;
  color: rgba(100, 106, 120, 0.95);
}

.bot-hero {
  min-height: calc(100svh - 92px);
  display: flex;
  align-items: center;
  padding: clamp(96px, 10vh, 140px) min(6vw, 96px) clamp(72px, 8vh, 110px);
  background: radial-gradient(900px 500px at 10% 20%, rgba(254, 203, 137, 0.22), transparent 60%),
    radial-gradient(700px 450px at 75% 15%, rgba(201, 155, 97, 0.2), transparent 55%),
    linear-gradient(135deg, #1a1e2e 0%, #0f111a 55%, #0f111a 100%);
  position: relative;
  overflow: hidden;
}

.bot-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(480px 480px at 85% 70%, rgba(254, 203, 137, 0.14), transparent 60%);
  pointer-events: none;
}

.bot-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(320px, 560px);
  align-items: center;
  gap: 64px;
}

.bot-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bot-copy h1 {
  color: var(--color-white);
  font-size: clamp(2.9rem, 5.2vw, 4.2rem);
  margin: 0;
}

.bot-lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  font-size: 1.12rem;
  margin: 0;
}

.bot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0;
}

.bot-secondary {
  border-color: rgba(254, 203, 137, 0.65);
  color: rgba(255, 255, 255, 0.92);
}

.bot-secondary:hover {
  background-color: rgba(254, 203, 137, 0.12);
}

.bot-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

.bot-note--fine {
  color: rgba(255, 255, 255, 0.52);
}

.bot-hero-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
  margin: 0;
  max-width: 600px;
}

.bot-preview {
  display: flex;
  justify-content: center;
}

.bot-phone {
  width: min(460px, 100%);
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55);
  padding: 18px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.bot-phone::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -140px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(254, 203, 137, 0.35), transparent 62%);
  filter: blur(1px);
}

.bot-phone-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 14px;
}

.bot-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(214, 166, 106, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.bot-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.bot-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bot-name {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.bot-sub {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.92rem;
}

.bot-chat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 12px 14px;
}

.bot-bubble {
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 0.94rem;
  line-height: 1.45;
  border: none;
}

.bot-photo {
  height: 128px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  padding: 0;
}

.bot-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.bot-photo-caption {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.bot-bubble--user {
  margin-left: auto;
  background: rgba(254, 203, 137, 0.14);
  color: rgba(255, 255, 255, 0.86);
  border-color: rgba(254, 203, 137, 0.18);
}

.bot-bubble--bot {
  margin-right: auto;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
}

.bot-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px 12px;
}

.bot-input-pill {
  height: 46px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bot-send {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  box-shadow: 0 18px 40px rgba(214, 166, 106, 0.35);
  position: relative;
  display: grid;
  place-items: center;
}

.bot-send-icon {
  display: block;
}

.bot-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  border-radius: 0;
}

.bot-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(254, 203, 137, 0.22), rgba(201, 155, 97, 0.26));
  border: none;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.bot-point-text {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  font-size: 1.02rem;
}

.bot-hero .bot-point + .bot-point {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

@media (max-width: 920px) {
  .bot-layout {
    grid-template-columns: 1fr;
  }
  .bot-hero-points {
    grid-template-columns: 1fr;
  }
}

.page-section {
  padding: 80px min(6vw, 96px);
}

.page-section.light {
  background-color: #fbfbfd;
}

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

.service-detail {
  background: var(--color-white);
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(20, 24, 36, 0.08);
}

.service-detail ul {
  padding-left: 18px;
  margin: 12px 0 0;
  color: var(--color-gray);
}

.furniture-types-grid,
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.furniture-type-card,
.material-card {
  background: var(--color-white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

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

.case-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.case-card div {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  counter-reset: step;
}

.steps-list li {
  list-style: none;
  background: var(--color-white);
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 24, 36, 0.08);
  counter-increment: step;
}

.steps-list li::before {
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-accent);
}

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

.projects-gallery .project-card {
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

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

.contact-panel,
.form-panel {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 32px;
}

.form-panel form {
  display: grid;
  gap: 16px;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--color-gray);
}

.cta-panel {
  background: linear-gradient(135deg, #1a1e2e 0%, #0f111a 100%);
  color: var(--color-white);
  padding: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
}

.cta-panel h3 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.cta-panel p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.cta-panel .btn {
  align-self: center;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  background: #dfe3eb;
}

.contacts-preview-card .map-frame {
  margin-top: 24px;
  width: 100%;
}

.map-frame iframe,
.map-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.visual-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(20, 24, 36, 0.75);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service-card,
.difference-card {
  background-color: var(--color-white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.difference-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.difference-card {
  border: 1px solid rgba(20, 24, 36, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbf7f0 120%);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card:hover,
.difference-card:hover,
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.benefits {
  background-color: var(--color-light);
  color: var(--color-dark);
}

.benefits .section-header {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.benefits .benefit-item p {
  color: var(--color-gray);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.benefit-item {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid rgba(20, 24, 36, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.benefit-item::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  margin-bottom: 16px;
}

.benefit-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-6px);
}

.custom-furniture {
  background-color: #fff;
}

.furniture-panel {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(255, 183, 118, 0.12), transparent 60%), #ffffff;
  box-shadow: var(--shadow-soft);
}

.furniture-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.furniture-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.furniture-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.furniture-cta-btn {
  align-self: flex-start;
  padding-inline: 36px;
  box-shadow: 0 15px 30px rgba(214, 166, 106, 0.35);
}

.projects {
  background-color: #fbfbfd;
}

.projects-carousel {
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
}

.projects-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 16px;
}

.projects-track::-webkit-scrollbar {
  display: none;
}

.projects-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background-color: rgba(20, 24, 36, 0.65);
  color: var(--color-white);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.projects-control span {
  font-size: 1.2rem;
  line-height: 1;
}

.projects-control:hover {
  transform: translateY(-50%) scale(1.05);
  background-color: rgba(20, 24, 36, 0.85);
}

.projects-control.prev {
  left: 16px;
}

.projects-control.next {
  right: 16px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  flex: 0 0 clamp(260px, 32vw, 360px);
  scroll-snap-align: start;
}

.project-card img {
  height: 280px;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(20, 24, 36, 0.85));
  color: var(--color-white);
}

.estimate {
  padding: 120px min(6vw, 96px);
}

.estimate-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
  align-items: center;
  background-color: var(--color-white);
  padding: 64px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.estimate-form {
  display: grid;
  gap: 16px;
}

label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  color: var(--color-dark);
}

input,
select,
textarea {
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(20, 24, 36, 0.1);
  background-color: var(--color-light);
  font-size: 1rem;
  font-family: inherit;
}

.faq {
  background-color: var(--color-white);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 24, 36, 0.1);
  overflow: hidden;
  background-color: #fff;
  transition: border-color var(--transition-fast);
}

.accordion-item.open {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-soft);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height var(--transition-slow), padding var(--transition-fast);
}

.accordion-item.open .accordion-panel {
  max-height: 240px;
  padding: 0 24px 24px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: start;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.fact-card {
  background-color: var(--color-white);
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
  border: 1px solid rgba(20, 24, 36, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.fact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.fact-card h3 {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: 12px;
  line-height: 1;
}

.fact-card p {
  font-size: 1.05rem;
  color: var(--color-gray);
  font-weight: 500;
  margin: 0;
  max-width: 200px;
}

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

.team-card {
  background-color: var(--color-white);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.team-card img {
  border-radius: var(--radius-md);
  height: 220px;
  object-fit: cover;
}

.contacts {
  background: radial-gradient(circle at 0 0, rgba(255, 183, 118, 0.18), transparent 55%),
    var(--color-dark);
  color: var(--color-white);
}

.contacts-preview-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
  padding: 64px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top right, rgba(20, 24, 36, 0.02), transparent), var(--color-white);
  box-shadow: var(--shadow-card);
  align-items: center;
  border: 1px solid rgba(20, 24, 36, 0.04);
  position: relative;
  overflow: hidden;
}

.contacts-preview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-accent-2));
}

.contacts-text {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts-preview-actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: min(360px, 100%);
  position: relative;
  z-index: 1;
}

.messenger-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.messenger-icon-link {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 15px 35px rgba(20, 24, 36, 0.18);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.messenger-icon-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.messenger-icon-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.messenger-icon-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(20, 24, 36, 0.24);
}

.messenger-icon-link.whatsapp {
  background: linear-gradient(135deg, #1ebe5d, #32e07a);
}

.messenger-icon-link.telegram {
  background: linear-gradient(135deg, #2aabee, #5fc9ff);
}

.messenger-icon-link.max {
  background: linear-gradient(135deg, #6a5bff, #bb8dff);
}

.messenger-icon-link.phone {
  background: linear-gradient(135deg, var(--color-dark), #353a4d);
}

.site-footer {
  background-color: #05060a;
  color: rgba(255, 255, 255, 0.6);
  padding: 32px min(8vw, 120px) 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
}

.footer-top .logo {
  justify-self: end;
  align-self: end;
}

.footer-top p {
  max-width: 460px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-content {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer .logo img {
  height: 72px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 16px;
  }

  .footer-top .logo {
    justify-self: start;
  }

  .contacts-preview-card {
    padding: 40px;
  }

  .site-footer .logo img {
    height: 56px;
  }
}

.gallery-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.gallery-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(20, 24, 36, 0.7);
}

.gallery-content {
  position: relative;
  max-width: min(90vw, 900px);
  max-height: 80vh;
  z-index: 10;
}

.gallery-content img {
  height: 100%;
  border-radius: var(--radius-md);
}

.gallery-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background-color: rgba(0, 0, 0, 0.4);
  color: var(--color-white);
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding: 120px min(6vw, 96px) 96px;
  }

  .hero--video {
    min-height: calc(100svh - var(--header-height));
  }

  .hero-layout {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .hero-visual {
    min-height: auto;
    height: auto;
  }

  .hero--video .hero-text {
    max-width: 760px;
  }

  .furniture-content {
    grid-template-columns: 1fr;
  }

  .contacts-card {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 89px;
  }

  section {
    padding: 72px 24px;
  }

  .section-inner {
    width: calc(100% - 32px);
  }

  .site-header {
    padding: 14px 24px;
    flex-wrap: nowrap;
  }

  .site-header .logo {
    flex-shrink: 0;
  }

  .site-header .header-actions {
    margin-left: auto;
  }

  .phone-button {
    font-size: 1rem;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 24px;
    background-color: rgba(20, 24, 36, 0.98);
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius-md);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .site-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .burger {
    display: flex;
  }

  .hero-list {
    grid-template-columns: 1fr;
  }

  .hero--video .hero-list {
    margin-top: 28px;
    margin-bottom: 34px;
  }

  .estimate-content {
    padding: 40px;
  }

  .contacts-card {
    padding: 28px;
  }

  .projects-control {
    display: none;
  }

  .section-header {
    text-align: left;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .card-grid,
  .benefits-grid,
  .team {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 85px;
  }

  section {
    padding: 64px 20px;
  }

  .section-inner {
    width: calc(100% - 24px);
  }

  .site-header {
    padding: 12px 20px;
    flex-wrap: nowrap;
  }

  .site-header .logo {
    order: 1;
    flex-shrink: 0;
  }

  .site-header .header-actions {
    order: 2;
    margin-left: auto;
    gap: 12px;
  }

  .phone-button {
    display: inline-flex;
    font-size: 0.9rem;
    padding: 6px 0;
    order: 1;
  }

  .phone-text {
    font-size: 0.9rem;
  }

  .burger {
    order: 2;
  }

  .site-nav {
    order: 3;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero--video .hero-list {
    margin-top: 24px;
    margin-bottom: 30px;
  }

  .estimate-content {
    padding: 28px;
  }

  .contacts-card {
    padding: 24px;
  }
}

.hero:not(.hero--video)::before,
.hero:not(.hero--video)::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero:not(.hero--video)::before {
  inset: -10% -5% 0 -5%;
  background:
    radial-gradient(circle at 78% -10%, rgba(214, 166, 106, 0.28), transparent 62%),
    radial-gradient(circle at 8% 90%, rgba(255, 183, 118, 0.32), transparent 65%);
  filter: blur(45px);
  opacity: 0.8;
  z-index: 0;
}

.hero:not(.hero--video)::after {
  left: -10%;
  right: -10%;
  bottom: -1px;
  height: 220px;
  background: linear-gradient(180deg, rgba(248, 249, 250, 0) 0%, var(--color-light) 80%);
  z-index: 1;
}

.service-card img,
.difference-card img,
.project-card img {
  transition: transform 0.6s ease;
}

.service-card:hover img,
.difference-card:hover img,
.project-card:hover img {
  transform: scale(1.06);
}

.service-card img,
.difference-card img {
  height: 220px;
  object-fit: cover;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: 0.03em;
}

h3 {
  font-size: 1.2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  color: var(--color-accent);
  opacity: 0.9;
}

.btn {
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-outline {
  border-width: 1.5px;
}

.btn-primary:active,
.btn-outline:active {
  transform: translateY(0);
  box-shadow: none;
}

/* --- Services Page Redesign Styles --- */

/* Services Hero */
.services-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: calc(100svh - var(--header-height));
  padding-top: clamp(96px, 10vh, 160px);
  padding-bottom: clamp(84px, 9vh, 140px);
  position: relative;
  overflow: hidden;
}

.services-hero.hero--video {
  background: transparent;
  color: var(--color-white);
}

.services-hero.hero--video::after {
  display: none;
}

.services-hero.hero--video .section-inner {
  position: relative;
  z-index: 2;
}

.services-hero.hero--video p {
  color: rgba(255, 255, 255, 0.82);
}

.services-hero.hero--video .scroll-indicator {
  color: rgba(255, 255, 255, 0.72);
}

.services-hero.hero--video .scroll-indicator:hover {
  color: var(--color-accent-2);
}

.services-hero h1 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-hero p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  opacity: 0.9;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-gray);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast), transform var(--transition-fast);
  animation: bounce 2s infinite;
}

.scroll-indicator:hover {
  color: var(--color-accent);
  transform: translateX(-50%) translateY(5px);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.remote-overview {
  background: var(--color-white);
}

.remote-intro {
  max-width: 760px;
  margin-bottom: 32px;
}

.remote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.remote-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  background: var(--color-white);
  border: 1px solid rgba(20, 24, 36, 0.05);
  box-shadow: 0 18px 40px rgba(20, 24, 36, 0.05);
}

.remote-number {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-accent);
  min-width: 36px;
}

.remote-item h3 {
  margin-bottom: 8px;
}

.remote-item p {
  margin: 0;
  color: rgba(20, 24, 36, 0.75);
}

/* Services Zigzag Layout */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-row:nth-child(even) {
  direction: rtl;
  /* Simple way to swap columns, but need to reset text direction */
}

.service-row:nth-child(even) .service-content {
  direction: ltr;
}

.service-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 400px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-row:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-content h3 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--color-dark);
}

.service-content p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.service-features li {
  position: relative;
  padding-left: 28px;
  font-weight: 500;
  color: var(--color-dark);
}

.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 16px;
  height: 2px;
  background-color: var(--color-accent);
}

/* Timeline Process */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  margin-top: 64px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(20, 24, 36, 0.08);
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--color-white);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 24px;
  box-shadow: 0 0 0 8px var(--color-light);
  /* Mask the line behind */
}

.step-content h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--color-gray);
}

/* Benefits Icons */
.benefit-icon {
  color: var(--color-accent);
  margin-bottom: 20px;
  display: inline-flex;
  padding: 12px;
  background: rgba(201, 155, 97, 0.1);
  border-radius: 12px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .services-list {
    gap: 80px;
  }

  .service-row {
    gap: 40px;
  }

  .service-image {
    height: 320px;
  }
}

@media (max-width: 768px) {

  .service-row,
  .service-row:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
  }

  .service-image {
    height: 280px;
    order: -1;
    /* Image always on top on mobile */
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline::before {
    width: 2px;
    height: 100%;
    left: 24px;
    top: 0;
  }

  .timeline-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
  }

  .step-number {
    flex-shrink: 0;
    margin-bottom: 0;
  }
}

/* Furniture Page Specific Styles */

.furniture-hero {
  display: flex;
  min-height: 80vh;
  background-color: var(--color-dark);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.furniture-hero-content {
  flex: 1;
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  max-width: 50%;
}

.furniture-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  /* Stronger shadow */
  color: #ffffff;
  /* Explicit white */
}

.furniture-hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 500px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.furniture-hero-image {
  flex: 1;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50%;
}

.furniture-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 24px;
}

.bento-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  color: var(--color-white);
  transition: transform var(--transition-slow);
}

.bento-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
  /* Revert to lighter gradient */
  transition: background var(--transition-fast);
}

.bento-item:hover {
  transform: translateY(-5px);
}

.bento-item:hover::before {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.bento-overlay {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  /* Strong shadow for readability */
}

.bento-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--color-white);
}

.bento-overlay p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  height: 0;
  overflow: hidden;
}

.bento-item:hover .bento-overlay p {
  opacity: 1;
  transform: translateY(0);
  height: auto;
}

.bento-item.large {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-item.tall {
  grid-column: span 1;
  grid-row: span 2;
}

.bento-item.wide {
  grid-column: span 2;
}

/* Dark Process Section */
.dark-process {
  background-color: #1a1e2e;
  color: var(--color-white);
}

.dark-process .section-header h2 {
  color: var(--color-white);
}

.dark-process .eyebrow {
  color: var(--color-accent);
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.process-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.process-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.process-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 1;
  /* Full opacity */
  margin-bottom: 16px;
}

.process-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-white);
  /* Ensure white text */
}

.process-card p {
  color: rgba(255, 255, 255, 0.8);
  /* Lighter text */
  font-size: 0.95rem;
}

/* Material Catalog (New Design) */
.materials-catalog {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.material-sample {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sample-image {
  width: 100%;
  aspect-ratio: 1;
  /* Square */
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.sample-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.material-sample:hover .sample-image img {
  transform: scale(1.05);
}

.sample-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--color-dark);
}

.sample-info p {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.5;
}

/* FAQ Section */
.faq-section {
  background-color: var(--color-light);
}

@media (max-width: 1024px) {
  .materials-catalog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .materials-catalog {
    grid-template-columns: 1fr;
  }
}

/* Responsive Adjustments for Furniture Page */
@media (max-width: 1024px) {
  .furniture-hero h1 {
    font-size: 2.5rem;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
  }

  .bento-item.large,
  .bento-item.wide {
    grid-column: span 2;
  }

  .bento-item.tall {
    grid-column: span 1;
    grid-row: span 1;
    /* Reset tall on tablet */
  }
}

@media (max-width: 768px) {
  .furniture-hero {
    flex-direction: column;
  }

  .furniture-hero-content {
    max-width: 100%;
    padding: 40px 24px;
    order: 2;
  }

  .furniture-hero-image {
    position: relative;
    width: 100%;
    height: 300px;
    order: 1;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .bento-item.large,
  .bento-item.wide,
  .bento-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .process-cards {
    grid-template-columns: 1fr;
  }

  .materials-swatches {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .swatch-circle {
    width: 120px;
    height: 120px;
  }
}

/* About Page Specific Styles */

.about-hero {
  display: flex;
  min-height: 70vh;
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.about-hero-image {
  flex: 1;
  width: 50%;
  position: relative;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-content {
  flex: 1;
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 50%;
  background-color: var(--color-white);
}

.about-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 24px;
  color: var(--color-dark);
}

.about-hero-content p {
  font-size: 1.15rem;
  color: var(--color-gray);
  max-width: 500px;
}

/* Dark Stats Section */
.dark-stats {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 64px 0;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.stat-number {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 24, 36, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast);
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(201, 155, 97, 0.1);
  color: var(--color-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.team-intro {
  max-width: 720px;
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.team-role {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid rgba(20, 24, 36, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.team-role::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  margin-bottom: 4px;
}

.team-role:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.team-role h3 {
  margin: 0;
  font-size: 1.22rem;
}

.team-role p {
  margin: 0;
  color: var(--color-dark);
  line-height: 1.45;
}

.team-role-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
}

.team-role-list li {
  position: relative;
  padding-left: 20px;
  color: var(--color-gray);
}

.team-role-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
}

.team-member {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.member-image {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-info h4 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: var(--color-dark);
}

.member-info p {
  font-size: 0.95rem;
  color: var(--color-accent);
  font-weight: 500;
  margin: 0;
}

/* Responsive Adjustments for About Page */
@media (max-width: 1024px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }

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

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

@media (max-width: 768px) {
  .about-hero {
    flex-direction: column;
  }

  .about-hero-image {
    width: 100%;
    height: 300px;
    order: 1;
  }

  .about-hero-content {
    max-width: 100%;
    padding: 40px 24px;
    order: 2;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}