/* =====================================================================
   MORWIN TECHNOLOGIES � HOMEPAGE STYLES
   Architecture:
   1. Design tokens (CSS variables)
   2. Reset & base
   3. Layout primitives (container, band, section-head)
   4. Reusable components (btn, pill, card, tile, stat, check-item, form)
   5. Section styles (header, hero, trust, overview, ... footer)
   6. Responsive (mobile-first base + min-width breakpoints)
   ===================================================================== */

/* ============================ 1. TOKENS ============================ */
:root {
  /* Brand */
  --morwin-red: #ec2b3b;
  --morwin-red-dark: #c91f2e;
  --morwin-blue: #2f6bff;
  --morwin-blue-deep: #1b3a8f;
  --morwin-dark: #0b1330;
  --morwin-dark-2: #111a3d;
  --morwin-light: #f4f6fb;
  --white: #ffffff;

  /* Text */
  --text: #1c2540;
  --text-muted: #5a647e;
  --text-invert: #e8edf9;
  --text-invert-muted: #a9b6da;

  /* Surfaces & lines */
  --surface: #ffffff;
  --surface-alt: #f4f6fb;
  --border: #e3e8f2;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Gradients */
  --grad-brand: linear-gradient(120deg, var(--morwin-blue-deep) 0%, var(--morwin-blue) 55%, var(--morwin-red) 120%);
  --grad-dark: linear-gradient(135deg, #0b1330 0%, #131d49 60%, #2a1430 100%);

  /* Layout */
  --container-width: 1280px;
  --container-pad: clamp(1rem, 4vw, 2.5rem);
  --section-pad: clamp(3rem, 7vw, 6rem);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* Effects */
  --shadow-sm: 0 2px 10px rgba(16, 28, 64, 0.06);
  --shadow-md: 0 14px 36px rgba(16, 28, 64, 0.12);
  --shadow-lg: 0 30px 70px rgba(11, 19, 48, 0.28);
  --shadow-card: 0 6px 18px rgba(16, 28, 64, 0.06), 0 18px 40px rgba(16, 28, 64, 0.07);
  --shadow-card-hover: 0 10px 24px rgba(27, 58, 143, 0.12), 0 28px 60px rgba(16, 28, 64, 0.16);
  --shadow-glow: 0 0 0 6px rgba(47, 107, 255, 0.10);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Surfaces */
  --card-surface: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);

  /* Type */
  --font-head: "Plus Jakarta Sans", system-ui, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", system-ui, "Segoe UI", Arial, sans-serif;
}

/* ========================= 2. RESET & BASE ========================= */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.5em; color: var(--text); font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--morwin-blue); text-decoration: none; }
a:hover { color: var(--morwin-red); }
img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--morwin-blue); outline-offset: 2px; border-radius: 4px; }

