@import url("./variables.css");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--lh-normal);
  color: var(--color-dark);
  background: var(--color-cream-bg);
  text-rendering: optimizeLegibility;
}

img,
video,
canvas {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(100% - calc(var(--gutter) * 2), var(--max-width));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-py);
}

.section--cream {
  background: var(--color-cream);
}

.section__head {
  display: grid;
  gap: var(--space-3);
  max-width: 760px;
  margin-bottom: var(--space-8);
}

.section__kicker,
.eyebrow {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-gold-mid);
  text-transform: uppercase;
  letter-spacing: 0;
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, var(--text-3xl));
  font-weight: 400;
  line-height: var(--lh-snug);
  color: var(--color-dark);
}

.section__desc {
  margin: 0;
  max-width: 650px;
  color: var(--color-muted);
  font-weight: 300;
  line-height: var(--lh-relaxed);
}

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--color-dark);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 46px;
  padding: 0 var(--space-5);
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-sm);
  color: var(--btn-fg);
  background: var(--btn-bg);
  font-size: var(--text-sm);
  font-weight: 600;
  transition:
    transform var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary,
.btn--gold {
  --btn-bg: var(--color-gold);
  --btn-fg: var(--color-dark);
}

.btn--primary:hover,
.btn--gold:hover {
  --btn-bg: var(--color-gold-light);
}

.btn--ghost {
  --btn-fg: var(--color-white);
  --btn-border: var(--white-40);
}

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

.btn--forest {
  --btn-fg: var(--color-forest);
  --btn-border: var(--color-forest);
}

.btn--forest:hover {
  --btn-bg: var(--color-forest);
  --btn-fg: var(--color-white);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  transition:
    background var(--dur-mid) var(--ease-out),
    box-shadow var(--dur-mid) var(--ease-out);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--color-dark) 88%, transparent);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  color: var(--color-white);
}

.brand {
  display: inline-grid;
  gap: var(--space-1);
  font-weight: 600;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
}

.brand__tag {
  font-size: var(--text-xs);
  color: var(--white-60);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  color: var(--white-80);
  font-size: var(--text-sm);
}

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

.site-header__phone {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 var(--space-4);
  border: 1px solid var(--white-20);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--white-20);
  border-radius: var(--radius-sm);
  background: var(--white-08);
  color: var(--color-white);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  content: "";
}

.menu-toggle span {
  margin-block: 5px;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background: var(--color-dark) url("../images/hero-poster.jpg") center / cover no-repeat;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--no-video .hero__video {
  opacity: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-hero);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(700px, 88vw);
  height: 100%;
  padding-left: 10%;
  color: var(--color-white);
  animation: heroFade var(--dur-hero) var(--ease-out) 0.3s both;
}

.hero__eyebrow {
  margin: 0 0 var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--white-60);
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, var(--text-5xl));
  font-weight: 400;
  color: var(--color-white);
  line-height: var(--lh-tight);
  letter-spacing: 0;
}

.hero__title em {
  color: var(--color-gold);
  font-style: italic;
  font-weight: 300;
}

.hero__desc {
  max-width: 520px;
  margin: var(--space-5) 0 0;
  color: var(--white-80);
  font-size: clamp(17px, 2vw, var(--text-xl));
  font-weight: 300;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.hero__scroll-hint {
  position: absolute;
  right: 10%;
  bottom: var(--space-8);
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: var(--space-2);
  color: var(--white-60);
  font-size: var(--text-xs);
}

.hero__scroll-arrow {
  position: relative;
  width: 12px;
  height: 20px;
  border: 1px solid var(--white-60);
  border-radius: 7px;
}

.hero__scroll-arrow::after {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--color-gold);
  transform: translateX(-50%);
  animation: scrollBounce 1.4s var(--ease-out) infinite;
  content: "";
}

.filters {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.filter-pill {
  min-height: 38px;
  padding: 0 var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-muted);
  font-size: var(--text-sm);
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.filter-pill:hover,
.filter-pill.is-active {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-dark);
}

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

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-cream-mid);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  cursor: pointer;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    opacity 0.25s var(--ease-out);
}

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

.product-card.is-filtered-out {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(100deg, var(--color-cream-mid), var(--color-gold-light), var(--color-cream-mid));
  background-size: 220% 100%;
}

