/* ============================================================
   SET APP Corporation — main stylesheet
   Dark warm-black theme with berry-rose accents
   ============================================================ */

:root {
  --bg: #140E12;
  --bg-soft: #1D1319;
  --berry: #C4456C;
  --pale: #E8A9B8;
  --deep: #5C1E30;
  --ink: #F6EDF0;
  --muted: #E8A9B8;
  --hairline: #35242C;
  --berry-dark: #A9365B;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  background-color: #140E12;
  color: #F6EDF0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ CARET NAV ============ */

.caret-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #140E12;
  border-bottom: 2px solid #C4456C;
}

.caret-nav.scrolled {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.caret-mark {
  display: inline-block;
  width: 12px;
  height: 22px;
  background-color: #C4456C;
  border-radius: 1px;
  position: relative;
}

.caret-mark::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 12px;
  height: 6px;
  background-color: #C4456C;
  border-radius: 1px;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  color: #F6EDF0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 4px 0;
  color: #E8A9B8;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #F6EDF0;
}

.nav-link.active {
  color: #F6EDF0;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background-color: #C4456C;
  border-radius: 2px;
}

.nav-cta {
  background-color: #C4456C;
  color: #F6EDF0;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.nav-cta:hover {
  background-color: #A9365B;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 9px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #F6EDF0;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============ COMMAND PALETTE HERO ============ */

.cmd-palette-hero {
  padding: 84px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background-color: #C4456C;
  color: #E8A9B8;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.12;
  font-weight: 800;
  color: #F6EDF0;
  letter-spacing: -0.02em;
  margin: 22px 0 18px;
}

.hero-sub {
  font-size: 1.1rem;
  color: #E8A9B8;
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 27px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
  background-color: #C4456C;
  color: #F6EDF0;
}

.btn-primary:hover {
  background-color: #A9365B;
}

.btn-outline {
  border: 2px solid #E8A9B8;
  color: #E8A9B8;
}

.btn-outline:hover {
  background-color: #5C1E30;
  color: #F6EDF0;
}

.btn-light {
  background-color: #F6EDF0;
  color: #C4456C;
}

.btn-light:hover {
  background-color: #E8A9B8;
  color: #5C1E30;
}

/* Command palette panel (CSS drawn) */

.cmd-palette-panel {
  background-color: #5C1E30;
  border: 1px solid #E8A9B8;
  border-radius: 16px;
  padding: 18px;
  width: 100%;
  max-width: 430px;
  margin-left: auto;
}

.cmd-titlebar {
  display: flex;
  align-items: center;
  padding-bottom: 13px;
  border-bottom: 1px solid #E8A9B8;
  margin-bottom: 15px;
}

.cmd-titlebar .cmd-square {
  width: 15px;
  height: 15px;
  background-color: #E8A9B8;
  border-radius: 3px;
}

.cmd-search {
  height: 15px;
  border: 1px solid #E8A9B8;
  border-radius: 999px;
  position: relative;
  margin-bottom: 18px;
}

.cmd-search::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 15px;
  background-color: #E8A9B8;
}

.cmd-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}

.cmd-row:last-of-type {
  margin-bottom: 0;
}

.cmd-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}

.cmd-icon-berry {
  background-color: #C4456C;
}

.cmd-icon-pale {
  background-color: #E8A9B8;
}

.cmd-bar {
  height: 12px;
  border-radius: 999px;
  background-color: #E8A9B8;
}

.cmd-bar-w1 {
  width: 72%;
}

.cmd-bar-w2 {
  width: 54%;
}

.cmd-bar-w3 {
  width: 63%;
}

.cmd-footer {
  height: 10px;
  background-color: #E8A9B8;
  border-radius: 999px;
  width: 42%;
  margin-top: 18px;
}

/* ============ SECTION HEADERS ============ */

.section-head {
  margin-bottom: 44px;
}

.section-label {
  display: block;
  color: #E8A9B8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #F6EDF0;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-lead {
  color: #E8A9B8;
  max-width: 680px;
  margin-top: 16px;
}

/* ============ STATEMENT ROW ============ */

.statement-row {
  padding: 76px 0;
  border-top: 1px solid #35242C;
  border-bottom: 1px solid #35242C;
}

.statement {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.32;
  font-weight: 700;
  color: #F6EDF0;
  max-width: 920px;
  letter-spacing: -0.01em;
}

/* ============ FEATURE ROWS ============ */

