/* ==========================================================================
   AS Consulting SA — Landing Page Styles
   Editorial / consultancy layout — deliberately distinct from a trade-services
   site: two-tier header, numbered service list, panel-style contact block.
   Palette sampled from the client's own logo mark.
   ========================================================================== */

:root {
  --color-navy: #23235E;
  --color-navy-soft: #33338A;
  --color-magenta: #D81E7E;
  --color-blue: #4870B4;
  --color-gold: #B8893A;
  --color-gold-light: #E8CD8F;
  --color-ink: #1a1d24;
  --color-body: #5b5e68;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f6f2;
  --color-line: #e2e0d8;
  --radius: 4px;
  --shadow-sm: 0 2px 10px rgba(35,35,94,.08);
  --shadow-md: 0 16px 34px rgba(35,35,94,.14);
  --container: 1160px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Cormorant Garamond", Georgia, Cambria, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-body);
  background: var(--color-bg);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 999;
  background: var(--color-navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--color-navy);
  margin: 0 0 .5em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.005em;
}
p { margin: 0 0 1em; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--color-gold);
  margin: 0 0 .8em;
  display: block;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.section-title.center { text-align: center; margin-left: auto; margin-right: auto; }

.rule {
  width: 44px;
  height: 2px;
  margin: 0 0 26px;
  background: var(--color-gold);
}
.rule.center { margin: 0 auto 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .86rem;
  letter-spacing: .03em;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--color-navy);
  color: #fff;
}
.btn-primary:hover { background: var(--color-navy-soft); box-shadow: var(--shadow-sm); }

.btn-outline {
  background: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}
.btn-outline:hover { background: var(--color-navy); color: #fff; }

.btn-header {
  background: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
  padding: 9px 20px;
  font-size: .8rem;
}
.btn-header:hover { background: var(--color-navy); color: #fff; }

.btn-lg { padding: 15px 30px; font-size: .9rem; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--color-navy);
  color: rgba(255,255,255,.8);
  border-bottom: 1px solid rgba(184,137,58,.35);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: .78rem;
}
.topbar-contact { display: flex; align-items: center; gap: 20px; }
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color .15s ease;
}
.topbar-link:hover { color: var(--color-gold-light); }
.topbar-icon {
  width: 13px;
  height: 13px;
  color: var(--color-gold-light);
  opacity: .9;
  flex: none;
}
.topbar-divider { width: 1px; height: 13px; background: rgba(255,255,255,.2); }
.topbar-social .topbar-link { font-weight: 600; letter-spacing: .03em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}

.logo-mark img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(35,35,94,.1);
}

.logo-text { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 4px; line-height: 1; font-family: var(--font-head); }
.logo-as { color: var(--color-navy); font-size: 1.5rem; font-weight: 700; }
.logo-consulting { color: var(--color-navy); font-size: 1.5rem; font-weight: 500; }
.logo-sub {
  flex-basis: 100%;
  font-family: var(--font-body);
  font-size: .58rem;
  letter-spacing: .16em;
  color: var(--color-gold);
  font-weight: 600;
  margin-top: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: .88rem;
  letter-spacing: .01em;
}
.main-nav a:hover { color: var(--color-magenta); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  flex: none;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--color-bg-alt);
  padding: 76px 0 64px;
  overflow: hidden;
  text-align: center;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  right: -6%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  opacity: .05;
  pointer-events: none;
}
.hero-watermark img { width: 100%; height: 100%; filter: grayscale(1); }

.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
}

.hero-sub {
  font-size: 1.05rem;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 30px 0 26px;
}

.hero-trust {
  font-size: .84rem;
  font-weight: 500;
  color: var(--color-ink);
  margin: 0;
}

/* ---------- Regulatory strip ---------- */
.reg-strip {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 22px 0;
}
.reg-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.reg-strip-group {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.reg-strip-group + .reg-strip-group {
  padding-top: 14px;
  border-top: 1px solid var(--color-line);
}
.reg-strip-label {
  flex: none;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .66rem;
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
}
.reg-strip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
  flex: 1;
}
.reg-strip-list li {
  font-size: .76rem;
  color: var(--color-body);
  font-weight: 500;
  padding: 0 14px;
  border-left: 1px solid var(--color-line);
  line-height: 1.3;
}
.reg-strip-list li:first-child { border-left: none; }

/* ---------- Services ---------- */
.services { padding: 96px 0; }

.services-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: end;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-line);
}
.services-intro {
  font-size: 1rem;
  color: var(--color-body);
  margin: 0;
}

.services-list {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
}

.service-row {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-line);
}

.service-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-gold);
  flex: none;
  width: 42px;
}

.service-content h3 { font-size: 1.1rem; margin-bottom: .3em; }
.service-content p { font-size: .92rem; margin-bottom: 0; }

/* ---------- How We Work (process) ---------- */
.process { padding: 96px 0; background: var(--color-bg-alt); }

.process-track {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--color-line);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.process-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  background: var(--color-bg-alt);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
}
.process-step h3 { font-size: 1.05rem; margin-bottom: .4em; }
.process-step p { font-size: .88rem; margin-bottom: 0; }

