/* ============================================================
   IoT PROJECT SOLO — DESIGN SYSTEM
   Modern / Premium / Corporate Engineering & IoT company profile
   ============================================================ */

:root{
  /* --- Color tokens --- */
  --c-primary: #0B5ED7;
  --c-primary-dark: #0847AE;
  --c-primary-light: #E8F1FD;
  --c-navy: #0A1A2F;
  --c-navy-soft: #0F2440;
  --c-ink: #16233A;
  --c-muted: #64748B;
  --c-muted-soft: #94A3B8;
  --c-line: #E7ECF3;
  --c-surface: #F6F8FC;
  --c-surface-alt: #EEF2F8;
  --c-white: #FFFFFF;

  /* --- Type --- */
  --f-display: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  /* --- Radius --- */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* --- Shadow --- */
  --sh-sm: 0 1px 2px rgba(15, 35, 65, 0.06), 0 1px 3px rgba(15, 35, 65, 0.04);
  --sh-md: 0 4px 16px rgba(15, 35, 65, 0.07), 0 2px 6px rgba(15, 35, 65, 0.05);
  --sh-lg: 0 12px 32px rgba(15, 35, 65, 0.10), 0 4px 12px rgba(15, 35, 65, 0.06);
  --sh-blue: 0 10px 28px rgba(11, 94, 215, 0.22);

  /* --- Motion --- */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --t-fast: 0.2s;
  --t-base: 0.3s;
  --t-slow: 0.5s;

  /* --- Layout --- */
  --container: 1240px;
  --header-h: 84px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body{
  margin: 0;
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4{
  font-family: var(--f-display);
  color: var(--c-navy);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p{ margin: 0; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }
svg{ display: block; }

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-primary);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus{ left: 0; }

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

.page-shell{ overflow-x: clip; }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.public-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
  background: transparent;
  transition: background var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), height var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  border-bottom: 1px solid transparent;
}
.public-header--home{ background: transparent; }

.public-header.is-scrolled{
  height: 72px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--sh-md);
  border-bottom: 1px solid var(--c-line);
}

.public-brand{
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.public-brand__mark{
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--sh-blue);
}
.public-brand__mark svg{
  width: 24px; height: 24px;
  fill: none; stroke: #fff; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.public-brand__copy{ display: flex; flex-direction: column; line-height: 1.25; }
.public-brand__name{
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--c-white);
  transition: color var(--t-base) var(--ease);
  letter-spacing: -0.01em;
}
.public-header.is-scrolled .public-brand__name{ color: var(--c-navy); }
.public-brand__copy small{
  font-size: 0.68rem;
  color: rgba(255,255,255,0.68);
  font-weight: 500;
  transition: color var(--t-base) var(--ease);
  letter-spacing: 0.02em;
}
.public-header.is-scrolled .public-brand__copy small{ color: var(--c-muted); }

.public-header__toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent;
  border: none;
  z-index: 250;
  position: relative;
}
.public-header__toggle i{
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--t-base) var(--ease);
  margin: 0 auto;
}
.public-header.is-scrolled .public-header__toggle i{ background: var(--c-navy); }

