/* Theotoka Laboratory Solutions — Public Website Styles */
:root {
  --bg: #070707;
  --bg-soft: #111111;
  --panel: #141414;
  --card: #1a1a1a;
  --text: #f5f5f5;
  --muted: #c9c9c9;
  --line: rgba(255,255,255,0.08);
  --accent: #ff6a00;
  --accent-soft: #ff8d3b;
  --white-card: #f4f4f4;
  --max: 1220px;
  --shadow: 0 20px 60px rgba(0,0,0,0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* ─────────── TOPBAR ─────────── */
.topbar {
  background: linear-gradient(90deg, #0e0e0e, #181818);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 9px 0;
  flex-wrap: wrap;
}
.topbar-group { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar-group i { color: var(--accent); margin-right: 5px; }

/* ─────────── NAV ─────────── */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,7,7,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.navbar { padding: 0; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-mark {
  width: 46px;
  height: 46px;
  background: linear-gradient(180deg, var(--accent), #ff8a2b);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  letter-spacing: -1px;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-copy h1 {
  margin: 0;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-transform: uppercase;
}
.brand-copy small {
  color: var(--muted);
  display: block;
  font-size: 11px;
  margin-top: 3px;
}
.nav-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-links a {
  color: #e0e0e0;
  font-weight: 500;
  font-size: 14px;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.22s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-soft); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────── GENERAL SECTION ─────────── */
section { padding: 88px 0; position: relative; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.section-head h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 0.95;
  text-transform: uppercase;
  font-weight: 800;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 0.95;
  text-transform: uppercase;
  font-weight: 800;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 540px;
  font-size: 15px;
}
.kicker {
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow);
}

/* ─────────── BUTTONS ─────────── */
.btn {
  padding: 13px 22px;
  font-weight: 700;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-soft); }
.btn-secondary { border-color: var(--line); color: #fff; background: rgba(255,255,255,0.03); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-soft); }
.btn-outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }

/* ─────────── HERO ─────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
  background: #070707; /* fallback; background images supplied by .hero-bg */
}

/* ── Hero background image slideshow ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-bg-img.active { opacity: 1; }
/* Overlay: heavy on left (text readable), fades right (images bleed through) */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7,7,7,0.96) 0%,
    rgba(7,7,7,0.84) 40%,
    rgba(7,7,7,0.46) 70%,
    rgba(7,7,7,0.22) 100%
  );
  z-index: 1;
  pointer-events: none;
}
/* Orange accent shape — keep above bg but below content */
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 220px;
  height: 220px;
  background: var(--accent);
  opacity: 0.85;
  transform: translate(-70px, 80px) rotate(12deg);
  z-index: 2;
}
/* Ensure grid content sits above all background layers */
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 3;
}
.eyebrow {
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero h2 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.95;
  margin: 0 0 18px;
  text-transform: uppercase;
  font-weight: 800;
}
.hero p {
  max-width: 580px;
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 640px;
}
.stat {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  padding: 16px 18px;
}
.stat strong {
  display: block;
  font-size: 26px;
  color: var(--accent-soft);
  font-weight: 800;
}
.stat span { color: var(--muted); font-size: 13px; }