.process-step:nth-child(1) { transition-delay: 0s; }
.process-step:nth-child(2) { transition-delay: .1s; }
.process-step:nth-child(3) { transition-delay: .2s; }
.process-step:nth-child(4) { transition-delay: .3s; }

/* ---------- Pull quote ---------- */
.pull-quote {
  background: var(--color-navy);
  padding: 88px 0;
  text-align: center;
}
.pull-quote-text {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 600;
  font-style: italic;
  color: #fff;
  margin: 0 0 .5em;
  line-height: 1.2;
}
.pull-quote-sub {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--color-gold-light);
  margin: 0;
}

/* ---------- About ---------- */
.about { padding: 92px 0; background: var(--color-navy); }
.about .eyebrow { color: var(--color-gold-light); }
.about .section-title { color: #fff; }
.about-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.about-copy { display: flex; flex-direction: column; align-items: center; }
.about-copy p { max-width: 68ch; color: rgba(255,255,255,.82); font-size: 1.02rem; }

.about-stats {
  margin-top: 34px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.stat-num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--color-gold-light); }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .07em; }

/* ---------- Why Us ---------- */
.why { padding: 96px 0; background: var(--color-bg-alt); }

.why-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.why-card {
  padding: 4px 26px 4px 0;
  border-left: 2px solid var(--color-gold);
  padding-left: 22px;
}
.why-index {
  display: block;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 10px;
}
.why-card h3 { font-size: 1.02rem; margin-bottom: .4em; }
.why-card p { font-size: .89rem; margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact { padding: 96px 0 104px; }
.contact-copy { text-align: center; max-width: 620px; margin: 0 auto 46px; }

.contact-panel {
  max-width: 640px;
  margin: 0 auto;
  border-top: 1px solid var(--color-line);
}
.contact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px 4px;
  border-bottom: 1px solid var(--color-line);
  text-decoration: none;
  transition: background .15s ease;
}
a.contact-row:hover { background: var(--color-bg-alt); }
.contact-label {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  color: var(--color-gold);
}
.contact-value {
  font-size: 1.02rem;
  color: var(--color-navy);
  font-weight: 500;
}
.contact-row-static { cursor: default; }

.contact-cta { text-align: center; margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,.68);
  padding: 30px 0;
  border-top: 3px solid var(--color-gold);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}
.footer-wordmark { font-size: 1.05rem; }
.footer-wordmark .logo-as, .footer-wordmark .logo-consulting { color: #fff; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .85rem; font-weight: 500; }
.footer-links a:hover { color: var(--color-gold-light); }
.footer-copy { width: 100%; margin: 4px 0 0; font-size: .76rem; color: rgba(255,255,255,.45); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.service-row.reveal:nth-child(1) { transition-delay: 0s; }
.service-row.reveal:nth-child(2) { transition-delay: .06s; }
.service-row.reveal:nth-child(3) { transition-delay: .12s; }
.service-row.reveal:nth-child(4) { transition-delay: .18s; }
.service-row.reveal:nth-child(5) { transition-delay: .24s; }
.service-row.reveal:nth-child(6) { transition-delay: .3s; }

.why-card.reveal:nth-child(1) { transition-delay: 0s; }
.why-card.reveal:nth-child(2) { transition-delay: .08s; }
.why-card.reveal:nth-child(3) { transition-delay: .16s; }
.why-card.reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .why-card { border-left: none; border-top: 2px solid var(--color-gold); padding-left: 0; padding-top: 18px; }
  .services-head { grid-template-columns: 1fr; }
  .hero-watermark { width: 360px; height: 360px; }
}

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

@media (max-width: 760px) {
  .topbar-social { display: none; }
  .topbar-inner { justify-content: center; }

  .main-nav { display: none; }
  .btn-header { display: none; }
  .nav-toggle { display: flex; }

  .header-inner { gap: 10px; }
  .logo-mark img { width: 30px; height: 30px; }
  .logo-as, .logo-consulting { font-size: 1.15rem; }
  .logo-sub { display: none; }

  .nav-cta-mobile {
    display: inline-flex;
    margin-top: 6px;
    background: var(--color-navy);
    color: #fff !important;
    padding: 12px 18px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    justify-content: center;
  }

  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 22px;
    gap: 14px;
  }

  .hero { padding: 48px 0 52px; }
  .hero-watermark { width: 260px; height: 260px; opacity: .06; }
  .services, .about, .why, .contact, .process { padding: 60px 0; }
  .services-list { grid-template-columns: 1fr; column-gap: 0; }
  .why-grid { grid-template-columns: 1fr; gap: 22px; }
  .about-stats { gap: 30px; }
  .contact-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  .reg-strip-group { flex-direction: column; align-items: flex-start; gap: 12px; }
  .reg-strip-list { flex-direction: column; align-items: flex-start; gap: 8px; }
  .reg-strip-list li { padding: 0; border-left: none; }

  .process-track { grid-template-columns: 1fr; gap: 34px; }
  .process-track::before { display: none; }

  .pull-quote { padding: 60px 0; }
}
