/* =========================================================
   RN IMPERIAL SERVICES LTD — style.css
   ========================================================= */

/* ----- CSS Custom Properties ----- */
:root {
  /* Accent: Slate Blue — professional financial/consulting services */
  --accent:       #21416F;
  --accent-light: #7C97C4;
  --accent-dark:  #12233C;
  --accent-soft:  #D8E1EF;
  --gold-soft:    #C6A874;

  /* Neutrals */
  --black:  #09101A;
  --dark:   #101A28;
  --dark2:  #1A283A;
  --mid:    #667085;
  --light:  #D7DCE3;
  --cream:  #F5F0E8;
  --white:  #FFFFFF;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Sora', system-ui, sans-serif;

  /* Layout */
  --header-height: 80px;
  --radius:        10px;
  --radius-lg:     22px;
  --max-width:     1280px;

  /* Shadows */
  --shadow-sm: 0 12px 30px rgba(10,18,31,.05);
  --shadow-md: 0 20px 44px rgba(10,18,31,.10);
  --shadow-lg: 0 34px 70px rgba(10,18,31,.18);
}

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: calc(var(--header-height) + 18px); }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(33,65,111,.03) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .45;
  pointer-events: none;
  z-index: -1;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ----- Typography ----- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: inherit;
}

h1 { font-size: clamp(3rem, 6vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.6rem, 2.5vw, 2.4rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

p { max-width: 680px; text-wrap: pretty; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.2rem;
}

/* ----- Utility ----- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; width: 100%; }
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.stack-lg > * + * { margin-top: 1.5rem; }
.stack-md > * + * { margin-top: 1rem; }
.muted { color: var(--mid); }
.text-sm { font-size: .85rem; }
.max-copy { max-width: 680px; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.section--tight-top { padding-top: 0; }
.section--tight-bottom { padding-bottom: 40px; }
.section--tight-start { padding-top: 40px; }

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
  z-index: 0;
}

.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn span, .btn > * { position: relative; z-index: 1; }
.btn:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 3px; }

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(44,74,124,.35);
}
.btn--primary::before { background: var(--accent-dark); }
.btn--primary:hover   { box-shadow: 0 6px 20px rgba(44,74,124,.45); }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.6);
}
.btn--outline-light::before { background: rgba(255,255,255,.12); }

.btn--outline-dark {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn--outline-dark::before { background: var(--accent); }
.btn--outline-dark:hover   { color: var(--white); }

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(16,26,40,.92);
  box-shadow: 0 14px 28px rgba(4,9,18,.14);
  backdrop-filter: blur(16px);
  border-color: rgba(255,255,255,.06);
}

.header--light { color: var(--dark); }
.header--light .nav__link { color: var(--dark); }
.header--light .header__phone { color: var(--dark); }
.header--light .logo__name    { color: var(--dark); }

.page-interior .header:not(.scrolled),
.page-legal .header:not(.scrolled),
.page-contact .header:not(.scrolled) {
  color: var(--white);
}

.page-interior .header:not(.scrolled) .nav__link,
.page-legal .header:not(.scrolled) .nav__link,
.page-contact .header:not(.scrolled) .nav__link,
.page-interior .header:not(.scrolled) .header__phone,
.page-legal .header:not(.scrolled) .header__phone,
.page-contact .header:not(.scrolled) .header__phone,
.page-interior .header:not(.scrolled) .logo__name,
.page-legal .header:not(.scrolled) .logo__name,
.page-contact .header:not(.scrolled) .logo__name {
  color: rgba(255,255,255,.92);
}

.page-interior .header:not(.scrolled) .nav__link:hover,
.page-interior .header:not(.scrolled) .nav__link.active,
.page-legal .header:not(.scrolled) .nav__link:hover,
.page-legal .header:not(.scrolled) .nav__link.active,
.page-contact .header:not(.scrolled) .nav__link:hover,
.page-contact .header:not(.scrolled) .nav__link.active {
  color: var(--white);
  background: rgba(255,255,255,.10);
}

.page-interior .header:not(.scrolled) .hamburger span,
.page-legal .header:not(.scrolled) .hamburger span,
.page-contact .header:not(.scrolled) .hamburger span {
  background: var(--white);
}

.header--light.scrolled {
  background: rgba(245,240,232,.95);
  box-shadow: 0 14px 28px rgba(4,9,18,.08);
  border-color: rgba(16,26,40,.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo__mark {
  width: 42px; height: 42px;
  flex-shrink: 0;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.25;
  max-width: 180px;
}

.header__cta .btn {
  min-width: 168px;
  text-align: center;
}

/* Desktop Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
  transform: translateY(-1px);
}

.header--light .nav__link:hover,
.header--light .nav__link.active {
  color: var(--accent);
  background: rgba(44,74,124,.08);
}

/* Header CTA area */
.header__cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.header__phone {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.header__phone:hover { color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.header--light .hamburger span { background: var(--dark); }

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.mobile-nav.active { opacity: 1; visibility: visible; }

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  padding: 2rem;
}

.mobile-nav__link {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 400;
  color: rgba(255,255,255,.75);
  padding: 0.5rem 1rem;
  transition: color 0.2s;
  text-align: center;
}
.mobile-nav__link:hover,
.mobile-nav__link.active { color: var(--white); }

.mobile-nav__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.03em;
}

.mobile-nav__contact a { color: rgba(255,255,255,.7); transition: color 0.2s; }
.mobile-nav__contact a:hover { color: var(--white); }

/* ----- Page Banner ----- */
.page-banner {
  background: var(--dark);
  padding: calc(var(--header-height) + 5rem) 0 5rem;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%; height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(44,74,124,.15) 100%);
  pointer-events: none;
}

.page-banner::after {
  content: '';
  position: absolute;
  left: -8%;
  bottom: -25%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,151,196,.18) 0%, transparent 72%);
}

