/* =========================================================
   GISAN SHIPYARD — Home Page Section Styles
   Each section maps directly to an approved Stitch screen region.
   ========================================================= */

/* ── Hide meta labels on desktop (visible only on mobile) ─ */
.stats-bar__meta { display: none; }

/* ─────────────────────────────────────────────────────────
   MAIN — pushes content below fixed header
   ───────────────────────────────────────────────────────── */
.site-main {
  padding-top: 80px; /* header height */
}

@media (max-width: 1359px) {
  .site-main { padding-top: 64px; } /* mobile header height */
}

/* ─────────────────────────────────────────────────────────
   1. HERO
   Desktop: 870px, charcoal bg, image blend, gradient overlay
   Mobile: 707px, charcoal bg, gradient overlay, text at bottom
   ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 870px;
  min-height: 600px;
  background-color: var(--color-charcoal);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* desktop: vertically centered in middle area */
  padding-bottom: 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  mix-blend-mode: luminosity;
  display: block;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 6, 34, 0.9) 0%,
    rgba(0, 6, 34, 0.5) 40%,
    transparent 100%
  );
}

.hero__content {
  position: relative;
  z-index: 10;
  padding: 0 var(--space-margin-desktop);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-gutter);
  width: 100%;
}

.hero__text-col {
  grid-column: span 8;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Eyebrow label — hidden on desktop */
.hero__eyebrow { display: none; }

.hero__title {
  color: var(--color-on-primary);
  font-family: var(--font-primary);
  font-size: var(--text-display-xl-size);
  line-height: var(--text-display-xl-lh);
  letter-spacing: var(--text-display-xl-ls);
  font-weight: var(--text-display-xl-weight);
  text-transform: uppercase;
}

.hero__subtitle {
  color: var(--color-inverse-primary);
  max-width: 640px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.hero__btn-arrow {
  display: none;
}

/* ─────────────────────────────────────────────────────────
   2. STATS BAR  ("Gisan at a Glance")
   Desktop: 4-col with dividers, 48px vertical padding
   Mobile: 2×2 grid on charcoal
   ───────────────────────────────────────────────────────── */
.stats-bar {
  background-color: var(--color-surface);
  border-bottom: 1px solid rgba(117, 118, 129, 0.3);
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 var(--space-margin-desktop);
  border-left: 1px solid rgba(117, 118, 129, 0.3);
  border-right: 1px solid rgba(117, 118, 129, 0.3);
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  border-right: 1px solid rgba(117, 118, 129, 0.3);
  transition: background-color 0.2s ease;
  cursor: default;
}

.stats-bar__item:last-child { border-right: none; }

.stats-bar__item:hover {
  background-color: var(--color-surface-low);
}

.stats-bar__value {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 8px;
  display: block;
}

.stats-bar__label {
  font-family: var(--font-primary);
  font-size: var(--text-label-caps-size);
  letter-spacing: var(--text-label-caps-ls);
  font-weight: var(--text-label-caps-weight);
  text-transform: uppercase;
  color: var(--color-on-surface-variant);
}

/* ─────────────────────────────────────────────────────────
   3. ABOUT GISAN
   Asymmetric 6+5 grid (1 col gap between)
   ───────────────────────────────────────────────────────── */
.about-section {
  padding: var(--space-section-v) 0;
  background-color: var(--color-surface);
}

.about-section__inner {
  padding: 0 var(--space-margin-desktop);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-gutter);
  align-items: center;
}

.about-section__image-col {
  grid-column: span 6;
  display: flex;
  align-items: center;
}

.about-section__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.about-section__text-col {
  grid-column: 8 / span 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-section__title {
  color: var(--color-primary);
  margin-bottom: 24px;
}

.about-section__body {
  color: var(--color-on-surface-variant);
  margin-bottom: 32px;
}

/* ─────────────────────────────────────────────────────────
   4. CORE CAPABILITIES
   bg-surface-low, 12-col: [8+4] [4+8]
   ───────────────────────────────────────────────────────── */
.capabilities-section {
  padding: var(--space-section-v) 0;
  background-color: var(--color-surface-low);
}

.capabilities-section__inner {
  padding: 0 var(--space-margin-desktop);
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.capabilities-section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.capabilities-section__title { color: var(--color-primary); margin-bottom: 8px; }
.capabilities-section__sub { color: var(--color-on-surface-variant); }

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-gutter);
}

/* Row 1: 8 col image + 4 col info */
.cap-col-8 { grid-column: span 8; }
.cap-col-4 { grid-column: span 4; }

/* ─────────────────────────────────────────────────────────
   5. SELECTED PROJECTS
   bg-surface, 7+5 asymmetric featured+secondary
   ───────────────────────────────────────────────────────── */
.projects-section {
  padding: var(--space-section-v) 0;
  background-color: var(--color-surface);
}

.projects-section__inner {
  padding: 0 var(--space-margin-desktop);
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-gutter);
}

