/* =================================================================
   OMKAR INVESTMENTS — Shared Stylesheet
   Palette, type and signature elements derived from the client's
   brand prototype. Coral accent is sampled from the advisor photo.
   ================================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink:        #1A1A1C;
  --charcoal:   #26262A;
  --charcoal-2: #303036;
  --graphite:   #6C6C72;
  --mist:       #E9E9EC;
  --mist-2:     #F0F0F1;
  --paper:      #F6F6F4;
  --white:      #FFFFFF;
  --coral:      #DC6A45;
  --coral-soft: #E8896B;
  --coral-deep: #C2542F;
  --line:       rgba(26, 26, 28, 0.12);
  --line-dark:  rgba(255, 255, 255, 0.14);

  --ff-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --ff-body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --shadow-sm: 0 4px 14px rgba(26, 26, 28, 0.05);
  --shadow-md: 0 14px 40px rgba(26, 26, 28, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Contain off-screen reveal transforms (translateX) so they never trigger
   horizontal scroll on mobile. clip is used (not hidden) and is applied to
   <main> only, leaving the sticky header — a sibling of main — unaffected. */
main { overflow-x: clip; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--ff-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--coral-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--coral); display: inline-block; }

.lead { color: var(--graphite); font-size: 1.15rem; max-width: 52ch; line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--white);
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--ff-body); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.01em;
  background: var(--bg); color: var(--fg);
  padding: 0.95rem 1.8rem; border: 1px solid var(--bg);
  border-radius: 100px; cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), box-shadow 0.4s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(26,26,28,0.18); }
.btn .arr { transition: transform 0.4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--coral { --bg: var(--coral); --fg: #fff; border-color: var(--coral); }
.btn--coral:hover { background: var(--coral-deep); border-color: var(--coral-deep); box-shadow: 0 12px 26px rgba(194,84,47,0.28); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { --bg: #fff; --fg: var(--ink); border-color: #fff; }

/* =================================================================
   HEADER / NAV
   ================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 246, 244, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding-block: 0.2rem;
}
.site-header.scrolled { background: rgba(246,246,244,0.92); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); padding-block: 0; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.brand { display: flex; align-items: center; gap: 0.8rem; }
.brand__mark { height: 42px; width: 42px; flex: none; object-fit: contain; }
.brand__name { line-height: 1.1; }
.brand__name b { font-family: var(--ff-display); font-weight: 700; font-size: 1.18rem; letter-spacing: 0.01em; display: block; }
.brand__name b span { color: var(--graphite); }
.brand__name small { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--graphite); font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav__links a { font-size: 0.95rem; font-weight: 600; color: var(--ink); position: relative; padding: 0.2rem 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--coral); transition: width 0.35s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--coral-deep); }

.nav__cta { display: flex; align-items: center; gap: 1.25rem; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: transparent; border-radius: 10px; cursor: pointer; position: relative;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 50%; width: 20px; height: 2px; background: var(--ink);
  transform: translateX(-50%); transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav__toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* =================================================================
   HERO
   ================================================================= */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 0; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.hero__since {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
  background: var(--mist);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(26, 26, 28, 0.08);
  margin-bottom: 1.8rem;
}
.hero__since span { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--graphite); font-weight: 700; }
.hero__since b { font-family: var(--ff-body); font-size: 0.85rem; line-height: 1; color: var(--coral-deep); font-weight: 800; background: var(--white); padding: 0.2rem 0.65rem; border-radius: 20px; box-shadow: var(--shadow-sm); }

.hero h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); line-height: 1.12; font-weight: 700; }
.hero h1 .accent { color: var(--coral); font-style: italic; font-weight: 600; }
.hero__sub { margin-top: 1.6rem; font-size: 1.2rem; line-height: 1.65; color: var(--graphite); max-width: 45ch; }
.hero__sub strong { color: var(--ink); font-weight: 600; }
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__rule { height: 1px; background: var(--line); margin: 1.6rem 0; max-width: 360px; }

/* portrait panel */
.hero__portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 70% 20%, var(--mist) 0%, var(--mist-2) 45%, #DCDCDF 100%);
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.hero__portrait::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 72% 38%, rgba(220,106,69,0.16), transparent 70%);
}
.portrait-ph { text-align: center; color: var(--graphite); padding: 1.5rem; position: relative; z-index: 1; }
.portrait-ph svg { width: 64px; height: 64px; margin-inline: auto; opacity: 0.55; }
.portrait-ph p { font-size: 0.82rem; margin-top: 0.6rem; letter-spacing: 0.04em; }
.portrait-ph small { font-size: 0.7rem; opacity: 0.7; }