.page-banner .section-label { color: var(--accent-light); }
.page-banner h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4rem); }
.page-banner__sub {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  margin-top: 0.75rem;
  max-width: 580px;
}
  .page-banner__card {
    max-width: 860px;
    padding: 2rem 2.2rem;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 28px 60px rgba(4,9,18,.24);
    backdrop-filter: blur(12px);
  }
  .page-banner__card .page-banner__sub,
  .page-banner__card .breadcrumb {
    max-width: 620px;
  }

.breadcrumb {
  .section-intro-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 2.1rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(248,242,232,.92));
    border: 1px solid rgba(16,26,40,.08);
    box-shadow: var(--shadow-md);
  }
  .section-intro-card--thin {
    padding: 1.2rem 1.4rem;
  }
  .section-intro-card p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  display: flex;
  align-items: center;
    padding: 2.25rem;
  font-size: 0.8rem;
  .topic-stack {
    display: grid;
    gap: 1.2rem;
    margin-top: 1.4rem;
  }
  .topic-block {
    padding: 1.45rem 1.5rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,242,234,.94));
    border: 1px solid rgba(16,26,40,.08);
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - var(--header-height) - 4rem);
    overflow-y: auto;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .services-sidebar__sticky::-webkit-scrollbar {
    display: none;
  }
  .topic-block > * + * {
    margin-top: .9rem;
  }
  .topic-block--ink {
    background: linear-gradient(180deg, rgba(18,35,60,.98), rgba(22,38,62,.94));
    border-color: rgba(124,151,196,.22);
  }
  .topic-block--ink h3,
  .topic-block--ink p {
    color: var(--white);
  }
  .topic-block--ink p {
    color: rgba(255,255,255,.76);
  }
  .topic-block--soft {
    background: linear-gradient(180deg, rgba(33,65,111,.07), rgba(124,151,196,.10));
    border-color: rgba(33,65,111,.12);
  }
  .overview-card h3,
  .topic-block h3 {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
  }
  .overview-card h3::before,
  .topic-block h3::before {
    content: '';
    width: 32px;
    height: 1px;
    background: currentColor;
    opacity: .45;
  }
  color: rgba(255,255,255,.45);
  letter-spacing: 0.04em;
  margin-top: 2rem;
}
.breadcrumb a { color: rgba(255,255,255,.55); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb__sep { font-size: 0.65rem; }

/* ----- Sections ----- */
.section { padding: 100px 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark  h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark  p   { color: rgba(255,255,255,.75); }
.section--dark  .section-label { color: var(--accent-light); }
.section--accent { background: var(--accent); color: var(--white); }
.section--accent h2, .section--accent h3 { color: var(--white); }
.section--accent p  { color: rgba(255,255,255,.85); }
.section--accent .section-label { color: rgba(255,255,255,.7); }
.section--cream { background: var(--cream); }

/* ----- Cards ----- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-md);
  padding: 2.25rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card__icon {
  width: 48px; height: 48px;
  background: rgba(44,74,124,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  color: var(--accent);
}

.card__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(44,74,124,.12);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.card h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 0.75rem; }
.card p  { font-size: 0.9rem; line-height: 1.7; color: var(--mid); max-width: none; }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1.25rem;
  transition: gap 0.2s;
}
.card__link:hover { gap: 0.65rem; }

/* ----- Pricing ----- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: var(--shadow-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.pricing-card__num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.pricing-card h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.pricing-card__desc { font-size: 0.88rem; color: var(--mid); line-height: 1.65; margin-bottom: 1.5rem; }

.pricing-card__price {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.pricing-card__label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.35rem;
}

.pricing-card__package {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 1.1rem;
}

.pricing-card__price small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--mid);
  letter-spacing: 0;
}

.pricing-card ul {
  flex: 1;
  border-top: 1px solid rgba(0,0,0,.06);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.5;
}

.pricing-card ul li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent-light);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.55rem;
}

/* ----- Accordion ----- */
.accordion { max-width: 920px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 1rem; }

.accordion__item {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,242,232,.94));
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,.07);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.accordion__item::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
}

