/* ============================================================
   Ftg Holding Corp. — main stylesheet
   Dark wine theme · near-black base · solid hex colors only
   ============================================================ */

:root {
  --bg: #120D11;
  --bg-2: #1A1216;
  --bg-3: #221820;
  --bg-4: #2A1D25;
  --text: #F3E9EC;
  --text-soft: #E2D2D8;
  --muted: #C9B3BB;
  --wine: #B23A5A;
  --wine-light: #E0708F;
  --wine-deep: #8E2F49;
  --gold: #D9A441;
  --gold-soft: #E4BC6B;
  --line: #2E2026;
  --line-soft: #3A2830;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--wine-light);
  text-decoration: none;
}

a:hover {
  color: var(--gold);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

p {
  color: var(--text-soft);
}

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------
   Reveal animation (safe without JS)
   ------------------------------------------------------------ */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ------------------------------------------------------------
   Overlay navigation (fullscreen menu)
   ------------------------------------------------------------ */
.overlay-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
}

.overlay-nav__bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.overlay-nav__brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}

.overlay-nav__brand span {
  color: var(--wine-light);
}

.overlay-nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  cursor: pointer;
}

.overlay-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.overlay-nav__toggle:hover {
  border-color: var(--gold);
}

.overlay-nav__panel {
  position: fixed;
  inset: 0;
  z-index: 300;
  background-color: var(--bg);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.overlay-nav__panel.open {
  display: flex;
}

.overlay-nav__close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 48px;
  height: 48px;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.overlay-nav__close:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.overlay-nav__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.overlay-nav__links a {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  transition: color 0.2s ease;
}

.overlay-nav__links a:hover {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 10px;
  text-decoration-color: var(--gold);
}

.overlay-nav__meta {
  position: absolute;
  bottom: 34px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--muted);
}

.overlay-nav__meta a {
  color: var(--muted);
}

.overlay-nav__meta a:hover {
  color: var(--gold);
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: var(--wine);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--wine-deep);
  color: #FFFFFF;
}

.btn-outline {
  background-color: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: #1A1216;
}

/* ------------------------------------------------------------
   Hero — asymmetric twin with entity stack
   ------------------------------------------------------------ */
.twin-hero {
  position: relative;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
}

.twin-hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line-soft);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.twin-hero__headline {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 22px;
}

.twin-hero__headline em {
  font-style: normal;
  color: var(--wine-light);
}

.twin-hero__sub {
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 32px;
}

.twin-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Entity stack visual */
.stack-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  min-height: 360px;
}

.stack-frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  border-radius: 28px;
  pointer-events: none;
}

.stack-card {
  width: 78%;
  background-color: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stack-card:nth-child(2) {
  margin-top: -12px;
  margin-left: 36px;
  z-index: 2;
}

.stack-card:nth-child(3) {
  margin-top: -12px;
  margin-right: 36px;
  z-index: 3;
}

.stack-card .stack-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.stack-card .stack-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.stack-link {
  display: block;
  width: 2px;
  height: 22px;
  background-color: var(--gold);
  margin: 0 auto;
  z-index: 0;
}

/* ------------------------------------------------------------
   Section scaffolding
   ------------------------------------------------------------ */
.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

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

.section-head__eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 16px;
}

.section-head p {
  font-size: 1.05rem;
}

/* ------------------------------------------------------------
   Statement row
   ------------------------------------------------------------ */
.statement-row {
  background-color: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement-row__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 24px;
  text-align: center;
}

.statement-row__mark {
  display: inline-block;
  width: 42px;
  height: 2px;
  background-color: var(--gold);
  margin-bottom: 26px;
}

.statement-row p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.35;
  color: var(--text);
}

.statement-row p span {
  color: var(--wine-light);
}

/* ------------------------------------------------------------
   Service ledger (full-width numbered rows)
   ------------------------------------------------------------ */
.service-ledger {
  background-color: var(--bg);
}

.service-ledger__list {
  border-top: 1px solid var(--line);
}

.ledger-row {
  display: grid;
  grid-template-columns: 90px 1fr 2fr 40px;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.ledger-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}

.ledger-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.ledger-desc {
  font-size: 0.98rem;
  color: var(--muted);
}

.ledger-arrow {
  font-size: 1.4rem;
  color: var(--wine-light);
  text-align: right;
  transition: transform 0.2s ease;
}

.ledger-row:hover .ledger-arrow {
  transform: translateX(6px);
  color: var(--gold);
}

/* ------------------------------------------------------------
   Approach cards (3 in one row)
   ------------------------------------------------------------ */
.approach-cards {
  background-color: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.approach-card {
  background-color: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 36px 30px;
  position: relative;
}

.approach-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 2px;
  background-color: var(--gold);
  border-radius: 2px;
}

