﻿/* ============================================================
   MOLITECH v3 — McKinsey Light Palette
   Background: White / Off-white
   Primary text: Deep navy-black #051C2C
   Accent: Molitech Orange #E8621A (logo color)
   Dividers: #E8E8E4
   ============================================================ */

:root {
  --bg:          #FFFFFF;
  --bg-alt:      #F7F6F2;
  --bg-dark:     #051C2C;      /* McKinsey deep navy — hero, CTA bands */
  --bg-mid:      #0A2740;      /* slightly lighter navy */
  --border:      #E2E0DA;
  --border-dark: #1A3A52;
  --navy:        #051C2C;
  --navy-mid:    #0D3251;
  --text:        #1A1A1A;
  --text-mid:    #555550;
  --text-light:  #888880;
  --white:       #FFFFFF;
  --orange:      #E8621A;
  --orange-lt:   #F07A38;
  --font:        'Inter', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; scroll-behavior: smooth; }
body  { font-family: var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; padding-top: 112px; }
img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; }

/* ── LAYOUT ── */
.wrap      { max-width: 1280px; margin: 0 auto; padding: 0 3rem; }
.wrap--mid { max-width: 960px;  margin: 0 auto; padding: 0 3rem; }
@media (max-width: 768px) { .wrap, .wrap--mid { padding: 0 1.5rem; } }

/* ── TYPOGRAPHY ── */
.label {
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--text-light); display: block;
}
.label--orange { color: var(--orange); }
.label--white  { color: rgba(255,255,255,0.5); }

h1 { font-size: clamp(2.8rem, 5.5vw, 5.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.0; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem);   font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
p  { font-size: 1.05rem; line-height: 1.8; color: var(--text-mid); }

/* ── NAV ── */
.nav {
  position: fixed; top: 44px; left: 0; right: 0; z-index: 1000;
  height: 68px; display: flex; align-items: center;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav__inner {
  width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 3rem;
  display: flex; align-items: center; gap: 4rem;
}
.nav__logo {
  display: flex; align-items: center; gap: 0.75rem;
  flex-shrink: 0;
  min-width: 180px;
}
.nav__logo img { height: 34px; width: auto; }
.nav__logo-divider {
  width: 1px; height: 22px; background: var(--orange); opacity: 0.7;
}
.nav__logo-name {
  font-size: 1.15rem; font-weight: 800; letter-spacing: 0.14em;
  color: var(--navy); line-height: 1;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
}
.nav__lang {
  display: flex; align-items: center; gap: 0.5rem; margin-left: 1.5rem;
}
.nav__lang-link {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-light); transition: color .2s;
  text-decoration: none;
}
.nav__lang-link:hover { color: var(--navy); }
.nav__lang-link.active { color: var(--orange); }
.nav__lang-sep { color: var(--border); font-size: 0.75rem; }
.nav__links { display: flex; gap: 1.5rem; align-items: center; list-style: none; margin-left: auto; }
.nav__links a {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-mid); transition: color .2s;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--navy); }
.nav__links a.active { color: var(--orange); font-weight: 700; }
.nav__cta {
  background: var(--navy) !important; color: var(--white) !important;
  padding: 0.55rem 1.35rem; font-weight: 700 !important;
}
.nav__cta:hover { background: var(--navy-mid) !important; }
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--text); }
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__lang { margin-left: auto; margin-right: 1rem; }
  .nav__burger { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 0;
  }
  .nav__links.open li { border-bottom: 1px solid var(--border); }
  .nav__links.open a { display: block; padding: 1rem 2rem; }
  .nav__links.open .nav__cta { margin: 1rem 2rem; padding: 0.75rem 1.5rem; display: inline-block; }
}
.nav-search { display: flex; align-items: center; gap: 0.35rem; }
.nav-search input { width: 150px; padding: 0.45rem 0.65rem; border: 1px solid var(--border); border-radius: 4px; font-size: 0.75rem; }
.nav-search button { padding: 0.45rem 0.7rem; border: 0; border-radius: 4px; background: var(--orange); color: var(--white); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
@media (max-width: 1100px) { .nav-search { display: none; } }

/* ── HERO (dark navy band — McKinsey dark hero) ── */
.hero {
  background: var(--bg-dark);
  padding: 32px 0 0;
  position: relative; overflow: hidden;
}
/* Subtle texture */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 105% -10%, rgba(232,98,26,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at -5% 110%, rgba(232,98,26,0.06) 0%, transparent 55%);
}
.hero__content { position: relative; z-index: 2; padding-bottom: 5rem; }
.hero h1 { color: var(--white); margin: 1.5rem 0; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero__sub {
  font-size: 1.125rem; color: rgba(255,255,255,0.6);
  max-width: 500px; line-height: 1.8; margin-bottom: 2.75rem;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Stats strip */
.hero__stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-dark);
  margin-top: 4rem;
}
.hero__stat {
  padding: 2.5rem 2.5rem;
  border-right: 1px solid var(--border-dark);
  background: rgba(255,255,255,0.025);
}
.hero__stat:last-child { border-right: none; }
@media (max-width: 900px) { .hero__stats { grid-template-columns: 1fr 1fr; } .hero__stat:nth-child(2) { border-right: none; } }
@media (max-width: 540px) { .hero__stats { grid-template-columns: 1fr 1fr; } .hero__stat { padding: 1.5rem 1rem; } }
.hero__stat-num {
  font-size: 2.75rem; font-weight: 800; letter-spacing: -0.04em;
  color: var(--white); line-height: 1; display: block;
}
.hero__stat-num span { color: var(--orange); }
.hero__stat-label {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.4);
  margin-top: 0.5rem; display: block;
}
@media (max-width: 900px)  { .hero__stats { grid-template-columns: 1fr 1fr; } .hero__stat:nth-child(2) { border-right: none; } }
@media (max-width: 540px)  { .hero__stats { grid-template-columns: 1fr 1fr; } }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  border: none; transition: all .2s; cursor: pointer;
}
.btn svg { width: 13px; height: 13px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2.5; }
.btn--primary  { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-lt); }
.btn--navy     { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-mid); }
.btn--ghost    { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--ghost-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
.btn--ghost-white:hover { border-color: rgba(255,255,255,0.6); }
.btn--white    { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--bg-alt); }

