:root {
  --ink: #0c1620;
  --ink-soft: #1a2a38;
  --paper: #f3efe6;
  --paper-2: #e8e1d4;
  --accent: #ff5a1f;
  --accent-2: #00b4a0;
  --line: rgba(12, 22, 32, 0.12);
  --shadow: 0 18px 50px rgba(12, 22, 32, 0.14);
  --radius: 18px;
  --font: "Outfit", sans-serif;
  --display: "Syne", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 90, 31, 0.12), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(0, 180, 160, 0.12), transparent 50%),
    linear-gradient(180deg, #f7f3eb 0%, var(--paper) 40%, #efe8db 100%);
  min-height: 100vh;
  line-height: 1.5;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(243, 239, 230, 0.82);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.logo__img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(12, 22, 32, 0.18);
  background: #0a1630;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 0.12rem;
}

.logo__name {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.logo__tag {
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.logo--footer {
  margin-bottom: 0.35rem;
}

.logo--footer .logo__img {
  width: 44px;
  height: 44px;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--accent);
}

.cart-btn {
  position: relative;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
}

.cart-btn__count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* HERO */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 5rem 0 4.5rem;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__grid-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(12, 22, 32, 0.92) 0%, rgba(26, 42, 56, 0.75) 45%, rgba(255, 90, 31, 0.35) 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 47px,
      rgba(255, 255, 255, 0.04) 47px,
      rgba(255, 255, 255, 0.04) 48px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 47px,
      rgba(255, 255, 255, 0.04) 47px,
      rgba(255, 255, 255, 0.04) 48px
    );
}

.hero__boxes {
  position: absolute;
  inset: 0;
}

.float-box {
  position: absolute;
  width: clamp(72px, 10vw, 110px);
  height: clamp(72px, 10vw, 110px);
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #fff;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}

.float-box--1 {
  top: 18%;
  right: 12%;
  background: var(--accent);
  animation-delay: 0s;
}

.float-box--2 {
  top: 42%;
  right: 28%;
  background: var(--accent-2);
  animation-delay: 0.8s;
}

.float-box--3 {
  top: 28%;
  right: 42%;
  background: #2d6cdf;
  animation-delay: 1.4s;
}

.float-box--4 {
  bottom: 22%;
  right: 18%;
  background: #f0b429;
  color: var(--ink);
  animation-delay: 0.4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(3deg);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 640px;
  animation: rise 0.9s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-signal-logo {
  width: clamp(84px, 14vw, 120px);
  height: clamp(84px, 14vw, 120px);
  border-radius: 22px;
  object-fit: cover;
  margin: 0 0 0.85rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  animation: rise 0.9s ease both;
}

.brand-signal {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.1rem, 6vw, 3.8rem);
  letter-spacing: -0.05em;
  margin: 0 0 0.6rem;
  line-height: 0.95;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  max-width: 18ch;
}

.hero__sub {
  margin: 1rem 0 1.75rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 42ch;
  font-size: 1.05rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* BUTTONS */
.btn {
  appearance: none;
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 90, 31, 0.28);
}

.btn--primary:hover {
  background: #ef4a10;
}

.btn--accent {
  background: var(--ink);
  color: #fff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn--block {
  width: 100%;
}

/* SECTIONS */
.section {
  padding: 4.5rem 0;
}

.section--soft {
  background: rgba(255, 255, 255, 0.35);
  border-block: 1px solid var(--line);
}

.section__head {
  margin-bottom: 1.75rem;
}

.section__head--row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.section__head h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}

.section__head p {
  margin: 0;
  color: var(--ink-soft);
}

/* CATEGORY GRID */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.cat-box {
  border: none;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius);
  padding: 1.25rem;
  min-height: 150px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(12, 22, 32, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: rise 0.7s ease both;
}

.cat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cat-box__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  font-family: var(--display);
}

.cat-box h3 {
  margin: 1rem 0 0.2rem;
  font-size: 1.05rem;
}

.cat-box p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* FILTERS + PRODUCTS */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-weight: 550;
  cursor: pointer;
  color: var(--ink-soft);
}