.product-card__media.is-loading {
  animation: shimmer 1.2s linear infinite;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition:
    transform 0.5s var(--ease-out),
    opacity 0.3s var(--ease-out);
}

.product-card__media.is-loaded img {
  opacity: 1;
}

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

.product-card__badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  background: var(--color-gold);
  color: var(--color-dark);
  font-size: 11px;
  font-weight: 600;
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--overlay-hover);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s var(--ease-out),
    transform 0.3s var(--ease-out);
}

.product-card:hover .product-card__overlay {
  opacity: 0.9;
  transform: translateY(0);
}

.overlay-btn {
  min-height: 36px;
  padding: 0 var(--space-3);
  border: 1px solid var(--white-40);
  border-radius: var(--radius-sm);
  background: var(--white-08);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 600;
}

.product-card__body {
  padding: 20px;
}

.product-card__category {
  margin: 0 0 var(--space-1);
  color: var(--color-forest);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

.product-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: var(--lh-snug);
}

.product-card__meta {
  margin: var(--space-1) 0 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.product-card__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 44px;
  margin: var(--space-3) 0 0;
  overflow: hidden;
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: var(--lh-snug);
}

.product-card__price {
  margin: var(--space-4) 0;
  color: var(--color-gold-mid);
  font-size: var(--text-lg);
  font-weight: 600;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-cream-mid);
}

.product-card__link {
  color: var(--color-forest);
  font-size: var(--text-sm);
  font-weight: 600;
}

.product-card__link:hover {
  color: var(--color-gold-mid);
}

.calculator {
  background: var(--color-cream);
}

.wizard {
  max-width: 800px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  transition: max-width var(--dur-mid) var(--ease-out);
}

.wizard.has-live-preview {
  max-width: 1180px;
}

.wizard__body {
  display: grid;
}

.wizard.has-live-preview .wizard__body {
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.82fr);
  gap: var(--space-5);
  align-items: start;
  padding: 0 var(--space-8) var(--space-8);
}

.wizard.has-live-preview .wizard__viewport {
  min-width: 0;
}

.wizard.has-live-preview .wizard-step {
  padding: 0;
}

.wizard .wizard__live-preview {
  display: none;
}

.wizard.has-live-preview .wizard__live-preview {
  position: sticky;
  top: 96px;
  display: grid;
}

.wizard-step[data-step-type="result"] > .viewer-card:not(.wizard__live-preview) {
  display: none;
}

.wizard__intro {
  padding: var(--space-8) var(--space-8) 0;
  text-align: center;
}

.wizard__intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  line-height: var(--lh-snug);
}

.wizard__intro p {
  margin: var(--space-2) 0 0;
  color: var(--color-muted);
}

.stepbar {
  display: grid;
  grid-template-columns: repeat(var(--step-count, 3), 1fr);
  gap: var(--space-4);
  padding: var(--space-8) var(--space-8) var(--space-5);
}

.stepbar__item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: var(--space-2);
  color: var(--color-muted);
}

.stepbar__item:not(:last-child)::after {
  position: absolute;
  top: 16px;
  left: calc(50% + 22px);
  width: calc(100% - 44px);
  height: 1px;
  background: var(--color-cream-mid);
  content: "";
}

.stepbar__circle {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-muted);
  font-size: var(--text-sm);
  font-weight: 600;
}

.stepbar__label {
  font-size: var(--text-xs);
  font-weight: 600;
}

.stepbar__item.is-active .stepbar__circle {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-white);
}

.stepbar__item.is-complete .stepbar__circle {
  border-color: var(--color-forest);
  background: var(--color-forest);
  color: var(--color-white);
}

.wizard__viewport {
  position: relative;
}

.wizard-step {
  display: none;
  padding: 0 var(--space-8) var(--space-8);
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.3s var(--ease-out),
    transform 0.3s var(--ease-out);
}

.wizard-step.is-active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.wizard-step__head {
  display: grid;
  gap: var(--space-1);
  margin-bottom: var(--space-5);
}

.wizard-step__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
}

.wizard-step__head p {
  margin: 0;
  color: var(--color-muted);
}

.range-panel {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: var(--space-5);
  align-items: center;
}

