:root {
  --bg: #efe7dc;
  --bg-soft: #f8f4ed;
  --surface: rgba(255, 252, 247, 0.8);
  --surface-strong: #fffdf9;
  --surface-dark: #152432;
  --surface-dark-2: #1a3041;
  --text: #14212c;
  --text-soft: #56616a;
  --text-light: rgba(247, 242, 235, 0.82);
  --line: rgba(20, 33, 44, 0.1);
  --line-light: rgba(255, 255, 255, 0.16);
  --accent: #bd6f45;
  --accent-deep: #a75f39;
  --accent-soft: rgba(189, 111, 69, 0.12);
  --support: #2f6f67;
  --support-soft: rgba(47, 111, 103, 0.14);
  --shadow: 0 24px 70px rgba(20, 33, 44, 0.12);
  --shadow-soft: 0 12px 35px rgba(20, 33, 44, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1160px, calc(100vw - 40px));
  --header-offset: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(189, 111, 69, 0.12), transparent 34%),
    radial-gradient(circle at right 15% top 20%, rgba(47, 111, 103, 0.12), transparent 28%),
    linear-gradient(180deg, #f4ede2 0%, #efe7dc 100%);
  line-height: 1.55;
  min-width: 320px;
}

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

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

main,
section {
  position: relative;
}

section[id] {
  scroll-margin-top: var(--header-offset);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 112px 0;
}

.section-contrast {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
}

