/* ============================================================
   CROYANCE — Global Stylesheet
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: #0d1b2e; background: #fff; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TOKENS ── */
:root {
  --teal:       #1aa8a0;
  --teal-dark:  #138a83;
  --teal-light: #e0f5f4;
  --navy:       #0d1b2e;
  --navy-mid:   #1a3a5c;
  --navy-deep:  #122d4a;
  --blue:       #1e5fa8;
  --grey-bg:    #f5f8fc;
  --grey-text:  #556070;
  --white:      #ffffff;
  --radius:     6px;
  --shadow:     0 6px 30px rgba(13,27,46,.10);
  --transition: .28s ease;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; line-height: 1.18; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { line-height: 1.75; color: var(--grey-text); font-size: .97rem; }

/* ── LAYOUT ── */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* ── SHARED COMPONENTS ── */
.section-label {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: .9rem; background: var(--teal-light);
  padding: .3rem .9rem; border-radius: 50px;
}

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.8rem; border-radius: 4px;
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: .9rem; letter-spacing: .02em;
  transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,168,160,.3); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline-dark { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }

.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head h2 { margin-bottom: 1rem; color: var(--navy); }
.section-head p { max-width: 560px; margin: 0 auto; }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#navbar.scrolled { background: var(--white); padding: .8rem 0; box-shadow: 0 2px 20px rgba(13,27,46,.1); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 1.45rem; letter-spacing: .04em;
  color: var(--white); transition: color var(--transition);
}
.nav-logo .logo-icon { height: 34px; width: auto; display: block; transition: opacity var(--transition); }
.nav-logo .logo-dark { display: none; }
.nav-logo .logo-light { display: block; }
#navbar.scrolled .nav-logo { color: var(--navy); }
#navbar.scrolled .nav-logo .logo-dark { display: block; }
#navbar.scrolled .nav-logo .logo-light { display: none; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a {
  font-family: 'DM Sans', sans-serif; font-weight: 500;
  font-size: .88rem; letter-spacing: .02em;
  color: rgba(255,255,255,.9); transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--teal); transform: scaleX(0);
  transition: transform var(--transition); transform-origin: left;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
#navbar.scrolled .nav-links a { color: var(--navy); }
.nav-links a:hover, .nav-links a.active { color: var(--teal) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
#navbar.scrolled .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--navy);
  z-index: 999; flex-direction: column; align-items: center;
  justify-content: center; gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 1.4rem; color: var(--white); }
.mobile-menu a:hover { color: var(--teal); }
.mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }

/* ============================================================
   PAGE HERO BANNER (inner pages)
   ============================================================ */
