/* ============================================================
   Diocletian — Static Website Stylesheet
   Digital Transformation / Data Engineering
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* === BLUE PALETTE (structure, backgrounds) === */
  --primary-dark: #21506D;        /* deep brand blue — footer, nav solid */
  --surface-dark: #245572;        /* main brand blue — dark sections */
  --surface-darker: #21516E;      /* deepest dark */
  --brand-blue-mid: #255673;      /* mid brand blue */
  --brand-blue-muted: rgba(36,85,114,0.14);

  /* === SANDY PALETTE (warm decorative accents) === */
  --sandy: #9C8B68;               /* primary sandy accent */
  --sandy-light: #9F8D69;         /* lighter sandy */
  --sandy-dark: #91805D;          /* darker sandy */
  --sandy-mid: #9D8C68;
  --sandy-muted: rgba(156,139,104,0.14);

  /* === ORANGE (CTAs and selected/active ONLY) === */
  --accent-orange: #e8611a;
  --accent-orange-hover: #d4570f;

  --light-grey: #cdd3da;
  --off-white: #f3f5f8;
  --white: #ffffff;
  --dark-text: #1a1a2e;
  --body-text: #3a3f4b;
  --muted-text: #6b7280;
  --border-subtle: rgba(255,255,255,0.10);
  --border-light: rgba(0,0,0,0.08);

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --nav-height: 72px;
  --max-width: 1200px;
  --section-padding: 100px 0;
  --card-radius: 12px;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-text);
  background:
    url('../images/hero-bg.jpg') center center / cover no-repeat fixed;
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- Sidebar backdrop — same gradient as hero --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background:
    linear-gradient(150deg, rgba(33,80,109,0.90) 0%, rgba(36,85,114,0.90) 40%, rgba(37,86,115,0.90) 100%),
    url('../images/hero-bg.jpg') left center / cover no-repeat fixed;
  pointer-events: none;
  z-index: 9996;
}

/* --- Fixed head figure watermark (above backdrop) --- */
body::after {
  content: '';
  position: fixed;
  top: 10px;
  left: -20px;
  width: 210px;
  height: 210px;
  background: url('../images/head_figure.png') top left / contain no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: 9999;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
.text-muted { color: var(--muted-text); }
.text-orange { color: var(--accent-orange); }
.text-blue { color: var(--sandy); }
.text-mono { font-family: var(--font-mono); font-size: 0.85em; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sandy);
  margin-bottom: 12px;
  display: block;
}

/* --- Navigation (vertical left sidebar) --- */
.nav {
  position: fixed;
  top: 210px;          /* sits below the 210px head emblem (top: 20px) */
  left: 0;
  width: 220px;
  height: auto;
  z-index: 9998;       /* just below the emblem (9999) */
  transition: none;
}

.nav--transparent,
.nav--solid {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.nav__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 20px;
  gap: 0;
}

.nav__logo {
  display: block;
  margin-bottom: 20px;
}

.nav__logo img {
  display: none;
}

.nav__logo-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.nav__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  width: 100%;
}

.nav__link {
  color: rgba(255,255,255,0.80);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-base);
  position: relative;
  padding: 5px 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.nav__link:hover,
.nav__link--active {
  color: var(--white);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  margin-top: 10px;
  padding: 8px 20px;
  background: var(--accent-orange);
  color: var(--white) !important;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background var(--transition-base), transform var(--transition-base);
  text-shadow: none;
}

.nav__cta:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-1px);
}

.nav__cta::after { display: none !important; }

/* Mobile menu toggle — hidden on desktop */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-base);
}

/* Push page content to the right of the sidebar */
.nav ~ *,
.hero,
.section,
.footer {
  margin-left: 220px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(150deg, rgba(33,80,109,0.82) 0%, rgba(36,85,114,0.82) 40%, rgba(37,86,115,0.82) 100%),
    url('../images/hero-bg.jpg') center center / cover no-repeat fixed;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(180,140,90,0.18) 0%, transparent 70%); /* sandy decorative glow */
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(166,124,68,0.14) 0%, transparent 70%); /* sandy decorative glow */
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero__headline {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
}