/* ── SECTION ── */
.section      { padding: 7rem 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--bg-dark); }
.section--navy p { color: rgba(255,255,255,0.55); }

/* Section header */
.sh { margin-bottom: 4.5rem; }
.sh h2        { color: var(--navy); }
.sh h2.white  { color: var(--white); }
.sh p         { max-width: 540px; margin-top: 1.25rem; }
.sh__line     { width: 28px; height: 2px; background: var(--orange); margin-top: 1.75rem; }
.sh__row      { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1.5rem; }

/* ── MARQUEE ── */
.marquee-wrap {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 3.5rem;
  animation: marquee 32s linear infinite; width: max-content;
}
.marquee-track span {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--text-light); white-space: nowrap;
}
.marquee-track span b { color: var(--text-mid); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SERVICES GRID ── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border); border-bottom: none;
  min-width: 0;
}
.svc {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background .25s;
  position: relative;
  min-width: 0;
}
.svc:last-child { border-right: none; }
.svc::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--orange); transform: scaleX(0);
  transform-origin: left; transition: transform .3s;
}
.svc:hover { background: var(--bg-alt); }
.svc:hover::after { transform: scaleX(1); }
.svc__num {
  font-size: 3rem; font-weight: 800; letter-spacing: -0.05em;
  color: var(--border); line-height: 1; margin-bottom: 1.75rem;
}
.svc__title  { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; line-height: 1.4; }
.svc__desc   { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; overflow-wrap: anywhere; }
.svc__tag    { display: inline-block; margin-top: 1.75rem; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); }
@media (max-width: 900px) { .services-grid { grid-template-columns: minmax(0, 1fr); } .svc { border-right: none; } }

/* Services page cards */
.service-card {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100%;
  min-width: 0;
  overflow: visible;
}
.service-card__img-wrap {
  height: 240px;
  width: 100%;
  flex: 0 0 auto;
  overflow: hidden;
}
.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card__content {
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: normal;
}
.service-card__content > * {
  max-width: 100%;
}
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.5rem !important;
  }
  .service-card {
    height: auto !important;
    min-height: 0 !important;
    min-width: 0 !important;
    overflow: visible !important;
  }
  .service-card__img-wrap {
    height: 200px !important;
  }
  .service-card__content {
    padding: 1.5rem !important;
    overflow: visible !important;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 480px) {
  .service-card__img-wrap {
    height: 180px !important;
  }
  .service-card__content {
    padding: 1.25rem !important;
  }
}

