:root {
  --yellow: #fff1b8;
  --yellow-deep: #f6d572;
  --yellow-hot: #f1c40f;
  --mint: #ecfedb;
  --mint-shadow: #b7e39a;
  --sky: #cdefff;
  --sky-deep: #8ed4f5;
  --lavender: #dde3ff;
  --lavender-deep: #b8c2f5;
  --lilac: #e9d5ff;
  --white: #ffffff;
  --ink: #2c2c2c;
  --ink-soft: #5c5c5c;
  --muted: #8a8a8a;
  --line: #e6e6e6;
  --footer: #3c3836;
  --footer-2: #332f2d;
  --shadow: 0 10px 30px rgba(44, 44, 44, 0.06);
  --radius: 28px;
  --radius-sm: 18px;
  --header-h: 78px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: #f7f7f5;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

section {
  scroll-margin-top: 100px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.kicker {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.section-title {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head .kicker {
  margin-bottom: 6px;
}

.rule-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.rule-title::before,
.rule-title::after {
  content: "";
  height: 0;
  flex: 1;
  max-width: 180px;
  border-top: 1.5px dashed #cfcfcf;
}

/* Header */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 120;
  pointer-events: none;
}

.header-bar {
  pointer-events: auto;
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid #ececec;
  border-radius: 999px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 10px 14px;
  box-shadow: var(--shadow);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.06em;
  font-size: 0.78rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  background: #fff;
  position: relative;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn--menu {
  border-radius: 16px 16px 22px 16px;
}

.icon-btn--user {
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.icon-btn--cart {
  border-radius: 18px 22px 18px 18px;
}

.icon-btn--search {
  border-radius: 42% 58% 48% 52% / 40% 42% 58% 60%;
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  left: auto;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow-hot);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* Mega menu */
.mega {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(44, 44, 44, 0.28);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
}

.mega.is-open {
  opacity: 1;
  visibility: visible;
}

.mega-panel {
  position: absolute;
  top: 100px;
  right: 24px;
  width: min(720px, calc(100% - 48px));
  background: #fff;
  border-radius: 32px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.mega-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
}

.mega-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
}

.mega-nav a:hover,
.mega-nav a.is-current {
  background: var(--yellow);
}

.mega-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mega-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}

.mega-card h4 {
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.mega-card p {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Search overlay */
.search-layer,
.cart-layer,
.auth-layer,
.consult-layer {
  position: fixed;
  inset: 0;
  z-index: 115;
  background: rgba(44, 44, 44, 0.32);
  display: grid;
  place-items: start center;
  padding-top: 110px;
  opacity: 0;
  visibility: hidden;
  transition: 0.22s ease;
}

.search-layer.is-open,
.cart-layer.is-open,
.auth-layer.is-open,
.consult-layer.is-open {
  opacity: 1;
  visibility: visible;
}

.search-box,
.drawer,
.modal {
  width: min(560px, calc(100% - 32px));
  background: #fff;
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.search-box form,
.consult-form {
  display: flex;
  gap: 10px;
}

.search-box input,
.modal input,
.consult-form input,
.consult-form textarea,
.news-form input {
  flex: 1;
  border: 1.5px solid #ececec;
  border-radius: 999px;
  padding: 12px 16px;
  outline: none;
  font-size: 0.95rem;
}

.consult-form {
  flex-direction: column;
}

.consult-form textarea {
  border-radius: 18px;
  min-height: 110px;
  resize: vertical;
}

.drawer p,
.modal p {
  color: var(--muted);
  margin: 8px 0 16px;
}

/* Hero */
.hero {
  background: var(--yellow);
  border-radius: 0 0 48px 48px;
  min-height: 640px;
  position: relative;
  overflow: hidden;
  padding: 70px 0 90px;
  margin-top: -92px;
  padding-top: 150px;
}

.hero-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.hero-copy .kicker {
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.hero h1 span {
  color: var(--yellow-hot);
}

.hero .lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  transform: translateY(-1px);
}

.btn-yellow {
  background: var(--yellow-deep);
  color: var(--ink);
}

.btn-yellow:hover {
  background: var(--yellow-hot);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.hero-art {
  display: grid;
  place-items: center;
}

.desk {
  width: min(420px, 100%);
}

/* Features */
.features {
  margin-top: -40px;
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
}

.features-wrap {
  background: var(--mint);
  border-radius: 40px;
  padding: 36px 28px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: #fff;
  border-radius: 22px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}
  box-shadow: 0 8px 0 var(--mint-shadow);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 800;
  flex: 1;
  text-align: left;
}

.feature-ico {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

/* Portfolio */
.portfolio {
  padding: 70px 0 40px;
  background: #fff;
}

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tab {
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
}

.tab.is-active {
  background: var(--ink);
  color: #fff;
}

.slider {
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 18px;
  transition: transform 0.4s ease;
}

.project-card {
  min-width: calc((100% - 36px) / 3);
  border: 1.5px solid #ececec;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-shot {
  height: 168px;
  position: relative;
  padding: 16px 16px 0;
}

.mock {
  height: 100%;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(#fff, #f3f3f3);
  border: 1px solid #eee;
  border-bottom: 0;
  padding: 10px;
}

.mock-bar {
  height: 8px;
  width: 46%;
  background: #e8e8e8;
  border-radius: 8px;
  margin-bottom: 10px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.mock-grid span {
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 16px;
  gap: 10px;
}

.project-meta h3 {
  font-size: 0.92rem;
}

.chip {
  background: #f1f1f1;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 22px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d9d9d9;
}

.dot.is-active {
  width: 28px;
  background: var(--yellow-hot);
}

/* About */
.about {
  background: var(--sky);
  border-radius: 40px;
  margin: 20px auto 40px;
  width: min(1240px, calc(100% - 28px));
  padding: 56px 28px 48px;
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.about-card {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  padding: 22px;
}

.about-card h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.about-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.petal {
  position: absolute;
  width: 90px;
  height: 90px;
  background: #ffd6e7;
  border-radius: 70% 30% 60% 40%;
  right: 30px;
  top: 40px;
  opacity: 0.8;
}

/* Clients */
.clients {
  padding: 20px 0 50px;
  background: #fff;
}

.logo-row {
  display: flex;
  gap: 18px;
  overflow: hidden;
}

.client-logo {
  min-width: 160px;
  height: 74px;
  border: 1.5px solid #ececec;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--muted);
  background: #fafafa;
}

/* Pricing */
.pricing {
  background: var(--yellow);
  border-radius: 40px;
  margin: 0 auto;
  width: min(1240px, calc(100% - 28px));
  padding: 56px 24px 40px;
}

.price-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}

.price-hero {
  background: #fff6d6;
  height: 120px;
  display: grid;
  place-items: center;
}

.price-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 24px 28px 8px;
}

.price-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.old-price {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.92rem;
}

.price {
  font-size: 1.45rem;
  font-weight: 900;
}

.price-list {
  display: grid;
  gap: 8px;
}

.price-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
}

.bullet {
  width: 8px;
  height: 8px;
  border: 1.5px solid #bbb;
  border-radius: 50%;
  flex-shrink: 0;
}

.price-cta {
  display: flex;
  justify-content: center;
  padding: 8px 20px 24px;
}

/* CTA */
.brand-cta {
  background: var(--mint);
  border-radius: 40px;
  margin: 28px auto;
  width: min(1240px, calc(100% - 28px));
  padding: 48px 24px;
  text-align: center;
}

.brand-cta h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 8px;
}

/* Team */
.team {
  background: var(--lavender);
  border-radius: 40px;
  margin: 0 auto 28px;
  width: min(1240px, calc(100% - 28px));
  padding: 48px 24px;
}

.team-row {
  display: flex;
  gap: 18px;
  overflow: auto;
  padding-bottom: 8px;
}

.member {
  min-width: 170px;
  text-align: center;
}

.avatar {
  width: 110px;
  height: 110px;
  margin: 0 auto 10px;
  border-radius: 28px;
  background: linear-gradient(160deg, #c9d4ff, #f5f7ff);
}

.member h4 {
  font-size: 0.95rem;
}

.member span {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Testimonials */
.reviews {
  padding: 30px 0 50px;
  background: #fff;
}

.review-card {
  max-width: 820px;
  margin: 0 auto;
  border: 1.5px solid var(--ink);
  border-radius: 32px;
  padding: 32px;
  position: relative;
  background: #fff;
}

.review-card::after {
  content: "";
  position: absolute;
  right: 18px;
  left: auto;
  bottom: -14px;
  width: 160px;
  height: 28px;
  background: var(--sky);
  border-radius: 16px;
  z-index: -1;
}

.quote {
  font-size: 2.4rem;
  color: var(--sky-deep);
  line-height: 1;
  margin-bottom: 10px;
}

.review-card p {
  font-size: 1.02rem;
  margin-bottom: 22px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-photo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--sky);
}

.reviewer strong {
  display: block;
}

.reviewer span {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Social */
.social {
  background: var(--sky);
  border-radius: 40px;
  margin: 0 auto 28px;
  width: min(1240px, calc(100% - 28px));
  padding: 48px 24px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.social-card {
  background: #fff;
  border-radius: 22px;
  padding: 22px 12px;
  text-align: center;
  font-weight: 800;
}

.social-ico {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
}

.social-ico svg {
  width: 22px;
  height: 22px;
}

/* Videos + stats */
.media {
  padding: 20px 0 40px;
  background: #fff;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.video-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid #ececec;
}

.video-thumb {
  height: 170px;
  background: linear-gradient(160deg, #1f1f1f, #4a463f);
  display: grid;
  place-items: center;
  color: #fff;
}

.play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--yellow-hot);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.video-card h4 {
  padding: 14px 16px 4px;
}

.video-card p,
.video-card .tag {
  padding: 0 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

.video-card .tag {
  display: inline-block;
  margin: 12px 16px 0;
  padding: 2px 10px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
}

.video-card p {
  padding-bottom: 16px;
}

.stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat {
  text-align: center;
  background: #fafafa;
  border-radius: 22px;
  padding: 18px 8px;
}

.stat b {
  display: block;
  font-size: 1.6rem;
}

/* Products */
.products {
  background: var(--yellow);
  border-radius: 40px;
  margin: 0 auto 28px;
  width: min(1240px, calc(100% - 28px));
  padding: 48px 24px 36px;
}

.product-track {
  display: flex;
  gap: 16px;
  overflow: auto;
  padding-bottom: 10px;
}

.product-card {
  min-width: 240px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.product-card::after {
  content: "";
  display: block;
  height: 8px;
  width: 70%;
  margin: 0 auto 8px;
  background: var(--yellow-hot);
  border-radius: 8px;
}

.product-img {
  height: 120px;
  background: #f3f3f3;
  display: grid;
  place-items: center;
}

.cart-fab {
  position: absolute;
  top: 102px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #eee;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.product-card h3 {
  padding: 22px 16px 4px;
  font-size: 0.95rem;
}

.product-card .meta {
  padding: 0 16px 8px;
  color: var(--muted);
  font-size: 0.78rem;
  min-height: 1.2em;
}

.product-price {
  margin: 0 16px 16px;
  background: #f3f3f3;
  border-radius: 999px;
  padding: 10px;
  text-align: center;
  font-weight: 800;
}

.product-price span {
  color: var(--yellow-hot);
  font-size: 1.05rem;
}

/* Blog */
.blog {
  padding: 20px 0 50px;
  background: #fff;
}

.article {
  max-width: 860px;
  margin: 0 auto 16px;
  background: #fff;
  border: 1.5px solid #ececec;
  border-radius: 28px;
  padding: 24px 24px 18px;
  position: relative;
  overflow: hidden;
}

.article::before {
  content: "";
  position: absolute;
  inset-inline: 24px auto;
  top: 0;
  width: 46%;
  height: 10px;
  background: var(--lavender);
  border-radius: 0 0 12px 12px;
}

.article::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: #7c5cff;
}

.article h3 {
  margin: 10px 0 8px;
}

.article p {
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.time {
  display: inline-block;
  background: var(--lavender);
  color: #4c3d9b;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: #fff;
  border-radius: 40px 40px 0 0;
  padding: 48px 0 18px;
}

.support-hero {
  text-align: center;
  margin-bottom: 36px;
}

.support-hero h2 {
  font-size: 1.8rem;
  margin: 8px 0;
}

.support-hero p {
  color: #ddd;
  margin-bottom: 16px;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--footer-2);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  font-weight: 800;
}

.phone-pill i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow-hot);
  color: var(--ink);
  display: grid;
  place-items: center;
}

.footer-about {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
  color: #ddd;
}

.news-form {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto 36px;
}

.news-form input {
  background: #2b2826;
  border-color: #4a4542;
  color: #fff;
}

.news-form input::placeholder {
  color: #9a9590;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto 28px;
}

.footer-cols h3 {
  margin-bottom: 12px;
}

.footer-cols a,
.footer-cols li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #eee;
}

.footer-cols svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--yellow-hot);
}

.phone-pill svg {
  width: 18px;
  height: 18px;
}

.dot-y {
  width: 8px;
  height: 8px;
  background: var(--yellow-hot);
  border-radius: 2px;
}

.copy {
  border-top: 1px solid #524d4a;
  text-align: center;
  padding-top: 16px;
  color: #cfc9c4;
  font-size: 0.9rem;
}

.copy b {
  color: #7ec8ff;
}

.float-blob {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  width: 52px;
  height: 52px;
  background: var(--yellow-hot);
  border-radius: 42% 58% 48% 52% / 42% 40% 60% 58%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(241, 196, 15, 0.4);
}

.float-blob svg {
  width: 18px;
  height: 18px;
  transform: rotate(-90deg);
}

/* Mobile menu */
.mobile-nav {
  display: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .features-grid,
  .about-grid,
  .price-body,
  .social-grid,
  .video-grid,
  .stats,
  .footer-cols,
  .mega-grid,
  .mega-services {
    grid-template-columns: 1fr;
  }

  .project-card,
  .product-card {
    min-width: 78%;
  }

  .hero {
    min-height: auto;
    padding-bottom: 70px;
  }

  .hero-art {
    order: -1;
  }

  .desk {
    width: min(280px, 100%);
  }
}

@media (max-width: 720px) {
  .header-bar {
    border-radius: 24px;
    padding-inline: 10px;
  }

  .mega-panel {
    right: 12px;
    left: 12px;
    width: auto;
    top: 90px;
  }

  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .petal {
    display: none;
  }
}