/* Elevated Hero Image styling */
.hero__portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease);
  display: block;
}
.hero__portrait:hover .hero__portrait-img {
  transform: scale(1.03);
}

/* =================================================================
   STAT BAND  (signature element)
   ================================================================= */
.statband { margin-top: clamp(2.5rem, 6vw, 4rem); }
.statband__inner {
  background: var(--ink); color: #fff; border-radius: 20px;
  padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.2rem, 3vw, 2.2rem);
  display: grid; grid-template-columns: repeat(4, 1fr);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.stat { padding: 0 1.6rem; position: relative; transition: transform 0.4s var(--ease); }
.stat:hover { transform: translateY(-4px); }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 8%; height: 84%; width: 1px; background: var(--line-dark);
}
.stat__icon { width: 34px; height: 34px; color: var(--coral-soft); margin-bottom: 0.9rem; }
.stat__num { font-family: var(--ff-display); font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; font-weight: 600; }
.stat__label { font-weight: 700; font-size: 0.98rem; margin-top: 0.45rem; }
.stat__sub { color: rgba(255,255,255,0.6); font-size: 0.8rem; line-height: 1.45; margin-top: 0.3rem; }

/* =================================================================
   SECTION SCAFFOLD
   ================================================================= */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #fff; }
.section__head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-top: 0.9rem; line-height: 1.15; }
.section--ink .lead { color: rgba(255,255,255,0.72); }
.section--ink .eyebrow { color: var(--coral-soft); }

/* page hero (interior pages) */
.pagehero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.pagehero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); margin-top: 0.8rem; line-height: 1.12; }
.pagehero p { margin-top: 1rem; }

/* =================================================================
   SERVICE CARDS
   ================================================================= */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.svc {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  position: relative; overflow: hidden;
}
.svc::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--coral); transition: width 0.5s var(--ease);
}
.svc:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc:hover::after { width: 100%; }
.svc__icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--mist);
  display: grid; place-items: center; margin-bottom: 1.2rem; color: var(--ink);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.svc:hover .svc__icon { background: var(--coral); color: #fff; }
.svc__icon svg { width: 28px; height: 28px; }
.svc h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.svc p { color: var(--graphite); font-size: 0.98rem; }
.svc__list { list-style: none; margin-top: 1.3rem; display: grid; gap: 0.65rem; }
.svc__list li { font-size: 0.94rem; color: var(--ink); display: flex; gap: 0.65rem; align-items: flex-start; line-height: 1.5; }
.svc__list li::before {
  content: "✓";
  color: var(--coral);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
}

/* Service Card with Image Elevations */
.svc--has-img {
  padding: 0;
  box-shadow: var(--shadow-sm);
}
.svc--has-img .svc__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  position: relative;
  background: var(--mist);
}
.svc--has-img .svc__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  display: block;
}
.svc--has-img:hover .svc__img {
  transform: scale(1.06);
}
.svc--has-img .svc__content {
  padding: 2.2rem 2rem 2.4rem;
}