.range-wrap {
  display: grid;
  gap: var(--space-3);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.sqm-slider {
  width: 100%;
  height: 8px;
  appearance: none;
  border-radius: var(--radius-full);
  background:
    linear-gradient(
      90deg,
      var(--color-gold) 0 var(--slider-progress, 24%),
      var(--color-cream-mid) var(--slider-progress, 24%) 100%
    );
}

.sqm-slider::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  appearance: none;
  border: 3px solid var(--color-white);
  border-radius: var(--radius-full);
  background: var(--color-gold);
  box-shadow: var(--shadow-md);
}

.sqm-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 3px solid var(--color-white);
  border-radius: var(--radius-full);
  background: var(--color-gold);
  box-shadow: var(--shadow-md);
}

.sqm-display {
  display: grid;
  place-items: center;
  min-height: 136px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-cream-bg);
  color: var(--color-gold-mid);
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
}

.sqm-display small {
  display: block;
  margin-top: var(--space-1);
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: var(--text-sm);
}

.size-previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.size-card {
  display: grid;
  gap: var(--space-2);
  justify-items: center;
  padding: var(--space-4);
  border: 1px solid var(--color-cream-mid);
  border-radius: var(--radius-lg);
  background: var(--color-cream-bg);
  color: var(--color-muted);
  text-align: center;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.size-card.is-active {
  border-color: var(--color-gold);
  color: var(--color-dark);
  transform: translateY(-2px);
}

.size-card__house {
  position: relative;
  width: 58px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--color-gold-light);
}

.size-card__house::before {
  position: absolute;
  right: 8px;
  bottom: 100%;
  left: 8px;
  height: 24px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--color-gold-mid);
  content: "";
}

.size-card[data-size="orta"] .size-card__house {
  width: 72px;
}

.size-card[data-size="buyuk"] .size-card__house {
  width: 88px;
}

.feature-grid,
.quality-grid {
  display: grid;
  gap: var(--space-3);
}

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

.radio-card,
.feature-check {
  position: relative;
  display: grid;
  gap: var(--space-2);
  min-height: 142px;
  padding: var(--space-4);
  border: 1px solid var(--color-cream-mid);
  border-radius: var(--radius-lg);
  background: var(--color-cream-bg);
  color: var(--color-dark);
  transition:
    border-color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.radio-card input,
.feature-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card svg {
  width: 28px;
  height: 28px;
  color: var(--color-forest);
}

.radio-card strong,
.feature-check strong {
  font-size: var(--text-sm);
}

.radio-card small {
  color: var(--color-muted);
  font-size: var(--text-xs);
  line-height: var(--lh-snug);
}

.radio-card span {
  color: var(--color-gold-mid);
  font-size: var(--text-xs);
  font-weight: 600;
}

.radio-card:has(input:checked) {
  border-color: var(--color-gold);
  border-left-width: 5px;
  background: var(--color-white);
}

.radio-card:has(input[value="ekonomi"]) svg {
  color: var(--color-muted);
}

.radio-card:has(input[value="ekonomi"]:checked) {
  border-color: #a89880;
  background: linear-gradient(135deg, #fafaf6 0%, #f0ece2 100%);
}

.radio-card:has(input[value="standart"]) svg {
  color: var(--color-forest);
}

.radio-card:has(input[value="standart"]:checked) {
  border-color: var(--color-forest);
  background: linear-gradient(135deg, #fafcf8 0%, #eef4ea 100%);
}

.radio-card:has(input[value="premium"]) svg {
  color: #b8860b;
}

.radio-card:has(input[value="premium"]:checked) {
  border-color: #b8860b;
  background: linear-gradient(135deg, #fffdf6 0%, #faf3e0 100%);
}

.radio-card:has(input[value="luks"]) svg {
  color: #1a1a1a;
}

.radio-card:has(input[value="luks"]:checked) {
  border-color: #1a1a1a;
  background: linear-gradient(135deg, #fefefe 0%, #f5f0e8 100%);
  box-shadow: 0 4px 24px rgba(26, 26, 26, 0.12);
}

.radio-card:has(input[value="luks"]) span {
  color: #b8860b;
  font-weight: 700;
}

.room-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--color-cream-bg);
}

.room-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.stepper-btn,
.room-dot {
  display: grid;
  place-items: center;
  min-width: 58px;
  height: 36px;
  padding-inline: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-dark);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.room-dot:hover,
.room-dot:focus-visible {
  border-color: var(--color-gold);
  transform: translateY(-1px);
}

.room-dot.is-active {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-white);
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--space-5);
}

.feature-check {
  min-height: auto;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
}

.feature-check__box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-white);
}