.accordion__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.accordion__q:hover { background: rgba(44,74,124,.04); }
.accordion__item.active .accordion__q { color: var(--accent); background: rgba(44,74,124,.04); }

.accordion__icon {
  width: 24px; height: 24px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.3s;
  font-size: 0.75rem;
}
.accordion__item.active .accordion__icon { background: var(--accent); color: var(--white); transform: rotate(180deg); }

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.accordion__item.active .accordion__body { max-height: 800px; }

.accordion__body p {
  padding: 0 1.75rem 1.6rem;
  font-size: 0.92rem;
  color: var(--mid);
  line-height: 1.8;
  max-width: none;
}

/* ----- Stats strip ----- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 300;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat__label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* ----- Values / Why strip ----- */
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.value {
  min-height: 100%;
  padding: 2rem;
  border: 1px solid rgba(124,151,196,.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow: 0 18px 36px rgba(4,9,18,.16);
}

.value h4 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.value p { font-size: 0.9rem; color: rgba(255,255,255,.6); max-width: none; }

.why-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .7fr);
  gap: 2rem;
  align-items: end;
}

.why-intro p {
  justify-self: end;
  max-width: 460px;
  font-size: .98rem;
}

/* ----- Services list on inner page ----- */
.service-block {
  margin-top: 4rem;
  padding: 2rem 2rem 1.8rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,242,232,.92));
  border: 1px solid rgba(16,26,40,.08);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.service-block::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.service-block + .service-block { margin-top: 3rem; }

.service-block h3 {
  color: var(--dark);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}

.service-block .scope-label {
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding: .42rem .8rem;
  border-radius: 999px;
  background: rgba(33,65,111,.08);
  border: 1px solid rgba(33,65,111,.12);
}

.service-block p {
  max-width: none;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.5rem 1.5rem;
  margin-top: 0.75rem;
}

.scope-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.5;
  padding: 0.25rem 0;
}

.scope-list li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--accent-light);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.58rem;
}

/* ----- CTA Band ----- */
.cta-band {
  background: var(--accent);
  padding: 80px 0;
  color: var(--white);
  text-align: center;
}

.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 3rem); max-width: 700px; margin: 0 auto 1.25rem; }
.cta-band p  { color: rgba(255,255,255,.8); margin: 0 auto 2.5rem; max-width: 540px; }
.cta-band__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ----- Contact form ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

.contact-details h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-detail-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-detail-item__icon {
  width: 42px; height: 42px;
  background: rgba(44,74,124,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  font-size: 0.9rem;
}
.contact-detail-item__text { font-size: 0.9rem; color: var(--mid); line-height: 1.6; }
.contact-detail-item__text strong { color: var(--dark); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; display: block; margin-bottom: 0.2rem; }

.form__group { margin-bottom: 1.25rem; }
.form__label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--mid); margin-bottom: 0.5rem; }
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(44,74,124,.12);
}
.form__textarea { resize: vertical; min-height: 140px; }
.form__honeypot { display: none !important; visibility: hidden !important; }