.text-accent { color: var(--morwin-red); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--morwin-red); color: #fff; padding: 0.75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ====================== 3. LAYOUT PRIMITIVES ====================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.band { padding-block: var(--section-pad); position: relative; }
.band--light { background: var(--surface-alt); }
.band--dark { background: var(--grad-dark); color: var(--text-invert); }
.band--gradient { background: var(--grad-brand); color: var(--white); }
.band--dark h1, .band--dark h2, .band--dark h3, .band--gradient h2 { color: #fff; }

/* alternate light bands subtly for rhythm */
.overview, .services, .why { background: var(--white); }

.section-head { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--left { text-align: left; margin-inline: 0; }
.section-head--invert .section-head__title { color: #fff; }
.section-head__title { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; }
.section-head__sub { color: var(--text-muted); font-size: 1.05rem; margin-top: 0.5rem; }
.section-head--invert .section-head__sub { color: rgba(255,255,255,0.85); }

/* ====================== 4. COMPONENTS ====================== */
/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 0.75rem 1.4rem; border-radius: var(--radius-pill); border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
}
.btn--lg { padding: 0.9rem 1.8rem; font-size: 1rem; }
.btn--primary { background: linear-gradient(135deg, #f5384a 0%, var(--morwin-red) 55%, var(--morwin-red-dark) 100%); color: #fff; box-shadow: 0 8px 20px rgba(236,43,59,0.30); }
.btn--primary:hover { background: linear-gradient(135deg, var(--morwin-red) 0%, var(--morwin-red-dark) 100%); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(236,43,59,0.40); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.985); }
.band--light .btn--ghost, .consultation .btn--ghost { color: var(--text); border-color: var(--border); }

/* Pills */
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; padding: .45rem 1rem; border-radius: var(--radius-pill); font-size: .85rem; font-weight: 500;
}
.pill::before { content: "\2713"; color: var(--morwin-red); font-weight: 700; }

/* Cards */
.card {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--card-surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.35rem, 2.5vw, 1.9rem); box-shadow: var(--shadow-card);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex; flex-direction: column; height: 100%;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease; z-index: 1;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: #c6d2ec; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  font-size: 1.5rem; width: 60px; height: 60px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, rgba(47,107,255,0.16), rgba(236,43,59,0.14));
  border: 1px solid rgba(47,107,255,0.18);
  border-radius: 16px; margin-bottom: 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 8px 18px rgba(27,58,143,0.10);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover .card__icon { transform: translateY(-2px) scale(1.04); box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 12px 24px rgba(27,58,143,0.18); }
.card__title { font-size: 1.15rem; font-weight: 700; }
.card__text { color: var(--text-muted); margin-bottom: 1rem; }
.card__list { margin: 0 0 1.25rem; display: grid; gap: .4rem; }
.card__list li { position: relative; padding-left: 1.4rem; color: var(--text-muted); font-size: .95rem; }
.card__list li::before { content: "\2713"; position: absolute; left: 0; color: var(--morwin-blue); font-weight: 700; }
.card__link { margin-top: auto; font-weight: 600; font-family: var(--font-head); color: var(--morwin-red); }
.card__link:hover { color: var(--morwin-red-dark); }
.card--icon-top .card__link { color: var(--morwin-blue); }

/* Tiles (industries) */
.tile--industry {
  display: flex; align-items: center; gap: .85rem;
  background: var(--card-surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 1rem 1.15rem; font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tile--industry:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: #c6d2ec; }
.tile__icon {
  font-size: 1.3rem; flex-shrink: 0; width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, rgba(47,107,255,0.14), rgba(236,43,59,0.12));
  border: 1px solid rgba(47,107,255,0.16); border-radius: 12px;
}

/* Check items (challenges) */
.check-item { display: flex; gap: .9rem; margin-bottom: 1.4rem; }
.check-item__icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #f5384a, var(--morwin-red-dark)); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; margin-top: 2px;
  box-shadow: 0 6px 14px rgba(236,43,59,0.28);
}
.check-item__title { font-size: 1.05rem; margin-bottom: .25rem; }
.check-item__text { color: var(--text-muted); margin: 0; font-size: .95rem; }

/* Stats */
.stat { text-align: center; }
.stat__value { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 2.5vw, 3rem); line-height: 1; color: #fff; }
.stat__label { display: block; margin-top: .5rem; font-size: .9rem; color: rgba(255,255,255,0.9); }

/* ====================== 5. SECTION STYLES ====================== */
/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 19, 48, 0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-dark);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.brand__logo { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__list { display: flex; gap: clamp(1rem, 2vw, 1.75rem); }
.nav__link { color: var(--text-invert); font-weight: 500; font-size: .95rem; padding: .35rem 0; position: relative; }
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--morwin-red); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; gap: .6rem; }
.nav__actions .btn { padding: .55rem 1.1rem; font-size: .9rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle__bar { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55% 65% at 88% 12%, rgba(47,107,255,0.40), transparent 60%),
    radial-gradient(50% 60% at 72% 105%, rgba(236,43,59,0.32), transparent 60%),
    radial-gradient(40% 50% at 0% 100%, rgba(47,107,255,0.18), transparent 60%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 60% at 30% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 30% 30%, #000 0%, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero__title { font-size: clamp(2.2rem, 1.4rem + 4.5vw, 4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.hero__lead { font-size: clamp(1rem, .95rem + .4vw, 1.2rem); color: var(--text-invert); max-width: 56ch; }
.hero__text { color: var(--text-invert-muted); max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0; }
.hero__pills { display: flex; flex-wrap: wrap; gap: .6rem; }

.hero__media { position: relative; }
.hero__media::before {
  content: ""; position: absolute; inset: -22px -22px auto auto; width: 68%; aspect-ratio: 1;
  background: var(--grad-brand); filter: blur(34px); opacity: .5; border-radius: 50%;
  z-index: -1; pointer-events: none;
}
.hero__media::after {
  content: ""; position: absolute; left: -18px; bottom: -18px; width: 120px; height: 120px; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,0.22) 2px, transparent 2px);
  background-size: 16px 16px; opacity: .6; pointer-events: none;
}
.hero__image {
  width: 100%; border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.10) inset;
  border: 1px solid rgba(255,255,255,0.18);
  outline: 10px solid rgba(255,255,255,0.05); outline-offset: 0;
  object-fit: cover; aspect-ratio: 3 / 2;
  transition: transform .4s var(--ease);
}
.hero__media:hover .hero__image { transform: translateY(-4px); }
.hero__badge {
  position: absolute; background: rgba(255,255,255,0.92); color: var(--text);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 16px; box-shadow: var(--shadow-md); padding: .75rem 1.05rem; backdrop-filter: blur(10px);
}
.hero__badge--stat { top: 1rem; left: -0.5rem; display: flex; align-items: center; gap: .6rem; }
.hero__badge-value { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--morwin-blue); }
.hero__badge-label { font-size: .8rem; line-height: 1.2; max-width: 9ch; color: var(--text-muted); }
.hero__badge--note { bottom: 1rem; right: -0.5rem; display: flex; align-items: center; gap: .6rem; }
.hero__badge--note .hero__badge-icon { font-size: 1.5rem; color: var(--morwin-blue); }
.hero__badge--note strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.hero__badge--note em { font-style: normal; font-size: .8rem; color: var(--text-muted); }