.feature-check:has(input:checked) {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-white);
}

.feature-check:has(input:checked) .feature-check__box {
  border-color: var(--color-white);
  background: var(--color-white);
  color: var(--color-gold-mid);
}

.feature-check em {
  color: var(--color-gold-mid);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: 600;
}

.feature-check:has(input:checked) em {
  color: var(--color-white);
}

.custom-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.option-card {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: var(--space-3);
  align-items: center;
  min-height: 92px;
  padding: var(--space-4);
  border: 1px solid var(--color-cream-mid);
  border-radius: var(--radius-lg);
  background: var(--color-cream-bg);
  transition:
    border-color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card__check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-white);
}

.option-card strong,
.option-card small {
  display: block;
}

.option-card small {
  margin-top: var(--space-1);
  color: var(--color-muted);
  font-size: var(--text-xs);
  line-height: var(--lh-snug);
}

.option-card em {
  color: var(--color-gold-mid);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 600;
}

.option-card:has(input:checked) {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-white);
}

.option-card:has(input:checked) .option-card__check {
  border-color: var(--color-white);
  background: var(--color-white);
  color: var(--color-gold-mid);
}

.option-card:has(input:checked) small,
.option-card:has(input:checked) em {
  color: var(--color-white);
}

.empty-options {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-5);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-cream-bg);
  color: var(--color-muted);
}

.result-price {
  margin: 0;
  color: var(--color-gold-mid);
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 48px);
  font-weight: 400;
  line-height: var(--lh-tight);
  text-align: center;
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: var(--space-5);
  align-items: start;
}

.breakdown {
  margin: var(--space-6) 0;
  border-radius: var(--radius-lg);
  background: var(--color-cream-bg);
}

.breakdown__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px dashed var(--color-border);
  color: var(--color-muted);
}

.breakdown__row:last-child {
  border-bottom: 0;
  color: var(--color-dark);
  font-weight: 600;
}

.quote-box {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white-soft);
}

.quote-box h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.field {
  display: grid;
  gap: var(--space-1);
}

.field label {
  color: var(--color-muted);
  font-size: var(--text-xs);
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-dark);
  padding: 0 var(--space-3);
}

.field textarea {
  min-height: 110px;
  padding-block: var(--space-3);
  resize: vertical;
}

.wizard__actions,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.viewer-card {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-cream-bg);
}

.viewer-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

.viewer-card__head h3 {
  margin: var(--space-1) 0 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: var(--lh-snug);
}

.viewer-icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-gold-mid);
}

.house-viewer {
  position: relative;
  width: 100%;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--color-cream-mid);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, var(--color-white) 0%, var(--color-cream-bg) 58%, var(--color-gold-light) 100%);
  cursor: grab;
  touch-action: none;
  overscroll-behavior: contain;
  user-select: none;
}

.house-viewer:active {
  cursor: grabbing;
}

.house-viewer canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.viewer-zoom-controls {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
  display: grid;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--white-60);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-white) 78%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.viewer-zoom-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-cream-mid);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-dark);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(26, 14, 0, 0.08);
  transition:
    transform var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out);
}

.viewer-zoom-btn:hover {
  transform: translateY(-1px);
  border-color: var(--color-gold);
  background: var(--color-dark);
  color: var(--color-gold);
}

.viewer-zoom-btn:active {
  transform: scale(0.94);
}

.viewer-zoom-btn:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
  border-color: var(--color-cream-mid);
  background: var(--color-white);
  color: var(--color-muted);
}

.house-viewer__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: var(--space-1);
  color: var(--color-muted);
  text-align: center;
}

.house-viewer.is-ready .house-viewer__fallback {
  display: none;
}

.viewer-stats,
.viewer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.viewer-stats span,
.viewer-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-muted);
  font-size: var(--text-xs);
  font-weight: 600;
}

.viewer-stats strong {
  color: var(--color-dark);
}

.toast-stack {
  position: fixed;
  right: var(--space-5);
  bottom: var(--space-5);
  z-index: 40;
  display: grid;
  gap: var(--space-2);
}

.toast {
  min-width: 220px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.25s var(--ease-out) both;
}

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

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  display: grid;
  justify-items: center;
  gap: var(--space-2);
  padding: var(--space-6);
  text-align: center;
}

