/* ============================================================
   DEVINO BLU LIFE SCIENCE — styles.css
   Premium Corporate Stylesheet
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --navy:        #0a1628;
  --blue-deep:   #0d2d5e;
  --blue-mid:    #1a4fa0;
  --blue-brand:  #1d6fcf;
  --blue-light:  #4a9eff;
  --blue-pale:   #e8f2ff;
  --accent:      #00c6a7;
  --accent-dark: #009e85;
  --white:       #ffffff;
  --off-white:   #f7f9fc;
  --grey-100:    #eef1f6;
  --grey-200:    #d8dfe8;
  --grey-400:    #8a97ab;
  --grey-700:    #3d4a5c;
  --text-main:   #1a2535;
  --text-sub:    #4d5e73;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --shadow-sm:   0 2px 8px rgba(10,22,40,.07);
  --shadow-md:   0 8px 32px rgba(10,22,40,.11);
  --shadow-lg:   0 20px 60px rgba(10,22,40,.15);
  --shadow-blue: 0 8px 40px rgba(29,111,207,.25);

  --transition:      all .32s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .6s  cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
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.18;
  color: var(--navy);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }
p  { font-size: 1rem; color: var(--text-sub); line-height: 1.75; }

.section-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-brand);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: .9rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-label--center::before { display: none; }
.section-label--center::after  {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }
.section   { padding: clamp(4rem, 8vw, 8rem) 0; }
.section--alt  { background: var(--off-white); }
.section--dark { background: #ffffff; }
.text-center   { text-align: center; }

.divider       { width: 52px; height: 3px; background: linear-gradient(90deg, var(--blue-brand), var(--accent)); border-radius: 3px; margin: 1rem 0 1.5rem; }
.divider--c    { margin: 1rem auto 1.5rem; }

.section-header         { max-width: 600px; }
.section-header h2      { margin-bottom: .6rem; }
.section-header p       { font-size: 1.05rem; }
.section-header--center { max-width: 640px; margin: 0 auto; text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 2.1rem;
  border-radius: var(--radius-xl);
  font-size: .9rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: .02em;
  transition: var(--transition);
}
.btn-primary {
  background: var(--blue-brand);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(29,111,207,.38);
}
.btn-outline {
  border: 1.5px solid rgba(255,255,255,.4);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.12); }
.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(0,198,167,.28);
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost {
  color: var(--blue-brand);
  border: 1.5px solid var(--blue-brand);
}
.btn-ghost:hover { background: var(--blue-pale); }

/* ── Navbar ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,22,40,.96);
  backdrop-filter: blur(20px);
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(10,22,40,.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 32px rgba(0,0,0,.22);
}
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.nav__logo       { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav__logo-mark  {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue-brand), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.nav__logo-text  { display: flex; flex-direction: column; line-height: 1.1; }
.nav__logo-name  { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--white); }
.nav__logo-sub   { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-light); }
.nav__links      { display: flex; align-items: center; gap: .2rem; }
.nav__link       {
  font-size: .86rem; font-weight: 500;
  color: rgba(255,255,255,.72);
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav__link:hover, .nav__link.active { color: var(--white); background: rgba(255,255,255,.09); }
.nav__link.active::after {
  content: ''; position: absolute;
  bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav__cta {
  margin-left: .5rem;
  padding: .55rem 1.35rem;
  background: var(--blue-brand); color: var(--white) !important;
  border-radius: var(--radius-xl); font-weight: 600;
}
.nav__cta:hover { background: var(--blue-mid); transform: translateY(-1px); }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav__hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none; position: fixed; inset: 0;
  background: var(--navy); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
}
.nav__mobile.open { display: flex; animation: fadeIn .25s ease; }
.nav__mobile .nav__link { font-size: 1.6rem; font-family: var(--font-display); font-weight: 600; color: var(--white); }
.nav__mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 2rem; color: var(--white); line-height: 1; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #ffffff;
}
.hero__badge {
  background: rgba(0,123,255,0.1);
  border: 1px solid rgba(0,123,255,0.2);
  color: #007bff;
}

.hero__bg {
  position: absolute; inset: 0;
  background-image: url('images/better-health.jpg');
  background-size: cover; background-position: center;
  opacity: 0.8;
  animation: heroBgZoom 20s ease-in-out infinite alternate;
}
@keyframes heroBgZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}
.hero__overlay {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.9) 0%,
    rgba(255,255,255,0.7) 50%,
    rgba(255,255,255,0.5) 100%
  );
}
.hero__mesh { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__mesh-circle {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .15;
  animation: meshFloat 14s ease-in-out infinite;
}
.hero__mesh-circle:nth-child(1) { width: 560px; height: 560px; background: var(--blue-brand); top: -180px; right: -80px; }
.hero__mesh-circle:nth-child(2) { width: 380px; height: 380px; background: var(--accent); bottom: -80px; left: -80px; animation-delay: -5s; }
.hero__mesh-circle:nth-child(3) { width: 280px; height: 280px; background: var(--blue-light); top: 45%; left: 42%; animation-delay: -9s; }
@keyframes meshFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(28px,-28px) scale(1.04); }
  66%       { transform: translate(-18px,18px) scale(.96); }
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 120px clamp(1.25rem, 5vw, 3rem) 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; width: 100%;
}
.hero__left { max-width: 580px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .38rem .95rem;
  background: rgba(29,111,207,.2); border: 1px solid rgba(74,158,255,.3);
  border-radius: var(--radius-xl);
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 1.4rem;
  animation: fadeUp .8s ease both;
}
.hero__badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.6); }
}
.hero__title {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 700; color: var(--white);
  line-height: 1.08; margin-bottom: 1.4rem;
  animation: fadeUp .8s .14s ease both;
}
.hero__title span {
  color: transparent;
  -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(90deg, var(--blue-light), var(--accent));
}
.hero__sub {
  font-size: 1.08rem; color: rgba(255,255,255,.68);
  margin-bottom: 2.4rem; line-height: 1.8;
  animation: fadeUp .8s .28s ease both;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp .8s .42s ease both; }
.hero__stats   { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; animation: fadeIn 1.2s .6s ease both; }
.hero__stat-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--radius-lg); padding: 1.6rem 1.4rem;
  backdrop-filter: blur(12px); transition: var(--transition);
}
.hero__stat-card:hover {
  background: rgba(255,255,255,.1); border-color: rgba(74,158,255,.38); transform: translateY(-4px);
}
.hero__stat-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: .35rem; }
.hero__stat-num span { color: var(--accent); }
.hero__stat-label { font-size: .78rem; color: rgba(255,255,255,.5); letter-spacing: .05em; text-transform: uppercase; font-weight: 500; }
.hero__scroll {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
  color: rgba(255,255,255,.38); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-mono);
  animation: fadeIn 1s 1.4s ease both;
}
.hero__scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%    { transform: scaleY(0); transform-origin: top; }
  50%   { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100%  { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Highlights ── */