.form__status {
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  display: none;
}
.form__status.success { background: rgba(16,185,129,.1); color: #065F46; border: 1px solid rgba(16,185,129,.25); display: block; }
.form__status.error   { background: rgba(239,68,68,.08); color: #B91C1C; border: 1px solid rgba(239,68,68,.2); display: block; }

.btn--submit { width: 100%; justify-content: center; margin-top: 0.5rem; display: flex; align-items: center; gap: 0.6rem; }
.btn--submit .spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn--submit.loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ----- Footer ----- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

.footer__logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.footer__logo-name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--white); letter-spacing: 0.04em; }
.footer__tagline { font-size: 0.88rem; line-height: 1.7; max-width: 280px; color: rgba(255,255,255,.5); }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.25rem;
}

.footer__nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--white); }

.footer__contact address { font-style: normal; display: flex; flex-direction: column; gap: 0.75rem; }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: rgba(255,255,255,.55);
  line-height: 1.55;
}
.footer__contact-item i { color: var(--accent-light); margin-top: 0.2rem; flex-shrink: 0; font-size: 0.75rem; width: 14px; }
.footer__contact-item a { transition: color 0.2s; }
.footer__contact-item a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__legal a { color: rgba(255,255,255,.35); transition: color 0.2s; }
.footer__legal a:hover { color: rgba(255,255,255,.7); }

/* ----- Hero (home) ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 4rem) 0 6rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Decorative SVG shapes */
.hero__bg::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -10%;
  width: 55%;
  height: 110%;
  background: radial-gradient(ellipse at 70% 30%, rgba(44,74,124,.28) 0%, transparent 70%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40%;
  height: 70%;
  background: radial-gradient(ellipse at 30% 70%, rgba(44,74,124,.12) 0%, transparent 65%);
}

.hero__geo {
  position: absolute;
  top: 15%;
  right: 8%;
  width: 420px;
  height: 420px;
  opacity: 0.06;
}

.hero__content { position: relative; z-index: 1; max-width: 760px; }

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.hero__label::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--accent-light);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 1.75rem;
}

.hero__title em {
  font-style: italic;
  color: var(--accent-light);
}

.hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  z-index: 1;
}

.hero__scroll-line {
  width: 1px;
  height: 45px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.9; }
}

/* ----- Intro two-col ----- */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 860px) { .intro-split { grid-template-columns: 1fr; gap: 2.5rem; } }

.intro-split__visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark2);
}

.intro-split__visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-split__accent-shape {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* Badge */
.badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

/* ----- Enhanced Home Layout ----- */
.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  gap: 3rem;
  align-items: center;
}

.hero__visual {
  position: relative;
  z-index: 1;
}

.hero__visual-shell {
  position: relative;
  min-height: 630px;
  padding: 0 2.5rem 4.5rem 0;
}

.hero__visual-card {
  position: relative;
  padding: 1rem;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 80px rgba(4,9,18,.32);
  backdrop-filter: blur(12px);
}

.hero__visual-card--primary {
  width: min(100%, 560px);
}

.hero__visual-card--secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(46%, 280px);
  z-index: 2;
}

.hero__image {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.12);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero__mini-panel {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  max-width: 260px;
  padding: 1.2rem 1.25rem;
  border-radius: 22px;
  background: rgba(16,26,40,.92);
  border: 1px solid rgba(124,151,196,.22);
  box-shadow: 0 20px 40px rgba(4,9,18,.24);
  z-index: 3;
}

.hero__mini-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.hero__mini-panel p {
  color: rgba(255,255,255,.72);
  font-size: .86rem;
  line-height: 1.65;
  margin-top: .65rem;
  max-width: none;
}

.hero__service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.4rem;
}

.hero__service-tags span {
  padding: .48rem .95rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
  font-size: .76rem;
  letter-spacing: .05em;
}

.home-stats {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-stat {
  padding: 1.4rem 1.2rem 1.3rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 16px 34px rgba(4,9,18,.14);
}

.home-stat__number {
  display: flex;
  align-items: flex-start;
  gap: .15rem;
}

.home-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--white);
  line-height: 1;
}