.proof-item + .proof-item {
  border-left: 1px solid var(--white-15);
}

.proof-number {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 56px);
  line-height: 1;
}

.proof-label {
  color: var(--white-60);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

.masonry {
  columns: 3 280px;
  column-gap: var(--space-4);
}

.project-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 var(--space-4);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-dark);
}

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

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

.project-card::after {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--color-dark) 70%, transparent);
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out);
  content: "";
}

.project-card:hover::after {
  opacity: 1;
}

.project-card__info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: grid;
  gap: var(--space-1);
  padding: var(--space-5);
  color: var(--color-white);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--dur-mid) var(--ease-out),
    transform var(--dur-mid) var(--ease-out);
}

.project-card:hover .project-card__info {
  opacity: 1;
  transform: translateY(0);
}

.project-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
}

.project-card__meta {
  color: var(--white-80);
  font-size: var(--text-sm);
}

.project-card__link {
  margin-top: var(--space-2);
  color: var(--color-gold);
  font-weight: 600;
}

.testimonials {
  overflow: hidden;
}

.testimonial-card {
  position: relative;
  min-height: 300px;
  padding: var(--space-6);
  border: 1px solid var(--color-cream-mid);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.testimonial-card::before {
  position: absolute;
  top: var(--space-3);
  right: var(--space-5);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  opacity: 0.15;
  content: "“";
}

.stars {
  display: flex;
  gap: var(--space-1);
  color: var(--color-gold);
}

.stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-card blockquote {
  margin: var(--space-5) 0;
  color: var(--color-muted);
  font-style: italic;
  line-height: var(--lh-relaxed);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-gold-light);
  color: var(--color-dark);
  font-weight: 600;
}

.testimonial-author strong,
.testimonial-author span {
  display: block;
}

.testimonial-author span {
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.slider-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.slider-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-gold-mid);
}

.swiper-pagination-bullet-active {
  background: var(--color-gold);
}

.faq-list {
  max-width: 860px;
  margin-inline: auto;
  border-top: 1px solid var(--color-cream-mid);
}

.faq-item {
  border-bottom: 1px solid var(--color-cream-mid);
  transition: background var(--dur-fast) var(--ease-out);
}

.faq-item.is-open {
  background: var(--color-cream);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--space-4);
  padding: 20px;
  border: 0;
  background: transparent;
  color: var(--color-dark);
  text-align: left;
  font-weight: 600;
}

.faq-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--color-gold-mid);
  font-size: var(--text-xl);
  transition: transform var(--dur-fast) var(--ease-out);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height var(--dur-mid) var(--ease-out);
}

.faq-answer__inner {
  padding: 0 20px 20px;
  color: var(--color-muted);
  line-height: var(--lh-relaxed);
}

.site-footer {
  padding: var(--space-10) 0;
  background: var(--color-dark);
  color: var(--white-80);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-8);
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 var(--space-3);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 400;
}

.footer-grid p {
  margin: 0 0 var(--space-2);
}

.footer-link {
  color: var(--color-gold);
  font-weight: 600;
}

.seo-page {
  background: var(--color-cream-bg);
}

.seo-hero,
.blog-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 520px;
  padding-top: 110px;
  overflow: hidden;
  background: var(--color-dark);
  color: var(--color-white);
}

.seo-hero__bg,
.blog-hero__visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 26, 26, 0.84), rgba(26, 26, 26, 0.46)),
    url("../images/hero-poster.jpg") center / cover no-repeat;
}

.blog-hero__visual span {
  position: absolute;
  right: var(--space-8);
  bottom: var(--space-8);
  max-width: 300px;
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-size: clamp(46px, 8vw, 96px);
  line-height: 0.92;
}

.seo-hero__inner,
.blog-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-4);
  max-width: 860px;
  padding-block: var(--space-10);
}

.seo-hero h1,
.blog-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 400;
  line-height: var(--lh-tight);
}

.seo-hero p,
.blog-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--white-80);
  font-size: var(--text-lg);
  line-height: var(--lh-relaxed);
}

.seo-grid,
.blog-grid,
.blog-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.seo-info-card,
.blog-info-card,
.blog-card {
  position: relative;
  min-width: 0;
  padding: var(--space-5);
  border: 1px solid var(--color-cream-mid);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.seo-info-card::before,
.blog-info-card::before,
.blog-card::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-forest));
  content: "";
}