.page-hero {
  position: relative; min-height: 380px;
  display: flex; flex-direction: column;
  justify-content: flex-end; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--blue) 100%);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .18;
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 2rem 0 3.5rem;
}
.page-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800;
  color: var(--white); margin-bottom: .8rem;
}
.breadcrumb {
  display: flex; align-items: center; gap: .6rem;
  font-family: 'DM Sans', sans-serif; font-size: .9rem;
  color: rgba(255,255,255,.6);
}
.breadcrumb a { color: rgba(255,255,255,.75); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb svg { color: var(--teal); flex-shrink: 0; }
.breadcrumb span { color: var(--white); font-weight: 600; }

.nav-spacer { height: 80px; }

/* ============================================================
   HOME HERO
   ============================================================ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-image: url('./assets/hero.png');
  background-size: cover; background-position: center top;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,27,46,.88) 0%, rgba(13,27,46,.75) 45%, rgba(13,27,46,.35) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; padding: 10rem 0 6rem; }
.hero-eyebrow {
  display: inline-block; font-family: 'DM Sans', sans-serif;
  font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--white); background: var(--teal); padding: .35rem 1rem;
  border-radius: 3px; margin-bottom: 1.5rem;
}
.hero-content h1 { color: var(--white); margin-bottom: 1.4rem; font-weight: 800; }
.hero-content h1 em { font-style: normal; color: var(--teal); }
.hero-lead { font-size: 1rem; color: rgba(255,255,255,.78); margin-bottom: 2.5rem; max-width: 520px; line-height: 1.8; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 3rem; margin-top: 4rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.15); flex-wrap: wrap;
}
.hero-stat-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: #fff; line-height: 1; }
.hero-stat-num span { color: var(--teal); }
.hero-stat-label { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: .3rem; }

/* ============================================================
   SERVICE BLOCKS BANNER
   ============================================================ */
#service-blocks { display: grid; grid-template-columns: repeat(4, 1fr); }
.sblock { padding: 3rem 2rem; display: flex; flex-direction: column; gap: .8rem; }
.sblock:nth-child(1) { background: var(--teal); }
.sblock:nth-child(2) { background: #148f87; }
.sblock:nth-child(3) { background: var(--navy-mid); }
.sblock:nth-child(4) { background: var(--navy-deep); }
.sblock-title { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--white); }
.sblock p { color: rgba(255,255,255,.78); font-size: .88rem; line-height: 1.65; }

/* ============================================================
   WHO WE ARE / INTRO
   ============================================================ */
#intro { background: var(--grey-bg); padding: 6rem 0; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.intro-text h2 { margin-bottom: 1.2rem; color: var(--navy); }
.intro-text p { margin-bottom: 1.4rem; }
.intro-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.pillar-card { background: var(--white); border: 1px solid #dde9f5; border-radius: var(--radius); padding: 1.5rem 1.3rem; transition: var(--transition); }
.pillar-card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); }
.pillar-icon { font-size: 1.4rem; margin-bottom: .8rem; }
.pillar-card h4 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: .4rem; }
.pillar-card p { font-size: .82rem; line-height: 1.6; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
#services { padding: 6rem 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  position: relative; background: var(--grey-bg); border: 1px solid #dde9f5;
  border-radius: 10px; padding: 2.2rem 1.8rem; overflow: hidden; transition: var(--transition);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--teal); transform: scaleX(0);
  transition: transform var(--transition); transform-origin: left;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-num { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 800; color: #dde9f5; line-height: 1; margin-bottom: .8rem; }
.service-card h3 { color: var(--navy); margin-bottom: .8rem; font-family: 'DM Sans', sans-serif; font-weight: 700; }
.service-card p { font-size: .88rem; line-height: 1.7; }
.service-link {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.2rem;
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .8rem;
  letter-spacing: .05em; color: var(--teal); text-transform: uppercase;
}
.service-link svg { transition: transform var(--transition); }
.service-card:hover .service-link svg { transform: translateX(4px); }

.service-full { padding: 6rem 0; }
.service-full:nth-child(even) { background: var(--grey-bg); }
.service-full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.service-full-grid.reverse { direction: rtl; }
.service-full-grid.reverse > * { direction: ltr; }
.service-full-img { border-radius: 16px; overflow: hidden; min-height: 340px; }
.service-full-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-full-text h2 { color: var(--navy); margin-bottom: 1rem; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.service-full-text p { margin-bottom: 1rem; }
.service-sub-list { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .6rem; }
.service-sub-item { display: flex; align-items: center; gap: .7rem; font-size: .9rem; color: var(--navy); font-family: 'DM Sans', sans-serif; }
.service-sub-dot { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; flex-shrink: 0; }

/* ============================================================
   INTEGRATED ADVISORY (split)
   ============================================================ */
#integrated { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.integrated-left { background: var(--blue); padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center; }
.integrated-left h2 { color: var(--white); margin-bottom: 1.5rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.integrated-left p { color: rgba(255,255,255,.72); margin-bottom: 2rem; font-size: .97rem; line-height: 1.8; }
.integrated-right { position: relative; overflow: hidden; min-height: 400px; }
.integrated-right img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* ============================================================
   GALLERY
   ============================================================ */
#gallery { padding: 6rem 0; background: var(--white); }
.gallery-head { text-align: center; margin-bottom: 3rem; }
.gallery-head h2 { margin-bottom: .8rem; color: var(--navy); }
.gallery-head p { max-width: 520px; margin: 0 auto; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item { border-radius: 14px; overflow: hidden; background: #dde9f5; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:nth-child(1) { grid-column: 1;          grid-row: 1; min-height: 230px; }
.gallery-item:nth-child(2) { grid-column: 2;          grid-row: 1; min-height: 230px; }
.gallery-item:nth-child(3) { grid-column: 3;          grid-row: 1; min-height: 230px; }
.gallery-item:nth-child(4) { grid-column: 1 / span 2; grid-row: 2; min-height: 230px; }
.gallery-item:nth-child(5) { grid-column: 3;          grid-row: 2; min-height: 230px; }
.gallery-item:nth-child(6) { grid-column: 1;          grid-row: 3; min-height: 230px; }
.gallery-item:nth-child(7) { grid-column: 2 / span 2; grid-row: 3; min-height: 230px; }

/* ============================================================
   CEO BIO
   ============================================================ */
#bio { padding: 6rem 0; background: var(--grey-bg); }
.bio-grid { display: grid; grid-template-columns: 400px 1fr; gap: 4rem; align-items: stretch; }
.bio-photo { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); min-height: 560px; }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.bio-content { background: var(--white); border-radius: 16px; padding: 3rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.bio-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.5rem; color: var(--navy); margin-bottom: .2rem; }
.bio-role { font-family: 'DM Sans', sans-serif; font-style: italic; font-size: .97rem; color: var(--teal); margin-bottom: 1.6rem; padding-bottom: 1.6rem; border-bottom: 1px solid #e4edf6; }
.bio-content p { margin-bottom: 1.1rem; font-size: .94rem; line-height: 1.8; }
.bio-creds { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.bio-cred { background: var(--teal-light); color: var(--teal-dark); font-family: 'DM Sans', sans-serif; font-size: .78rem; font-weight: 600; padding: .3rem .9rem; border-radius: 50px; }

/* ============================================================
   CONTACT CTA STRIP
   ============================================================ */
#contact-cta { padding: 4rem 0; background: var(--white); }
.contact-cta-box {
  position: relative; border-radius: 16px; overflow: hidden;
  min-height: 300px; display: flex; align-items: center; justify-content: flex-end;
}
.contact-cta-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=1400&q=80');
  background-size: cover; background-position: center;
}
.contact-cta-overlay { position: absolute; inset: 0; background: linear-gradient(to left, rgba(13,27,46,.82) 0%, rgba(13,27,46,.55) 55%, rgba(13,27,46,.2) 100%); }
.contact-cta-content { position: relative; z-index: 2; text-align: right; padding: 3rem 3.5rem; max-width: 460px; }
.contact-cta-content h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1.8rem; line-height: 1.3; }
.contact-cta-content h2 span { display: block; }
.contact-cta-buttons { display: flex; flex-direction: column; gap: .8rem; align-items: flex-end; }
.cta-contact-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  background: var(--blue); color: var(--white); padding: .8rem 1.8rem; border-radius: 6px;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 1rem;
  min-width: 270px; transition: var(--transition);
}
.cta-contact-btn:hover { background: #174d8a; transform: translateX(-4px); }
.cta-contact-btn svg { flex-shrink: 0; }

/* ============================================================
   WHY CROYANCE
   ============================================================ */
#why { background: var(--navy); padding: 6rem 0; position: relative; overflow: hidden; }
#why::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(26,168,160,.12) 0%, transparent 70%); pointer-events: none; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-text .section-label { background: rgba(26,168,160,.15); color: #5de0d8; }
.why-text h2 { color: var(--white); margin-bottom: 1.5rem; }
.why-text > p { color: rgba(255,255,255,.62); font-size: 1rem; margin-bottom: 2rem; }
.why-list { display: flex; flex-direction: column; gap: 1.2rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-check { flex-shrink: 0; width: 28px; height: 28px; background: rgba(26,168,160,.15); border: 1px solid rgba(26,168,160,.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: .1rem; }
.why-check svg { color: #5de0d8; }
.why-item-text h4 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .92rem; color: var(--white); margin-bottom: .2rem; }
.why-item-text p { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.6; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.why-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 1.8rem 1.5rem; transition: var(--transition); }
.why-card:hover { background: rgba(26,168,160,.1); border-color: rgba(26,168,160,.3); }
.why-card-icon { font-size: 1.8rem; margin-bottom: .8rem; }
.why-card h4 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .88rem; color: #fff; margin-bottom: .4rem; }
.why-card p { font-size: .8rem; color: rgba(255,255,255,.48); line-height: 1.6; }

/* ============================================================
   SECTORS
   ============================================================ */
#sectors { padding: 6rem 0; background: var(--grey-bg); }
.sectors-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem; }
.sector-pill {
  background: var(--white); border: 1px solid #dde9f5; border-radius: 50px;
  padding: .65rem 1.5rem; font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: .85rem; color: var(--navy); transition: var(--transition); cursor: default;
}
.sector-pill:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta-banner { padding: 6rem 0; background: var(--white); }
.cta-box {
  background: linear-gradient(135deg, #0d1b2e 0%, #1e5fa8 100%);
  border-radius: 12px; padding: 4rem 3rem;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem;
  align-items: center; position: relative; overflow: hidden;
}
.cta-box::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(26,168,160,.25), transparent 70%); pointer-events: none; }
.cta-box h2 { color: var(--white); margin-bottom: .8rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-box p { color: rgba(255,255,255,.65); max-width: 480px; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 1; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro { padding: 6rem 0; background: var(--white); }
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-intro-img { border-radius: 16px; overflow: hidden; min-height: 420px; }
.about-intro-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-intro-text h2 { color: var(--navy); margin-bottom: 1.2rem; }
.about-intro-text p { margin-bottom: 1.2rem; }

.values-section { padding: 6rem 0; background: var(--grey-bg); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.value-card { background: var(--white); border: 1px solid #dde9f5; border-radius: 12px; padding: 2rem 1.5rem; text-align: center; transition: var(--transition); }
.value-card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-4px); }
.value-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.value-card h3 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: .5rem; }
.value-card p { font-size: .85rem; line-height: 1.65; }

.frameworks { padding: 6rem 0; background: var(--white); }
.frameworks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.framework-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; background: var(--grey-bg); border-radius: 10px; border: 1px solid #dde9f5; transition: var(--transition); }
.framework-item:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.framework-badge { background: var(--navy); color: var(--white); font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .72rem; padding: .4rem .8rem; border-radius: 4px; flex-shrink: 0; letter-spacing: .05em; }
.framework-item p { font-size: .88rem; line-height: 1.6; margin: 0; }

/* ============================================================
   MODEL PAGE
   ============================================================ */
.model-pillars { padding: 6rem 0; background: var(--white); }
.model-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
.model-card { background: var(--grey-bg); border: 1px solid #dde9f5; border-radius: 12px; padding: 2.5rem 2rem; transition: var(--transition); }
.model-card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-4px); }
.model-card-num { font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 800; color: #dde9f5; line-height: 1; margin-bottom: .8rem; }
.model-card h3 { font-family: 'DM Sans', sans-serif; font-weight: 700; color: var(--navy); margin-bottom: .8rem; font-size: 1.1rem; }
.model-card p { font-size: .9rem; line-height: 1.75; }

.model-process { padding: 6rem 0; background: var(--navy); position: relative; overflow: hidden; }
.model-process::before { content: ''; position: absolute; bottom: -150px; left: -150px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(26,168,160,.1) 0%, transparent 70%); pointer-events: none; }
.model-process .section-head h2 { color: var(--white); }
.model-process .section-head p { color: rgba(255,255,255,.6); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 3rem; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: rgba(26,168,160,.3); z-index: 0; }
.process-step { text-align: center; padding: 0 1.5rem; position: relative; z-index: 1; }
.process-num { width: 56px; height: 56px; background: var(--teal); border-radius: 50%; font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.2rem; color: var(--white); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; }
.process-step h4 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .9rem; color: var(--white); margin-bottom: .5rem; }
.process-step p { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.6; }

/* ============================================================
   LEADERSHIP PAGE
   ============================================================ */
.leadership-section { padding: 6rem 0; background: var(--white); }
.leader-card { display: grid; grid-template-columns: 360px 1fr; gap: 4rem; align-items: start; padding: 3rem 0; border-bottom: 1px solid #e4edf6; }
.leader-card:last-child { border-bottom: none; }
.leader-photo { border-radius: 16px; overflow: hidden; }
.leader-photo img { width: 100%; height: 400px; object-fit: cover; object-position: top; display: block; }
.leader-info h2 { font-size: 1.8rem; color: var(--navy); margin-bottom: .3rem; }
.leader-role { font-style: italic; color: var(--teal); font-family: 'DM Sans', sans-serif; font-size: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e4edf6; }
.leader-info p { margin-bottom: 1rem; font-size: .94rem; line-height: 1.8; }
.leader-creds { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.leader-cred { background: var(--teal-light); color: var(--teal-dark); font-family: 'DM Sans', sans-serif; font-size: .78rem; font-weight: 600; padding: .3rem .9rem; border-radius: 50px; }

/* ============================================================
   INSIGHTS PAGE
   ============================================================ */
.insights-section { padding: 6rem 0; background: var(--white); }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.insight-card { border: 1px solid #dde9f5; border-radius: 12px; overflow: hidden; transition: var(--transition); background: var(--white); }
.insight-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.insight-img { height: 220px; overflow: hidden; }
.insight-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.insight-card:hover .insight-img img { transform: scale(1.06); }
.insight-body { padding: 1.8rem; }
.insight-tag { display: inline-block; font-family: 'DM Sans', sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--teal); background: var(--teal-light); padding: .25rem .7rem; border-radius: 50px; margin-bottom: .8rem; }
.insight-body h3 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: .6rem; line-height: 1.4; }
.insight-body p { font-size: .86rem; line-height: 1.7; margin-bottom: 1rem; }
.insight-meta { font-family: 'DM Sans', sans-serif; font-size: .78rem; color: #8a9ab0; display: flex; gap: 1rem; }
.insights-featured { padding: 6rem 0; background: var(--grey-bg); }
.featured-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.featured-main { border-radius: 16px; overflow: hidden; position: relative; min-height: 420px; }
.featured-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-main-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,27,46,.85) 0%, transparent 50%); }
.featured-main-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; }
.featured-main-content h2 { color: var(--white); font-size: 1.5rem; margin-bottom: .5rem; }
.featured-main-content p { color: rgba(255,255,255,.75); font-size: .9rem; }
.featured-side { display: flex; flex-direction: column; gap: 1.5rem; }
.featured-side-item { background: var(--white); border-radius: 12px; padding: 1.5rem; border: 1px solid #dde9f5; transition: var(--transition); }
.featured-side-item:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.featured-side-item h4 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .95rem; color: var(--navy); margin-bottom: .4rem; line-height: 1.4; }
.featured-side-item p { font-size: .83rem; line-height: 1.65; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 6rem 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact-info h2 { color: var(--navy); margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 2.5rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.8rem; }
.contact-icon { width: 44px; height: 44px; background: var(--teal-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--teal); }
.contact-detail h4 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .88rem; color: var(--navy); margin-bottom: .2rem; }
.contact-detail p, .contact-detail a { font-size: .9rem; color: var(--grey-text); transition: color var(--transition); }
.contact-detail a:hover { color: var(--teal); }
.contact-form-wrap { background: var(--grey-bg); border-radius: 16px; padding: 3rem; }
.contact-form-wrap h3 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--navy); margin-bottom: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.2rem; }
.form-group label { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: .82rem; color: var(--navy); letter-spacing: .02em; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .8rem 1rem; border: 1px solid #dde9f5;
  border-radius: var(--radius); font-family: 'DM Sans', sans-serif;
  font-size: .9rem; color: var(--navy); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,168,160,.12); }