.home-stat__suffix {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  color: var(--accent-light);
  line-height: 1;
  margin-top: .1rem;
}

.home-stat__label {
  display: block;
  margin-top: .55rem;
  color: rgba(255,255,255,.6);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.home-stat__note {
  display: block;
  margin-top: .45rem;
  color: rgba(255,255,255,.56);
  font-size: .82rem;
  line-height: 1.55;
}

.overview-grid {
  display: block;
  margin-top: 3.5rem;
}

.overview-card,
.contact-panel,

.image-card {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(16,26,40,.08);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.image-card {
  overflow: hidden;
  background: linear-gradient(180deg, #f9f4ec 0%, #f1ebdf 100%);
}

.image-card--intro {
  margin: 2.5rem 0 1rem;
}

.image-card--section {
  margin: 0 0 2.5rem;
}

.image-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.overview-card {
  padding: 2.4rem;
}

.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}

.overview-copy {
  gap: 1.35rem;
}

.topic-block--wide p {
  max-width: none;
}

.overview-rail {
  display: grid;
  gap: 1.25rem;
}

.image-card--overview {
  min-height: 100%;
}

.overview-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.compact-card--accent {
  background: linear-gradient(180deg, rgba(33,65,111,.08), rgba(124,151,196,.12));
  border-color: rgba(33,65,111,.12);
}

.compact-card--accent p {
  color: var(--dark);
}

.overview-note {
  padding: 1.25rem 1.35rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18,35,60,.98), rgba(27,46,74,.95));
  border: 1px solid rgba(124,151,196,.22);
  box-shadow: var(--shadow-md);
}

.overview-note__label {
  display: inline-block;
  margin-bottom: .55rem;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.overview-note p {
  max-width: none;
  color: rgba(255,255,255,.74);
}

.value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.value-list li {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(33,65,111,.05);
  border: 1px solid rgba(33,65,111,.08);
  color: var(--dark);
  font-size: .88rem;
  line-height: 1.55;
}

.value-list li strong {
  display: block;
  margin-bottom: .3rem;
  color: var(--accent-dark);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.approach-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.compact-card {
  padding: 1.5rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,242,234,.96));
  border: 1px solid rgba(16,26,40,.08);
  box-shadow: var(--shadow-sm);
    max-height: calc(100vh - var(--header-height) - 3rem);
    overflow-y: auto;
    scrollbar-width: none;
  }
  .services-sidebar__sticky::-webkit-scrollbar {
    display: none;
  }

.compact-card h3 {
  font-size: 1rem;
  margin-bottom: .35rem;
}

.compact-card p {
  max-width: none;
  font-size: .87rem;
  color: var(--mid);
}

.dark-contact-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 28px;
  padding: 2.25rem;
  box-shadow: 0 25px 50px rgba(0,0,0,.22);
}

.dark-contact-panel .form__label,
.dark-contact-panel .contact-detail-item__text strong {
  color: rgba(255,255,255,.46);
}

.dark-contact-panel .form__input,
.dark-contact-panel .form__select,
.dark-contact-panel .form__textarea {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.13);
  color: var(--white);
}

.dark-contact-panel .form__input::placeholder,
.dark-contact-panel .form__textarea::placeholder {
  color: rgba(255,255,255,.42);
}

.dark-contact-panel .contact-detail-item__text,
.dark-contact-panel .contact-detail-item__text a {
  color: rgba(255,255,255,.68);
}

/* ----- Legal Pages ----- */
.page-legal .section--cream { background: transparent !important; 
  background: linear-gradient(180deg, #f6f1e9 0%, #f3ede5 100%);
}

.legal-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.2rem;
}

.legal-shell--document {
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  position: relative;
  overflow: visible;
  max-width: 800px;
  padding-top: 0;
} 

.legal-shell--document_old {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(247,242,234,.96));
  border-radius: 32px;
  border: 1px solid rgba(16,26,40,.08);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.legal-shell--document::before { display: none; 
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent-light));
}

.legal-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(16,26,40,.08);
}

.legal-meta {
  font-size: .76rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.legal-summary p {
  max-width: none;
  font-size: .98rem;
  color: #4A5568;
}

.legal-note {
  padding: 1.2rem 1.25rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(33,65,111,.06), rgba(124,151,196,.10));
  border: 1px solid rgba(33,65,111,.12);
}