.seo-info-card span,
.blog-info-card span,
.blog-card__tag {
  color: var(--color-gold-mid);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
}

.seo-info-card p,
.blog-info-card p,
.blog-card p {
  margin: var(--space-3) 0 0;
  color: var(--color-muted);
  line-height: var(--lh-relaxed);
}

.blog-card {
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

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

.blog-card h2 {
  margin: var(--space-3) 0 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: var(--lh-snug);
}

.blog-card small,
.blog-hero time {
  display: inline-flex;
  margin-top: var(--space-4);
  color: var(--color-gold-mid);
  font-size: var(--text-xs);
  font-weight: 700;
}

.blog-index {
  position: relative;
  overflow: hidden;
}

.blog-index::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(245, 240, 232, 0.72), transparent 38%),
    radial-gradient(circle at 12% 12%, rgba(200, 169, 122, 0.18), transparent 34%),
    radial-gradient(circle at 88% 22%, rgba(74, 103, 65, 0.12), transparent 30%);
  content: "";
}

.blog-feature-card {
  margin-bottom: var(--space-6);
  border: 1px solid var(--color-cream-mid);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.blog-feature-card a {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 360px;
}

.blog-feature-card__visual,
.blog-card__visual {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100%;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(26, 26, 26, 0.12), rgba(26, 26, 26, 0.76)),
    url("../images/ref-atakum.jpg") center / cover no-repeat;
}

.blog-feature-card__visual::after,
.blog-card__visual::after {
  position: absolute;
  inset: auto -20% -35% auto;
  width: 62%;
  aspect-ratio: 1;
  border-radius: var(--radius-full);
  background: rgba(200, 169, 122, 0.28);
  content: "";
}

.blog-feature-card__visual span,
.blog-card__visual span {
  position: relative;
  z-index: 1;
  max-width: 340px;
  padding: var(--space-5);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 54px);
  line-height: 0.96;
}

.blog-feature-card__body {
  display: grid;
  align-content: center;
  gap: var(--space-3);
  padding: var(--space-8);
}

.blog-feature-card__body small,
.blog-feature-card__body em {
  color: var(--color-gold-mid);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-feature-card__body h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 400;
  line-height: var(--lh-tight);
}

.blog-feature-card__body p {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-lg);
  line-height: var(--lh-relaxed);
}

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

.blog-card--rich {
  padding: 0;
  overflow: hidden;
}

.blog-card--rich::before {
  display: none;
}

.blog-card--rich a {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 260px;
}

.blog-card__visual {
  min-height: 260px;
  background:
    linear-gradient(150deg, rgba(74, 103, 65, 0.12), rgba(26, 26, 26, 0.72)),
    url("../images/hero-poster.jpg") center / cover no-repeat;
}

.blog-card__visual span {
  padding: var(--space-4);
  font-size: clamp(24px, 4vw, 36px);
}

.blog-card__body {
  display: grid;
  align-content: center;
  padding: var(--space-5);
}

.blog-card--rich h2 {
  font-size: clamp(28px, 4vw, 36px);
}

.seo-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: var(--space-8);
  align-items: center;
}

.seo-check-list {
  display: grid;
  gap: var(--space-3);
}

.seo-check-list span,
.seo-check-list a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 52px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-cream-mid);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-dark);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.seo-check-list span::before,
.seo-check-list a::before {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--color-gold);
  color: var(--color-dark);
  font-size: 13px;
  content: "✓";
}

.blog-article {
  display: grid;
  gap: var(--space-6);
  max-width: 880px;
}

.blog-article section {
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-cream-mid);
}

.blog-article h2 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 400;
  line-height: var(--lh-snug);
}

.blog-article p {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-lg);
  line-height: var(--lh-relaxed);
}

.seo-cta-band {
  background: var(--color-dark);
  color: var(--color-white);
}

.seo-cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.seo-cta-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
}

.seo-cta-band p {
  margin: var(--space-1) 0 0;
  color: var(--white-80);
}