.highlight-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--grey-100);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.highlight-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-brand), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.highlight-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: var(--blue-pale); }
.highlight-card:hover::before { transform: scaleX(1); }
.highlight-icon {
  width: 54px; height: 54px;
  background: var(--blue-pale); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; font-size: 1.55rem; transition: var(--transition);
}
.highlight-card:hover .highlight-icon { background: var(--blue-brand); }
.highlight-card h4 { margin-bottom: .45rem; }
.highlight-card p  { font-size: .88rem; line-height: 1.65; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

/* ── Service Cards ── */
.service-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--grey-100); transition: var(--transition); }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.service-card__img { height: 195px; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__body { padding: 1.65rem; }
.service-card__body h4 { margin-bottom: .45rem; }
.service-card__body p  { font-size: .87rem; line-height: 1.7; }

/* ── Stats ── */
.stats-section { background: linear-gradient(135deg, var(--blue-deep) 0%, var(--navy) 100%); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stat-item { padding: 2rem 1rem; }
.stat-item__num { font-family: var(--font-display); font-size: clamp(2.2rem,5vw,3.6rem); font-weight: 700; color: var(--white); line-height: 1; margin-bottom: .35rem; }
.stat-item__num span { color: var(--accent); }
.stat-item__label { font-size: .82rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-brand) 0%, var(--blue-mid) 60%, var(--navy) 100%);
  padding: clamp(4rem,8vw,6.5rem) 0; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -8%;
  width: 550px; height: 550px; border-radius: 50%; background: rgba(255,255,255,.04);
}
.cta-banner__inner { position: relative; z-index: 2; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: .85rem; }
.cta-banner p  { color: rgba(255,255,255,.68); font-size: 1.05rem; margin-bottom: 2.4rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 60%, var(--blue-mid) 100%);
  padding: 155px 0 90px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 70px;
  background: var(--white);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero--alt::after { background: var(--off-white); }
.page-hero__content { position: relative; z-index: 2; }
.page-hero__breadcrumb {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: .9rem; display: flex; align-items: center; gap: .5rem;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,.55); }
.page-hero__breadcrumb a:hover { color: var(--white); }
.page-hero__breadcrumb span { color: var(--accent); }
.page-hero h1  { color: var(--white); margin-bottom: .9rem; }
.page-hero > .container > .page-hero__content > p { color: rgba(255,255,255,.68); font-size: 1.08rem; max-width: 540px; line-height: 1.8; }
.page-hero__dots {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  display: grid; grid-template-columns: repeat(6,10px); gap: 14px; opacity: .1;
}
.page-hero__dots span { width: 4px; height: 4px; background: var(--white); border-radius: 50%; display: block; }