/* =================================================================
   ABOUT / FEATURE ROWS
   ================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm);
}
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.value {
  border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem;
  background: var(--paper); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.value h4 { font-family: var(--ff-body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--coral-deep); margin-bottom: 0.5rem; }
.value p { font-size: 0.92rem; color: var(--graphite); }

.quoteblock {
  border-left: 3px solid var(--coral); padding: 0.4rem 0 0.4rem 1.6rem;
  font-family: var(--ff-display); font-style: italic; font-size: 1.4rem; line-height: 1.5; color: var(--ink);
}

/* timeline */
.timeline { display: grid; gap: 0; position: relative; padding-left: 1rem; }
.timeline::before {
  content: ""; position: absolute; left: 0; top: 1.8rem; bottom: 1.8rem; width: 2px;
  background: var(--line);
}
.tl { display: grid; grid-template-columns: 90px 1fr; gap: 1.4rem; padding: 1.6rem 0; border-top: none; position: relative; }
.tl::after {
  content: ""; position: absolute; left: -1rem; top: 2.1rem; width: 8px; height: 8px;
  background: var(--paper); border: 2px solid var(--coral); border-radius: 50%;
  transform: translateX(-3px); transition: background 0.3s;
}
.tl:hover::after { background: var(--coral); box-shadow: 0 0 0 4px rgba(220,106,69,0.2); }
.tl__year { font-family: var(--ff-display); font-size: 1.5rem; color: var(--coral); font-weight: 600; line-height: 1; }
.tl h4 { font-family: var(--ff-body); font-weight: 700; margin-bottom: 0.2rem; }
.tl p { color: var(--graphite); font-size: 0.95rem; }

/* =================================================================
   CTA STRIP
   ================================================================= */
.ctastrip { background: var(--ink); color: #fff; border-radius: 22px; padding: clamp(2.4rem, 5vw, 3.6rem); text-align: center; box-shadow: var(--shadow-md); }
.ctastrip h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; }
.ctastrip p { color: rgba(255,255,255,0.72); max-width: 48ch; margin: 0.8rem auto 1.8rem; }

/* =================================================================
   FORMS  (Contact page)
   ================================================================= */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.card-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm);
}
.card-form--accent { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-form h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.card-form > p { font-size: 0.95rem; color: var(--graphite); margin-bottom: 1.4rem; }
.card-form--accent > p { color: rgba(255,255,255,0.7); }

.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 0.4rem; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--ff-body); font-size: 0.97rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.8rem 0.95rem; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--coral-soft); box-shadow: 0 0 0 4px rgba(220,106,69,0.14); background: #fff;
}
.card-form--accent .field input,
.card-form--accent .field textarea,
.card-form--accent .field select {
  background: var(--charcoal-2); border-color: var(--line-dark); color: #fff;
}
.card-form--accent .field input::placeholder,
.card-form--accent .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.card-form--accent .field input:focus,
.card-form--accent .field textarea:focus,
.card-form--accent .field select:focus { border-color: var(--coral-soft); box-shadow: 0 0 0 4px rgba(220,106,69,0.25); }

.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field .err { color: var(--coral-deep); font-size: 0.78rem; margin-top: 0.3rem; display: none; }
.card-form--accent .field .err { color: var(--coral-soft); }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: var(--coral-deep); }

.form-note { font-size: 0.8rem; color: var(--graphite); margin-top: 0.6rem; }
.card-form--accent .form-note { color: rgba(255,255,255,0.55); }