.contact-float {
  position: fixed;
  right: var(--space-5);
  bottom: var(--space-5);
  z-index: 35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 58px;
  padding: 0 var(--space-5) 0 var(--space-3);
  border: 1px solid color-mix(in srgb, var(--color-gold) 36%, transparent);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-forest), var(--color-forest-dk));
  color: var(--color-white);
  box-shadow: 0 16px 38px rgba(26, 26, 26, 0.22), 0 0 0 7px rgba(74, 103, 65, 0.12);
  font-size: var(--text-sm);
  font-weight: 700;
  animation: contactNudge 7s var(--ease-out) infinite;
}

.contact-float:hover {
  animation: none;
  transform: translateY(-2px);
}

.contact-float__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--white-15);
  color: var(--color-gold-light);
}

.contact-float svg,
.mobile-contact-bar svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.mobile-contact-bar {
  position: fixed;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  left: 10px;
  z-index: 35;
  display: none;
  height: 66px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-gold) 34%, transparent);
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--color-dark) 92%, var(--color-gold)), var(--color-dark)),
    var(--color-dark);
  box-shadow:
    0 18px 48px rgba(26, 26, 26, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  animation: mobileBarRise 0.55s var(--ease-spring) both;
}

.mobile-contact-bar::before {
  position: absolute;
  inset: 0 12px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-gold) 72%, transparent), transparent);
  content: "";
}

.mobile-contact-bar__item {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex: 1 1 50%;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 58px;
  gap: 10px;
  overflow: hidden;
  border-radius: 14px;
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 700;
  transition:
    transform var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}

.mobile-contact-bar__item::before {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.2), transparent 58%);
  transition: opacity var(--dur-fast) var(--ease-out);
  content: "";
}

.mobile-contact-bar__item:hover::before {
  opacity: 1;
}

.mobile-contact-bar__item:active {
  transform: scale(0.97);
}

.mobile-contact-bar__item span {
  position: relative;
  z-index: 1;
  line-height: 1;
  white-space: nowrap;
}

.mobile-contact-bar__item--phone {
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-dark) 88%, var(--color-gold)), var(--color-dark-hover));
}

.mobile-contact-bar__item--phone svg {
  padding: 9px;
  border: 1px solid color-mix(in srgb, var(--color-gold) 45%, transparent);
  border-radius: var(--radius-full);
  background: rgba(200, 169, 122, 0.12);
  color: var(--color-gold);
  box-sizing: content-box;
}

.mobile-contact-bar__item--whatsapp {
  background: linear-gradient(135deg, var(--color-forest), var(--color-forest-dk));
}

.mobile-contact-bar__item--whatsapp::after {
  position: absolute;
  inset: -30% auto -30% -45%;
  z-index: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: skewX(-18deg);
  animation: mobileContactSweep 5.8s var(--ease-out) infinite;
  content: "";
}

.mobile-contact-bar__item--whatsapp svg {
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-gold-light);
  box-sizing: content-box;
  animation: mobileIconBeat 4.6s var(--ease-out) infinite;
}

.mobile-contact-bar__item svg {
  position: relative;
  z-index: 1;
}

.mobile-contact-bar__item + .mobile-contact-bar__item {
  margin-left: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

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

@keyframes heroFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 6px);
  }
}

@keyframes shimmer {
  to {
    background-position: -220% 0;
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contactNudge {
  0%,
  84%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0);
  }

  87% {
    transform: translate3d(-2px, 0, 0) rotate(-2deg);
  }

  90% {
    transform: translate3d(2px, 0, 0) rotate(2deg);
  }

  93% {
    transform: translate3d(-1px, 0, 0) rotate(-1deg);
  }

  96% {
    transform: translate3d(1px, 0, 0) rotate(1deg);
  }
}