.projects-col-7 { grid-column: span 7; }
.projects-col-5 {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ─────────────────────────────────────────────────────────
   6. INFRASTRUCTURE & CAPACITY
   bg-charcoal, image behind with luminosity blend + lateral grad
   5+6 grid (col 7 start)
   ───────────────────────────────────────────────────────── */
.infra-section {
  position: relative;
  padding: var(--space-section-v) 0;
  background-color: var(--color-charcoal);
  color: var(--color-off-white);
  overflow: hidden;
}

.infra-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
}

.infra-section__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  display: block;
}

.infra-section__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--color-charcoal) 0%,
    rgba(18, 20, 23, 0.8) 50%,
    transparent 100%
  );
}

.infra-section__inner {
  position: relative;
  z-index: 10;
  padding: 0 var(--space-margin-desktop);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-gutter);
  align-items: center;
}

.infra-section__text-col {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.infra-section__title {
  color: var(--color-off-white);
  margin-bottom: 24px;
}

.infra-section__body {
  color: var(--color-outline);
  margin-bottom: 48px;
}

.infra-section__specs-col {
  grid-column: 7 / span 6;
}

/* ─────────────────────────────────────────────────────────
   7. HSE & QUALITY
   bg-surface, 5+6 split with left blue border accent
   ───────────────────────────────────────────────────────── */
.hse-section {
  padding: var(--space-section-v) 0;
  background-color: var(--color-surface);
}

.hse-section__inner {
  padding: 0 var(--space-margin-desktop);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-gutter);
  align-items: center;
}

.hse-section__text-col {
  grid-column: span 5;
}

.hse-section__title {
  color: var(--color-primary);
  margin-bottom: 24px;
}

.hse-section__bullets {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--color-on-surface-variant);
  font-size: var(--text-body-md-size);
  line-height: var(--text-body-md-lh);
  border-left: 2px solid var(--color-secondary);
  padding-left: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-bottom: 32px;
}

.hse-section__bullets p strong { color: var(--color-on-surface); }

.hse-section__images-col {
  grid-column: 7 / span 6;
}

/* ─────────────────────────────────────────────────────────
   8. CTA SECTION
   bg-primary (deep navy), centered, dual buttons
   ───────────────────────────────────────────────────────── */
.cta-section {
  padding: var(--space-section-v) 0;
  background-color: var(--color-primary);
  text-align: center;
}