.legal-note h3 {
  font-size: .82rem;
  font-family: var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .45rem;
  color: var(--accent-dark);
}

.legal-note p {
  font-size: .88rem;
  line-height: 1.7;
  color: #536172;
  max-width: none;
}

.legal-body {
  max-width: 820px;
  margin: 0 auto;
  padding-top: 2rem;
}

.legal-body h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  margin-top: 2.7rem;
  margin-bottom: .75rem;
}

.legal-body h3 {
  font-size: 1.12rem;
  margin-top: 1.7rem;
  margin-bottom: .45rem;
  color: var(--accent-dark);
  letter-spacing: .02em;
}

.legal-body p,
.legal-body address {
  margin-bottom: 1rem;
  font-style: normal;
  font-size: 1.05rem;
  color: #4F5C6D;
  line-height: 1.88;
}

.legal-body address {
  margin-bottom: 1rem;
  font-style: normal;
  font-size: 1.05rem;
  color: #4F5C6D;
  line-height: 1.88;
}

.legal-body ul {
  margin: .8rem 0 1.1rem;
  padding-left: 1.5rem;
}



.legal-body ul li {
  color: #4F5C6D;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: .4rem;
  list-style-type: disc;
  display: list-item;
}



.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ----- Contact / Images ----- */
.contact-grid--balanced {
  align-items: stretch;
}

.contact-grid--single {
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
}

.contact-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
  gap: 2rem;
  align-items: start;
}

.contact-home-main {
  display: grid;
  gap: 1.5rem;
}

.contact-home-value,
.contact-home-meta,
.contact-home-form .dark-contact-panel {
  padding: 2.4rem;
}

.contact-home-value .scope-list {
  margin-top: 1.2rem;
}

.contact-home-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.contact-home-support .legal-note {
  margin-top: 0;
}

.contact-home-support .legal-note p + p {
  margin-top: .4rem;
}

.contact-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
}

.contact-detail-grid .contact-detail-item {
  margin-bottom: 0;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.contact-home-form {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.dark-contact-panel--form h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: .5rem;
}

.contact-home-form__intro {
  max-width: none;
  margin-bottom: 1.5rem;
}

.contact-panel {
  padding: 2.1rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,242,232,.92));
}

.contact-panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.contact-figure {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #f9f4ec 0%, #ece5da 100%);
  border: 1px solid rgba(16,26,40,.08);
  box-shadow: var(--shadow-md);
}

.contact-figure img {
  width: 100%;
  height: auto;
}

.contact-stack {
  display: grid;
  gap: 1.5rem;
}

.contact-panel--process {
  padding: 2.4rem;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.intro-split__content p {
  max-width: 760px;
}

/* ----- Cookie Banner ----- */
.cookie-banner {
  position: fixed;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 1.2rem;
  border-radius: 24px;
  background: rgba(16,26,40,.96);
  border: 1px solid rgba(124,151,196,.22);
  box-shadow: 0 24px 60px rgba(5,10,19,.28);
  backdrop-filter: blur(16px);
}

.cookie-banner__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
}

.cookie-banner__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: .35rem;
}

.cookie-banner__copy {
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(255,255,255,.72);
  max-width: none;
}

.cookie-banner__actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-banner__actions .btn {
  min-width: 150px;
  text-align: center;
}