/* ── PROCESS ── */
.process {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}
.proc-step {
  padding: 2.25rem 1.75rem;
  border-right: 1px solid var(--border);
}
.proc-step:last-child { border-right: none; }
.proc-step__n    { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.04em; color: var(--border); line-height: 1; margin-bottom: 1rem; }
.proc-step__title { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); margin-bottom: 0.4rem; }
.proc-step__desc  { font-size: 0.875rem; color: var(--text-light); line-height: 1.7; }
@media (max-width: 1024px) { .process { grid-template-columns: repeat(3, 1fr); } .proc-step:nth-child(3) { border-right: none; } }
@media (max-width: 768px)  { .process { grid-template-columns: 1fr; } .proc-step { border-right: none; border-bottom: 1px solid var(--border); } .proc-step:last-child { border-bottom: none; } }

/* ── QA GATES ── */
.qa-gate {
  display: grid; grid-template-columns: 120px 1fr; gap: 3rem;
  margin-bottom: 4rem; padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}
.qa-gate:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
@media (max-width: 768px) {
  .qa-gate {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── CASE CARDS ── */
.cases-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.case-main  { background: var(--bg); padding: 3.5rem; }
.case-side  { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.case-sm    { background: var(--bg); padding: 2rem; flex: 1; }
.case-industry { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); margin-bottom: 0.75rem; display: block; }
.case-title    { font-size: 1.25rem; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 1.25rem; }
.case-sm .case-title { font-size: 0.95rem; margin-bottom: 1rem; }
.case-stats    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); margin-top: 2rem; border-top: 1px solid var(--border); }
.case-stat     { background: var(--bg-alt); padding: 1.25rem 1rem; }
.case-stat__n  { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--orange); line-height: 1; display: block; }
.case-stat__l  { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-top: 0.3rem; display: block; }
@media (max-width: 900px) { .cases-grid { grid-template-columns: 1fr; } .case-side { flex-direction: row; } }
@media (max-width: 600px) { .case-side { flex-direction: column; } }

/* ── FOUNDERS ── */
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.founder       { background: var(--bg); padding: 3.5rem; }
.founder__role { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--orange); margin-bottom: 1.25rem; display: block; }
.founder__name { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 0.2rem; }
.founder__co   { font-size: 0.875rem; color: var(--text-light); margin-bottom: 1.75rem; }
.founder__bio  { font-size: 0.95rem; color: var(--text-mid); line-height: 1.85; max-width: 480px; }
.founder__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.75rem; }
.founder__tag  {
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 0.3rem 0.75rem;
  border: 1px solid var(--border); color: var(--text-light);
}
@media (max-width: 768px) { .founders-grid { grid-template-columns: 1fr; } .founder { padding: 2.5rem 1.5rem; } }

/* ── INSIGHTS LIST ── */
.insight-row {
  display: grid; grid-template-columns: 64px 1fr 24px;
  align-items: start; gap: 2rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
  cursor: pointer;
}
.insight-row:first-child { border-top: 1px solid var(--border); }
.insight-row:hover { background: var(--bg-alt); margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
.insight-n     { font-size: 0.72rem; font-weight: 700; color: var(--border); padding-top: 0.15rem; }
.insight-cat   { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); margin-bottom: 0.4rem; display: block; }
.insight-title { font-size: 1.05rem; font-weight: 600; color: var(--navy); line-height: 1.45; }
.insight-meta  { font-size: 0.8rem; color: var(--text-light); margin-top: 0.45rem; }
.insight-arrow { color: var(--border); font-size: 1rem; padding-top: 0.15rem; transition: color .2s; }
.insight-row:hover .insight-arrow { color: var(--orange); }
@media (max-width: 600px) { .insight-row { grid-template-columns: 1fr; } .insight-n, .insight-arrow { display: none; } }

/* ── CTA BAND (dark navy) ── */
.cta-band { background: var(--bg-dark); padding: 7rem 0; }
.cta-band h2 { color: var(--white); }
.cta-band p  { color: rgba(255,255,255,0.55); max-width: 480px; margin-top: 1rem; font-size: 1.05rem; }
.cta-inner   { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center; }
@media (max-width: 768px) { .cta-inner { grid-template-columns: 1fr; gap: 2rem; } }