/* Hero Visual */
.hero-visual {
  position: relative;
  min-height: 540px;
}
.hero-main-img {
  position: absolute;
  inset: 40px 0 0 60px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.06);
  background: #111;
}
.hero-main-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.hero-sub-a {
  position: absolute;
  width: 170px;
  height: 170px;
  left: 0;
  top: 180px;
  overflow: hidden;
  border: 4px solid var(--accent);
  background: #fff;
}
.hero-sub-a img { width: 100%; height: 100%; object-fit: cover; }
.hero-sub-b {
  position: absolute;
  width: 130px;
  height: 130px;
  left: 34px;
  bottom: 10px;
  overflow: hidden;
  border: 4px solid #fff;
  background: #fff;
}
.hero-sub-b img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  right: 10px;
  bottom: 44px;
  background: rgba(255,255,255,0.96);
  color: #0d0d0d;
  padding: 16px 18px;
  max-width: 210px;
  box-shadow: var(--shadow);
}
.hero-badge strong { display: block; font-size: 18px; margin-bottom: 4px; }
.hero-badge span { color: #555; font-size: 13px; }

/* ─────────── ABOUT ─────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}
.accent-panel {
  background: linear-gradient(180deg, #1b1b1b 0%, #111 100%);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  padding: 28px;
  box-shadow: var(--shadow);
}
.accent-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  height: 100px;
  background: var(--accent);
}
.accent-panel .panel-content { position: relative; z-index: 1; padding-top: 66px; }
.accent-panel .panel-content p { color: var(--muted); line-height: 1.7; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  padding: 9px 14px;
  background: rgba(255,106,0,0.1);
  border: 1px solid rgba(255,106,0,0.24);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.about-media {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  /* rows sized by content; fixed-height cards set their own height */
}
.media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f0f0f;
  height: 190px;
}
.media-card.tall { grid-row: span 2; height: 394px; }
.media-card img { width: 100%; height: 100%; object-fit: cover; }
/* prof-img-card overrides: no frame, natural height */
.media-card.prof-img-card {
  height: auto !important;
  border: none !important;
  background: transparent !important;
  overflow: visible !important;
}
.media-card.tall.prof-img-card { height: auto !important; }
.media-card.prof-img-card img {
  height: auto !important;
  object-fit: contain !important;
}

/* ─────────── MESSAGE ─────────── */
#message { background: var(--bg-soft); }
.message-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.message-grid h3 {
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 0.98;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 20px;
}
.message-grid p { color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.message-visual {
  position: relative;
  min-height: 460px;
}
.message-visual .hero-main-img { inset: 18px 30px 18px 80px; }
.message-visual .hero-sub-a { top: 30px; left: 0; width: 160px; height: 160px; }

/* ─────────── VISION & MISSION ─────────── */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.statement {
  background: #0f0f0f;
  border: 1px solid var(--line);
  padding: 28px;
}
.statement h4 {
  margin: 0 0 12px;
  font-size: 30px;
  color: var(--accent-soft);
  text-transform: uppercase;
  font-weight: 800;
}
.statement p { margin: 0; color: var(--muted); line-height: 1.7; }

/* ─────────── SERVICES ─────────── */
#services { background: var(--bg-soft); }
.services-layout {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: start;
}
.service-rail {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  position: sticky;
  top: 100px;
}
.service-arrow {
  width: 70px;
  height: 126px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.06);
}
.service-arrow img { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; }
.service-list { display: grid; gap: 16px; }
.service-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 16px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.service-dot {
  width: 14px;
  height: 14px;
  background: var(--accent);
  margin-top: 10px;
  flex-shrink: 0;
}
.service-item h4 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--accent-soft);
  font-weight: 700;
}
.service-item ul { margin: 0; padding-left: 16px; color: var(--muted); }
.service-item ul li { margin-bottom: 6px; font-size: 14px; list-style: disc; }

/* ─────────── GOALS ─────────── */
.goals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.goal-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}
.goal-card img { width: 100%; height: 280px; object-fit: cover; }
.goal-copy { padding: 24px; }
.goal-copy h4 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}
.goal-copy p,
.goal-copy li { color: var(--muted); font-size: 14px; }
.goal-copy ul { padding-left: 16px; margin: 0; }
.goal-copy ul li { list-style: disc; margin-bottom: 8px; }