/* ----- Footer Redesign ----- */
.footer {
  background:
    radial-gradient(circle at top right, rgba(124,151,196,.12), transparent 28%),
    linear-gradient(180deg, #101a28 0%, #0b131f 100%);
  color: rgba(255,255,255,.68);
  padding: 56px 0 24px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .12;
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer__grid {
  grid-template-columns: minmax(280px, 1.3fr) minmax(180px, .8fr) minmax(260px, 1fr);
  gap: 3rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand {
  max-width: 360px;
}

.footer__tagline {
  max-width: 320px;
  margin-top: .35rem;
}

.footer__actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.footer__quick {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .78rem 1.1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.footer__quick:hover {
  transform: translateY(-2px);
  background: rgba(124,151,196,.16);
  color: var(--white);
}

.footer__nav a,
.footer__legal a {
  position: relative;
}

.footer__nav a::after,
.footer__legal a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.footer__nav a:hover::after,
.footer__legal a:hover::after {
  transform: scaleX(1);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  position: relative;
  padding: 1.3rem 0 0;
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1.5rem;
  align-items: center;
}

.footer__meta span,
.footer__meta a {
  font-size: .78rem;
}

.footer__legal {
  justify-content: flex-end;
}

/* ----- Floating Tools ----- */
.page-tools {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  z-index: 1100;
}

.page-tool {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16,26,40,.92);
  color: var(--white);
  border: 1px solid rgba(124,151,196,.22);
  box-shadow: 0 18px 36px rgba(4,9,18,.18);
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

.page-tool:hover {
  transform: translateY(-2px);
  background: var(--accent);
}

.page-tool.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

/* ----- Refined Motion ----- */
.hero__content > * {
  opacity: 0;
  transform: translateY(22px);
  animation: heroRise .9s ease forwards;
}

.hero__content > *:nth-child(1) { animation-delay: .05s; }
.hero__content > *:nth-child(2) { animation-delay: .16s; }
.hero__content > *:nth-child(3) { animation-delay: .28s; }
.hero__content > *:nth-child(4) { animation-delay: .40s; }
.hero__content > *:nth-child(5) { animation-delay: .52s; }

.hero__visual-card,
.hero__mini-panel,
.badge {
  animation: floatGentle 7s ease-in-out infinite;
}

.hero__mini-panel { animation-delay: 1.2s; }
.badge { animation-delay: 2s; }

@keyframes heroRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ----- Sector tags ----- */
.sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 3rem;
}

.sector-tag {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  border: 1px solid rgba(44,74,124,.25);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(44,74,124,.05);
  letter-spacing: 0.04em;
}

/* ----- Service teaser grid ----- */
.service-teasers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.teaser {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,.06);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
    max-height: calc(100vh - var(--header-height) - 3rem);
    overflow-y: auto;
    scrollbar-width: none;
  }
  .services-sidebar__sticky::-webkit-scrollbar {
    display: none;
  }

.teaser:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.teaser__num   { font-family: var(--font-display); font-size: 2.8rem; font-weight: 300; color: rgba(44,74,124,.1); line-height: 1; margin-bottom: 0.5rem; }
.teaser h3     { font-size: 1.15rem; color: var(--dark); margin-bottom: 0.6rem; }
.teaser p      { font-size: 0.87rem; color: var(--mid); line-height: 1.65; max-width: none; }
.teaser__link  { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-top: 1rem; transition: gap 0.2s; }
.teaser__link:hover { gap: 0.65rem; }

/* ----- Reveal animations ----- */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal       { transform: translateY(30px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.94); }

.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
  opacity: 1;
  transform: none;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .nav, .header__phone { display: none; }
  .hamburger { display: flex; }
  .header__cta .btn { display: none; }
  .hero__layout,
  .overview-layout,
  .contact-home-layout,
  .why-intro,
  .legal-lead {
    grid-template-columns: 1fr;
  }
  .hero__visual { max-width: 640px; margin: 0 auto; }
  .hero__visual-shell {
    min-height: 560px;
    padding-right: 1.5rem;
  }
  .contact-home-form {
    position: static;
  }
}

@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 70px 0; }
  .hero { padding: calc(var(--header-height) + 2.5rem) 0 4rem; }
  .hero__title { font-size: clamp(2.4rem, 8vw, 3.6rem); }
  .cta-band { padding: 60px 0; }
  .footer { padding: 60px 0 0; }
  .footer__grid { padding-bottom: 2.5rem; }
  .home-stats,
  .value-list,
  .approach-cards,
  .cookie-banner__grid {
    grid-template-columns: 1fr;
  }
  .hero__mini-panel {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }
  .hero__visual-shell {
    min-height: auto;
    padding: 0;
  }
  .hero__visual-card--secondary {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }
  .cookie-banner {
    left: .75rem;
    right: .75rem;
    bottom: .75rem;
  }
  .cookie-banner__actions {
    justify-content: stretch;
  }
  .cookie-banner__actions .btn {
    width: 100%;
  }
  .page-tools {
    right: .75rem;
    bottom: .75rem;
  }
  .page-tool {
    width: 46px;
    height: 46px;
  }
  .page-banner__card,
  .section-intro-card,
  .service-block,
  .topic-block,
  .legal-shell {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .overview-card,
  .contact-home-value,
  .contact-home-meta,
  .contact-home-form .dark-contact-panel,
  .contact-panel--process {
    padding: 1.5rem;
  }
}