.form-success {
  display: none; align-items: center; gap: 0.7rem; padding: 0.9rem 1.1rem;
  background: rgba(220,106,69,0.12); border: 1px solid var(--coral); color: var(--coral-deep);
  border-radius: 10px; font-size: 0.92rem; font-weight: 600; margin-bottom: 1.2rem;
}
.card-form--accent .form-success { background: rgba(232,137,107,0.18); color: #fff; border-color: var(--coral-soft); }
.form-success.show { display: flex; animation: pop 0.4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* contact details list */
.contact-info { display: grid; gap: 1.1rem; }
.cinfo { display: flex; gap: 1rem; align-items: flex-start; }
.cinfo__ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.cinfo__ic svg { width: 20px; height: 20px; }
.cinfo small { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--graphite); font-weight: 600; }
.cinfo b { font-weight: 600; font-size: 1.02rem; }

/* =================================================================
   FOOTER
   ================================================================= */
.value-ribbon { background: var(--ink); color: #fff; }
.value-ribbon .wrap { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; padding-block: 1rem; }
.value-ribbon span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.value-ribbon i { color: var(--coral); font-style: normal; }

.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.78); padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer h5 { font-family: var(--ff-body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.72); transition: color 0.3s; }
.site-footer a:hover { color: var(--coral-soft); }
.footer-links { list-style: none; display: grid; gap: 0.55rem; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; margin-top: 1rem; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 2.5rem; padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* =================================================================
   REVEAL ANIMATIONS
   ================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-reveal="left"]  { transform: translateX(-32px); }
.reveal[data-reveal="right"] { transform: translateX(32px); }
.reveal[data-reveal="scale"] { transform: scale(0.94); }
.reveal.is-visible[data-reveal] { transform: none; }

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

/* Keep the brand wordmark on one line so it never wraps in tight navs */
.brand__name b { white-space: nowrap; }

/* ---- Tablet & below: single-column hero, 2-up stats, 2-up cards ---- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__portrait { max-width: 420px; margin-inline: auto; }
  .statband__inner { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 0; }
  /* In a 2x2 grid only the right-column cells (2 & 4) keep a divider.
     The base rule adds one to 2,3,4 — so we simply remove it from cell 3. */
  .statband__inner .stat:nth-child(3)::before { content: none; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .split, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Switch to the mobile menu here (was 720px) — the desktop nav could not
     fit the logo + 4 links + CTA between 721–940px and overlapped badly. */
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .mobile-menu {
    position: fixed; inset: 78px 0 auto 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 1.2rem var(--gutter) 1.8rem;
    display: grid; gap: 0.4rem; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease); z-index: 55; box-shadow: var(--shadow-md);
  }
  .mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-menu a { padding: 0.85rem 0.4rem; border-bottom: 1px solid var(--line); font-weight: 600; }
  .mobile-menu a:last-of-type { border-bottom: none; }
  .mobile-menu .btn { margin-top: 0.8rem; justify-content: center; }
}

/* Hide the mobile-menu element on the desktop nav (≥941px) */
@media (min-width: 941px) { .mobile-menu { display: none; } }

/* ---- Phones: full single-column, stacked stats, no sideways motion ---- */
@media (max-width: 640px) {
  .svc-grid, .values, .footer-grid { grid-template-columns: 1fr; }
  .statband__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .stat { padding: 0; }
  .stat + .stat::before { content: none !important; }
  .stat + .stat { border-top: 1px solid var(--line-dark); padding-top: 1.4rem; }
  .field--row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  /* Reveal only vertically on small screens — horizontal slides can briefly
     extend past the viewport and feel jittery on touch devices. */
  .reveal[data-reveal="left"], .reveal[data-reveal="right"] { transform: translateY(28px); }
}

/* ---- Large screens: let the layout breathe instead of capping early ---- */
@media (min-width: 1600px) {
  :root { --maxw: 1320px; }
  body { font-size: 1.1rem; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .svc, .value { transition: none !important; }
}

/* ---------- WhatsApp Widget ---------- */
.wa-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #25D366;
  color: #fff;
  padding: 0.75rem 1.35rem;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.4s var(--ease);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.wa-widget.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.wa-widget:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.45);
  background: #20BA5A;
}
.wa-widget__icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---------- Floating CTA Widget ---------- */
.floating-cta {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--coral);
  color: #fff;
  padding: 0.75rem 1.4rem;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(220, 106, 69, 0.3);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.4s var(--ease);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.floating-cta.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.floating-cta:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 35px rgba(220, 106, 69, 0.45);
  background: var(--coral-deep);
}
.floating-cta__icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

