:root {
  --bg: #f7efe5;
  --surface: rgba(255, 251, 247, 0.84);
  --surface-strong: #fffaf5;
  --primary: #5f257c;
  --primary-deep: #30113f;
  --primary-soft: #b38ad2;
  --accent: #d39d4f;
  --accent-deep: #b57d24;
  --leaf: #5a7442;
  --text: #23172c;
  --muted: #67596f;
  --border: rgba(95, 37, 124, 0.12);
  --shadow: 0 24px 52px rgba(48, 17, 63, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI Variable Text", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(179, 138, 210, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(211, 157, 79, 0.18), transparent 26%),
    linear-gradient(180deg, #fcf7f1 0%, #f3ebe3 55%, #eee4db 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 90%);
  opacity: 0.4;
  pointer-events: none;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  font-family: "Palatino Linotype", "Book Antiqua", serif;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(252, 247, 241, 0.74);
  border-bottom: 1px solid rgba(95, 37, 124, 0.08);
}

.topbar {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(95, 37, 124, 0.12);
  box-shadow: 0 16px 30px rgba(48, 17, 63, 0.12);
}

.brand-copy strong {
  display: block;
  font-size: 1.18rem;
  color: var(--primary-deep);
}

.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--primary);
  background: rgba(95, 37, 124, 0.08);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  transform: translateY(-1px);
}

.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #7c4aa1 100%);
  color: #fff;
  box-shadow: 0 16px 28px rgba(95, 37, 124, 0.22);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
}

.hero,
.page-hero {
  padding: 62px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.product-card,
.service-card,
.project-card,
.project-detail,
.order-panel,
.summary-panel,
.info-card,
.pick-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy,
.hero-panel,
.order-panel,
.summary-panel,
.project-detail {
  padding: 34px;
}

.hero-copy {
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -64px;
  bottom: -64px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 157, 79, 0.2), transparent 72%);
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow::before,
.section-tag::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(211, 157, 79, 0.16);
}

h1 {
  margin-top: 20px;
  font-size: clamp(3rem, 7vw, 5.4rem);
  color: var(--primary-deep);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--primary-deep);
}

.hero-text,
.section-head p,
.service-card p,
.product-card p,
.project-card p,
.project-detail p,
.info-card span,
.site-footer p,
.order-intro {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  margin-top: 18px;
  max-width: 60ch;
  font-size: 1.08rem;
}

.hero-text.narrow {
  max-width: 56ch;
}

.hero-slogan {
  margin-top: 18px;
  max-width: 24ch;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.25;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #7b48a1 100%);
  color: #fff;
  box-shadow: 0 18px 30px rgba(95, 37, 124, 0.24);
}

.button-secondary,
.button-soft {
  background: rgba(255, 255, 255, 0.84);
  color: var(--primary-deep);
  border-color: rgba(95, 37, 124, 0.14);
}

.button-light {
  background: #fff;
  color: var(--primary-deep);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.mini-stats,
.contact-stack,
.service-grid,
.product-grid,
.project-grid,
.quick-picks,
.footer-grid,
.checkbox-grid {
  display: grid;
  gap: 18px;
}

.mini-stats {
  margin-top: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-stat {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(95, 37, 124, 0.1);
}

.mini-stat strong {
  display: block;
  color: var(--primary-deep);
  margin-bottom: 6px;
}

.mini-stat span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.logo-stage {
  padding: 24px;
  min-height: 320px;
  display: grid;
  place-items: center;
  border-radius: calc(var(--radius-xl) - 6px);
  background:
    radial-gradient(circle at top, rgba(179, 138, 210, 0.2), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 239, 0.9));
  border: 1px solid rgba(95, 37, 124, 0.1);
}

.logo-stage img {
  width: min(100%, 420px);
  filter: drop-shadow(0 28px 40px rgba(48, 17, 63, 0.16));
}

.info-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.info-card strong,
.product-card h3,
.service-card h3,
.project-card h3,
.project-detail h2,
.summary-item strong {
  color: var(--primary-deep);
}

.info-card strong,
.dark-card strong {
  display: block;
  margin-bottom: 8px;
}

.info-card a,
.site-footer a,
.text-button {
  color: var(--primary);
  font-weight: 800;
}

.section-block {
  padding: 26px 0;
}

.section-head {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.section-head h2 {
  margin-top: 10px;
}

.text-button {
  white-space: nowrap;
}

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

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

.product-card,
.service-card,
.project-card {
  padding: 24px;
}

.badge,
.project-number {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(95, 37, 124, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card h3,
.service-card h3,
.project-card h3 {
  margin-top: 16px;
  font-size: 1.7rem;
}

.price-row {
  margin: 18px 0;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(95, 37, 124, 0.08);
  border-bottom: 1px solid rgba(95, 37, 124, 0.08);
}

.price-row strong {
  color: var(--accent-deep);
}

.price-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.service-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.cta-band {
  padding: 24px 0 48px;
}

.cta-band-inner {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary-deep) 0%, #653a88 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  box-shadow: 0 28px 46px rgba(48, 17, 63, 0.24);
}

.cta-band-inner h2 {
  margin-top: 10px;
  color: #fff;
}

.cta-band-inner p {
  margin-top: 12px;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.section-tag-light {
  color: rgba(255, 255, 255, 0.9);
}

.section-tag-light::before {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18);
}

.site-footer {
  padding: 12px 0 44px;
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 28px 0 10px;
  border-top: 1px solid rgba(95, 37, 124, 0.1);
}

.site-footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--primary-deep);
}

.site-footer a {
  display: block;
  margin-top: 8px;
}

.page-hero {
  padding-bottom: 22px;
}

.project-stack {
  display: grid;
  gap: 20px;
}

.project-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 300px;
  gap: 24px;
  align-items: start;
}

