/* ===== ЛЁГКАЯ СМЕНА ДИЗАЙНА: меняйте значения ниже ===== */
:root {
  --color-bg: #FAF3EA;
  --color-bg-soft: #FFFFFF;
  --color-accent: #E8792E;
  --color-accent-dark: #C9611E;
  --color-text: #2E2A26;
  --color-text-soft: #6B655D;
  --color-border: #EADFD0;

  --font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --max-width: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-padding-top: 76px; }

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

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

/* Product pages */
.product-page main { padding-top: 76px; }
.product-hero { max-width: 900px; margin: 0 auto; padding: 110px 24px 90px; text-align: center; }
.product-hero .hero-title { max-width: 820px; margin: 24px auto 18px; }
.product-lead { max-width: 650px; margin: 0 auto; color: var(--color-text-soft); font-size: 18px; line-height: 1.7; }
.product-hero-widget { padding-bottom: 70px; }
.solutions-hero { padding-top: 72px; padding-bottom: 34px; }
.compact-widget-hero { padding-top: 72px; padding-bottom: 42px; }
.solutions-hero .hero-title { margin-bottom: 0; }
.compact-widget-hero .product-lead { width: 90%; max-width: 90%; }
.product-actions { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 30px; }
.text-link { color: var(--color-text); font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--color-accent); }
.product-grid-section, .feature-section { max-width: var(--max-width); margin: 0 auto; padding: 24px 24px 76px; }
.product-card-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.product-card { display: block; padding: 30px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-bg-soft); color: var(--color-text); text-decoration: none; box-shadow: 0 10px 30px rgba(46,42,38,0.05); }
.product-card-featured { border-color: var(--color-accent); box-shadow: 0 14px 36px rgba(232,121,46,0.14); }
.product-card-muted { box-shadow: none; }
.product-card-icon { width: 58px; height: 58px; margin-bottom: 22px; }
.product-card-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 16px; }
.product-card-kicker { color: var(--color-accent-dark); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.product-card h3 { margin: 8px 0 12px; font-size: 21px; }
.product-card p:not(.product-card-kicker) { color: var(--color-text-soft); line-height: 1.65; }
.product-card-link { display: inline-block; margin-top: 22px; color: var(--color-accent-dark); font-weight: 800; }
.product-card-grid-single { grid-template-columns: minmax(280px, 560px); justify-content: center; }
.feature-section { padding-top: 0; }
.compact-widget-hero + .feature-section { padding-bottom: 64px; }
.feature-item { padding: 28px 0; border-top: 1px solid var(--color-border); }
.feature-number { color: var(--color-accent); font-weight: 800; font-size: 13px; }
.feature-item h3 { margin: 10px 0 8px; font-size: 20px; }
.feature-item p { color: var(--color-text-soft); line-height: 1.65; }
.product-callout { max-width: var(--max-width); margin: 0 auto 110px; padding: 34px; display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--color-text); color: #fff; border-radius: var(--radius-lg); }
.product-callout h2 { margin: 8px 0; font-size: 28px; }
.product-callout p:not(.product-card-kicker) { color: #EADFD0; }
.product-callout .product-card-kicker { color: #F6D9B9; }
.product-callout .nav-cta { flex-shrink: 0; background: #fff; color: var(--color-text); }
.product-callout .nav-cta:hover { background: #F6D9B9; }
.onboard-back-link { display: inline-block; margin-bottom: 20px; color: var(--color-text-soft); font-size: 13px; font-weight: 700; text-decoration: none; }
.onboard-back-link:hover { color: var(--color-accent); }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  z-index: 100;
  background: var(--color-bg);
  overflow: visible;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 0px;
  overflow: visible;
  text-decoration: none;
}

.site-header .logo .logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border-radius: 10px;
  padding: 10px;
  margin: -22px 0;
  transform: translateY(12px);
  flex-shrink: 0;
}

.site-header .logo .logo-mark {
  height: 112px;
  width: auto;
  display: block;
  transform: translateY(10px);
}

.site-header .logo .logo-name {
  font-family: 'Fredoka', var(--font-family);
  font-weight: 500;
  font-size: 39px;
  line-height: 1;
  color: var(--color-text);
  margin-left: -4px;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.site-header .logo .logo-name .accent {
  color: var(--color-accent);
}

.site-header .nav-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.site-header nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

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

.nav-cta {
  background: var(--color-accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.nav-cta:hover { background: var(--color-accent-dark); }

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

.nav-cta-mobile {
  padding: 8px 12px;
  font-size: 12px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 16px 24px 24px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav a.nav-cta {
  color: white;
  text-align: center;
  border-bottom: none;
  margin-top: 8px;
  padding: 12px 0;
}

.nav-cta-menu {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 170px 24px 32px;
  background: #FCF6F2;
  isolation: isolate;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-text {
  flex: 1 1 520px;
  text-align: left;
  padding-left: 64px;
}

.hero-title {
  font-family: 'Fredoka', var(--font-family);
  font-weight: 500;
  font-size: 58px;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 28px;
}

.hero-title .accent { color: var(--color-accent); }

.hero-image-placeholder {
  flex: 0 1 460px;
  width: 100%;
  height: 340px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-placeholder img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Mini cards row under hero */
.etsy-strip {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 48px);
  margin: 36px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  background: #FCF6F2;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 10px 22px;
}

.etsy-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.etsy-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.etsy-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

.etsy-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
}

.etsy-link:hover { text-decoration: underline; }

.hero-mini-cards {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 72px auto 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.mini-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  width: 260px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 26px 20px;
}

.mini-card img { width: 52px; height: 52px; flex-shrink: 0; object-fit: contain; }

.mini-card .icon-prompt-img { width: 64px; height: 64px; }
.mini-card .icon-ai-img { width: 64px; height: 64px; }
.mini-card .icon-web-img { width: 64px; height: 64px; }

.hero-mini-cards .mini-card:first-child { padding-left: 30px; }

.mini-card span {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

@media (max-width: 900px) {
  .hero-inner { flex-direction: column; align-items: stretch; }
  .hero-text { flex: 0 0 auto; padding-left: 0; text-align: center; }
  .hero-title { max-width: 480px; margin-left: auto; margin-right: auto; }
  .hero-image-placeholder { width: 100%; flex: 0 0 auto; }

  .site-header .nav-group { display: none; }
  .mobile-header-actions { display: flex; }
  .nav-toggle { display: flex; }
  .site-header { height: auto; }
  .site-header-inner { height: 53px; }
  .site-header .logo .logo-badge { padding: 7px; margin: -15px 0; transform: translateY(8px); }
  .site-header .logo .logo-mark { height: 78px; transform: translateY(7px); }
  .site-header .logo .logo-name { font-size: 32px; }
  .mobile-nav { position: absolute; top: 53px; left: 0; right: 0; z-index: 99; }
  .site-header .logo { min-width: 0; flex-shrink: 1; }
  .site-header .logo .logo-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }
}

@media (max-width: 500px) {
  .nav-cta-mobile { display: none; }
  .mobile-nav a.nav-cta-menu {
    display: block;
    width: fit-content;
    font-size: 12px;
    padding: 8px 20px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* corner wave blobs (color only, no icons) */
.hero-wave {
  position: absolute;
  z-index: 0;
}

.hero-wave-tl {
  top: 10%;
  left: -30px;
  width: 200px;
  height: 560px;
}

.hero-wave-br {
  bottom: 0;
  right: 0;
  width: 312px;
  height: 500px;
  transform: rotate(180deg);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  color: var(--color-accent-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.hero p.subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  max-width: 480px;
  margin: 0 0 20px;
}

@media (max-width: 900px) {
  .hero p.subtitle { margin: 0 auto 20px; }
}

.hero-cta {
  display: inline-block;
  margin-top: 0;
  background: var(--color-accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 15px 36px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(232, 121, 46, 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-cta:hover { background: var(--color-accent-dark); transform: translateY(-2px); }

/* Feature strip under hero CTA */
/* Sections */
.section {
  padding: 60px 24px;
}

.section-title {
  text-align: center;
  font-family: 'Fredoka', var(--font-family);
  font-weight: 500;
  font-size: 39px;
  margin-bottom: 8px;
}

.section-title .accent {
  color: var(--color-accent);
}

.about-section {
  background: var(--color-bg-soft);
}

.about-section .section-title {
  margin-bottom: 24px;
}

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

.about-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 56px;
}

.about-image {
  flex: 0 0 420px;
  max-width: 420px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-left: -30px;
}

.about-content {
  flex: 1;
  text-align: left;
}

.about-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  margin-top: 20px;
}

.about-text:first-child {
  margin-top: 0;
}

@media (max-width: 900px) {
  .about-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .about-content .section-title {
    text-align: center;
  }
  .about-image {
    flex: 0 0 auto;
    margin-left: 0;
    max-width: 340px;
  }
  .about-content {
    width: 90%;
  }
}

.section-subtitle {
  text-align: center;
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 40px;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 999px) and (min-width: 721px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 320px));
    justify-content: center;
  }

  .cards .card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 720px) {
  .cards {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
  }
}

.card {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.card .icon {
  width: 68px;
  height: 60px;
  border-radius: 14px;
  background: var(--color-bg);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card .icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.card a.card-link {
  display: inline-block;
  margin-top: auto;
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.card a.card-link:hover { text-decoration: underline; }

/* Contact Section */
.contact-section {
  background: var(--color-bg-soft);
}

.contact-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  margin-top: 40px;
  text-align: left;
}

.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-group {
  flex: 1;
  min-width: 0;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.form-group label .required {
  color: var(--color-accent);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-family);
  font-size: 15px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg-soft);
  color: var(--color-text);
  transition: border-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-soft);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-cta {
  background: var(--color-accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  margin: 0 auto;
  display: block;
}

.contact-cta:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

.success-message {
  text-align: center;
  padding: 40px 24px;
}

.success-message p {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 28px;
}

.reset-btn {
  background: var(--color-accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  margin: 0 auto;
  display: block;
}

.reset-btn:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 32px 24px 12px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo-group {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-logo {
  height: 80px;
  width: auto;
}

.footer-logo-name {
  font-family: 'Fredoka', var(--font-family);
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  color: var(--color-text);
}

.footer-logo-name .accent {
  color: var(--color-accent);
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}

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

.footer-divider {
  max-width: 320px;
  margin: 24px auto 16px;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 650px) {
  .footer-top { flex-direction: column; gap: 16px; }
  .site-header { flex-direction: column; gap: 16px; }
  .form-row { flex-direction: column; gap: 0; }
  .contact-form { max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* Portfolio modal */
.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.portfolio-modal.open {
  display: flex;
}

.portfolio-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(46, 42, 38, 0.55);
}

.portfolio-modal-content {
  position: relative;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  max-width: 960px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
}

.portfolio-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-close:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.portfolio-title {
  margin-bottom: 0;
}

.portfolio-subtitle {
  text-align: center;
  color: var(--color-text-soft);
  margin-top: 8px;
  margin-bottom: 32px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-bg-soft);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(46, 42, 38, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: 0 14px 28px rgba(46, 42, 38, 0.16);
}

.portfolio-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-border);
  border-bottom: 2px solid var(--color-border);
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.portfolio-card-body {
  padding: 16px 18px 20px;
  background: var(--color-bg-soft);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.portfolio-card-body p {
  font-size: 14px;
  color: var(--color-text-soft);
  margin-bottom: 10px;
  flex: 1;
}

.portfolio-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
}

@media (max-width: 800px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-modal-content { padding: 28px 20px; }
  .product-card-grid, .feature-grid { grid-template-columns: 1fr; }
  .product-hero { padding: 80px 20px 64px; }
  .product-lead { font-size: 16px; }
  .product-actions { flex-direction: column; gap: 16px; }
  .product-callout { margin: 0 20px 72px; padding: 28px 22px; align-items: flex-start; flex-direction: column; }
  .product-callout h2 { font-size: 24px; }
  .product-page .site-header nav { gap: 12px; }
  .product-page .site-header nav a { font-size: 12px; }
  .product-page .site-header .nav-cta { display: none; }
}