/* ── FOOTER ── */
.footer { background: var(--navy); padding: 5rem 0 2.5rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer__logo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.25rem; flex-wrap: nowrap; }
.footer__logo img { height: 32px; width: auto; max-width: 120px; object-fit: contain; flex-shrink: 0; }
.footer__logo-name { font-size: 1rem; font-weight: 800; letter-spacing: 0.14em; color: rgba(255,255,255,0.8); text-transform: uppercase; }
.footer__desc     { font-size: 0.825rem; color: rgba(255,255,255,0.4); line-height: 1.75; }
.footer__col h5   { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.25); margin-bottom: 1.25rem; }
.footer__col ul   { list-style: none; }
.footer__col ul li { margin-bottom: 0.6rem; }
.footer__col ul li a { font-size: 0.825rem; color: rgba(255,255,255,0.45); transition: color .2s; }
.footer__col ul li a:hover { color: var(--white); }
.footer__bottom   { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.72rem; color: rgba(255,255,255,0.25); }
.footer__bottom a { color: rgba(255,255,255,0.35); transition: color .2s; }
.footer__bottom a:hover { color: var(--white); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; } }

/* ── FORM ── */
.form-step   { display: none; animation: fadeUp .3s ease; }
.form-step.active { display: block; }
@keyframes fadeUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

.f-label {
  display: block; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-light); margin-bottom: 0.5rem;
}
.f-input, .f-select, .f-textarea {
  width: 100%; background: var(--white);
  border: 1px solid var(--border); color: var(--text);
  padding: 0.875rem 1rem; font-family: var(--font); font-size: 0.95rem;
  outline: none; transition: border-color .2s; appearance: none;
}
.f-input:focus, .f-select:focus, .f-textarea:focus { border-color: var(--orange); }
.f-input::placeholder, .f-textarea::placeholder { color: var(--border); }
.f-textarea { resize: vertical; min-height: 130px; }
.f-group { margin-bottom: 1.75rem; }

.chip-group { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.chip {
  padding: 0.45rem 1rem; border: 1px solid var(--border);
  font-size: 0.72rem; font-weight: 600; color: var(--text-mid);
  background: var(--white); cursor: pointer; transition: all .15s;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.chip:hover { border-color: var(--text-mid); color: var(--navy); }
.chip.on    { border-color: var(--orange); color: var(--orange); background: rgba(232,98,26,0.04); }

.steps-bar { display: flex; align-items: center; margin-bottom: 3rem; }
.step-dot  { display: flex; align-items: center; gap: 0.6rem; flex: 1; }
.step-dot::after { content:''; flex:1; height:1px; background:var(--border); margin: 0 0.25rem; }
.step-dot:last-child::after { display:none; }
.step-dot__n {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-alt); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 700; color: var(--text-light); flex-shrink: 0;
}
.step-dot__txt { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); }
.step-dot.active .step-dot__n  { background: var(--orange); border-color: var(--orange); color: var(--white); }
.step-dot.active .step-dot__txt { color: var(--navy); }
.step-dot.done .step-dot__n    { border-color: var(--orange); color: var(--orange); background: var(--white); }
@media (max-width:600px) { .step-dot__txt { display:none; } }

.form-nav { display:flex; justify-content:space-between; align-items:center; margin-top:2rem; padding-top:1.5rem; border-top:1px solid var(--border); }

.file-zone {
  border: 1px dashed var(--border); padding: 2.5rem; text-align: center;
  cursor: pointer; transition: border-color .2s; background: var(--bg-alt);
}
.file-zone:hover { border-color: var(--orange); }
.file-zone input { display: none; }
.file-zone__text { font-size: 0.825rem; color: var(--text-light); margin-top: 0.5rem; }
.file-zone__text strong { color: var(--orange); }
.file-items { margin-top: 0.75rem; }
.file-item  { display:flex; align-items:center; gap:0.75rem; padding:0.5rem 0.75rem; background:var(--bg-alt); margin-bottom:0.3rem; font-size:0.78rem; color:var(--text-mid); border:1px solid var(--border); }
.file-item__rm { margin-left:auto; cursor:pointer; color:var(--text-light); font-weight:700; }
.file-item__rm:hover { color:#c0392b; }

/* ── SUCCESS ── */
.success { text-align:center; padding:5rem 2rem; }
.success__tick { font-size:3rem; margin-bottom:1.75rem; display:block; color:var(--orange); }
.success h2    { color:var(--navy); font-size:1.8rem; margin-bottom:1rem; }
.success p     { max-width:460px; margin:0 auto 1.5rem; }

/* ── UTILITY ── */
.hide { display:none !important; }
.orange { color: var(--orange); }
.navy   { color: var(--navy); }
.white  { color: var(--white) !important; }

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 120px 0 5rem;
  background: var(--bg-dark);
  border-bottom: none;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.5rem); }
.page-hero p  { color: rgba(255,255,255,0.55); max-width: 520px; margin-top: 1.25rem; }