.detail-side {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(95, 37, 124, 0.08);
  border: 1px solid rgba(95, 37, 124, 0.08);
}

.detail-side strong {
  display: block;
  margin-top: 14px;
  color: var(--primary-deep);
}

.detail-side strong:first-child {
  margin-top: 0;
}

.detail-side span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

.feature-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.8;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.order-form {
  display: grid;
  gap: 20px;
}

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

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label,
.checkbox-group legend {
  font-weight: 800;
  color: var(--primary-deep);
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(95, 37, 124, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font: inherit;
}

.field-group textarea {
  min-height: 140px;
  resize: vertical;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-color: rgba(95, 37, 124, 0.4);
  box-shadow: 0 0 0 4px rgba(95, 37, 124, 0.1);
}

.checkbox-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.checkbox-grid {
  margin-top: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(95, 37, 124, 0.1);
}

.check-card input {
  margin-top: 4px;
  transform: scale(1.15);
  accent-color: var(--primary);
}

.check-card strong {
  display: block;
  color: var(--primary-deep);
}

.check-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.summary-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.summary-total {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary-deep) 0%, #6c4191 100%);
  color: #fff;
  box-shadow: 0 22px 38px rgba(48, 17, 63, 0.24);
}

.summary-total span {
  display: block;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.summary-total strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.summary-list {
  display: grid;
  gap: 12px;
}

.summary-item {
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(95, 37, 124, 0.08);
}

.summary-item span {
  color: var(--muted);
}

.dark-card {
  background: rgba(95, 37, 124, 0.08);
  box-shadow: none;
}

.quick-picks {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pick-card {
  padding: 22px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pick-card strong {
  display: block;
  font-size: 1.18rem;
  color: var(--primary-deep);
}

.pick-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.pick-card:hover,
.pick-card:focus-visible,
.pick-card.active-pick {
  transform: translateY(-3px);
  border-color: rgba(95, 37, 124, 0.26);
  box-shadow: 0 24px 38px rgba(48, 17, 63, 0.16);
}

.success-box {
  display: none;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(90, 116, 66, 0.14);
  border: 1px solid rgba(90, 116, 66, 0.2);
  color: #294118;
  line-height: 1.6;
  font-weight: 700;
}

.success-box.visible {
  display: block;
}

.success-box a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 1080px) {
  .hero-grid,
  .order-layout,
  .project-detail,
  .product-grid,
  .service-grid,
  .service-grid-wide,
  .project-grid,
  .quick-picks,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .summary-panel {
    position: static;
  }

  .cta-band-inner,
  .section-head,
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .field-row,
  .mini-stats,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .brand-copy span {
    font-size: 0.82rem;
  }

  .hero,
  .page-hero {
    padding-top: 42px;
  }

  .hero-copy,
  .hero-panel,
  .order-panel,
  .summary-panel,
  .project-detail {
    padding: 24px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .button,
  .button-light,
  .button-outline-light {
    width: 100%;
  }

  h1 {
    font-size: 2.8rem;
  }
}