/* ─────────── PROJECTS & PARTNERS ─────────── */
#projects { background: var(--bg-soft); }
.projects-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
}
.orange-card {
  background: linear-gradient(180deg, #ff974a, #ff7b21);
  color: #101010;
  padding: 28px;
  box-shadow: var(--shadow);
}
.white-card {
  background: var(--white-card);
  color: #101010;
  padding: 28px;
  box-shadow: var(--shadow);
}
.orange-card h4,
.white-card h4 { margin: 0 0 20px; font-size: 28px; font-weight: 800; text-transform: uppercase; }
.list-clean { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.list-clean li { font-weight: 600; font-size: 15px; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.1); }
.list-clean li:last-child { border-bottom: none; }
.project-list { display: grid; gap: 16px; }
.project-list article { padding-bottom: 16px; border-bottom: 1px solid rgba(0,0,0,0.1); }
.project-list article:last-child { border-bottom: none; padding-bottom: 0; }
.project-list article h5 { margin: 0 0 4px; font-size: 16px; font-weight: 700; line-height: 1.2; }
.project-list article p { margin: 0; color: #444; font-size: 13px; }

/* ─────────── FOOTPRINT ─────────── */
.footprint-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.footprint-visual {
  position: relative;
  min-height: 480px;
}
.footprint-visual .hero-main-img { inset: 0 70px 0 0; }
.footprint-visual .hero-sub-b { left: 30px; bottom: 24px; width: 140px; height: 140px; }
.footprint-copy h3 {
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 0.98;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 16px;
}
.footprint-copy > p { color: var(--muted); line-height: 1.7; }
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin: 28px 0;
}
.mini-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  padding: 16px;
  text-align: center;
}
.mini-stat strong { display: block; color: #90ff7e; font-size: 26px; font-weight: 800; }
.mini-stat span { color: var(--muted); font-size: 12px; }
.sector-list { display: grid; gap: 10px; }
.sector-item {
  background: rgba(255,106,0,0.1);
  border: 1px solid rgba(255,106,0,0.22);
  padding: 12px 18px;
  font-weight: 700;
  font-size: 14px;
}

/* ─────────── CONTACT SECTION ─────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-grid h3 {
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 0.98;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 16px;
}
.contact-grid > div > p { color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.contact-list { display: grid; gap: 16px; }
.contact-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
}
.contact-item .ci-icon { color: var(--accent-soft); font-size: 16px; padding-top: 2px; }
.contact-item .ci-text { color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-form-box {
  background: linear-gradient(180deg, #111 0%, #0c0c0c 100%);
  border: 1px solid var(--line);
  padding: 28px;
  display: grid;
  gap: 14px;
}
.contact-form-box h4 { margin: 0; font-size: 26px; font-weight: 800; text-transform: uppercase; }
.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: #0f0f0f;
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form-box input:focus,
.contact-form-box textarea:focus { border-color: var(--accent); }
.contact-form-box textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-success {
  background: rgba(144,255,126,0.1);
  border: 1px solid rgba(144,255,126,0.3);
  color: #90ff7e;
  padding: 14px 16px;
  font-size: 14px;
  display: none;
}
.form-success.show { display: block; }

/* ─────────── PAGE HERO (inner pages) ─────────── */
.page-hero {
  padding: 100px 0 50px;
  background: linear-gradient(180deg, #0a0a0a 0%, #070707 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 280px;
  height: 280px;
  background: var(--accent);
  opacity: 0.06;
  transform: translate(80px, -60px);
}
.page-hero .kicker { font-size: 11px; }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 62px);
  line-height: 0.96;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 16px;
}
.page-hero p { color: var(--muted); font-size: 16px; max-width: 600px; }

/* ─────────── ARTICLES ─────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.2s;
}
.article-card:hover { border-color: var(--accent); }
.article-card img { width: 100%; height: 200px; object-fit: cover; }
.article-content { padding: 20px; }
.article-content .kicker { margin-bottom: 8px; }
.article-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.article-content h3 a { color: var(--text); }
.article-content h3 a:hover { color: var(--accent-soft); }
.article-content p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.article-content time { color: var(--muted); font-size: 12px; }

/* Article Single */
.article-single { padding: 60px 0; }
.article-single .article-header { margin-bottom: 40px; }
.article-single .article-body {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}
.article-single .article-body h2,
.article-single .article-body h3 { color: var(--text); margin: 24px 0 12px; }
.article-single .article-body p { margin-bottom: 18px; }
.article-single .article-body img { margin: 24px 0; width: 100%; }
.article-featured-img { width: 100%; max-height: 480px; object-fit: cover; margin-bottom: 36px; }

/* ─────────── FOOTER ─────────── */
.main-footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  background: #050505;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.footer-brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand-name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.footer-brand-name small { display: block; color: var(--muted); font-weight: 400; font-size: 11px; margin-top: 2px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-size: 13px; transition: color 0.2s; }
.footer-nav a:hover { color: var(--accent-soft); }
.footer-copy { color: var(--muted); font-size: 13px; }