/* Trust */
.trust { background: var(--white); border-bottom: 1px solid var(--border); padding-block: clamp(1.5rem, 3vw, 2.25rem); }
.trust__inner { display: grid; gap: 1.25rem; align-items: center; }
.trust__title { font-size: 1.15rem; margin: 0; }
.trust__list { display: grid; gap: 1rem 1.5rem; }
.trust__item { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .92rem; color: var(--text); }
.trust__icon { font-size: 1.2rem; color: var(--morwin-blue); }

/* Overview & Why grids */
.overview__grid, .services__grid, .why__grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: 1fr; }

/* Why Morwin � distinct premium card treatment */
.why { background: linear-gradient(180deg, var(--surface-alt) 0%, #ffffff 100%); }
.why .card { background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%); border-color: #e0e7f6; }
.why .card::before { transform: scaleX(1); height: 4px; opacity: .9; }
.why .card__icon {
  color: #fff; background: var(--grad-brand); border-color: transparent;
  box-shadow: 0 10px 22px rgba(27,58,143,0.22);
}
.why .card__title { color: var(--morwin-dark); }

/* Challenges */
.challenges { background: linear-gradient(180deg, #ffffff 0%, var(--surface-alt) 100%); }
.challenges__inner { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.challenges__media { position: relative; display: flex; justify-content: center; }
.challenges__media::before {
  content: ""; position: absolute; left: -6%; bottom: -8%; width: 55%; aspect-ratio: 1;
  background: var(--grad-brand); filter: blur(34px); opacity: .28; border-radius: 50%; z-index: 0;
}
.challenges__media::after {
  content: ""; position: absolute; top: -10px; right: 4%; width: 96px; height: 96px; z-index: 0;
  background-image: radial-gradient(rgba(47,107,255,0.35) 2px, transparent 2px);
  background-size: 16px 16px;
}
.challenges__image {
  position: relative; z-index: 1; width: 100%; max-width: 480px;
  border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg);
  border: 5px solid #fff; object-fit: cover; aspect-ratio: 4 / 5;
}

/* Talent */
.talent__inner { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: center; }
.talent__title { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); font-weight: 800; }
.talent__text { color: var(--text-invert-muted); }
.talent__image { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.talent__benefits-title { font-size: 1.15rem; color: #fff; margin-bottom: 1rem; }
.talent__list { display: grid; gap: .85rem; }
.talent__benefit { display: flex; align-items: center; gap: .7rem; color: var(--text-invert); font-weight: 500; }
.talent__benefit span { font-size: 1.2rem; }

/* Industries */
.industries__grid { display: grid; gap: clamp(.75rem, 1.5vw, 1rem); grid-template-columns: 1fr; }

/* Process */
.process { background: linear-gradient(180deg, #ffffff 0%, var(--surface-alt) 100%); }
.process__track { display: grid; gap: 1.25rem; grid-template-columns: 1fr; counter-reset: step; }
.process__step {
  position: relative; background: var(--card-surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 1.5rem; box-shadow: var(--shadow-card); text-align: center;
  transition: transform .22s ease, box-shadow .22s ease;
}
.process__step:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.process__num {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  border-radius: 50%; background: var(--grad-brand); color: #fff; font-family: var(--font-head);
  font-weight: 800; font-size: 1.05rem; margin-bottom: .9rem;
  box-shadow: 0 10px 24px rgba(27,58,143,0.30), 0 0 0 6px rgba(47,107,255,0.10);
}
.process__step-title { font-size: 1.1rem; margin-bottom: .35rem; }
.process__step-text { color: var(--text-muted); font-size: .92rem; margin: 0; }

/* Results */
.results__grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }

/* Final CTA */
.cta__inner { text-align: center; max-width: 820px; margin-inline: auto; }
.cta__title { font-size: clamp(1.6rem, 1.2rem + 2.2vw, 2.6rem); font-weight: 800; }
.cta__text { color: var(--text-invert-muted); margin-bottom: 1.75rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* Consultation form */
.consultation__inner { max-width: 920px; margin-inline: auto; }
.form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-md); }
.form__grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.form__field { display: flex; flex-direction: column; gap: .4rem; }
.form__field--full { grid-column: 1 / -1; }
.form__label { font-weight: 600; font-size: .9rem; color: var(--text); }
.req { color: var(--morwin-red); }
.form__input {
  font: inherit; padding: .75rem .9rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface-alt); color: var(--text); width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.form__input:focus { outline: none; border-color: var(--morwin-blue); box-shadow: 0 0 0 3px rgba(47,107,255,0.15); background: #fff; }
.form__textarea { resize: vertical; min-height: 120px; }
.form__select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a647e' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form__input.is-invalid { border-color: var(--morwin-red); box-shadow: 0 0 0 3px rgba(236,43,59,0.12); }
.form__error { color: var(--morwin-red); font-size: .8rem; min-height: 1rem; }
.form__error--global { margin-top: 1rem; padding: .75rem 1rem; background: rgba(236, 43, 59, .08); border-radius: var(--radius-sm, 8px); }
.form__submit { margin-top: 1.5rem; width: 100%; }
.form__note { color: var(--text-muted); font-size: .85rem; text-align: center; margin: 1rem 0 0; }
.form__success { color: #1a7f4b; background: #e7f7ee; border: 1px solid #b6e6c9; border-radius: var(--radius-sm); padding: .85rem 1rem; text-align: center; margin: 1rem 0 0; }

/* Footer */
.footer { padding-bottom: 0; }
.footer__inner { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2.5rem; }
.footer__logo { height: 60px; width: auto; margin-bottom: 1rem; }
.footer__about { color: var(--text-invert-muted); font-size: .9rem; }
.footer__heading { font-size: 1rem; color: #fff; margin-bottom: 1rem; }
.footer__heading--social { margin-top: 1.5rem; }
.footer__list { display: grid; gap: .6rem; }
.footer__list a, .footer__list--contact li { color: var(--text-invert-muted); font-size: .92rem; }
.footer__list a:hover { color: #fff; }
.footer__list--contact li { display: flex; align-items: center; gap: .55rem; }
.footer__social { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer__social a { color: var(--text-invert-muted); font-size: .9rem; }
.footer__social a:hover { color: var(--morwin-red); }
.footer__bar { border-top: 1px solid var(--border-dark); padding-block: 1.25rem; }
.footer__bar-inner { display: flex; flex-direction: column; gap: .5rem; align-items: center; text-align: center; color: var(--text-invert-muted); font-size: .85rem; }
.footer__bar p { margin: 0; }
.footer__legal a { color: var(--text-invert-muted); }
.footer__legal a:hover { color: #fff; }

/* ====================== 7. PREMIUM POLISH ====================== */
@keyframes flowline { to { background-position: -200% 0; } }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-7px); } }

/* Anchored sections clear the sticky header */
.band[id] { scroll-margin-top: 84px; }

/* Unifying gradient accent under section headings */
.section-head__title { position: relative; }
.section-head__title::after {
  content: ""; display: block; width: 64px; height: 4px; margin-top: .9rem; border-radius: 2px;
  background: var(--grad-brand);
}
.section-head:not(.section-head--left) .section-head__title::after { margin-inline: auto; }
.section-head--left .section-head__title::after { margin-inline: 0; }
.section-head--invert .section-head__title::after { background: rgba(255,255,255,0.85); }

/* Card-link arrow micro-interaction (global) */
.card__link { display: inline-flex; align-items: center; gap: .4rem; }
.card__link span { display: inline-block; transition: transform .25s var(--ease); }
.card__link:hover span { transform: translateX(5px); }

/* HERO � premium floating stat cards */
.hero__badge { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.hero__badge::before {
  content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 4px; border-radius: 4px;
  background: var(--grad-brand);
}
.hero__badge { padding-left: 1.2rem; }
.hero__badge--stat { animation: floaty 5s ease-in-out infinite alternate; }
.hero__badge--note { animation: floaty 6s ease-in-out infinite alternate; animation-delay: .6s; }
.hero__badge:hover { animation: none; transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* SERVICES � brand-only accent rotation for differentiation + scanning */
.services__grid .card::before { transform: scaleX(1); opacity: .4; height: 3px; }
.services__grid .card:hover::before { opacity: 1; height: 4px; }
.services__grid .card:nth-child(3n+1) { --svc-soft: rgba(47,107,255,0.14); --svc-solid: var(--morwin-blue); }
.services__grid .card:nth-child(3n+2) { --svc-soft: rgba(27,58,143,0.14); --svc-solid: var(--morwin-blue-deep); }
.services__grid .card:nth-child(3n+3) { --svc-soft: rgba(236,43,59,0.14); --svc-solid: var(--morwin-red); }
.services__grid .card::before { background: var(--svc-solid); }
.services__grid .card__icon { background: var(--svc-soft); border-color: transparent; box-shadow: inset 0 0 0 1px var(--svc-soft), 0 8px 18px rgba(27,58,143,0.10); }
.services__grid .card__list { border-top: 1px solid var(--border); padding-top: .9rem; }
.services__grid .card__list li::before { color: var(--svc-solid); }
.services__grid .card__link { color: var(--svc-solid); }
.card--service .card__title { font-size: 1.2rem; }

/* INDUSTRIES � stronger hierarchy, icon visibility, hover accent */
.industries { background: linear-gradient(180deg, #ffffff 0%, var(--surface-alt) 100%); }
.industries__grid { gap: clamp(.9rem, 1.8vw, 1.25rem); }
.tile--industry { position: relative; overflow: hidden; padding: 1.15rem 1.3rem; }
.tile--industry::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad-brand); transform: scaleY(0); transform-origin: top; transition: transform .28s var(--ease);
}
.tile--industry:hover::before { transform: scaleY(1); }
.tile__icon {
  width: 52px; height: 52px; font-size: 1.45rem;
  background: linear-gradient(140deg, rgba(47,107,255,0.18), rgba(236,43,59,0.15));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 6px 14px rgba(27,58,143,0.10);
  transition: transform .22s var(--ease);
}
.tile--industry:hover .tile__icon { transform: scale(1.08); }

/* WHY MORWIN � larger haloed icons, more presence */
.why .card { padding: clamp(1.6rem, 2.6vw, 2.1rem); }
.why .card__icon { width: 66px; height: 66px; font-size: 1.7rem; position: relative; }
.why .card__icon::after {
  content: ""; position: absolute; inset: -10px; border-radius: 20px; z-index: -1;
  background: radial-gradient(circle at 50% 50%, rgba(47,107,255,0.20), transparent 70%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.why .card:hover .card__icon::after { opacity: 1; }

/* PROCESS � node hover ring for journey feel */
.process__step:hover .process__num {
  box-shadow: 0 12px 28px rgba(27,58,143,0.38), 0 0 0 9px rgba(47,107,255,0.12);
}

/* ====================== 6. RESPONSIVE ====================== */
/* Mobile nav drawer (base behavior < 992px) */
@media (max-width: 991.98px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); height: 100dvh;
    background: var(--morwin-dark-2); flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 1.5rem; padding: 5rem 1.5rem 2rem; transform: translateX(100%); transition: transform .3s ease;
    box-shadow: var(--shadow-lg); overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 1rem; }
  .nav__link { font-size: 1.05rem; }
  .nav__actions { flex-direction: column; }
  .nav__actions .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(5,9,24,0.6); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .3s ease; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

/* >= 640px : small tablet */
@media (min-width: 640px) {
  .overview__grid, .services__grid, .why__grid { grid-template-columns: repeat(2, 1fr); }
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .form__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__cta .btn, .cta__actions .btn { min-width: 180px; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
}

/* >= 768px : tablet */
@media (min-width: 768px) {
  .challenges__list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
  .industries__grid { grid-template-columns: repeat(3, 1fr); }
  .process__track { grid-template-columns: repeat(2, 1fr); }
  .results__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__bar-inner { flex-direction: row; justify-content: space-between; }
}

/* >= 992px : laptop+ */
@media (min-width: 992px) {
  .nav { display: flex !important; transform: none; position: static; width: auto; height: auto; background: none; padding: 0; flex-direction: row; box-shadow: none; overflow: visible; }
  .overview__grid, .services__grid, .why__grid { grid-template-columns: repeat(3, 1fr); }
  .trust__inner { grid-template-columns: auto 1fr; }
  .trust__list { grid-template-columns: repeat(5, auto); justify-content: end; gap: 1.75rem; }
  .hero__inner { grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 4vw, 4rem); }
  .challenges__inner { grid-template-columns: 0.85fr 1.15fr; }
  .talent__inner { grid-template-columns: 1fr 1fr; }
  .talent__benefits { grid-column: 1 / -1; }
  .process__track { grid-template-columns: repeat(4, 1fr); position: relative; }
  /* continuous flowing gradient connector aligned to the number nodes */
  .process__track::before {
    content: ""; position: absolute; top: calc(1.75rem + 27px); left: 12%; right: 12%; height: 4px;
    background: linear-gradient(90deg, var(--morwin-blue), var(--morwin-red), var(--morwin-blue));
    background-size: 200% 100%; animation: flowline 6s linear infinite;
    opacity: .45; z-index: 0; border-radius: 4px;
    box-shadow: 0 2px 10px rgba(47, 107, 255, 0.20);
  }
  .process__step { z-index: 1; }
  .process__num { background: var(--grad-brand); }
  .process__step:not(:last-child)::after {
    content: "\2192"; position: absolute; top: calc(1.75rem + 27px); right: -0.9rem; transform: translate(50%, -50%);
    width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--grad-brand); border: 2px solid #fff; border-radius: 50%;
    color: #fff; font-size: 1rem; font-weight: 700; z-index: 3;
    box-shadow: 0 6px 16px rgba(27, 58, 143, 0.30);
  }
  .results__grid { grid-template-columns: repeat(5, 1fr); }
  .footer__inner { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
}

/* >= 1200px : large desktop talent 3-col */
@media (min-width: 1200px) {
  .talent__inner { grid-template-columns: 1fr 1fr 1fr; }
  .talent__benefits { grid-column: auto; }
}

/* Mobile process connector for vertical continuity */
@media (max-width: 767.98px) {
  .process__step:not(:last-child)::after {
    content: ""; position: absolute; left: 50%; bottom: calc(-1.25rem - 1px); width: 3px; height: 1.4rem;
    transform: translateX(-50%);
    background: linear-gradient(var(--morwin-blue), var(--morwin-red)); opacity: .4; border-radius: 3px;
  }
}

/* ====================== 8. ABOUT PAGE ====================== */
/* Who We Are � image + content split (reuses homepage image treatment) */
.who { background: linear-gradient(180deg, #ffffff 0%, var(--surface-alt) 100%); }
.who__inner { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
.who__media { position: relative; display: flex; justify-content: center; }
.who__media::before {
  content: ""; position: absolute; right: -6%; top: -8%; width: 55%; aspect-ratio: 1;
  background: var(--grad-brand); filter: blur(34px); opacity: .26; border-radius: 50%; z-index: 0;
}
.who__media::after {
  content: ""; position: absolute; bottom: -10px; left: 4%; width: 96px; height: 96px; z-index: 0;
  background-image: radial-gradient(rgba(47,107,255,0.32) 2px, transparent 2px);
  background-size: 16px 16px;
}
.who__image {
  position: relative; z-index: 1; width: 100%; max-width: 560px;
  border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg);
  border: 5px solid #fff; object-fit: cover; aspect-ratio: 3 / 2;
}
.who__content p { color: var(--text-muted); }

/* How We Help � keep feature cards compact with descriptions */
#how-we-help .card__text { margin-bottom: 0; }

/* Who We Are � compact premium proof-point stats (light band variant) */
.who__stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.25rem, 4vw, 2.5rem);
  margin-top: clamp(1.5rem, 3vw, 2rem); padding-top: clamp(1.25rem, 2.5vw, 1.6rem);
  border-top: 1px solid var(--border);
}
.who__stats .stat { text-align: left; }
.who__stats .stat__value {
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1;
  background: linear-gradient(90deg, var(--morwin-blue), var(--morwin-red));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.who__stats .stat__label { margin-top: .35rem; font-size: .85rem; color: var(--text-muted); }

/* Mission & Vision � premium highlight cards on dark band */
.mv__grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: 1fr; }
.mv__card {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.6rem); box-shadow: var(--shadow-lg); backdrop-filter: blur(8px);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.mv__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-brand); }
.mv__card:hover { transform: translateY(-6px); box-shadow: 0 36px 80px rgba(0,0,0,0.40); }
.mv__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px;
  font-size: 1.7rem; border-radius: 18px; background: var(--grad-brand); color: #fff;
  box-shadow: 0 12px 26px rgba(27,58,143,0.35); margin-bottom: 1.1rem;
}
.mv__title { color: #fff; font-size: 1.4rem; margin-bottom: .5rem; }
.mv__text { color: var(--text-invert-muted); margin: 0; }

/* About � Final CTA tagline */
.cta__tagline {
  font-family: var(--font-head); font-weight: 700; letter-spacing: .02em; font-size: 1.1rem;
  margin: 0 0 1.5rem; color: var(--text-invert);
  background: linear-gradient(90deg, #6ea0ff, var(--morwin-red));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
  .mv__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .who__inner { grid-template-columns: 1fr 1fr; }
}

/* ====================== 9. CONTACT PAGE ====================== */
/* Reusable 4-up card grid (Get In Touch / Why Connect) */
.info-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: 1fr; }
.info-grid .card__text { margin-bottom: 0; }
.info-grid .card__text a { color: var(--morwin-blue); font-weight: 600; }
.info-grid .card__text a:hover { color: var(--morwin-red); }
@media (min-width: 640px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .info-grid { grid-template-columns: repeat(4, 1fr); } }

/* CTA inline contact details (Ready To Get Started) */
.cta__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.75rem; margin: 0 0 1.75rem; }
.cta__contact-item { display: inline-flex; align-items: center; gap: .55rem; color: var(--text-invert); font-size: .95rem; font-weight: 500; }
.cta__contact-item span { color: #6ea0ff; font-size: 1.1rem; }
.cta__contact-item a { color: var(--text-invert); }
.cta__contact-item a:hover { color: #fff; }

/* ====================== 10. SERVICES PAGE ====================== */
/* Data Engineering & AI � centered two-up service cards */
@media (min-width: 992px) {
  #data-ai .services__grid { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin-inline: auto; }
}

/* --- Premium refinement pass (scoped to the Services page) --- */
/* Stronger vertical rhythm between content sections */
.page-services main > section:not(.hero) { padding-block: clamp(3.75rem, 8vw, 7.5rem); }

/* FLAGSHIP offerings (Technology Talent Solutions, Data Engineering & AI):
   subtle premium tint surface + soft brand glow + elevated cards */
.page-services .flagship {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #eef3ff 0%, #f3f1fb 52%, #fdeef1 115%);
}
.page-services .flagship::before {
  content: ""; position: absolute; top: -12%; right: -6%; width: 42%; aspect-ratio: 1; z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(47,107,255,0.16), transparent 70%);
  pointer-events: none;
}
.page-services .flagship::after {
  content: ""; position: absolute; bottom: -14%; left: -6%; width: 38%; aspect-ratio: 1; z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(236,43,59,0.12), transparent 70%);
  pointer-events: none;
}
.page-services .flagship .container { position: relative; z-index: 1; }
.page-services .flagship .card { box-shadow: var(--shadow-md); }
.page-services .flagship .card:hover { box-shadow: var(--shadow-card-hover); }

/* FEATURED section (Software Development): dark, larger capability cards, more weight */
.page-services .software {
  position: relative; overflow: hidden; color: var(--text-invert);
  background:
    radial-gradient(58% 70% at 86% 0%, rgba(47,107,255,0.24), transparent 60%),
    radial-gradient(50% 60% at 4% 100%, rgba(236,43,59,0.18), transparent 60%),
    var(--grad-dark);
}
.page-services .software .section-head__sub { color: rgba(255,255,255,0.82); }
.page-services .software .info-grid { gap: clamp(1rem, 2vw, 1.6rem); }
.page-services .software .card {
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 20px 50px rgba(0,0,0,0.30);
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
}
.page-services .software .card__title { color: #fff; font-size: 1.18rem; margin-bottom: 0; }
.page-services .software .card__icon {
  width: 64px; height: 64px; font-size: 1.7rem;
  background: var(--grad-brand); border-color: transparent; color: #fff;
  box-shadow: 0 12px 26px rgba(27,58,143,0.40);
}
.page-services .software .card:hover {
  border-color: rgba(255,255,255,0.24); box-shadow: 0 28px 64px rgba(0,0,0,0.42);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