@keyframes mobileBarRise {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mobileIconBeat {
  0%,
  76%,
  100% {
    transform: scale(1);
  }

  82% {
    transform: scale(1.08);
  }

  88% {
    transform: scale(0.96);
  }

  94% {
    transform: scale(1.04);
  }
}

@keyframes mobileContactSweep {
  0%,
  72% {
    left: -45%;
    opacity: 0;
  }

  78% {
    opacity: 1;
  }

  92%,
  100% {
    left: 112%;
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .wizard.has-live-preview {
    max-width: 800px;
  }

  .wizard.has-live-preview .wizard__body {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .wizard.has-live-preview .wizard-step {
    padding: 0 var(--space-8) var(--space-8);
  }

  .wizard.has-live-preview .wizard__live-preview {
    position: relative;
    top: auto;
    margin: 0 var(--space-8) var(--space-8);
  }

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

  .blog-feature-card a,
  .blog-card--rich a {
    grid-template-columns: 1fr;
  }

  .blog-feature-card__visual {
    min-height: 280px;
  }

  .seo-split,
  .seo-cta-band__inner {
    grid-template-columns: 1fr;
  }

  .seo-cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

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

  .proof-item:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  .section {
    padding-block: var(--section-py-sm);
  }

  .seo-hero,
  .blog-hero {
    min-height: 500px;
  }

  .seo-hero__inner,
  .blog-hero__inner {
    padding-block: var(--space-8);
  }

  .seo-grid,
  .blog-grid,
  .blog-info-grid,
  .blog-grid--magazine,
  .seo-split {
    grid-template-columns: 1fr;
  }

  .blog-feature-card__body {
    padding: var(--space-5);
  }

  .blog-card__visual {
    min-height: 220px;
  }

  .contact-float {
    display: none;
  }

  .mobile-contact-bar {
    display: flex;
  }

  .toast-stack {
    right: var(--space-3);
    bottom: calc(102px + env(safe-area-inset-bottom));
    left: var(--space-3);
  }

  .toast {
    min-width: 0;
  }

  .site-header__inner {
    min-height: 66px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    right: var(--gutter);
    left: var(--gutter);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    border: 1px solid var(--white-15);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-dark) 94%, transparent);
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-header__phone {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero__content {
    width: auto;
    padding: 20px;
  }

  .hero__title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .hero__scroll-hint {
    right: 20px;
    bottom: 24px;
  }

  .range-panel,
  .form-grid,
  .footer-grid,
  .result-layout {
    grid-template-columns: 1fr;
  }

  .stepbar,
  .wizard__intro,
  .wizard-step {
    padding-inline: var(--space-5);
  }

  .wizard.has-live-preview {
    display: flex;
    flex-direction: column;
  }

  .wizard.has-live-preview .wizard__intro {
    order: 1;
  }

  .wizard.has-live-preview .wizard__body {
    display: contents;
  }

  .wizard.has-live-preview .wizard__live-preview {
    order: 2;
    margin: var(--space-5) var(--space-5) 0;
  }

  .wizard.has-live-preview .stepbar {
    order: 3;
    padding-top: var(--space-4);
  }

  .wizard.has-live-preview .wizard__viewport {
    order: 4;
    overflow-anchor: none;
  }

  .wizard.has-live-preview .wizard-step {
    padding-inline: var(--space-5);
  }

  .proof-grid,
  .size-previews,
  .feature-grid,
  .custom-option-grid {
    grid-template-columns: 1fr;
  }

  .size-previews {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-2);
  }

  .size-card {
    min-width: 0;
    gap: 6px;
    padding: var(--space-3) var(--space-2);
    cursor: pointer;
  }

  .size-card:focus-visible {
    outline: 3px solid var(--color-gold-light);
    outline-offset: 3px;
  }

  .size-card strong,
  .size-card small {
    white-space: nowrap;
  }

  .size-card strong {
    font-size: var(--text-sm);
  }

  .size-card small {
    font-size: 11px;
  }

  .size-card__house {
    width: 42px;
    max-width: 100%;
    height: 28px;
  }

  .size-card__house::before {
    right: 6px;
    left: 6px;
    height: 17px;
  }

  .size-card[data-size="orta"] .size-card__house {
    width: 50px;
  }

  .size-card[data-size="buyuk"] .size-card__house {
    width: 58px;
  }

  .proof-item + .proof-item {
    border-left: 0;
    border-top: 1px solid var(--white-15);
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions,
  .wizard__actions,
  .quote-actions {
    flex-direction: column;
  }

  .hero__actions .btn,
  .wizard__actions .btn,
  .quote-actions .btn {
    width: 100%;
  }

  .room-control {
    align-items: flex-start;
    flex-direction: column;
  }

  .room-buttons {
    justify-content: flex-start;
    width: 100%;
  }

  .room-dot {
    flex: 1 1 calc(50% - var(--space-2));
    min-width: 0;
  }
}

@media (max-width: 340px) {
  .size-previews {
    gap: 6px;
  }

  .size-card {
    padding-inline: var(--space-1);
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