.chip.is-active,
.chip:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(12, 22, 32, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: rise 0.75s ease both;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-card__media {
  aspect-ratio: 1.15 / 1;
  display: grid;
  place-items: center;
  position: relative;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.04em;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(12, 22, 32, 0.85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 650;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
}

.product-card__body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.product-card__cat {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  font-weight: 650;
}

.product-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.product-card__desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  flex: 1;
}

.product-card__foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.price {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.price-old {
  display: block;
  color: #8a93a0;
  text-decoration: line-through;
  font-size: 0.85rem;
  font-weight: 500;
}

.product-card__actions {
  display: flex;
  gap: 0.4rem;
}

.icon-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.icon-btn--buy {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* CALC */
.calc-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
  background: #fff;
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: 0 12px 40px rgba(12, 22, 32, 0.08);
}

.calc-panel__form {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.calc-panel__form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.calc-panel__form input,
.calc-panel__form select,
.install-select select,
.modal__body select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: #faf8f3;
}

.calc-panel__result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  align-content: start;
}

.result-card {
  background: var(--paper);
  border-radius: 14px;
  padding: 1rem;
}

.result-card__label {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 0.25rem;
}

.result-card strong {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.schedule {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.schedule li {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.schedule li:last-child {
  border-bottom: none;
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 8px 28px rgba(12, 22, 32, 0.06);
}

.step__num {
  font-family: var(--display);
  font-weight: 800;
  color: var(--accent);
  font-size: 1.4rem;
}

.step h3 {
  margin: 0.5rem 0 0.35rem;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: rgba(12, 22, 32, 0.03);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.footer p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.footer__copy {
  font-size: 0.9rem;
}

.footer__credit {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer__credit a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.footer__credit a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* MODAL */
.modal {
  border: none;
  padding: 0;
  border-radius: 22px;
  width: min(860px, calc(100% - 1.5rem));
  background: transparent;
  max-height: calc(100vh - 2rem);
}

.modal::backdrop {
  background: rgba(12, 22, 32, 0.55);
}

.modal__inner {
  background: #fff;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.modal__media {
  min-height: 280px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 800;
}

.modal__body {
  padding: 1.4rem 1.3rem 1.5rem;
}

.modal__cat {
  margin: 0;
  color: var(--accent-2);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 650;
}

.modal__body h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.35rem;
}

.feature-list {
  margin: 0.75rem 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.modal__price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-top: 0.75rem;
}

.install-select {
  display: grid;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 120px;
}

.modal__install-hint {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

/* DRAWER */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.drawer.is-open {
  pointer-events: auto;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 22, 32, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.drawer.is-open .drawer__backdrop {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100%;
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__head,
.drawer__foot {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer__foot {
  border-bottom: none;
  border-top: 1px solid var(--line);
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.drawer__head h3 {
  margin: 0;
}

.drawer__list {
  flex: 1;
  overflow: auto;
  padding: 0.75rem 1.1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-item__swatch {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-family: var(--display);
}

.cart-item h4 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
}

.cart-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.cart-item__remove {
  border: none;
  background: transparent;
  color: #9aa3ad;
  cursor: pointer;
  font-size: 1.2rem;
}

.drawer__total {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
}

.cart-empty {
  color: var(--ink-soft);
  text-align: center;
  padding: 2rem 0.5rem;
}

.toast-dialog {
  border: none;
  border-radius: 18px;
  padding: 0;
  width: min(420px, calc(100% - 1.5rem));
}

.toast-dialog::backdrop {
  background: rgba(12, 22, 32, 0.5);
}

.toast-dialog__box {
  padding: 1.5rem;
  background: #fff;
  border-radius: 18px;
  text-align: center;
}

.toast-dialog__box h3 {
  margin: 0 0 0.5rem;
}

.toast-dialog__box p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
}

/* ACCOUNT / AUTH */
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn--ghost-dark {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.account-menu {
  position: relative;
}

.account-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0.35rem 0.7rem 0.35rem 0.35rem;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.account-btn__avatar {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.account-btn__name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
}

.account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.4rem;
  z-index: 50;
  display: grid;
  gap: 0.2rem;
}

.account-dropdown a,
.account-dropdown button {
  border: none;
  background: transparent;
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.account-dropdown a:hover,
.account-dropdown button:hover {
  background: var(--paper);
}

.auth-modal {
  border: none;
  padding: 0;
  border-radius: 20px;
  width: min(440px, calc(100% - 1.5rem));
  background: transparent;
}

.auth-modal::backdrop {
  background: rgba(12, 22, 32, 0.55);
}

.auth-modal__box {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 1.4rem 1.3rem 1.5rem;
}

.auth-modal__box h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
}

.auth-modal__hint {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.auth-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.auth-form {
  display: grid;
  gap: 0.75rem;
}

.auth-form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.auth-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: #faf8f3;
}

.auth-msg {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.auth-msg.is-error {
  background: #ffe8e0;
  color: #9b2c0e;
}

.auth-msg.is-ok {
  background: #e4f7f3;
  color: #0b6b5c;
}

.link-btn {
  border: none;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.muted {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  background: var(--paper-2);
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--ink-soft);
}

.badge-soft.is-ok {
  background: #d8f3ec;
  color: #0b6b5c;
}

/* PROFILE */
.profile-page {
  padding-top: 2.5rem;
}

.profile-title {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.profile-gate__card {
  background: #fff;
  border-radius: 22px;
  padding: 2rem 1.5rem;
  box-shadow: 0 12px 40px rgba(12, 22, 32, 0.08);
  max-width: 560px;
}

.profile-gate__card h1 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
}

.profile-gate__card p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
}

.profile-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1.1rem;
  align-items: start;
}

.profile-card,
.purchase-card,
.stat-box {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(12, 22, 32, 0.06);
}

.profile-card {
  padding: 1.2rem;
}

.profile-card__head {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1rem;
}

.profile-card__head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
}

.verify-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.stat-box {
  padding: 1rem;
}

.stat-box span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}

.stat-box strong {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.purchase-list {
  display: grid;
  gap: 0.9rem;
}

.purchase-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  padding: 1rem;
}

.purchase-card__swatch {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
}

.purchase-card__top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
}

.purchase-card__top h3 {
  margin: 0;
  font-size: 1.05rem;
}

.purchase-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin: 0.75rem 0;
}

.purchase-meta span {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.purchase-meta strong {
  font-size: 0.95rem;
}

.progress {
  height: 8px;
  background: var(--paper-2);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  border-radius: inherit;
}

/* SEO + WhatsApp */
.seo-strip {
  padding: 1.25rem 0;
  background: rgba(12, 22, 32, 0.92);
  color: #fff;
  position: relative;
  z-index: 1;
}

.seo-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.seo-strip article h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-family: var(--display);
  letter-spacing: -0.02em;
}

.seo-strip article p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.seo-blocks {
  display: grid;
  gap: 1rem;
}

.seo-block {
  background: #fff;
  border-radius: 18px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 8px 28px rgba(12, 22, 32, 0.06);
}

.seo-block h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-family: var(--display);
}

.seo-block p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.seo-block p:last-child {
  margin-bottom: 0;
}

.seo-cta-banner {
  margin-top: 1.25rem;
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.seo-cta-banner h3 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
}

.seo-cta-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.btn--wa,
.btn--wa-top {
  background: #25d366;
  color: #062816;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

.btn--wa:hover,
.btn--wa-top:hover {
  background: #1ebe5d;
}

.btn--wa-top {
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  box-shadow: 0 8px 28px rgba(12, 22, 32, 0.05);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.footer__phone {
  margin-top: 0.5rem !important;
}

.footer__phone a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.footer__links a:hover {
  color: var(--accent);
}

.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #25d366;
  color: #062816;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.4);
  animation: waPulse 2.4s ease-in-out infinite;
}

.wa-fab__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #062816;
  color: #25d366;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
}

@keyframes waPulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .cat-grid,
  .product-grid,
  .steps,
  .calc-panel,
  .modal__inner {
    grid-template-columns: 1fr 1fr;
  }

  .calc-panel__result {
    grid-template-columns: 1fr 1fr;
  }

  .result-card:last-of-type {
    grid-column: 1 / -1;
  }

  .profile-grid,
  .stat-row,
  .seo-strip__grid {
    grid-template-columns: 1fr 1fr;
  }

  .btn--wa-top {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 78vh;
    padding-top: 4rem;
  }

  .float-box--3,
  .float-box--4 {
    display: none;
  }

  .cat-grid,
  .product-grid,
  .steps,
  .calc-panel,
  .modal__inner,
  .calc-panel__result,
  .profile-grid,
  .stat-row,
  .purchase-meta,
  .purchase-card {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .account-btn__name {
    display: none;
  }

  .logo__tag {
    display: none;
  }

  .logo__img {
    width: 44px;
    height: 44px;
  }

  .seo-strip__grid {
    grid-template-columns: 1fr;
  }

  .wa-fab__text {
    display: none;
  }

  .wa-fab {
    padding: 0.7rem;
    border-radius: 50%;
  }
}