.approach-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 20px;
}

.approach-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.approach-card p {
  font-size: 0.98rem;
}

/* ------------------------------------------------------------
   Capability checklist (two-column text list)
   ------------------------------------------------------------ */
.checklist {
  background-color: var(--bg);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 48px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.checklist-item .sq {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background-color: var(--gold);
  margin-top: 7px;
  border-radius: 2px;
}

.checklist-item span {
  color: var(--text-soft);
  font-size: 1.02rem;
}

/* ------------------------------------------------------------
   FAQ accordion
   ------------------------------------------------------------ */
.faq {
  background-color: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question .faq-icon {
  flex: 0 0 auto;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
}

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

.faq-answer__inner {
  padding: 0 4px 24px;
  color: var(--muted);
  font-size: 1rem;
  max-width: 720px;
}

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

/* ------------------------------------------------------------
   CTA band
   ------------------------------------------------------------ */
.cta-band {
  background-color: var(--wine-deep);
  border-top: 1px solid var(--wine);
}

.cta-band__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: #FFFFFF;
  max-width: 560px;
}

.cta-band p {
  color: var(--text-soft);
  max-width: 520px;
}

.cta-band .btn-primary {
  background-color: var(--gold);
  color: #1A1216;
}

.cta-band .btn-primary:hover {
  background-color: var(--gold-soft);
  color: #1A1216;
}

/* ------------------------------------------------------------
   Wide brand band footer
   ------------------------------------------------------------ */
.band-footer {
  background-color: var(--bg);
  border-top: 1px solid var(--line);
}

.band-footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px 24px 0;
}

.band-footer__rule {
  width: 100%;
  height: 2px;
  background-color: var(--gold);
  margin-bottom: 40px;
}

.band-footer__name {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.band-footer__tagline {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 26px;
}

.band-footer__contact {
  font-size: 1rem;
  color: var(--text-soft);
  margin-bottom: 40px;
  line-height: 1.9;
}

.band-footer__contact a {
  color: var(--wine-light);
}

.band-footer__contact a:hover {
  color: var(--gold);
}

.band-footer__rail {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.band-footer__rail p {
  font-size: 0.92rem;
  color: var(--muted);
}

.band-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.band-footer__links a {
  font-size: 0.92rem;
  color: var(--wine-light);
}

.band-footer__links a:hover {
  color: var(--gold);
}

/* ------------------------------------------------------------
   Secondary pages (services / contact)
   ------------------------------------------------------------ */
.page-hero {
  background-color: var(--bg-2);
  border-bottom: 1px solid var(--line);
}

.page-hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px 24px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 18px;
}

.page-hero h1 span {
  color: var(--wine-light);
}

.page-hero p {
  max-width: 680px;
  font-size: 1.08rem;
}

/* Service detail sections */
.service-block {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.service-block:nth-of-type(even) {
  background-color: var(--bg-2);
}

.service-block__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.service-block__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.service-block h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.service-block p {
  margin-bottom: 16px;
}

.service-block ul {
  list-style: none;
  margin-top: 10px;
}

.service-block ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-soft);
}

.service-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background-color: var(--gold);
  border-radius: 2px;
}

.process-overview {
  background-color: var(--bg-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-overview__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px 24px;
}

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

.process-step {
  border-top: 2px solid var(--gold);
  padding-top: 22px;
}

.process-step__num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}

.process-step h3 {
  font-size: 1.2rem;
  margin: 12px 0 10px;
}

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

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.contact-info__group {
  margin-bottom: 28px;
}

.contact-info__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.contact-info__value {
  color: var(--text-soft);
  font-size: 1.02rem;
}

.contact-info__value a {
  color: var(--wine-light);
}

.contact-info__value a:hover {
  color: var(--gold);
}

.contact-form {
  background-color: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 40px;
}

.contact-form .field {
  margin-bottom: 22px;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background-color: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s ease;
}

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

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

.contact-form .btn-primary {
  width: 100%;
}

.form-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Small FAQ on contact page */
.mini-faq {
  margin-top: 48px;
}

.mini-faq .faq-list {
  max-width: 100%;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 960px) {
  .twin-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stack-visual {
    max-width: 420px;
    margin: 0 auto;
  }

  .ledger-row {
    grid-template-columns: 70px 1fr 32px;
  }

  .ledger-desc {
    grid-column: 2 / 3;
    grid-row: 2;
  }

  .ledger-arrow {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    align-self: center;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .service-block__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 620px) {
  .checklist-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .section {
    padding: 64px 0;
  }

  .overlay-nav__bar {
    height: 64px;
  }
}