/* Coordination on mobile viewports (Tablet & below) */
@media (max-width: 940px) {
  .floating-cta {
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    padding: 1.1rem var(--gutter);
    width: 100%;
    justify-content: center;
    box-shadow: 0 -8px 24px rgba(26, 26, 28, 0.08);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
  }
  .floating-cta.show {
    transform: translateY(0);
  }
  .floating-cta:hover {
    transform: none;
    background: var(--coral-deep);
  }
  
  /* Push the WhatsApp widget up to sit neatly above the full-width CTA bar on mobile */
  .wa-widget {
    bottom: 76px;
    right: 20px;
    padding: 0.7rem 1.25rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
  }
}

/* Safe area support for newer mobile screens */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  @media (max-width: 940px) {
    .floating-cta {
      padding-bottom: calc(1.1rem + env(safe-area-inset-bottom));
    }
    .wa-widget {
      bottom: calc(76px + env(safe-area-inset-bottom));
    }
  }
}

/* =================================================================
   PREMIUM VALUES SHOWCASE SECTION
   ================================================================= */
.section--values-showcase {
  background: #111827;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.values-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

#values-bg-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.values-showcase__content {
  position: relative;
  z-index: 2;
}

.values-flow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-block: 4rem 3.5rem;
  position: relative;
}

.value-node {
  flex: 1;
  text-align: center;
  padding: 2.2rem 1.6rem;
  background: rgba(31, 41, 55, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
}

.value-node:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(37, 99, 235, 0.15);
}

.value-node__icon-wrap {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.8rem;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.value-node:hover .value-node__icon-wrap {
  transform: scale(1.08);
  background: rgba(212, 175, 55, 0.04);
  border-color: rgba(212, 175, 55, 0.25);
}

.value-node__icon {
  width: 64px;
  height: 64px;
  display: block;
}

/* SVG path drawing animations */
.draw-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 2s var(--ease);
}

.section--values-showcase.is-visible .draw-path,
.value-node.is-visible .draw-path {
  stroke-dashoffset: 0;
}

/* Experience node */
.timeline-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.timeline-dot-1 { opacity: 0; transition: opacity 0.5s var(--ease) 0.3s; }
.timeline-dot-2 { opacity: 0; transition: opacity 0.5s var(--ease) 0.6s; }
.timeline-dot-3 { opacity: 0; transition: opacity 0.5s var(--ease) 0.9s; }
.timeline-hand-1 { transform-origin: 50px 50px; transition: transform 2s var(--ease); transform: rotate(0deg); }
.timeline-hand-2 { transform-origin: 50px 50px; transition: transform 2s var(--ease); transform: rotate(0deg); }

.section--values-showcase.is-visible .timeline-dot-1,
.section--values-showcase.is-visible .timeline-dot-2,
.section--values-showcase.is-visible .timeline-dot-3 { opacity: 1; }
.section--values-showcase.is-visible .timeline-hand-1 { transform: rotate(360deg); }
.section--values-showcase.is-visible .timeline-hand-2 { transform: rotate(90deg); }

/* Experience micro interaction hover */
.value-node#node-experience:hover .timeline-hand-1 { transform: rotate(720deg); }
.value-node#node-experience:hover .timeline-hand-2 { transform: rotate(180deg); }

/* Integrity node gold expand line */
.gold-expand-line {
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  margin: 1.2rem auto 0;
  transition: width 0.6s var(--ease);
}
.value-node#node-integrity.is-visible .gold-expand-line,
.value-node#node-integrity:hover .gold-expand-line {
  width: 80%;
}