/* ── About ── */
.about-img-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.about-img-wrap img { width: 100%; height: 460px; object-fit: cover; }
.about-float-badge {
  position: absolute; bottom: 1.8rem; left: -1.4rem;
  background: var(--white); border-radius: var(--radius-md); padding: 1rem 1.4rem;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .7rem;
}
.about-float-badge__icon { width: 42px; height: 42px; background: var(--blue-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.about-float-badge strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); display: block; line-height: 1; }
.about-float-badge span   { font-size: .72rem; color: var(--grey-400); }
.mvv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; }
.mvv-card {
  background: var(--white); border-radius: var(--radius-md); padding: 2.25rem 1.75rem;
  border-top: 4px solid transparent; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.mvv-card:nth-child(1) { border-top-color: var(--blue-brand); }
.mvv-card:nth-child(2) { border-top-color: var(--accent); }
.mvv-card:nth-child(3) { border-top-color: var(--blue-light); }
.mvv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.mvv-card__icon { font-size: 2.2rem; margin-bottom: .9rem; }
.mvv-card h3   { font-size: 1.45rem; margin-bottom: .55rem; }
.values-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.value-item {
  display: flex; align-items: flex-start; gap: .9rem;
  padding: 1.4rem; background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--grey-100); transition: var(--transition);
}
.value-item:hover { border-color: var(--blue-brand); background: var(--blue-pale); }
.value-item__icon { width: 38px; height: 38px; background: var(--blue-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.value-item h5 { font-size: .93rem; margin-bottom: .2rem; }
.value-item p  { font-size: .83rem; }

/* ── Products ── */
.tab-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.tab-btn {
  padding: .52rem 1.35rem; border-radius: var(--radius-xl); font-size: .84rem; font-weight: 600;
  border: 1.5px solid var(--grey-200); color: var(--text-sub); background: var(--white); transition: var(--transition); cursor: pointer;
}
.tab-btn:hover, .tab-btn.active { background: var(--blue-brand); border-color: var(--blue-brand); color: var(--white); }
.product-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--grey-100); transition: var(--transition); position: relative;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: var(--blue-pale); }
.product-card__badge {
  position: absolute; top: .9rem; right: .9rem;
  padding: .28rem .75rem; border-radius: var(--radius-xl);
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.badge--new      { background: var(--accent); color: var(--white); }
.badge--featured { background: var(--blue-brand); color: var(--white); }
.product-card__img { height: 175px; overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__body { padding: 1.4rem; }
.product-card__cat  { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-brand); font-weight: 600; margin-bottom: .45rem; font-family: var(--font-mono); }
.product-card__body h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.product-card__body p  { font-size: .85rem; line-height: 1.65; margin-bottom: .9rem; }
.product-card__link { font-size: .84rem; color: var(--blue-brand); font-weight: 600; display: inline-flex; align-items: center; gap: .32rem; transition: var(--transition); }
.product-card__link:hover { gap: .55rem; color: var(--blue-mid); }

/* ── Research ── */
.research-block { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.research-block--rev { direction: rtl; }
.research-block--rev > * { direction: ltr; }
.research-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.research-img img { width: 100%; height: 380px; object-fit: cover; }
.process-steps { display: flex; flex-direction: column; gap: .5rem; }
.process-step { display: flex; gap: 1.3rem; padding: 1.3rem; border-radius: var(--radius-md); transition: var(--transition); align-items: flex-start; }
.process-step:hover { background: var(--blue-pale); }
.process-step__num { width: 38px; height: 38px; background: var(--blue-brand); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 700; font-family: var(--font-mono); flex-shrink: 0; }
.process-step h4 { margin-bottom: .25rem; font-size: 1rem; }
.process-step p  { font-size: .86rem; }
.cert-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; }
.cert-card {
  background: var(--white); border-radius: var(--radius-md); padding: 1.85rem 1.4rem;
  text-align: center; border: 1px solid var(--grey-100); transition: var(--transition); box-shadow: var(--shadow-sm);
}
.cert-card:hover { border-color: var(--blue-brand); box-shadow: var(--shadow-blue); transform: translateY(-4px); }
.cert-card__icon { font-size: 2.2rem; margin-bottom: .9rem; }
.cert-card h4 { font-size: .95rem; margin-bottom: .25rem; }
.cert-card p  { font-size: .8rem; color: var(--grey-400); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: repeat(2,210px);
  gap: 1rem;
}
.gallery-item { border-radius: var(--radius-md); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.6), transparent);
  opacity: 0; transition: var(--transition);
  display: flex; align-items: flex-end; padding: 1.1rem;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay span { color: var(--white); font-size: .82rem; font-weight: 500; }