.hero__headline span {
  color: var(--sandy); /* warm sandy palette — hero accent */
}

.hero__sub {
  color: rgba(255,255,255,0.7);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero__cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: float 2s ease-in-out infinite;
}

.hero__scroll-hint svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255,255,255,0.4);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
}

.btn--primary {
  background: var(--accent-orange);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,97,26,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn--outline-dark {
  background: transparent;
  color: var(--dark-text);
  border: 1.5px solid var(--border-light);
}

.btn--outline-dark:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* --- Section Layouts --- */
.section {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.section--dark {
  background: rgba(33,80,109,0.88);
  color: var(--white);
}

.section--surface {
  background: rgba(36,85,114,0.82);
  color: var(--white);
}

.section--light {
  background: rgba(243,245,248,0.88);
}

.section--white {
  background: rgba(255,255,255,0.90);
}

.section--grey {
  background: rgba(205,211,218,0.85);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section__header h2 {
  margin-bottom: 16px;
}

.section__header p {
  color: var(--muted-text);
  font-size: 1.05rem;
}

.section--dark .section__header p,
.section--surface .section__header p {
  color: rgba(255,255,255,0.6);
}

/* --- Animation Placeholder --- */
.animation-placeholder {
  min-height: 70vh;
  background: var(--surface-dark);
  border: 2px dashed rgba(156,139,104,0.40);
  border-radius: var(--card-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.animation-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(156,139,104,0.05) 20px,
    rgba(156,139,104,0.05) 40px
  );
  pointer-events: none;
}

.animation-placeholder__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(156,139,104,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.animation-placeholder__icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--sandy);
}

.animation-placeholder h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.animation-placeholder p {
  color: rgba(255,255,255,0.5);
  max-width: 500px;
}

.animation-placeholder__frames {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.animation-placeholder__frame {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 36px 30px;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: rgba(232,97,26,0.2);
}

.card--dark {
  background: var(--surface-dark);
  border-color: var(--border-subtle);
}

.card--dark:hover {
  border-color: rgba(232,97,26,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(156,139,104,0.14);
}

.card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--sandy);
}

.card__icon--blue {
  background: rgba(156,139,104,0.10);
}

.card__icon--blue svg {
  stroke: var(--sandy-light);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--muted-text);
  font-size: 0.95rem;
}

.card--dark p {
  color: rgba(255,255,255,0.6);
}

.card--dark h3 {
  color: var(--white);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sandy);
  transition: gap var(--transition-base);
}

.card__link:hover {
  gap: 10px;
}

/* --- Three Column Minimal --- */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.three-col__item {
  text-align: center;
  padding: 30px 20px;
}

.three-col__item h3 {
  color: var(--sandy);
  margin-bottom: 12px;
}

/* --- Quote / Callout --- */
.quote-block {
  position: relative;
  padding: 40px 48px;
  background: var(--surface-dark);
  border-left: 3px solid var(--sandy);
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
  margin: 32px 0;
}

.quote-block p {
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
}

.quote-carousel {
  position: relative;
  min-height: 160px;
}

.quote-carousel__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.quote-carousel__item--active {
  opacity: 1;
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: 80px 40px;
  background: linear-gradient(135deg, rgba(33,80,109,0.90) 0%, rgba(36,85,114,0.85) 100%);
  border-radius: var(--card-radius);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(156,139,104,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-banner .btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Accordion --- */
.accordion {}

.accordion__item {
  border-bottom: 1px solid var(--border-light);
}

.section--dark .accordion__item {
  border-color: var(--border-subtle);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-text);
  transition: color var(--transition-base);
}

.section--dark .accordion__trigger {
  color: var(--white);
}

.accordion__trigger:hover {
  color: var(--accent-orange);
}

.accordion__icon {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.accordion__item--open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion__body-inner {
  padding: 0 0 24px;
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.8;
}

.section--dark .accordion__body-inner {
  color: rgba(255,255,255,0.65);
}

/* --- Process / Timeline --- */
.process-flow {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
}

.process-flow::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--surface-dark), var(--sandy));
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-dark);
  border: 2px solid var(--sandy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sandy);
}