.cta-section__inner {
  padding: 0 var(--space-margin-desktop);
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.cta-section__title { color: var(--color-on-primary); }

.cta-section__body {
  color: var(--color-inverse-primary);
}

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

.cta-desktop {
  display: flex;
}

.cta-mobile {
  display: none;
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE — Home section overrides
   ───────────────────────────────────────────────────────── */

/* ── 1024px Laptop ───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { height: 700px; }
  .hero__content { padding: 0 60px; }
  .hero__title { font-size: 56px; }
  .hero__text-col { grid-column: span 10; }

  .stats-bar__grid { padding: 0 60px; }
  .stats-bar__value { font-size: 32px; }

  .about-section__inner,
  .capabilities-section__inner,
  .projects-section__inner,
  .infra-section__inner,
  .hse-section__inner {
    padding: 0 60px;
  }

  .cta-section__inner { padding: 0 60px; }

  /* Collapse capabilities to stacked: 12 each */
  .cap-col-8, .cap-col-4 { grid-column: span 12; }
  .cap-card-image { height: 360px; }

  /* Projects: stack featured + secondary */
  .projects-col-7,
  .projects-col-5 { grid-column: span 12; }
  .projects-col-5 { flex-direction: row; gap: 24px; }

  /* About stacks */
  .about-section__image-col { grid-column: span 12; }
  .about-section__text-col { grid-column: span 12; }

  /* Infra */
  .infra-section__text-col,
  .infra-section__specs-col { grid-column: span 12; }
  .infra-section__specs-col { margin-top: 48px; }

  /* HSE */
  .hse-section__text-col { grid-column: span 12; }
  .hse-section__images-col { grid-column: span 12; margin-top: 48px; }
}

/* ── 768px Mobile & Tablet ───────────────────────────── */
@media (max-width: 768px) {
  /* Section padding and margins */
  .about-section,
  .capabilities-section,
  .projects-section,
  .infra-section,
  .hse-section,
  .cta-section {
    padding: var(--space-section-v-mob) 0;
  }

  .about-section__inner,
  .capabilities-section__inner,
  .projects-section__inner,
  .infra-section__inner,
  .hse-section__inner,
  .cta-section__inner {
    padding: 0 var(--space-margin-mobile);
  }

  /* 1. Hero — pinned to bottom per mobile Stitch screen */
  .hero {
    height: 707px;
    min-height: 707px;
    justify-content: flex-end;
    padding-bottom: 24px;
  }

  .hero__gradient {
    background: linear-gradient(
      to top,
      var(--color-charcoal) 0%,
      rgba(18, 20, 23, 0.7) 45%,
      rgba(18, 20, 23, 0.3) 70%,
      transparent 100%
    );
  }

  .hero__content {
    padding: 0 var(--space-margin-mobile);
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .hero__text-col {
    grid-column: span 12;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  /* Mobile hero: eyebrow above title */
  .hero__eyebrow {
    display: block !important;
    font-family: var(--font-primary);
    font-size: var(--text-label-caps-size);
    line-height: var(--text-label-caps-lh);
    letter-spacing: var(--text-label-caps-ls);
    font-weight: var(--text-label-caps-weight);
    text-transform: uppercase;
    color: var(--color-secondary-container);
    margin-bottom: 0;
  }

  /* Mobile hero: title uses headline-lg-mobile (32px), 700 weight */
  .hero__title {
    font-size: var(--text-headline-lg-mob-size) !important;
    line-height: var(--text-headline-lg-mob-lh) !important;
    font-weight: var(--text-headline-lg-mob-weight) !important;
    letter-spacing: 0 !important;
    text-transform: uppercase;
    color: var(--color-off-white);
  }

  .hero__subtitle {
    font-size: var(--text-body-lg-size) !important;
    line-height: var(--text-body-lg-lh) !important;
    color: var(--color-steel-grey) !important;
    max-width: 100%;
  }

  .hero__actions {
    margin-top: 8px;
    width: 100%;
  }

  /* On mobile: hide "View Projects" primary button */
  .hero__btn-primary {
    display: none !important;
  }

  /* On mobile: "Explore Capabilities" is full-width solid off-white button with arrow */
  .hero__btn-capabilities {
    display: flex !important;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: var(--color-off-white) !important;
    color: var(--color-charcoal) !important;
    border: 1px solid var(--color-off-white) !important;
    padding: 16px 24px;
    font-family: var(--font-primary);
    font-size: var(--text-label-caps-size);
    font-weight: 700;
    letter-spacing: var(--text-label-caps-ls);
    text-transform: uppercase;
    border-radius: var(--radius);
    text-decoration: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero__btn-capabilities:hover {
    background-color: var(--color-secondary-container) !important;
    border-color: var(--color-secondary-container) !important;
    color: var(--color-charcoal) !important;
  }

  .hero__btn-arrow {
    display: inline-block !important;
    font-size: 16px;
  }

  /* 2. Stats Bar — Charcoal 2×2 grid with 1px borders per Stitch mobile */
  .stats-bar {
    background-color: var(--color-charcoal) !important;
    border-bottom: none !important;
    padding: 40px var(--space-margin-mobile) !important;
  }

  .stats-bar__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1px !important;
    background-color: rgba(129, 135, 185, 0.3) !important;
    border: 1px solid rgba(129, 135, 185, 0.3) !important;
    padding: 0 !important;
  }

  .stats-bar__item {
    background-color: var(--color-charcoal) !important;
    border: none !important;
    text-align: left !important;
    align-items: flex-start !important;
    padding: 24px 20px !important;
  }

  .stats-bar__item:hover {
    background-color: var(--color-charcoal) !important;
  }

  /* Mobile stats: show cyan meta label above value */
  .stats-bar__meta {
    display: block !important;
    font-family: var(--font-mono) !important;
    font-size: var(--text-spec-data-size) !important;
    line-height: var(--text-spec-data-lh) !important;
    letter-spacing: var(--text-spec-data-ls) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    color: var(--color-secondary-container) !important;
    margin-bottom: 8px;
  }

  .stats-bar__value {
    font-family: var(--font-primary) !important;
    font-size: var(--text-headline-lg-mob-size) !important; /* 32px */
    font-weight: 700 !important;
    line-height: 1 !important;
    color: var(--color-off-white) !important;
    margin-bottom: 4px !important;
  }

  .stats-bar__label {
    font-family: var(--font-primary) !important;
    font-size: var(--text-body-md-size) !important;
    line-height: var(--text-body-md-lh) !important;
    color: var(--color-steel-grey) !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  /* 3. Section adjustments */
  .capabilities-section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cap-col-8, .cap-col-4 {
    grid-column: span 12;
  }

  .projects-col-7,
  .projects-col-5 {
    grid-column: span 12;
  }

  .projects-col-5 {
    flex-direction: column;
    gap: 24px;
  }

  /* 4. CTA Section Mobile Overrides */
  .cta-section {
    background-color: var(--color-primary) !important;
    text-align: left !important;
    padding: var(--space-section-v-mob) 0 !important;
  }

  .cta-desktop {
    display: flex !important;
  }

  .cta-mobile {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    width: 100%;
  }

  .cta-mobile__title {
    color: var(--color-charcoal) !important;
    font-family: var(--font-primary) !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin: 0;
  }

  .cta-mobile__body {
    color: rgba(18, 20, 23, 0.85) !important;
    font-family: var(--font-primary) !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin: 0 0 8px 0;
  }

  .cta-mobile__form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .cta-mobile__field {
    width: 100%;
  }

  .cta-mobile__input {
    width: 100%;
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(0, 6, 34, 0.25);
    border-radius: var(--radius);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-charcoal);
    outline: none;
    box-sizing: border-box;
    transition: background-color 0.2s, border-color 0.2s;
  }

  .cta-mobile__input:focus {
    background-color: rgba(255, 255, 255, 0.6);
    border-color: var(--color-charcoal);
  }
}

/* Final Home composition. Scoped separately from the frozen legacy section styles. */
.gisan-home { color: #07112f; }
.gisan-home *, .gisan-home *::before, .gisan-home *::after { box-sizing: border-box; }
.gisan-home .home-container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.gisan-home .home-section { padding-block: clamp(72px, 7vw, 112px); }
.gisan-home h1, .gisan-home h2, .gisan-home h3, .gisan-home p { margin-top: 0; }
.gisan-home h2 { font-size: clamp(2rem, 3.2vw, 3.1rem); line-height: 1.12; letter-spacing: -.035em; }
.gisan-home p { line-height: 1.65; }
.gisan-home a { text-decoration: none; }
.gisan-home a:focus-visible { outline: 3px solid #00a8d8; outline-offset: 4px; }
.gisan-home .home-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 23px; font-size: .76rem; font-weight: 700; letter-spacing: .075em; text-align: center; line-height: 1.35; border: 1px solid transparent; }
.gisan-home .home-button--blue { color: #fff; background: #00749c; }
.gisan-home .home-button--blue:hover { background: #0a92bc; }
.gisan-home .home-button--dark { color: #fff; background: #050d2c; }
.gisan-home .home-button--outline { color: #fff; border-color: rgba(255,255,255,.65); background: rgba(0,0,0,.1); }
.gisan-home .home-text-link { color: #006e94; display: inline-flex; gap: 9px; align-items: center; font-weight: 700; font-size: .78rem; letter-spacing: .075em; border-bottom: 1px solid currentColor; padding-bottom: 6px; width: fit-content; }
.gisan-home .home-text-link:hover { color: #043b6a; }
.gisan-home .home-eyebrow { display: block; color: #006e94; font-weight: 700; letter-spacing: .14em; font-size: .72rem; margin-bottom: 22px; }

.gisan-home .home-hero { min-height: 660px; position: relative; display: flex; align-items: flex-end; overflow: hidden; background: #071633; color: #fff; padding-block: 140px 95px; }
.gisan-home .home-hero__image, .gisan-home .home-infra__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gisan-home .home-hero__image { object-position: center; }
.gisan-home .home-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 150ms linear; }
.gisan-home .home-hero__video.is-ready { opacity: 1; }
.gisan-home .home-hero__video.is-unavailable { display: none; }
@media (prefers-reduced-motion: reduce) {
  .gisan-home .home-hero__video { display: none; transition: none; }
}
.gisan-home .home-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,9,33,.88), rgba(2,9,33,.48) 66%, rgba(2,9,33,.25)), linear-gradient(0deg, rgba(2,9,33,.68), transparent 70%); }
.gisan-home .home-hero__inner { position: relative; z-index: 1; }
.gisan-home .home-hero h1 { font-size: clamp(3rem, 6vw, 6rem); line-height: 1; letter-spacing: -.045em; max-width: 850px; margin-bottom: 25px; color: #fff; }
.gisan-home .home-hero p { color: #e8efff; font-size: clamp(1rem, 1.65vw, 1.35rem); margin-bottom: 32px; }
.gisan-home .home-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.gisan-home .home-metrics { border-block: 1px solid #dfe3ec; background: #f7f8fd; }
.gisan-home .home-metrics__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gisan-home .home-metrics__item { min-width: 0; padding: 36px 20px; text-align: center; border-left: 1px solid #dfe3ec; display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.gisan-home .home-metrics__item:last-child { border-right: 1px solid #dfe3ec; }
.gisan-home .home-metrics strong { font-size: clamp(1.65rem, 2.5vw, 2.65rem); line-height: 1.05; letter-spacing: -.04em; }
.gisan-home .home-metrics span { font-size: .7rem; letter-spacing: .075em; font-weight: 700; line-height: 1.45; color: #545f76; }

.gisan-home .home-about { background: #fff; }
.gisan-home .home-about__grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(50px, 7vw, 110px); align-items: center; }
.gisan-home .home-about__media { min-width: 0; }
.gisan-home .home-about__media img { display: block; width: 100%; aspect-ratio: 1.22; height: auto; object-fit: cover; }
.gisan-home .home-about__copy h2 { max-width: 550px; }
.gisan-home .home-about__copy p { color: #535d70; max-width: 550px; margin-bottom: 20px; }
.gisan-home .home-about__copy .home-text-link { margin-top: 13px; }

.gisan-home .home-capabilities { background: #f2f4fa; }
.gisan-home .home-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 48px; }
.gisan-home .home-section-heading h2 { margin-bottom: 8px; }
.gisan-home .home-section-heading p { color: #596376; margin-bottom: 0; }
.gisan-home .home-capabilities__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.gisan-home .home-capability { position: relative; overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.gisan-home .home-capability--0 { grid-column: span 8; background: #040e31; }
.gisan-home .home-capability--1 { grid-column: span 4; background: #fff; color: #07112f; border: 1px solid #d7dce8; }
.gisan-home .home-capability--2 { grid-column: span 4; background: #040e31; }
.gisan-home .home-capability--3 { grid-column: span 8; background: #040e31; }
.gisan-home .home-capability img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .3s ease; }
.gisan-home .home-capability:hover img { transform: scale(1.035); }
.gisan-home .home-capability--0::before, .gisan-home .home-capability--2::before, .gisan-home .home-capability--3::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(2,9,33,.9), rgba(2,9,33,.06) 90%); }
.gisan-home .home-capability__content { display: flex; flex-direction: column; gap: 11px; padding: clamp(24px, 3vw, 40px); max-width: 620px; }
.gisan-home .home-capability__content strong { font-size: clamp(1.5rem, 2vw, 2.25rem); line-height: 1.15; letter-spacing: -.025em; }
.gisan-home .home-capability__content > span { line-height: 1.5; color: inherit; opacity: .88; }
.gisan-home .home-capability__content em { font-style: normal; font-size: .75rem; font-weight: 700; letter-spacing: .08em; margin-top: 8px; }

.gisan-home .home-projects { background: #fff; }
.gisan-home .home-projects__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; align-items: start; }
.gisan-home .home-project { min-width: 0; }
.gisan-home .home-project--featured { grid-row: span 2; }
.gisan-home .home-project > a { display: block; overflow: hidden; }
.gisan-home .home-project img { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform .3s ease; }
.gisan-home .home-project--featured img { height: 515px; }
.gisan-home .home-project > a:hover img { transform: scale(1.035); }
.gisan-home .home-project__body { padding: 17px 0 5px; }
.gisan-home .home-project h3 { font-size: 1.3rem; margin-bottom: 9px; }
.gisan-home .home-project--featured h3 { font-size: 1.55rem; }

.gisan-home .home-infra { position: relative; color: #fff; background: #071127; isolation: isolate; }
.gisan-home .home-infra__image { z-index: -2; }
.gisan-home .home-infra__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,10,27,.95), rgba(3,10,27,.83) 52%, rgba(3,10,27,.68)); }
.gisan-home .home-infra__grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.gisan-home .home-infra h2 { color: #fff; }
.gisan-home .home-infra p { color: #d1d8e7; margin: 23px 0 30px; }
.gisan-home .home-infra__metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gisan-home .home-infra__metrics > div { border-top: 1px solid rgba(255,255,255,.35); padding: 26px 18px 26px 0; display: flex; flex-direction: column; gap: 8px; }
.gisan-home .home-infra__metrics strong { font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.2; }
.gisan-home .home-infra__metrics span { color: #d1d8e7; font-size: .8rem; }

.gisan-home .home-hse { background: #f8f9fc; }
.gisan-home .home-hse__grid { display: grid; grid-template-columns: 1fr .95fr; align-items: stretch; gap: clamp(50px, 7vw, 100px); }
.gisan-home .home-hse h2 { max-width: 570px; }
.gisan-home .home-hse__points { border-left: 2px solid #00749c; padding-left: 25px; margin: 29px 0; }
.gisan-home .home-hse__points p { color: #535e72; margin-bottom: 16px; }
.gisan-home .home-hse__points p:last-child { margin-bottom: 0; }
.gisan-home .home-hse__points strong { color: #07112f; }
.gisan-home .home-hse__media { display: flex; align-items: end; padding: 35px; min-height: 380px; background: linear-gradient(145deg, #122b4c, #07112f); }
.gisan-home .home-hse__media span { font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.45rem); line-height: 1.2; letter-spacing: -.03em; color: #fff; max-width: 350px; }

.gisan-home .home-cta { text-align: center; background: #030b2b; color: #fff; }
.gisan-home .home-cta .home-container { max-width: 790px; }
.gisan-home .home-cta h2 { color: #fff; }
.gisan-home .home-cta p { color: #c6d0e4; margin: 22px auto 27px; }

@media (max-width: 1024px) {
  .gisan-home .home-container { width: min(100% - 72px, 1200px); }
  .gisan-home .home-hero { min-height: 570px; }
  .gisan-home .home-about__grid, .gisan-home .home-infra__grid, .gisan-home .home-hse__grid { gap: 44px; }
  .gisan-home .home-capability { min-height: 290px; }
}
@media (max-width: 768px) {
  .gisan-home .home-container { width: min(100% - 48px, 650px); }
  .gisan-home .home-hero { min-height: 620px; padding-block: 105px 65px; }
  .gisan-home .home-metrics__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gisan-home .home-metrics__item { border-bottom: 1px solid #dfe3ec; padding: 26px 15px; }
  .gisan-home .home-about__grid, .gisan-home .home-infra__grid, .gisan-home .home-hse__grid { grid-template-columns: 1fr; }
  .gisan-home .home-capability--0, .gisan-home .home-capability--1, .gisan-home .home-capability--2, .gisan-home .home-capability--3 { grid-column: span 6; }
  .gisan-home .home-projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gisan-home .home-project--featured { grid-column: span 2; grid-row: auto; }
  .gisan-home .home-project--featured img { height: 390px; }
  .gisan-home .home-hse__media { min-height: 260px; }
}
@media (max-width: 600px) {
  .gisan-home .home-container { width: calc(100% - 36px); }
  .gisan-home .home-section { padding-block: 65px; }
  .gisan-home .home-hero { min-height: 610px; padding-bottom: 55px; }
  .gisan-home .home-hero h1 { font-size: clamp(2.75rem, 10.5vw, 4rem); }
  .gisan-home .home-hero__actions { flex-direction: column; align-items: stretch; }
  .gisan-home .home-metrics__item { padding: 25px 12px; }
  .gisan-home .home-metrics strong { font-size: 1.55rem; }
  .gisan-home .home-metrics span { font-size: .65rem; }
  .gisan-home .home-about__grid { gap: 33px; }
  .gisan-home .home-section-heading { flex-direction: column; align-items: start; gap: 19px; margin-bottom: 32px; }
  .gisan-home .home-capabilities__grid { gap: 14px; }
  .gisan-home .home-capability--0, .gisan-home .home-capability--1, .gisan-home .home-capability--2, .gisan-home .home-capability--3 { grid-column: span 12; }
  .gisan-home .home-capability { min-height: 265px; }
  .gisan-home .home-projects__grid { grid-template-columns: 1fr; }
  .gisan-home .home-project--featured { grid-column: auto; }
  .gisan-home .home-project img, .gisan-home .home-project--featured img { height: 240px; }
  .gisan-home .home-infra__metrics { gap: 0 12px; }
  .gisan-home .home-infra__metrics strong { font-size: 1.2rem; }
  .gisan-home .home-infra__metrics span { font-size: .74rem; }
  .gisan-home .home-hse__grid { gap: 28px; }
  .gisan-home .home-hse__media { min-height: 220px; }
}

@media (max-width: 768px) {

  .cta-mobile__input::placeholder {
    color: rgba(18, 20, 23, 0.6);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .cta-mobile__btn {
    width: 100%;
    background-color: #000000 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 24px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    margin-top: 4px;
    box-sizing: border-box;
  }

  .cta-mobile__btn:hover {
    background-color: #1a1a1a !important;
  }

  .cta-section__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .cta-section__actions .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .spec-grid {
    gap: 20px;
  }
}

/* ── 480px Mobile Specific ───────────────────────────── */
@media (max-width: 480px) {
  .spec-grid { gap: 16px; }
  .spec-item__value { font-size: 20px; }
}