@media (max-width: 860px) {
  .values,
  .overview-pillars,
  .value-list,
  .approach-cards,
  .approach-grid,
  .contact-home-support,
  .contact-detail-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid--balanced {
    grid-template-columns: 1fr;
  }
  .contact-grid--single {
    grid-template-columns: 1fr;
  }
  .why-intro p {
    justify-self: start;
  }
  .footer__bottom,
  .footer__legal {
    justify-content: flex-start;
  }
}

/* ----- Services Redesign (Layout & Sidebar) ----- */
.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  margin-top: 4rem;
  /* align-items: start removed */
}

@media (min-width: 900px) {
  .services-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 4rem;
  }
}

@media (min-width: 1100px) {
  .services-layout {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 5rem;
  }
}

.services-sidebar {
  display: none;
}

@media (min-width: 900px) {
  .services-sidebar {
    display: block;
  }
  .services-sidebar__sticky {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,242,232,.92));
    border: 1px solid rgba(16,26,40,.08);
    border-radius: 24px;
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - var(--header-height) - 4rem);
    overflow-y: auto;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .services-sidebar__sticky::-webkit-scrollbar {
    display: none;
  }
    max-height: calc(100vh - var(--header-height) - 2rem);
    overflow-y: auto;

}

.services-sidebar__title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.services-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.services-nav__link {
  font-size: 0.92rem;
  color: var(--mid);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s, font-weight 0.2s;
  line-height: 1.4;
  position: relative;
}

.services-nav__link:hover,
.services-nav__link.active {
  color: var(--accent);
  background: rgba(44,74,124,.06);
  font-weight: 500;
}

/* Adjust margins on service blocks since they are inside the layout now */
.services-content .service-block {
  margin-top: 0;
}

.services-content .service-block + .service-block {
  margin-top: 3rem;
}

/* Make sure active hash fragment handles fixed header correctly */
html {
  scroll-padding-top: calc(var(--header-height) + 2rem);
}

/* ----- Services Redesign (Layout & Sidebar) ----- */
.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  margin-top: 4rem;
  /* align-items: start removed */
}

@media (min-width: 900px) {
  .services-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 4rem;
  }
}

@media (min-width: 1100px) {
  .services-layout {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 5rem;
  }
}

.services-sidebar {
  display: none;
}

@media (min-width: 900px) {
  .services-sidebar {
    display: block;
  }
  .services-sidebar__sticky {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,242,232,.92));
    border: 1px solid rgba(16,26,40,.08);
    border-radius: 24px;
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - var(--header-height) - 4rem);
    overflow-y: auto;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .services-sidebar__sticky::-webkit-scrollbar {
    display: none;
  }
    max-height: calc(100vh - var(--header-height) - 2rem);
    overflow-y: auto;

}

.services-sidebar__title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.services-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.services-nav__link {
  font-size: 0.92rem;
  color: var(--mid);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s, font-weight 0.2s;
  line-height: 1.4;
  position: relative;
}

.services-nav__link:hover,
.services-nav__link.active {
  color: var(--accent);
  background: rgba(44,74,124,.06);
  font-weight: 500;
}

/* Adjust margins on service blocks since they are inside the layout now */
.services-content .service-block {
  margin-top: 0;
}

.services-content .service-block + .service-block {
  margin-top: 3rem;
}

/* Make sure active hash fragment handles fixed header correctly */
html {
  scroll-padding-top: calc(var(--header-height) + 2rem);
}

/* ----- Pricing Layout with Sidebar ----- */
.pricing-grid-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 0;
}

@media (min-width: 1024px) {
  /* On very large screens maybe 2 columns, but 1 column is probably better for a list like services */
  .pricing-grid-list {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.pricing-grid-list .pricing-card {
  margin-top: 0;
  height: 100%;
}

/* ----- Pricing Layout with Sidebar ----- */
.pricing-grid-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 0;
}

@media (min-width: 1024px) {
  .pricing-grid-list {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.pricing-grid-list .pricing-card {
  margin-top: 0;
  height: 100%;
}