.public-header__toggle[aria-expanded="true"] i{ background: var(--c-navy); }
.public-header__toggle[aria-expanded="true"] i:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.public-header__toggle[aria-expanded="true"] i:nth-child(2){ opacity: 0; }
.public-header__toggle[aria-expanded="true"] i:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.public-nav{
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.public-nav__mobile-head{ display: none; }

.public-nav > a{
  position: relative;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  transition: color var(--t-fast) var(--ease);
}
.public-header.is-scrolled .public-nav > a{ color: var(--c-ink); }

.public-nav > a::after{
  content: '';
  position: absolute;
  left: 16px; right: 16px;
  bottom: 6px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.public-nav > a:hover{ color: #fff; }
.public-header.is-scrolled .public-nav > a:hover{ color: var(--c-primary); }
.public-nav > a:hover::after{ transform: scaleX(1); }

.public-nav__account{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.25);
}
.public-header.is-scrolled .public-nav__account{ border-left-color: var(--c-line); }
.public-nav__account a{
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 10px;
}
.public-header.is-scrolled .public-nav__account a{ color: var(--c-ink); }
.public-nav__register{
  color: #fff !important;
  background: rgba(255,255,255,0.12);
  border-radius: var(--r-pill);
}
.public-header.is-scrolled .public-nav__register{
  background: var(--c-surface-alt);
  color: var(--c-navy) !important;
}

.public-nav__order{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-primary);
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  margin-left: 8px;
  box-shadow: var(--sh-blue);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.public-nav__order:hover{
  background: var(--c-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(11, 94, 215, 0.3);
}

/* Mobile nav (drawer) */
@media (max-width: 980px){
  .public-header__toggle{ display: flex; }
  .public-nav{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(340px, 84vw);
    background: var(--c-white);
    flex-direction: column;
    align-items: stretch;
    padding: 100px 28px 40px;
    box-shadow: -18px 0 48px rgba(15,35,65,0.18);
    transform: translateX(100%);
    transition: transform var(--t-slow) var(--ease);
    gap: 2px;
    overflow-y: auto;
  }
  .public-nav[data-open]{ transform: translateX(0); }
  .public-nav__mobile-head{
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--c-line);
  }
  .public-nav__mobile-head span{ font-family: var(--f-display); font-weight: 700; color: var(--c-navy); }
  .public-nav__mobile-head small{ color: var(--c-muted); font-size: 0.8rem; }
  .public-nav > a{ color: var(--c-ink) !important; padding: 14px 10px; border-radius: var(--r-sm); }
  .public-nav > a::after{ display: none; }
  .public-nav > a:hover{ background: var(--c-surface); color: var(--c-primary) !important; }
  .public-nav__account{ border-left: none; border-top: 1px solid var(--c-line); margin: 12px 0 0; padding: 16px 0 0; flex-direction: column; align-items: stretch; }
  .public-nav__account a{ color: var(--c-ink) !important; padding: 12px 10px; }
  .public-nav__register{ background: var(--c-surface-alt) !important; color: var(--c-navy) !important; text-align: center; }
  .public-nav__order{ margin: 12px 0 0; justify-content: center; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.home-hero{
  position: relative;
  min-height: 720px;
  background: linear-gradient(180deg, var(--c-navy) 0%, var(--c-navy-soft) 60%, #123258 100%);
  padding: calc(var(--header-h) + 56px) clamp(20px, 5vw, 64px) 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.home-hero::before{
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(11,94,215,0.28), transparent 42%),
    radial-gradient(circle at 85% 75%, rgba(11,94,215,0.16), transparent 45%);
  pointer-events: none;
}

.home-hero__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,26,47,0.94) 0%, rgba(10,26,47,0.55) 48%, rgba(10,26,47,0.15) 78%),
    linear-gradient(180deg, rgba(10,26,47,0.2) 0%, rgba(10,26,47,0.75) 100%);
  z-index: 1;
}

.home-hero__content{
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #BFDBFE;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}

.home-hero__content h1{
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.home-hero__content > p:not([class]){
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  line-height: 1.7;
}

.home-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.home-hero__actions > a{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--t-base) var(--ease);
}
.home-hero__actions > a:first-child{
  background: var(--c-primary);
  color: #fff;
  box-shadow: var(--sh-blue);
}
.home-hero__actions > a:first-child:hover{
  background: var(--c-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(11,94,215,0.32);
}
.home-hero__actions > a.home-button--ghost{
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.home-hero__actions > a.home-button--ghost:hover{
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-3px);
}

/* Generic inline arrow glyphs (empty <span>/<i> markers used as icon slots in existing markup) */
.home-hero__actions > a > span,
.home-promo > a > span,
.home-section__head > a > span,
.home-project-slide__copy b > span,
.home-services__body > a > span,
.home-insights__grid > article > div > a > span,
.home-faq-preview__intro > a > span,
.home-final-cta > a > span{
  display: inline-block;
  width: 7px; height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 2px;
  font-size: 0;
  line-height: 0;
  color: currentColor;
  vertical-align: middle;
}

.home-hero__proof{
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.home-hero__proof span{
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}
.home-hero__proof strong{
  font-family: var(--f-display);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

/* Hero visual (right side photos) */
.home-hero__visual{
  position: absolute;
  top: var(--header-h);
  right: clamp(0px, 3vw, 48px);
  bottom: 0;
  width: min(52%, 760px);
  z-index: 1;
}
.home-hero__photo{
  position: absolute;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1px solid rgba(255,255,255,0.12);
}
.home-hero__photo img{ width: 100%; height: 100%; object-fit: cover; }

.home-hero__photo--main{
  top: 6%;
  right: 0;
  width: 78%;
  height: 62%;
  z-index: 3;
}
.home-hero__photo--pcb{
  top: 0;
  left: 0;
  width: 42%;
  height: 34%;
  z-index: 2;
  filter: saturate(1.05);
}
.home-hero__photo--lab{
  bottom: 14%;
  left: 4%;
  width: 46%;
  height: 30%;
  z-index: 4;
}

.home-hero__visual-label{
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-radius: var(--r-md);
  padding: 14px 20px;
  box-shadow: var(--sh-lg);
  max-width: 320px;
}
.home-hero__visual-label i{
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--c-primary-light);
  flex-shrink: 0;
  position: relative;
}
.home-hero__visual-label i::before{
  content: '';
  position: absolute;
  inset: 10px;
  background: var(--c-primary);
  -webkit-mask: radial-gradient(circle, #000 40%, transparent 41%);
  mask: radial-gradient(circle, #000 40%, transparent 41%);
  border-radius: 50%;
}
.home-hero__visual-label span{
  display: block;
  font-size: 0.7rem;
  color: var(--c-muted);
  font-weight: 500;
}
.home-hero__visual-label strong{
  display: block;
  font-size: 0.82rem;
  font-family: var(--f-display);
  color: var(--c-navy);
  font-weight: 700;
  margin-top: 2px;
}

@media (max-width: 1180px){
  .home-hero__visual{ display: none; }
  .home-hero__content{ max-width: 100%; }
}

/* Category tabs strip */
.home-service-tabs{
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 8px;
  margin: 40px 0 -44px;
  box-shadow: var(--sh-lg);
  max-width: fit-content;
}
.home-service-tabs a{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-ink);
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
}
.home-service-tabs a i{
  width: 20px; height: 20px;
  flex-shrink: 0;
  border-radius: 5px;
  position: relative;
  border: 1.6px solid var(--c-muted);
  transition: border-color var(--t-fast) var(--ease);
}
.home-service-tabs a:hover{ background: var(--c-surface); color: var(--c-primary); }
.home-service-tabs a:hover i{ border-color: var(--c-primary); }
.home-service-tabs a:first-child{ background: var(--c-primary-light); color: var(--c-primary); }
.home-service-tabs a:first-child i{ border-color: var(--c-primary); }

@media (max-width: 900px){
  .home-service-tabs{
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    margin-bottom: -36px;
    scrollbar-width: none;
  }
  .home-service-tabs::-webkit-scrollbar{ display: none; }
}

@media (max-width: 640px){
  .home-hero{
    min-height: auto;
    padding-top: calc(var(--header-h) + 128px);
    padding-bottom: 90px;
  }
  .home-hero__content{
    padding-top: 10px;
  }
  .home-hero__badge{
    margin-top: 12px;
  }
  .home-hero__proof{ gap: 18px; }
}

/* ============================================================
   LAYOUT CONTAINER
   ============================================================ */
.home-container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.home-section{ padding: 96px 0; }
.home-section + .home-section{ padding-top: 0; }

.home-section__head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.home-section__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin: 0 0 10px;
}
.home-section__eyebrow::before{
  content: '';
  width: 22px; height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}
.home-section__head h2{
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
}
.home-section__head > a{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--c-primary);
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--t-fast) var(--ease), gap var(--t-fast) var(--ease);
}
.home-section__head > a:hover{ border-color: var(--c-primary); gap: 10px; }

/* ============================================================
   PROMO BANNER
   ============================================================ */
.home-promo{
  max-width: var(--container);
  margin: -46px auto 0;
  position: relative;
  z-index: 5;
  padding: 0 clamp(20px, 5vw, 64px);
}
.home-promo{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--c-navy), var(--c-navy-soft));
  border-radius: var(--r-lg);
  padding: 26px 32px;
  box-shadow: var(--sh-lg);
}
.home-promo > div{ display: flex; align-items: center; gap: 14px; flex: 1; min-width: 240px; }
.home-promo__pulse{
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #34D399;
  flex-shrink: 0;
  position: relative;
}
.home-promo__pulse::after{
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #34D399;
  animation: promo-pulse 2s var(--ease) infinite;
}
@keyframes promo-pulse{
  0%{ transform: scale(0.6); opacity: 0.9; }
  100%{ transform: scale(1.6); opacity: 0; }
}
.home-promo p{ color: rgba(255,255,255,0.86); font-size: 0.95rem; line-height: 1.6; }
.home-promo p strong{ color: #fff; }
.home-promo > a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: all var(--t-fast) var(--ease);
}
.home-promo > a:hover{ background: #fff; color: var(--c-primary); transform: translateY(-2px); }

/* ============================================================
   TRUST / BENEFITS STRIP
   ============================================================ */
.home-trust{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 88px 0 0;
}
.home-trust article{
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  transition: all var(--t-base) var(--ease);
}
.home-trust article:hover{
  border-color: var(--c-primary);
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
}
.home-trust article i{
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--c-primary-light);
  flex-shrink: 0;
  position: relative;
}
.home-trust article i::before{
  content: '';
  position: absolute;
  inset: 13px;
  border: 2px solid var(--c-primary);
  border-radius: 4px;
}
.home-trust article strong{
  display: block;
  font-family: var(--f-display);
  font-size: 0.98rem;
  color: var(--c-navy);
  margin-bottom: 4px;
}
.home-trust article span{ font-size: 0.85rem; color: var(--c-muted); line-height: 1.5; }

@media (max-width: 980px){
  .home-trust{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .home-trust{ grid-template-columns: 1fr; margin-top: 64px; }
  .home-promo{ margin-top: -30px; }
}

/* ============================================================
   FEATURED PROJECTS SLIDER
   ============================================================ */
.home-projects{ background: var(--c-surface); border-radius: var(--r-xl); padding: 72px clamp(20px,4vw,56px); margin: 0 0 96px; }
.home-projects .home-section__head{ margin-bottom: 36px; }

.home-project-slider{
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}

.home-project-slide{
  position: relative;
  display: none;
  height: 460px;
}
.home-project-slide.active{ display: block; }

.home-project-slide img{
  width: 100%; height: 100%;
  object-fit: cover;
}
.home-project-slide__shade{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,26,47,0.92) 0%, rgba(10,26,47,0.55) 45%, rgba(10,26,47,0.05) 75%);
}
.home-project-slide__index{
  position: absolute;
  top: 28px; left: 28px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #fff;
  font-family: var(--f-display);
}
.home-project-slide__index span{ font-size: 1.4rem; font-weight: 800; }
.home-project-slide__index small{ font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.home-project-slide__copy{
  position: absolute;
  left: 0; bottom: 0;
  max-width: 560px;
  padding: 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.home-project-slide__copy > p{
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #BFDBFE;
}
.home-project-slide__copy h3{
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
}
.home-project-slide__copy > div{ display: flex; gap: 10px; flex-wrap: wrap; }
.home-project-slide__copy > div span{
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.24);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(4px);
}
.home-project-slide__copy small{
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  font-weight: 400;
}
.home-project-slide__copy b{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
}

.home-project-slider__arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--sh-md);
  z-index: 4;
  transition: all var(--t-fast) var(--ease);
}
.home-project-slider__arrow::before{
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 9px; height: 9px;
  border-top: 2px solid var(--c-navy);
  border-right: 2px solid var(--c-navy);
}
.home-project-slider__arrow--prev{ left: 20px; }
.home-project-slider__arrow--prev::before{ transform: translate(-30%,-50%) rotate(-135deg); }
.home-project-slider__arrow--next{ right: 20px; }
.home-project-slider__arrow--next::before{ transform: translate(-70%,-50%) rotate(45deg); }
.home-project-slider__arrow:hover{ background: var(--c-primary); }
.home-project-slider__arrow:hover::before{ border-color: #fff; }

.home-project-slider__footer{
  position: absolute;
  left: 0; right: 0; bottom: 20px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.home-project-slider__dots{ display: flex; gap: 8px; pointer-events: all; }
.home-project-slider__dots button{
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  transition: all var(--t-fast) var(--ease);
}
.home-project-slider__dots button.active{ background: #fff; width: 22px; border-radius: var(--r-pill); }
.home-project-slider__footer > span{
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  display: none;
}

@media (max-width: 780px){
  .home-project-slide{ height: 400px; }
  .home-project-slide__copy{ padding: 24px; max-width: 100%; }
}
@media (max-width: 560px){
  .home-project-slide{ height: 520px; }
  .home-project-slide__copy{ padding: 20px; gap: 8px; }
  .home-project-slide__copy h3{ font-size: 1.3rem; }
  .home-project-slider__arrow{ width: 38px; height: 38px; }
}

/* ============================================================
   PROJECT DETAIL PANEL (expands below slider)
   ============================================================ */
.home-project-detail{
  margin-top: 24px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}
.home-project-detail__media{ display: flex; flex-direction: column; gap: 12px; }
.home-project-detail__media-main{
  border-radius: var(--r-md);
  overflow: hidden;
  height: 300px;
}
.home-project-detail__media-main img{ width: 100%; height: 100%; object-fit: cover; }
.home-project-detail__thumbs{
  display: flex;
  gap: 10px;
}
.home-project-detail__thumbs img{
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.home-project-detail__thumbs img:hover{ border-color: var(--c-primary); }

.home-project-detail__info h3{
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.home-project-detail__meta{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 20px;
  background: var(--c-surface);
  border-radius: var(--r-md);
  margin-bottom: 24px;
}
.home-project-detail__meta div{ display: flex; flex-direction: column; gap: 6px; }
.home-project-detail__meta i{
  width: 20px; height: 20px;
  border: 1.6px solid var(--c-primary);
  border-radius: 5px;
}
.home-project-detail__meta span{ font-size: 0.72rem; color: var(--c-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.home-project-detail__meta strong{ font-size: 0.88rem; color: var(--c-navy); font-family: var(--f-display); }

.home-project-detail__cols{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.home-project-detail__cols h4{
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 10px;
}
.home-project-detail__cols p, .home-project-detail__cols ul{ font-size: 0.85rem; color: var(--c-muted); line-height: 1.6; }
.home-project-detail__cols ul li{ position: relative; padding-left: 16px; margin-bottom: 6px; }
.home-project-detail__cols ul li::before{
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-primary);
}

.home-project-detail__tech h4{ font-size: 0.85rem; font-weight: 700; color: var(--c-navy); margin-bottom: 14px; }
.home-project-detail__tech-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.home-project-detail__tech-grid > div{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 14px 8px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease);
}
.home-project-detail__tech-grid > div:hover{ border-color: var(--c-primary); }
.home-project-detail__tech-grid i{
  width: 26px; height: 26px;
  border: 1.6px solid var(--c-primary);
  border-radius: 7px;
}
.home-project-detail__tech-grid span{ font-size: 0.72rem; font-weight: 600; color: var(--c-navy); }
.home-project-detail__tech-grid small{ font-size: 0.68rem; color: var(--c-muted); }

.home-project-detail__nav{
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(120deg, var(--c-navy), var(--c-navy-soft));
  border-radius: var(--r-md);
  padding: 18px 28px;
}
.home-project-detail__nav a{
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  transition: color var(--t-fast) var(--ease);
}
.home-project-detail__nav a:hover{ color: #fff; }
.home-project-detail__nav a span{ display: flex; flex-direction: column; }
.home-project-detail__nav a small{ font-size: 0.7rem; color: rgba(255,255,255,0.5); }
.home-project-detail__nav a strong{ font-weight: 600; font-size: 0.85rem; }
.home-project-detail__nav i{ width: 18px; height: 18px; flex-shrink: 0; opacity: 0.7; }

@media (max-width: 980px){
  .home-project-detail{ grid-template-columns: 1fr; }
  .home-project-detail__tech-grid{ grid-template-columns: repeat(3, 1fr); }
  .home-project-detail__cols{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .home-project-detail{ padding: 20px; }
  .home-project-detail__meta{ grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .home-project-detail__cols{ grid-template-columns: 1fr; }
  .home-project-detail__tech-grid{ grid-template-columns: repeat(2, 1fr); }
  .home-project-detail__nav{ flex-direction: column; align-items: stretch; text-align: center; gap: 12px; }
  .home-project-detail__media-main{ height: 220px; }
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.home-services{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.home-services article{
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base) var(--ease);
}
.home-services article:hover{
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--c-primary);
}
.home-services__glow{
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 50% 0%, rgba(11,94,215,0.08), transparent 70%);
  transition: opacity var(--t-base) var(--ease);
  pointer-events: none;
}
.home-services article:hover .home-services__glow{ opacity: 1; }

.home-services__media{
  position: relative;
  display: block;
  height: 190px;
  overflow: hidden;
}
.home-services__media img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.home-services article:hover .home-services__media img{ transform: scale(1.08); }
.home-services__media span{
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(10,26,47,0.55);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: var(--r-pill);
}

.home-services__body{ padding: 26px; position: relative; z-index: 1; }
.home-services__body > i{
  display: inline-flex;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--c-primary-light);
  color: var(--c-primary);
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-style: normal;
  margin-bottom: 16px;
  transition: all var(--t-base) var(--ease);
  border: 1.6px solid transparent;
}
.home-services article:hover .home-services__body > i{
  background: var(--c-primary);
  color: #fff;
}
.home-services__body h3{ font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.home-services__body p{ font-size: 0.88rem; color: var(--c-muted); line-height: 1.6; margin-bottom: 16px; }
.home-services__body > a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-primary);
}

@media (max-width: 980px){ .home-services{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .home-services{ grid-template-columns: 1fr; } }

/* ============================================================
   ACTION GALLERY (Engineering in Action)
   ============================================================ */
.home-action-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.home-action-grid figure{
  position: relative;
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--sh-sm);
}
.home-action-grid img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.home-action-grid figure:hover img{ transform: scale(1.1); }
.home-action-grid figcaption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(10,26,47,0.85), transparent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 980px){ .home-action-grid{ grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   PROCESS TIMELINE + STATS
   ============================================================ */
.home-process-section{
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 96px 0;
}
.home-process-main ol{
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  position: relative;
}
.home-process-main ol li{
  flex: 1 1 21%;
  min-width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  position: relative;
  padding: 0 8px 32px;
}
.home-process-main ol li::after{
  content: '';
  position: absolute;
  top: 24px;
  left: calc(50% + 34px);
  right: calc(-50% + 34px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-line) 0 6px, transparent 6px 12px);
}
.home-process-main ol li:nth-child(4n)::after,
.home-process-main ol li:last-child::after{ display: none; }
.home-process-main ol li i{
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-primary-light);
  border: 1.6px solid var(--c-primary);
  color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
  font-style: normal;
  transition: all var(--t-base) var(--ease);
}
.home-process-main ol li:hover i{ background: var(--c-primary); color: #fff; transform: scale(1.08); }
.home-process-main ol li span{
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--c-primary);
  letter-spacing: 0.02em;
}
.home-process-main ol li small{ font-size: 0.82rem; color: var(--c-ink); font-weight: 500; line-height: 1.4; }

.home-process-section > aside{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.home-process-section > aside > div{
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 22px 20px;
  box-shadow: var(--sh-sm);
  transition: all var(--t-base) var(--ease);
}
.home-process-section > aside > div:hover{ box-shadow: var(--sh-md); transform: translateY(-3px); }
.home-process-section > aside strong{
  display: block;
  font-family: var(--f-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--c-primary);
}
.home-process-section > aside span{ font-size: 0.8rem; color: var(--c-muted); font-weight: 500; }

@media (max-width: 1080px){
  .home-process-section{ grid-template-columns: 1fr; }
  .home-process-main ol li::after{ display: none; }
}
@media (max-width: 640px){
  .home-process-main ol{ flex-direction: column; align-items: stretch; }
  .home-process-main ol li{ flex-direction: row; text-align: left; padding: 0 0 20px; }
  .home-process-section > aside{ grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.home-reviews > div{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.home-reviews article{
  background: var(--c-surface);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--t-base) var(--ease);
  border: 1px solid transparent;
}
.home-reviews article:hover{ background: #fff; box-shadow: var(--sh-lg); border-color: var(--c-line); transform: translateY(-4px); }
.home-reviews article span{
  color: #F59E0B;
  letter-spacing: 2px;
  font-size: 0.95rem;
}
.home-reviews blockquote{
  margin: 0;
  font-size: 1rem;
  color: var(--c-ink);
  line-height: 1.7;
  font-style: normal;
}
.home-reviews strong{
  display: block;
  font-family: var(--f-display);
  font-size: 0.92rem;
  color: var(--c-navy);
  margin-top: 4px;
}
.home-reviews small{ font-size: 0.8rem; color: var(--c-muted); }

@media (max-width: 980px){ .home-reviews > div{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .home-reviews > div{ grid-template-columns: 1fr; } }

/* ============================================================
   INSIGHTS / BLOG
   ============================================================ */
.home-insights__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.home-insights__grid article{
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  transition: all var(--t-base) var(--ease);
}
.home-insights__grid article:hover{ box-shadow: var(--sh-lg); border-color: var(--c-primary); transform: translateY(-4px); }
.home-insights__image{ display: block; overflow: hidden; }
.home-insights__image img{ width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.home-insights__grid article:hover .home-insights__image img{ transform: scale(1.08); }
.home-insights__grid > article > div{ padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.home-insights__grid span{ font-size: 0.75rem; font-weight: 600; color: var(--c-primary); text-transform: uppercase; letter-spacing: 0.03em; }
.home-insights__grid h3{ font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.home-insights__grid > article p{ font-size: 0.86rem; color: var(--c-muted); line-height: 1.6; }
.home-insights__grid > article > div > a{
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 980px){ .home-insights__grid{ grid-template-columns: 1fr; } }
@media (max-width: 560px){
  .home-insights__grid article{ grid-template-columns: 1fr; }
  .home-insights__image{ height: 200px; }
}

/* ============================================================
   FAQ PREVIEW
   ============================================================ */
.home-faq-preview{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.home-faq-preview__intro p:last-of-type{ font-size: 0.95rem; color: var(--c-muted); line-height: 1.7; margin: 16px 0 20px; max-width: 380px; }
.home-faq-preview__intro > a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-primary);
  border-bottom: 2px solid var(--c-primary);
  padding-bottom: 4px;
}

.home-faq-preview__list{ display: flex; flex-direction: column; gap: 12px; }
.home-faq-preview__list details{
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 6px 24px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.home-faq-preview__list details[open]{ border-color: var(--c-primary); box-shadow: var(--sh-sm); }
.home-faq-preview__list summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-navy);
}
.home-faq-preview__list summary::-webkit-details-marker{ display: none; }
.home-faq-preview__list summary span{
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-surface);
  color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 400;
  transition: transform var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.home-faq-preview__list details[open] summary span{ transform: rotate(45deg); background: var(--c-primary); color: #fff; }
.home-faq-preview__list details p{
  font-size: 0.88rem;
  color: var(--c-muted);
  line-height: 1.7;
  padding-bottom: 20px;
  margin: 0;
  animation: faq-fade 0.35s var(--ease);
}
@keyframes faq-fade{ from{ opacity: 0; transform: translateY(-6px); } to{ opacity: 1; transform: translateY(0); } }

@media (max-width: 900px){ .home-faq-preview{ grid-template-columns: 1fr; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.home-final-cta{
  position: relative;
  background: linear-gradient(120deg, var(--c-primary-dark), var(--c-primary) 60%, #1470E8);
  border-radius: var(--r-xl);
  max-width: var(--container);
  margin: 0 auto 96px;
  padding: 64px clamp(28px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  overflow: hidden;
}
.home-final-cta::before{
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(255,255,255,0.14), transparent 45%);
  pointer-events: none;
}
.home-final-cta > div{ position: relative; z-index: 1; max-width: 560px; }
.home-final-cta h2{ color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; margin-bottom: 12px; }
.home-final-cta p{ color: rgba(255,255,255,0.85); font-size: 0.98rem; line-height: 1.6; }
.home-final-cta > a{
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--c-primary-dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 32px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: all var(--t-base) var(--ease);
  box-shadow: 0 12px 32px rgba(0,0,0,0.16);
}
.home-final-cta > a:hover{ transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.22); }

/* ============================================================
   FOOTER
   ============================================================ */
.public-footer{
  background: var(--c-navy);
  color: rgba(255,255,255,0.7);
  padding: 72px clamp(20px, 5vw, 64px) 0;
}
.public-footer__top{
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 56px;
}
.public-brand--footer{ display: inline-flex; margin-bottom: 16px; }
.public-brand--footer span{
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
}
.public-footer__top > div:first-child p{
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
  margin-bottom: 20px;
}
.public-footer__status{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #6EE7B7;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.25);
  padding: 8px 14px;
  border-radius: var(--r-pill);
}
.public-footer__status i{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34D399;
}

.public-footer__links{ display: flex; flex-direction: column; gap: 12px; }
.public-footer__links strong{
  font-family: var(--f-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.public-footer__links a{
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.public-footer__links a:hover{ color: #fff; padding-left: 4px; }

.public-footer__bottom{
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 980px){
  .public-footer__top{ grid-template-columns: 1fr 1fr; }
  .public-footer__top > div:first-child{ grid-column: 1 / -1; }
}
@media (max-width: 560px){
  .public-footer__top{ grid-template-columns: 1fr; }
  .public-footer__bottom{ flex-direction: column; text-align: center; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.home-reveal-target{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.home-reveal-target.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .home-reveal-target{ opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE — GLOBAL ADJUSTMENTS
   ============================================================ */
@media (max-width: 1080px){
  .home-section{ padding: 72px 0; }
  .home-projects{ padding: 56px clamp(20px,4vw,40px); margin-bottom: 72px; }
}
@media (max-width: 640px){
  .home-section{ padding: 56px 0; }
  .home-section__head{ margin-bottom: 32px; }
  .home-projects{ padding: 40px 20px; border-radius: var(--r-lg); }
  .home-final-cta{ flex-direction: column; text-align: center; align-items: center; padding: 48px 28px; }
}