.form-group textarea { resize: vertical; min-height: 130px; }
.map-wrap { margin-top: 4rem; border-radius: 16px; overflow: hidden; height: 340px; background: #c8d8e8; }
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--navy); padding: 5rem 0 2rem; color: rgba(255,255,255,.55); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .footer-logo {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 1.4rem; color: var(--white); margin-bottom: 1rem;
}
.footer-brand .footer-logo .logo-icon { height: 30px; width: auto; }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 280px; }
.footer-col h5 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 1.2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-col ul a { font-size: .88rem; color: rgba(255,255,255,.48); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; flex-wrap: wrap; gap: 1rem; }
.footer-bottom a { color: rgba(255,255,255,.38); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--teal); }
.footer-legal { display: flex; gap: 2rem; }

/* ============================================================
   WHATSAPP FLOATING BUTTON (LEFT)
   ============================================================ */
.whatsapp-float {
  position: fixed; left: 24px; bottom: 30px; z-index: 9998;
  display: flex; flex-direction: column; align-items: flex-start; gap: .5rem;
}
.whatsapp-btn {
  width: 58px; height: 58px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer; border: none; text-decoration: none;
  position: relative;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); }
.whatsapp-btn svg { width: 30px; height: 30px; }
.whatsapp-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(37,211,102,.4);
  animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.85); opacity: 0; }
}
.whatsapp-tooltip {
  background: var(--navy); color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: .8rem; font-weight: 600;
  padding: .4rem .9rem; border-radius: 6px; white-space: nowrap;
  opacity: 0; transform: translateX(-8px);
  transition: all .2s ease; pointer-events: none;
  margin-left: 4px;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* ============================================================
   CHATBOT FLOATING PANEL (RIGHT)
   ============================================================ */
.chatbot-float {
  position: fixed; right: 24px; bottom: 30px; z-index: 9998;
  display: flex; flex-direction: column; align-items: flex-end;
}
.chatbot-toggle {
  width: 58px; height: 58px; background: var(--blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(30,95,168,.45);
  cursor: pointer; border: none; transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.chatbot-toggle:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(30,95,168,.6); }
.chatbot-toggle svg { width: 28px; height: 28px; color: #fff; transition: transform .3s ease; }
.chatbot-toggle.open svg { transform: rotate(45deg); }
.chatbot-badge {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; background: var(--teal); border-radius: 50%;
  font-family: 'DM Sans', sans-serif; font-size: .65rem; font-weight: 700;
  color: #fff; display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.chatbot-panel {
  position: absolute; bottom: 72px; right: 0;
  width: 360px; max-height: 540px;
  background: var(--white); border-radius: 16px;
  box-shadow: 0 20px 60px rgba(13,27,46,.2), 0 0 0 1px rgba(13,27,46,.06);
  display: flex; flex-direction: column;
  transform: translateY(16px) scale(.96); opacity: 0; pointer-events: none;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
  overflow: hidden;
}
.chatbot-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }
.chatbot-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 1.2rem 1.4rem; display: flex; align-items: center; gap: .9rem;
}
.chatbot-avatar {
  width: 40px; height: 40px; background: var(--teal); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chatbot-avatar svg { width: 22px; height: 22px; color: #fff; }
.chatbot-header-info h4 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .9rem; color: #fff; }
.chatbot-header-info span { font-family: 'DM Sans', sans-serif; font-size: .75rem; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: .3rem; }
.chatbot-header-info span::before { content: ''; width: 7px; height: 7px; background: #4ade80; border-radius: 50%; display: inline-block; }
.chatbot-body { flex: 1; overflow-y: auto; padding: 1.2rem; display: flex; flex-direction: column; gap: .8rem; }
.chat-msg { display: flex; gap: .6rem; align-items: flex-start; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-bubble {
  max-width: 78%; background: var(--grey-bg); border-radius: 12px 12px 12px 0;
  padding: .7rem 1rem; font-family: 'DM Sans', sans-serif; font-size: .85rem;
  color: var(--navy); line-height: 1.5;
}
.chat-msg.user .chat-bubble { background: var(--blue); color: #fff; border-radius: 12px 12px 0 12px; }
.chat-faqs { display: flex; flex-direction: column; gap: .5rem; margin-top: .3rem; }
.faq-btn {
  background: var(--white); border: 1px solid #dde9f5; border-radius: 8px;
  padding: .55rem .9rem; font-family: 'DM Sans', sans-serif; font-size: .8rem;
  font-weight: 600; color: var(--navy); cursor: pointer; text-align: left;
  transition: all .18s ease;
}
.faq-btn:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }
.chatbot-view { display: none; flex-direction: column; gap: 0; }
.chatbot-view.active { display: flex; }
.chat-lead-form { padding: 1.2rem; border-top: 1px solid #e4edf6; background: var(--grey-bg); }
.chat-lead-form p { font-family: 'DM Sans', sans-serif; font-size: .8rem; color: var(--grey-text); margin-bottom: .8rem; text-align: center; }
.chat-lead-form input {
  width: 100%; padding: .65rem 1rem; border: 1px solid #dde9f5;
  border-radius: var(--radius); font-family: 'DM Sans', sans-serif;
  font-size: .85rem; color: var(--navy); margin-bottom: .6rem; outline: none;
  transition: border-color var(--transition);
}
.chat-lead-form input:focus { border-color: var(--teal); }
.chat-lead-submit {
  width: 100%; background: var(--teal); color: #fff; border: none;
  border-radius: var(--radius); padding: .7rem; font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: .88rem; cursor: pointer; transition: background var(--transition);
}
.chat-lead-submit:hover { background: var(--teal-dark); }
.chat-back-btn {
  background: none; border: none; color: var(--teal); font-family: 'DM Sans', sans-serif;
  font-size: .8rem; font-weight: 600; cursor: pointer; padding: .5rem 1.2rem;
  display: flex; align-items: center; gap: .3rem; border-bottom: 1px solid #e4edf6;
}
.chat-back-btn:hover { color: var(--teal-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid, .frameworks-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  #service-blocks { grid-template-columns: repeat(2, 1fr); }
  .bio-grid, .leader-card { grid-template-columns: 300px 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-side { flex-direction: row; }
  .featured-side-item { flex: 1; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-steps::before { display: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .intro-grid, .why-grid, .about-intro-grid, .contact-grid, .service-full-grid { grid-template-columns: 1fr; }
  .service-full-grid.reverse { direction: ltr; }
  .cta-box { grid-template-columns: 1fr; text-align: center; padding: 2.5rem 1.8rem; }
  .cta-actions { justify-content: center; }
  .intro-pillars, .why-cards, .model-grid { grid-template-columns: 1fr 1fr; }
  .services-grid, .insights-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  #integrated { grid-template-columns: 1fr; }
  .integrated-right { min-height: 320px; }
  .integrated-left { padding: 3.5rem 2rem; }
  #service-blocks { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(n) { grid-column: auto !important; grid-row: auto !important; min-height: 180px; }
  .bio-grid, .leader-card { grid-template-columns: 1fr; }
  .bio-photo, .leader-photo { min-height: 340px; }
  .leader-photo img { height: 340px; }
  .contact-cta-content { padding: 2rem; max-width: 100%; text-align: center; }
  .contact-cta-buttons { align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .featured-side { flex-direction: column; }
  .values-grid, .frameworks-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { min-height: 280px; }
  .chatbot-panel { width: calc(100vw - 48px); right: 0; }
}
@media (max-width: 480px) {
  .intro-pillars, .why-cards, .model-grid, .values-grid, .frameworks-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  #service-blocks { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cta-contact-btn { min-width: 220px; }
  .process-steps { grid-template-columns: 1fr; }
}