/* ── IMAGE PLACEHOLDERS ── */
.image-placeholder {
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.image-placeholder--hero {
  min-height: 400px;
}

.image-placeholder--card {
  min-height: 200px;
}

/* ── CASE GALLERY ── */
.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.case-gallery__item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ==========================
   MOBILE RESPONSIVE STYLES
   ========================== */

/* Tablet (768px - 900px) */
@media (max-width: 900px) {
  .hero { min-height: 500px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr) !important; gap: 1.5rem; }

  /* Grid layouts: 3 columns -> 2 columns */
  .service-cards,
  .case-gallery,
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* 2 columns -> 1 column */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 2fr 1fr"],
  [style*="grid-template-columns: 1fr 2fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Footer grid */
  .footer__grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Process steps */
  .process { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Small Tablet / Large Phone (600px - 768px) */
@media (max-width: 768px) {
  body { padding-top: 92px; }

  .wrap, .wrap--mid { padding: 0 1.5rem; }

  .hero { min-height: 450px; padding: 3rem 0; }
  .hero h1 { font-size: 2.2rem; line-height: 1.3; }
  .hero__sub { font-size: 1.05rem !important; }
  .hero__stats { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem; }
  .hero__stat-num { font-size: 1.1rem; }
  .hero__stat-num span { font-size: 1.3rem; }
  .hero__stat-label { font-size: 0.7rem; }

  /* Buttons */
  .hero__ctas { flex-direction: column; gap: 1rem; }
  .hero__ctas .btn { width: 100%; text-align: center; }

  /* Section headings */
  .sh h2 { font-size: 2rem; }
  .sh p { font-size: 1rem; }

  /* All 3-column grids -> 1 column */
  .service-cards,
  .case-gallery,
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Service page cards */
  .services-grid { grid-template-columns: 1fr !important; }
  .service-card { height: auto !important; min-height: 0 !important; overflow: visible !important; }
  .service-card__content { overflow-wrap: anywhere; }

  /* Process steps */
  .process { grid-template-columns: 1fr !important; gap: 1.5rem; }

  /* 2-column layouts -> 1 column */
  [style*="grid-template-columns: 2fr 1fr"],
  [style*="grid-template-columns: 1fr 2fr"],
  [style*="grid-template-columns: 2fr 3fr"],
  [style*="grid-template-columns: 3fr 2fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Stats grid inside sections */
  [style*="grid-template-columns: repeat(3, 1fr)"][style*="margin-top: 2rem"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr !important; gap: 2.5rem; }

  /* CTA band */
  .cta-inner { flex-direction: column !important; text-align: center; gap: 2rem; }
  .cta-inner > div:last-child { width: 100%; }
  .cta-inner .btn { width: 100% !important; }

  /* Navigation burger */
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    top: 112px;
    right: 0;
    width: 100%;
    max-width: 300px;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: -4px 0 12px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s;
  }
  .nav__links.open { transform: translateX(0); }
}

/* Mobile Phone (up to 600px) */
@media (max-width: 600px) {
  /* Base styles */
  body { font-size: 15px; padding-top: 88px; }
  .wrap, .wrap--mid { padding: 0 1.25rem; }

  /* Navigation */
  .nav { height: 60px; }
  .nav__inner { padding: 0.75rem 1.25rem; }
  .nav__logo { gap: 0.5rem; min-width: 150px; }
  .nav__logo img { height: 28px; }
  .nav__logo-name { font-size: 0.9rem; }

  /* Hero */
  .hero { min-height: auto; padding: 2.5rem 0; }
  .hero h1 { font-size: 1.8rem; line-height: 1.25; margin-bottom: 1rem; }
  .hero h1 em { display: block; margin-top: 0.5rem; }
  .hero__sub { font-size: 0.95rem !important; line-height: 1.5 !important; }
  .hero__stats { grid-template-columns: 1fr !important; gap: 0.75rem; margin-top: 2rem; }
  .hero__stat { padding: 1rem; }
  .hero__stat-num { font-size: 1rem; }
  .hero__stat-num span { font-size: 1.2rem; }
  .hero__stat-label { font-size: 0.7rem; }
  .hero__ctas { flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
  .hero__ctas .btn { padding: 0.9rem 1.5rem; font-size: 0.9rem; }

  /* Page hero */
  .page-hero { padding: 80px 0 3rem; }

  /* Marquee */
  .marquee-track span { font-size: 0.8rem; padding: 0 1.5rem; }

  /* Section spacing */
  .section { padding: 3rem 0 !important; }

  /* Section headers */
  .sh { margin-bottom: 2rem; }
  .sh h2 { font-size: 1.65rem; line-height: 1.3; }
  .sh p { font-size: 0.95rem; }
  .label { font-size: 0.65rem; padding: 0.35rem 0.75rem; }

  /* All grids become single column */
  .service-cards,
  .case-gallery,
  .process,
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Card padding */
  [style*="padding: 3rem"] { padding: 2rem !important; }
  [style*="padding: 2.5rem"] { padding: 1.5rem !important; }
  [style*="padding: 2rem"] { padding: 1.5rem !important; }

  /* Images */
  [style*="height: 280px"] { height: 250px !important; }
  [style*="height: 240px"] { height: 200px !important; }
  [style*="min-height: 500px"] { min-height: 300px !important; }
  [style*="min-height: 400px"] { min-height: 250px !important; }

  /* Buttons */
  .btn { font-size: 0.9rem; padding: 0.9rem 1.75rem; }

  /* Process steps */
  .proc-step { padding: 1.5rem; }
  .proc-step__n { font-size: 2rem; }
  .proc-step__title { font-size: 0.8rem; }
  .section div[style*="display: flex"][style*="gap: 2rem"][style*="align-items: flex-start"] {
    gap: 1rem !important;
    align-items: flex-start !important;
  }
  .section div[style*="width: 60px"][style*="height: 60px"][style*="border-radius: 50%"] {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.1rem !important;
  }

  /* CTA band */
  .cta-band { padding: 3rem 0 !important; }
  .cta-inner h2 { font-size: 1.65rem; }
  .cta-inner p { font-size: 0.95rem; }

  /* Footer */
  .footer__grid { gap: 2rem; }
  .footer__col { margin-bottom: 0; }
  .footer__desc { font-size: 0.85rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .footer__bottom p { font-size: 0.75rem; }

  /* Tables */
  table { font-size: 0.85rem; }
  th, td { padding: 0.75rem 0.5rem; }

  /* Forms */
  .form-grid { grid-template-columns: 1fr !important; }
  .form-group label { font-size: 0.85rem; }
  input, textarea, select { font-size: 0.95rem; }
}

/* Extra small phones (375px and below) */
@media (max-width: 375px) {
  .hero h1 { font-size: 1.6rem; }
  .sh h2 { font-size: 1.5rem; }
  .hero__stats { gap: 0.6rem; }
  .hero__stat { padding: 0.85rem; }
  .btn { font-size: 0.85rem; padding: 0.8rem 1.25rem; }
}


.case-gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.case-gallery__img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.case-gallery__caption {
  padding: 1.25rem;
  background: var(--white);
}

.case-gallery__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.case-gallery__desc {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .case-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .case-gallery {
    grid-template-columns: 1fr;
  }
}

/* Blog article pages */
.article-page { padding: 4rem 0; background: var(--bg); }
.article-container { max-width: 900px; margin: 0 auto; padding: 0 2rem; }
.breadcrumb { color: var(--text-light); font-size: 0.9rem; margin-bottom: 2rem; }
.breadcrumb a { color: var(--orange); }
.article-header { margin-bottom: 2.5rem; }
.article-kicker { color: var(--orange); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 700; margin-bottom: 1rem; }
.article-header h1 { color: var(--navy); font-size: clamp(2rem, 5vw, 4rem); margin-bottom: 1rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--text-light); margin-bottom: 1.5rem; }
.article-cover { width: 100%; border-radius: 8px; margin: 1.5rem 0; }
.article-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.article-tag { background: var(--bg-alt); color: var(--text-mid); padding: 0.3rem 0.7rem; border-radius: 999px; font-size: 0.8rem; }
.article-content { font-size: 1.05rem; line-height: 1.8; }
.article-content h2, .article-content h3, .article-content h4 { color: var(--navy); margin: 2rem 0 1rem; }
.article-content p, .article-content li { margin-bottom: 1rem; }
.article-content ul { padding-left: 1.4rem; margin-bottom: 1.5rem; }
.article-content a { color: var(--orange); text-decoration: underline; }
.article-content figure { margin: 2rem 0; }
.article-content figure img { border-radius: 8px; }
.article-content figcaption { color: var(--text-light); font-size: 0.9rem; margin-top: 0.5rem; }
.article-footer { margin-top: 3rem; padding: 2rem; background: var(--bg-alt); border-radius: 8px; }
.article-footer a { color: var(--orange); font-weight: 700; }