.section-dark {
  background:
    radial-gradient(circle at 20% 20%, rgba(189, 111, 69, 0.18), transparent 25%),
    linear-gradient(180deg, #142430 0%, #0d1922 100%);
  color: #f7f2eb;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header h2,
.steps-copy h3,
.contact-copy h2 {
  margin: 0 0 16px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-header p,
.steps-copy p,
.contact-copy p,
.hero-lead,
.hero-note,
.pricing-card p,
.portfolio-copy p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.03rem;
}

.section-header-light p,
.section-header-light h2 {
  color: inherit;
}

.section-header-light p:not(.eyebrow) {
  color: var(--text-light);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(248, 244, 237, 0.72);
  border-bottom: 1px solid rgba(20, 33, 44, 0.06);
}

.header-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent) 0%, #d1936c 100%);
  color: #fff7ef;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy small {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  color: var(--text-soft);
  font-size: 0.96rem;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.button {
  border-radius: 999px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #d38d63 100%);
  color: #fff8f3;
  box-shadow: 0 16px 30px rgba(189, 111, 69, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, var(--accent-deep) 0%, #c67e54 100%);
}

.button-secondary {
  background: rgba(20, 33, 44, 0.06);
  color: var(--text);
  border: 1px solid rgba(20, 33, 44, 0.08);
}

.section-dark .button-secondary,
.contacts-section .button-secondary,
.cookie-banner .button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #f7f2eb;
  border-color: rgba(255, 255, 255, 0.12);
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(20, 33, 44, 0.1);
}

.button-small {
  padding: 12px 18px;
  font-size: 0.92rem;
}

.button-full {
  width: 100%;
}

.hero {
  padding: 52px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.hero-lead {
  margin-top: 24px;
  max-width: 620px;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-note {
  margin-top: 18px;
  max-width: 520px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-trust span,
.showcase-chip,
.portfolio-label {
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(20, 33, 44, 0.08);
  font-size: 0.88rem;
  color: var(--text-soft);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.glass-card {
  width: min(100%, 540px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.52));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.showcase-card {
  padding: 24px;
  transform: rotate(-4deg);
  animation: drift 7s ease-in-out infinite;
}

.showcase-topbar {
  display: flex;
  gap: 8px;
}

.showcase-topbar span,
.browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(20, 33, 44, 0.15);
}

.showcase-layout {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 18px;
  margin-top: 22px;
}

.showcase-sidebar,
.showcase-screen {
  border-radius: 22px;
  background: rgba(247, 242, 235, 0.8);
  border: 1px solid rgba(20, 33, 44, 0.08);
  padding: 16px;
}

.showcase-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.showcase-list span,
.highlight-panel small,
.contact-item span,
.pricing-kicker {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.showcase-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.showcase-panel {
  min-height: 102px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 33, 44, 0.08), rgba(20, 33, 44, 0.03));
}

.highlight-panel {
  min-height: 180px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  background:
    linear-gradient(180deg, rgba(189, 111, 69, 0.15), rgba(47, 111, 103, 0.1)),
    #fffcf8;
}

.highlight-panel strong {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.showcase-panel.accent {
  background: linear-gradient(180deg, rgba(189, 111, 69, 0.28), rgba(189, 111, 69, 0.08));
}

.showcase-panel.dark {
  background: linear-gradient(180deg, rgba(21, 36, 50, 0.9), rgba(21, 36, 50, 0.6));
}

.floating-badge {
  position: absolute;
  padding: 16px 18px;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(20, 33, 44, 0.08);
  display: grid;
  gap: 6px;
  max-width: 210px;
}

.floating-badge strong {
  font-size: 0.98rem;
}

.floating-badge span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.badge-one {
  top: 40px;
  right: 10px;
}

.badge-two {
  bottom: 44px;
  left: 8px;
}

.trust-strip {
  padding-bottom: 28px;
}

.trust-strip-shell {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.trust-strip-shell span {
  padding: 16px 14px;
  text-align: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(20, 33, 44, 0.06);
  color: var(--text-soft);
  font-weight: 600;
}

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

.info-card,
.service-card,
.step-card,
.pricing-card,
.contact-card,
.faq-item,
.portfolio-card,
.browser-frame,
.cookie-banner {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(20, 33, 44, 0.08);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
}

.info-card,
.service-card {
  padding: 26px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.info-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(189, 111, 69, 0.18);
  background: rgba(255, 255, 255, 0.82);
}

.info-card h3,
.service-card h3,
.pricing-card strong,
.portfolio-copy h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  line-height: 1.15;
}

.info-card p,
.service-card p,
.step-card p,
.faq-item p {
  margin: 0;
  color: var(--text-soft);
}

.steps-shell {
  margin-top: 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

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

.step-card {
  padding: 24px;
  background: rgba(255, 252, 247, 0.84);
}

.step-card span {
  display: inline-flex;
  margin-bottom: 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

.step-card h4 {
  margin: 0 0 10px;
  font-size: 1.06rem;
}

.portfolio-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.66));
}

.portfolio-preview {
  min-width: 0;
}

.browser-frame {
  overflow: hidden;
  padding: 0;
  background: #f7f2eb;
}

.browser-bar {
  height: 46px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(20, 33, 44, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.browser-frame iframe {
  width: 100%;
  height: 430px;
  border: 0;
  background: #ffffff;
}

.portfolio-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.portfolio-label {
  width: fit-content;
  margin: 0;
}

.portfolio-points {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.portfolio-points li + li {
  margin-top: 8px;
}

.portfolio-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 22px;
}

.pricing-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.featured-price {
  background:
    linear-gradient(180deg, rgba(189, 111, 69, 0.16), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.07);
}

.price-line {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 12px 0 18px;
}

.price-line strong {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 0.9;
}

.price-line span,
.pricing-card p {
  color: var(--text-light);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0 24px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 22px 0;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  padding-right: 40px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 0 22px;
}

.contacts-section {
  padding-top: 96px;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: center;
}

.contact-card {
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(21, 36, 50, 0.96), rgba(26, 48, 65, 0.98));
  color: #f7f2eb;
  border-color: rgba(255, 255, 255, 0.12);
}

.contact-item + .contact-item {
  margin-top: 22px;
}

.contact-item a {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.2;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.contact-footnote {
  color: var(--text-light);
  margin: 18px 0 0;
}

.site-footer {
  padding: 32px 0 120px;
}

.footer-shell {
  display: grid;
  gap: 20px;
  color: var(--text-soft);
}

.footer-shell strong {
  color: var(--text);
}

.footer-shell p {
  margin: 0;
}

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

.footer-links a,
.footer-button {
  color: var(--text-soft);
}

.footer-button {
  padding: 0;
}

.footer-note {
  font-size: 0.94rem;
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: min(430px, calc(100vw - 28px));
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(21, 36, 50, 0.98), rgba(26, 48, 65, 0.98));
  color: #f7f2eb;
  border-color: rgba(255, 255, 255, 0.1);
}

.cookie-copy p,
.cookie-option p {
  margin: 8px 0 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cookie-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cookie-option + .cookie-option {
  margin-top: 16px;
}

.cookie-fixed {
  color: rgba(247, 242, 235, 0.7);
  font-size: 0.88rem;
}

.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.toggle input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.toggle span {
  width: 50px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  transition: background-color 180ms ease;
}

.toggle span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff9f2;
  transition: transform 180ms ease;
}

.toggle input:checked + span {
  background: rgba(189, 111, 69, 0.9);
}

.toggle input:checked + span::after {
  transform: translateX(20px);
}

.mobile-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  display: none;
  gap: 10px;
}

.mobile-cta a {
  flex: 1;
  min-height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.mobile-cta a:first-child {
  background: linear-gradient(135deg, var(--accent) 0%, #d38d63 100%);
  color: #fff8f3;
}

.mobile-cta a:last-child {
  background: rgba(20, 33, 44, 0.92);
  color: #f7f2eb;
}

.hidden {
  display: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

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

.policy-page {
  background: linear-gradient(180deg, #f7f2e8 0%, #efe7dc 100%);
}

.policy-main {
  padding: 70px 0 110px;
}

.policy-hero {
  margin-bottom: 32px;
}

.policy-hero h1 {
  margin: 0 0 16px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.policy-layout {
  display: grid;
  gap: 18px;
}

.policy-card {
  padding: 28px;
}

.policy-card h2 {
  margin: 0 0 12px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.15rem);
}

.policy-card p,
.policy-card li {
  color: var(--text-soft);
}

.policy-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.policy-note {
  background: rgba(189, 111, 69, 0.08);
  border-color: rgba(189, 111, 69, 0.18);
}

@keyframes drift {
  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }
  50% {
    transform: rotate(-4deg) translateY(-12px);
  }
}

@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .portfolio-card,
  .pricing-grid,
  .contact-shell,
  .steps-shell {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  .services-grid,
  .steps-grid,
  .trust-strip-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy h1 {
    max-width: 13ch;
  }

  .hero-visual {
    min-height: 480px;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 24px, 100%);
    --header-offset: 76px;
  }

  body {
    padding-bottom: 92px;
  }

  .site-header {
    position: sticky;
  }

  .header-shell {
    min-height: 72px;
  }

  .desktop-header-cta {
    display: none;
  }

  .section {
    padding: 86px 0;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 12vw, 3.9rem);
    max-width: 100%;
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 22px;
  }

  .showcase-card {
    transform: none;
    animation: none;
  }

  .floating-badge {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .showcase-layout,
  .benefits-grid,
  .services-grid,
  .steps-grid,
  .trust-strip-shell {
    grid-template-columns: 1fr;
  }

  .portfolio-card,
  .contact-card,
  .pricing-card {
    padding: 22px;
  }

  .browser-frame iframe {
    height: 320px;
  }

  .contact-item a {
    font-size: 1.08rem;
    overflow-wrap: anywhere;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 80px;
    width: auto;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