/* ── Contact ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.55fr; gap: 4rem; align-items: start; }
.contact-detail {
  display: flex; align-items: flex-start; gap: .9rem;
  padding: 1.2rem; border-radius: var(--radius-md); border: 1px solid var(--grey-100); margin-bottom: .9rem; background: var(--white); transition: var(--transition);
}
.contact-detail:hover { border-color: var(--blue-brand); background: var(--blue-pale); }
.contact-detail__icon { width: 42px; height: 42px; background: var(--blue-pale); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; transition: var(--transition); }
.contact-detail:hover .contact-detail__icon { background: var(--blue-brand); }
.contact-detail__text strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-400); margin-bottom: .18rem; font-family: var(--font-mono); }
.contact-detail__text a, .contact-detail__text span { font-size: .93rem; color: var(--text-main); font-weight: 500; }
.contact-detail__text a:hover { color: var(--blue-brand); }
.social-row { display: flex; gap: .65rem; margin-top: 1.8rem; }
.social-link { width: 40px; height: 40px; background: var(--grey-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; transition: var(--transition); }
.social-link:hover { background: var(--blue-brand); transform: translateY(-3px); }
.contact-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 2.75rem; border: 1px solid var(--grey-100); box-shadow: var(--shadow-md); }
.contact-form-card h3 { font-size: 1.55rem; margin-bottom: .45rem; }
.contact-form-card > p { font-size: .88rem; margin-bottom: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.15rem; }
.form-group label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-sub); margin-bottom: .38rem; letter-spacing: .02em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .82rem 1.05rem;
  border: 1.5px solid var(--grey-200); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .93rem; color: var(--text-main);
  background: var(--off-white); transition: var(--transition); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-brand); background: var(--white);
  box-shadow: 0 0 0 3px rgba(29,111,207,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success { display: none; text-align: center; padding: 2rem; }
.form-success__icon { font-size: 3rem; margin-bottom: .9rem; }
.form-success h4 { margin-bottom: .4rem; }
.map-section { padding-top: 0; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--grey-100); }
.map-wrap iframe { width: 100%; height: 400px; display: block; border: none; }

/* ── Footer ── */
.footer { background: var(--navy); padding: 5rem 0 0; }
.footer__top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__brand p { font-size: .86rem; color: rgba(255,255,255,.42); line-height: 1.7; margin: 1.1rem 0 1.4rem; }
.footer__brand .social-link { background: rgba(255,255,255,.08); }
.footer__brand .social-link:hover { background: var(--blue-brand); }
.footer__col h6 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: 1.15rem; }
.footer__col li { margin-bottom: .55rem; }
.footer__col li a { font-size: .86rem; color: rgba(255,255,255,.52); transition: var(--transition); display: inline-flex; align-items: center; gap: .4rem; }
.footer__col li a:hover { color: var(--white); padding-left: .4rem; }
.footer__contact-row { display: flex; gap: .7rem; margin-bottom: .8rem; align-items: flex-start; }
.footer__contact-row span:first-child { font-size: .9rem; flex-shrink: 0; margin-top: .1rem; }
.footer__contact-row a, .footer__contact-row p { font-size: .84rem; color: rgba(255,255,255,.5); line-height: 1.5; }
.footer__contact-row a:hover { color: var(--white); }
.footer__bottom {
  padding: 1.4rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem;
}
.footer__bottom p { font-size: .78rem; color: rgba(255,255,255,.28); }
.footer__bottom a { color: var(--accent); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4, .stats-grid { grid-template-columns: repeat(2,1fr); }
  .hero__content { grid-template-columns: 1fr; text-align: center; }
  .hero__left { max-width: 100%; }
  .hero__actions { justify-content: center; }
  .hero__stats { max-width: 480px; margin: 0 auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .grid-2, .grid-3, .mvv-grid, .research-block,
  .contact-layout, .values-grid, .form-row { grid-template-columns: 1fr; }
  .research-block--rev { direction: ltr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-column: span 2; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero__stats { grid-template-columns: 1fr; max-width: 280px; }
  .cert-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
}

/* ── Additional Styles for Updated Pages ── */
.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem; }

/* Map grid responsive */
@media (max-width: 768px) {
  .map-grid { grid-template-columns: 1fr !important; }
  .contact-offices { grid-template-columns: 1fr; }
}

/* Social link color in contact */
.social-link i {
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}

.social-link:hover i {
  color: #ffffff;
}


.nav__logo-img {
  height: 50px;   /* adjust size */
  width: auto;
  display: block;
}