.feature-rows {
  padding: 80px 0;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid #35242C;
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-marker {
  width: 16px;
  height: 16px;
  background-color: #C4456C;
  margin-top: 8px;
  flex-shrink: 0;
}

.feature-body {
  flex: 1;
}

.feature-body h2 {
  font-size: 1.4rem;
  color: #F6EDF0;
  margin-bottom: 8px;
  font-weight: 700;
}

.feature-body p {
  color: #E8A9B8;
  max-width: 640px;
}

.feature-end {
  width: 16px;
  height: 16px;
  background-color: #E8A9B8;
  margin-top: 8px;
  flex-shrink: 0;
}

/* ============ METRIC FOUR ============ */

.metric-four {
  padding: 80px 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.metric-marker {
  display: block;
  width: 14px;
  height: 14px;
  background-color: #C4456C;
  margin-bottom: 16px;
}

.metric-num {
  display: block;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  color: #F6EDF0;
  line-height: 1;
  letter-spacing: -0.02em;
}

.metric-label {
  display: block;
  color: #E8A9B8;
  font-size: 0.95rem;
  margin-top: 10px;
}

/* ============ PACKAGE ROWS ============ */

.package-rows {
  padding: 80px 0;
}

.package-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #35242C;
}

.package-row:last-child {
  border-bottom: none;
}

.package-info h2 {
  font-size: 1.4rem;
  color: #F6EDF0;
  margin-bottom: 6px;
  font-weight: 700;
}

.package-info p {
  color: #E8A9B8;
  max-width: 640px;
}

.package-marker {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.package-marker-berry {
  background-color: #C4456C;
}

.package-marker-pale {
  background-color: #E8A9B8;
}

.package-marker-deep {
  background-color: #5C1E30;
}

/* ============ FAQ ACCORDION ============ */

.faq-accordion {
  padding: 80px 0;
}

.faq-item {
  border-bottom: 1px solid #35242C;
}

.faq-item:first-child {
  border-top: 1px solid #35242C;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  color: #F6EDF0;
  font-size: 1.1rem;
  font-weight: 600;
  gap: 18px;
}

.faq-icon {
  width: 22px;
  height: 22px;
  background-color: #C4456C;
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
}

.faq-item.open .faq-icon {
  background-color: #E8A9B8;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer p {
  padding: 0 0 24px;
  color: #E8A9B8;
  max-width: 700px;
}

/* ============ CTA BAND ============ */

.cta-band {
  padding: 88px 0;
  background-color: #C4456C;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: #F6EDF0;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cta-band p {
  color: #F6EDF0;
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}

/* ============ BUILD FOOTER ============ */

.build-footer {
  border-top: 3px solid #C4456C;
  padding: 60px 0 0;
  background-color: #140E12;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.1fr;
  gap: 48px;
  padding-bottom: 44px;
}

.footer-caret-square {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: #C4456C;
  border-radius: 2px;
  margin-right: 9px;
  vertical-align: middle;
}

.footer-wordmark {
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #F6EDF0;
  font-size: 1.05rem;
  vertical-align: middle;
}

.footer-desc {
  color: #E8A9B8;
  margin-top: 16px;
  max-width: 300px;
  font-size: 0.95rem;
}

.footer-col-label {
  display: block;
  color: #F6EDF0;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #E8A9B8;
  font-size: 0.98rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #F6EDF0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #E8A9B8;
  font-size: 0.98rem;
}

.footer-contact a {
  color: #F6EDF0;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #E8A9B8;
}

.footer-legal {
  border-top: 1px solid #35242C;
  padding: 22px 0;
  text-align: center;
  color: #E8A9B8;
  font-size: 0.9rem;
}

.footer-legal a {
  color: #E8A9B8;
  text-decoration: underline;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #F6EDF0;
}

/* ============ PAGE HERO (secondary pages) ============ */

.page-hero {
  padding: 68px 0 60px;
  border-bottom: 1px solid #35242C;
}

.page-hero .eyebrow {
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  color: #F6EDF0;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 760px;
}

.page-hero .page-intro {
  color: #E8A9B8;
  max-width: 640px;
  font-size: 1.1rem;
}

/* ============ SERVICES ============ */

.services-list {
  padding: 72px 0;
}

.service-block {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid #35242C;
}

.service-block:last-child {
  border-bottom: none;
}

.service-marker {
  width: 16px;
  height: 16px;
  background-color: #C4456C;
  margin-top: 8px;
  flex-shrink: 0;
}

.service-body {
  flex: 1;
}

.service-body h2 {
  font-size: 1.45rem;
  color: #F6EDF0;
  margin-bottom: 10px;
  font-weight: 700;
}

.service-body p {
  color: #E8A9B8;
  max-width: 700px;
}

.process-overview {
  padding: 72px 0;
  background-color: #1D1319;
  border-top: 1px solid #35242C;
  border-bottom: 1px solid #35242C;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.process-step {
  border-left: 3px solid #C4456C;
  padding-left: 20px;
}

.process-step .step-num {
  display: block;
  color: #E8A9B8;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.process-step h3 {
  color: #F6EDF0;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.process-step p {
  color: #E8A9B8;
  font-size: 0.95rem;
}

/* ============ CONTACT ============ */

.contact-layout {
  padding: 72px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-details h2 {
  font-size: 1.4rem;
  color: #F6EDF0;
  margin-bottom: 20px;
  font-weight: 700;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid #35242C;
  color: #E8A9B8;
}

.contact-list li strong {
  display: block;
  color: #F6EDF0;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-list a {
  color: #F6EDF0;
  transition: color 0.2s;
}

.contact-list a:hover {
  color: #E8A9B8;
}

.contact-hours {
  margin-top: 28px;
  color: #E8A9B8;
}

.contact-hours h3 {
  color: #F6EDF0;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  color: #F6EDF0;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 12px;
}

.contact-form input,
.contact-form textarea {
  background-color: #1D1319;
  border: 1px solid #35242C;
  border-radius: 8px;
  padding: 13px 15px;
  color: #F6EDF0;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #C4456C;
}

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

.contact-form .btn {
  margin-top: 22px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.form-note {
  color: #E8A9B8;
  font-size: 0.9rem;
  margin-top: 14px;
}

.contact-faq {
  padding: 72px 0;
}

/* ============ FADE-UP REVEAL ============ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cmd-palette-panel {
    margin-left: 0;
    max-width: 480px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background-color: #1D1319;
    padding: 18px 24px;
    border-bottom: 2px solid #C4456C;
    margin-left: 0;
  }

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

  .nav-link.active::after {
    bottom: 0;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 600px) {
  .metric-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .cmd-palette-hero {
    padding: 60px 0 64px;
  }
}