.process-step h4 {
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--muted-text);
}

/* --- Figure / Image Block --- */
.figure-block {
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-light);
}

.figure-block img {
  width: 100%;
}

.figure-block__caption {
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--muted-text);
  border-top: 1px solid var(--border-light);
}

/* --- Service Expandable --- */
.service-group {
  border: 1px solid var(--border-light);
  border-radius: var(--card-radius);
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--transition-base);
}

.service-group:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.service-group__header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-primary);
  transition: background var(--transition-base);
}

.service-group__header:hover {
  background: rgba(156,139,104,0.06);
}

.service-group__number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--sandy);
  font-weight: 500;
  min-width: 40px;
}

.service-group__title {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-text);
}

.service-group__duration {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted-text);
}

.service-group__chevron {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
  color: var(--muted-text);
}

.service-group--open .service-group__chevron {
  transform: rotate(180deg);
}

.service-group__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.service-group__body-inner {
  padding: 0 32px 32px 92px;
  border-top: 1px solid var(--border-light);
}

.service-group__body-inner p {
  margin-top: 20px;
  color: var(--body-text);
}

.service-group__deliverables {
  margin-top: 16px;
}

.service-group__deliverables h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-text);
  margin-bottom: 8px;
}

.service-group__deliverables li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--body-text);
}

.service-group__deliverables li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--sandy);
  font-weight: 600;
}

/* --- Industry Cards --- */
.industry-card {
  background: var(--white);
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.industry-card__visual {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-dark), var(--surface-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.industry-card__visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(156,139,104,0.22) 0%, transparent 70%);
}

.industry-card__visual svg {
  width: 56px;
  height: 56px;
  stroke: var(--sandy);
  z-index: 1;
}

.industry-card__body {
  padding: 28px 24px;
}

.industry-card__body h3 {
  margin-bottom: 10px;
}

.industry-card__body p {
  font-size: 0.9rem;
  color: var(--muted-text);
  margin-bottom: 16px;
}

.industry-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(156,139,104,0.14);
  color: var(--sandy-dark);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* --- Tech Stack Grid --- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.tech-item {
  padding: 16px;
  text-align: center;
  background: var(--surface-dark);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition-base);
}

.tech-item:hover {
  border-color: var(--accent-orange);
  color: var(--white);
}

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--dark-text);
  transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-orange);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* --- Footer --- */
.footer {
  background: rgba(33,80,109,0.94);
  color: rgba(255,255,255,0.5);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-subtle);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand p {
  margin-top: 12px;
  font-size: 0.85rem;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer__links a {
  display: block;
  padding: 4px 0;
  font-size: 0.85rem;
  transition: color var(--transition-base);
}

.footer__links a:hover {
  color: var(--accent-orange);
}

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.footer__social a:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 968px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .three-col { grid-template-columns: 1fr; gap: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .process-flow {
    flex-direction: column;
    align-items: stretch;
  }
  .process-flow::before {
    top: 0;
    bottom: 0;
    left: 32px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .process-step {
    text-align: left;
    padding-left: 80px;
  }
  .process-step__number {
    position: absolute;
    left: 0;
    margin: 0;
  }
}

@media (max-width: 900px) {
  :root {
    --section-padding: 60px 0;
  }

  .nav ~ *,
  .hero,
  .section,
  .footer {
    margin-left: 0;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 9998;
  }

  .nav__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 60px;
  }

  .nav__logo-text {
    font-size: 1.8rem;
  }

  .nav__links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(33,80,109,0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 40px 24px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 9997;
  }

  .nav__links--open {
    transform: translateX(0);
  }

  .nav__toggle { display: flex; }

  body::before {
    display: none;
  }

  body::after {
    width: 150px;
    height: 150px;
  }

  .card-grid--4,
  .card-grid--3,
  .card-grid--2 {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding-top: 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cta-banner {
    padding: 48px 24px;
  }

  .service-group__body-inner {
    padding-left: 32px;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.gap-section { padding-top: 40px; }