/* Integrity shield shine animation */
.value-node#node-integrity:hover .shield-path {
  animation: shield-shine 1s var(--ease);
}
@keyframes shield-shine {
  0% { stroke: #D4AF37; filter: drop-shadow(0 0 0px #D4AF37); }
  50% { stroke: #FFF; filter: drop-shadow(0 0 6px #D4AF37); }
  100% { stroke: #D4AF37; filter: drop-shadow(0 0 0px #D4AF37); }
}

/* Trust node handshake */
.hand-right { stroke-dasharray: 80; stroke-dashoffset: 80; }
.hand-left { stroke-dasharray: 80; stroke-dashoffset: 80; }
.hand-ring-conn { opacity: 0; transition: opacity 0.5s var(--ease) 1s; }

.section--values-showcase.is-visible .hand-ring-conn {
  opacity: 1;
}

.trust-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.4);
  opacity: 0;
  pointer-events: none;
  top: 0;
  left: 0;
}
.value-node#node-trust:hover .trust-pulse {
  animation: trust-pulse-anim 1.2s var(--ease) infinite;
}
@keyframes trust-pulse-anim {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Results node lines & graph */
.chart-line { stroke-dasharray: 120; stroke-dashoffset: 120; }
.chart-dot { opacity: 0; scale: 0; transition: opacity 0.4s var(--ease), scale 0.4s var(--ease); }
.chart-dot:nth-of-type(1) { transition-delay: 0.4s; }
.chart-dot:nth-of-type(2) { transition-delay: 0.8s; }
.chart-dot:nth-of-type(3) { transition-delay: 1.2s; }

.section--values-showcase.is-visible .chart-dot {
  opacity: 1;
  scale: 1;
}

.value-node#node-results:hover .chart-line {
  animation: chart-redraw 1s var(--ease) forwards;
}
@keyframes chart-redraw {
  0% { stroke-dashoffset: 120; }
  100% { stroke-dashoffset: 0; }
}

/* Typography animation: letter-by-letter reveal */
.value-node__title {
  font-family: var(--ff-body);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
  color: #ffffff;
  display: flex;
  justify-content: center;
  gap: 1px;
}

.value-node__title .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.section--values-showcase.is-visible .value-node__title .letter {
  opacity: 1;
  transform: translateY(0);
}

/* Delay configurations for letter animations */
.value-node__title .letter:nth-child(1) { transition-delay: 0.05s; }
.value-node__title .letter:nth-child(2) { transition-delay: 0.1s; }
.value-node__title .letter:nth-child(3) { transition-delay: 0.15s; }
.value-node__title .letter:nth-child(4) { transition-delay: 0.2s; }
.value-node__title .letter:nth-child(5) { transition-delay: 0.25s; }
.value-node__title .letter:nth-child(6) { transition-delay: 0.3s; }
.value-node__title .letter:nth-child(7) { transition-delay: 0.35s; }
.value-node__title .letter:nth-child(8) { transition-delay: 0.4s; }
.value-node__title .letter:nth-child(9) { transition-delay: 0.45s; }
.value-node__title .letter:nth-child(10) { transition-delay: 0.5s; }

.value-node__counter {
  font-size: 0.94rem;
  font-weight: 700;
  color: #D4AF37;
  margin-bottom: 0.2rem;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 1.2s;
}
.value-node__counter-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  transition: opacity 0.6s var(--ease) 1.4s;
}

.value-node__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.6s;
}

.value-node__percentage {
  font-family: var(--ff-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: #2563EB;
  line-height: 1;
  margin-bottom: 0.4rem;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 1.2s;
}

.section--values-showcase.is-visible .value-node__counter,
.section--values-showcase.is-visible .value-node__counter-sub,
.section--values-showcase.is-visible .value-node__desc,
.section--values-showcase.is-visible .value-node__percentage {
  opacity: 1;
}

/* Horizontal line links */
.value-flow-line {
  flex: none;
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(212,175,55,0.2), rgba(255,255,255,0.06));
  align-self: center;
  opacity: 0.5;
}

/* Tagline */
.values-tagline {
  text-align: center;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
}
.values-tagline p {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Responsive showcase rules */
@media (max-width: 940px) {
  .values-flow {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .value-node {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
  }
  .value-flow-line {
    width: 2px;
    height: 32px;
    background: linear-gradient(180deg, #D4AF37, #2563EB);
    align-self: center;
  }
}