/* ─────────── UTILITY ─────────── */
.text-center { text-align: center; }
.text-accent { color: var(--accent-soft); }
.mt-8 { margin-top: 32px; }
.section-bg { background: var(--bg-soft); }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .message-grid,
  .vision-grid,
  .goals-grid,
  .projects-grid,
  .footprint-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .services-layout { grid-template-columns: 1fr; }
  .service-rail { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; justify-content: flex-start; }
  .service-arrow { flex: 0 0 auto; }
  .hero-visual,
  .message-visual,
  .footprint-visual { min-height: 420px; }
}

@media (max-width: 780px) {
  .nav-links,
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding-top: 50px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-main-img { inset: 20px 0 0 36px; }
  .hero-sub-a { width: 120px; height: 120px; }
  .hero-sub-b { width: 100px; height: 100px; }
  .articles-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .mini-stats { grid-template-columns: 1fr 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(7,7,7,0.98);
    border-bottom: 1px solid var(--line);
    padding: 20px 16px;
    gap: 16px;
    z-index: 99;
  }
}

/* ═══════════════════════════════════════════
   PROFESSIONAL IMAGES — no border, no crop
═══════════════════════════════════════════ */
.prof-img-card {
  border: none !important;
  background: transparent !important;
  overflow: visible !important;
  height: auto !important;
}
.prof-img-card img {
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  display: block;
}
/* Message visual clean variant */
.message-visual.prof-visual {
  min-height: unset;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.message-visual.prof-visual > img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  position: static;
}
/* Goal card prof image: no crop */
.goal-card.prof-goal {
  overflow: visible;
}
.goal-card.prof-goal > img {
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  width: 100%;
  display: block;
}

/* ═══════════════════════════════════════════
   HERO SLIDESHOW
═══════════════════════════════════════════ */
.hero-visual { overflow: hidden; }
.hero-slideshow {
  position: absolute;
  inset: 40px 0 0 60px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.06);
  background: #111;
}
.hs-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hs-img.active { opacity: 1; }
.hs-indicators {
  position: absolute;
  bottom: 60px;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 10;
}
.hsi {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.hsi.active {
  background: var(--accent);
  transform: scale(1.4);
}

/* ═══════════════════════════════════════════
   SERVICE ACCORDION
═══════════════════════════════════════════ */
.service-toggle {
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.service-toggle h4 { margin: 0; flex: 1; }
.svc-icon {
  color: var(--accent);
  font-size: 26px;
  font-weight: 300;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s;
  display: block;
  width: 24px;
  text-align: center;
  margin-top: 4px;
}
.service-item.open .svc-icon { transform: rotate(45deg); }
.service-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.service-item.open .service-detail { max-height: 400px; }
.service-item:hover { border-color: rgba(255,106,0,0.3); }

/* ═══════════════════════════════════════════
   GOAL CARD REVEAL
═══════════════════════════════════════════ */
.goal-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.goal-card:hover .goal-detail,
.goal-card.open .goal-detail { max-height: 260px; }
.goal-hint {
  color: var(--accent-soft);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-top: 10px;
  transition: opacity 0.25s;
}
.goal-card:hover .goal-hint,
.goal-card.open .goal-hint { opacity: 0; height: 0; overflow: hidden; }
.goal-card { cursor: pointer; }

/* ═══════════════════════════════════════════
   AD MODAL
═══════════════════════════════════════════ */
.ad-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.84);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: adFadeIn 0.5s ease;
}
@keyframes adFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.ad-overlay.hidden { display: none; }
.ad-box {
  position: relative;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
}
.ad-box img { width: 100%; display: block; }
.ad-close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  font-weight: 700;
  z-index: 1;
  line-height: 1;
  transition: background 0.2s;
}
.ad-close:hover { background: var(--accent-soft); }

/* ═══════════════════════════════════════════
   TOPBAR LOGIN BUTTON
═══════════════════════════════════════════ */
.topbar-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-soft);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s, border-color 0.2s;
  padding: 4px 10px;
  border: 1px solid rgba(255,106,0,0.35);
}
.topbar-login:hover { color: #fff; border-color: var(--accent); }
.topbar-login i { font-size: 12px; }
}
