/* ============ SZ Electricals Engineering — shared styles ============ */

:root {
  /* brand (sampled from the company logo) */
  --blue: #0D6DAE;
  --blue-dark: #09558A;
  --blue-deep: #0A3F6B;
  --blue-light: #3C90CB;
  --blue-pale: #E4F0F9;
  --orange: #F96642;
  --orange-dark: #E04A26;
  --orange-pale: #FEEDE8;

  --navy: #0C2742;
  --navy-deep: #071A2C;

  --ink: #16202C;
  --grey: #5B6775;
  --grey-soft: #8A95A3;
  --grey-light: #F2F5F9;
  --line: #E2E8F0;
  --white: #ffffff;

  --radius: 6px;
  --radius-lg: 12px;
  --max-width: 1280px;
  --shadow: 0 8px 28px rgba(12, 39, 66, .08);
  --shadow-lg: 0 24px 60px rgba(12, 39, 66, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --header-h: 84px;
}

/* ---------------- base ---------------- */

* { box-sizing: border-box; }

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

[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Outfit', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; color: var(--grey); }

a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }

img { max-width: 100%; display: block; }

ul { margin: 0 0 1.1em; padding-left: 1.15em; color: var(--grey); }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }

::selection { background: var(--orange); color: #fff; }

/* ---------------- layout ---------------- */

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

@media (min-width: 1100px) {
  .container { padding: 0 40px; }
}

.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--overlap { padding-top: 0; }
.section--alt { background: var(--grey-light); }
.section--navy { background: var(--navy); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: rgba(255, 255, 255, .78); }

@media (max-width: 700px) {
  .section { padding: 60px 0; }
  .section--tight { padding: 44px 0; }
}

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

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

/* ---------------- type helpers ---------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .74rem;
  color: var(--orange);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
  flex: none;
}

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.05rem; margin-bottom: 0; }

.lead { font-size: 1.12rem; color: var(--grey); }

.text-orange { color: var(--orange); }
.text-blue { color: var(--blue); }

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(249, 102, 66, .34); }

.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(13, 109, 174, .32); }

.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------- top bar ---------------- */

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .8);
  font-size: .85rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.topbar__contacts { display: flex; flex-wrap: wrap; gap: 24px; }

.topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--orange); }
.topbar svg { width: 14px; height: 14px; color: var(--orange); flex: none; }

.topbar__social { display: flex; gap: 14px; }
.topbar__social svg { width: 15px; height: 15px; color: rgba(255, 255, 255, .75); }
.topbar__social a:hover svg { color: var(--orange); }

@media (max-width: 860px) { .topbar { display: none; } }

/* ---------------- header / nav ---------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}

.header.is-stuck { box-shadow: 0 6px 24px rgba(12, 39, 66, .1); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.nav__logo img { height: 46px; width: auto; }

@media (max-width: 480px) { .nav__logo img { height: 38px; } }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__menu > li { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: .97rem;
  color: var(--navy);
  padding: 12px 14px;
  border-radius: var(--radius);
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}

.nav__link:hover { color: var(--blue); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--blue); font-weight: 600; }

.nav__caret { width: 10px; height: 10px; opacity: .6; transition: transform .25s var(--ease); }
.nav__item--has-sub:hover .nav__caret { transform: rotate(180deg); }

.nav__sub {
  position: absolute;
  top: calc(100% - 4px);
  left: 6px;
  min-width: 248px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .24s var(--ease);
}

.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__sub a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: .93rem;
  color: var(--grey);
}

.nav__sub a:hover { background: var(--blue-pale); color: var(--blue-dark); }

.nav__cta { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: all .25s var(--ease);
}

.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__menu, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
}

/* mobile drawer */

.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: #fff;
  z-index: 55;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s var(--ease);
}

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

.drawer ul { list-style: none; margin: 0; padding: 0; }

.drawer > ul > li { border-bottom: 1px solid var(--line); }

.drawer a {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--navy);
  padding: 15px 2px;
}

.drawer a:hover { color: var(--blue); }

.drawer__sub a { font-size: .95rem; color: var(--grey); padding: 10px 0 10px 16px; }

.drawer .btn { width: 100%; justify-content: center; margin-top: 24px; }

@media (min-width: 1081px) { .drawer { display: none; } }

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero__media { position: absolute; inset: 0; }

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* dark behind the headline on the left, almost clear on the right where the
     3D logo flies, plus a light fade at the bottom for the scroll cue */
  background:
    linear-gradient(to top, rgba(7, 26, 44, .45) 0%, rgba(7, 26, 44, 0) 22%),
    linear-gradient(100deg, rgba(7, 26, 44, .88) 0%, rgba(7, 26, 44, .66) 32%, rgba(10, 63, 107, .2) 58%, rgba(13, 109, 174, 0) 80%);
}

/* phones play the vertical video (see script.js), where the logo flies in the top
   third: keep that clear and shade only the lower part behind the copy */
@media (max-width: 700px) {
  .hero__media::after {
    background: linear-gradient(180deg, rgba(7, 26, 44, .12) 0%, rgba(7, 26, 44, .2) 30%,
      rgba(7, 26, 44, .8) 46%, rgba(7, 26, 44, .9) 100%);
  }
}

/* longhand only — the shorthand would wipe out .container's side padding.
   No max-width here either: the element *is* the .container, so capping it
   would centre the copy instead of aligning it with the logo above. */
.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 90px;
}

.hero__inner h1 { max-width: 820px; }

.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--orange); }

.hero h1 { color: #fff; margin-bottom: .35em; }

.hero h1 span { color: var(--orange); }

.hero p {
  color: rgba(255, 255, 255, .86);
  font-size: 1.14rem;
  max-width: 620px;
  margin-bottom: 2em;
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, .6);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollCue 2s var(--ease) infinite;
}

@keyframes scrollCue {
  0%, 100% { opacity: .35; transform: scaleY(.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 700px) {
  .hero { min-height: 560px; align-items: flex-end; }
  /* leave the top of the hero free for the 3D logo in the vertical video */
  .hero__inner { padding-top: 80vw; padding-bottom: 48px; }
  .hero__scroll { display: none; }
}

/* page banner (inner pages) */

.banner {
  position: relative;
  padding: 96px 0 84px;
  background: var(--navy);
  overflow: hidden;
}

.banner__bg {
  position: absolute;
  inset: 0;
  opacity: .22;
}

.banner__bg img { width: 100%; height: 100%; object-fit: cover; }

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 26, 44, .92), rgba(10, 63, 107, .62));
}

.banner__inner { position: relative; z-index: 2; }
.banner h1 { color: #fff; margin-bottom: .3em; max-width: 820px; }
.banner p { color: rgba(255, 255, 255, .82); font-size: 1.08rem; margin-bottom: 0; max-width: 720px; }
.banner .eyebrow { color: #fff; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
  margin-top: 22px;
}

.crumbs a:hover { color: var(--orange); }
.crumbs span { color: rgba(255, 255, 255, .35); }

/* ---------------- stats ---------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stats--onNavy { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .14); }

.stat { background: #fff; padding: 34px 26px; text-align: center; }
.stats--onNavy .stat { background: var(--navy); }

.stat__num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  line-height: 1;
  color: var(--blue);
  letter-spacing: -.03em;
}

.stats--onNavy .stat__num { color: var(--orange); }

.stat__label {
  margin-top: 10px;
  font-size: .9rem;
  color: var(--grey);
  letter-spacing: .02em;
}

.stats--onNavy .stat__label { color: rgba(255, 255, 255, .72); }

.stats--float { margin-top: -70px; position: relative; z-index: 5; box-shadow: var(--shadow); background: var(--line); }

@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats--float { margin-top: 0; }
}

/* ---------------- service cards (PDF-style numbered tiles) ---------------- */

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

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

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  padding: 28px;
  background: var(--blue-deep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  z-index: -1;
}

.svc:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(10, 63, 107, .35); }
.svc:hover::before { opacity: 1; }

.svc__num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2.7rem;
  line-height: 1;
  color: var(--orange);
  letter-spacing: -.04em;
}

.svc__title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.22rem;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.svc__desc {
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  margin: 10px 0 0;
  line-height: 1.6;
}

.svc__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: var(--orange);
}

.svc__more svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.svc:hover .svc__more svg { transform: translateX(5px); }

/* detailed service block */

.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.svc-detail:last-child { border-bottom: 0; }

.svc-detail--flip .svc-detail__media { order: 2; }

.svc-detail__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.svc-detail__index {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: var(--blue-pale);
  margin-bottom: 8px;
  letter-spacing: -.04em;
}

@media (max-width: 900px) {
  .svc-detail { grid-template-columns: 1fr; gap: 28px; }
  .svc-detail--flip .svc-detail__media { order: 0; }
}

/* capability list */

.caps {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 22px;
}

.caps li {
  position: relative;
  padding-left: 26px;
  font-size: .93rem;
  color: var(--grey);
  margin: 0;
}

.caps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: var(--orange);
  clip-path: polygon(14% 44%, 0 58%, 40% 100%, 100% 16%, 86% 2%, 38% 70%);
  background: var(--orange);
}

@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }

/* ---------------- feature split ---------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split--flip .split__media { order: 2; }

.split__media { position: relative; }

.split__media img { width: 100%; border-radius: var(--radius-lg); }

.split__badge {
  position: absolute;
  right: -18px;
  bottom: -18px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.split__badge strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 800;
}

.split__badge span { font-size: .82rem; opacity: .92; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--flip .split__media { order: 0; }
  .split__badge { right: 12px; bottom: 12px; padding: 16px 20px; }
}

/* ---------------- mission / vision cards ---------------- */

.mv {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  height: 100%;
}

.mv--vision { border-top-color: var(--orange); }

.mv__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--blue-pale);
  color: var(--blue);
  margin-bottom: 18px;
}

.mv--vision .mv__icon { background: var(--orange-pale); color: var(--orange); }

.mv__icon svg { width: 26px; height: 26px; }

.mv p { margin-bottom: 0; }

/* ---------------- process ---------------- */

.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.step {
  display: flex;
  gap: 20px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .28s var(--ease);
}

.step:hover { border-color: var(--blue-light); box-shadow: var(--shadow); transform: translateY(-3px); }

.step__num {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  transition: background .28s var(--ease);
}

.step:hover .step__num { background: var(--orange); }

.step h3 { margin-bottom: .35em; font-size: 1.1rem; }
.step p { margin-bottom: 0; font-size: .94rem; }

/* ---------------- industries ---------------- */

.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 1000px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: 1fr; } }

.ind {
  position: relative;
  padding: 30px 26px 34px;
  background: var(--blue-pale);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s var(--ease);
}

.ind::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .34s var(--ease);
}

.ind:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-4px); }
.ind:hover::after { transform: scaleX(1); }

.ind__icon { width: 40px; height: 40px; color: var(--blue); margin-bottom: 16px; }
.ind__icon svg { width: 100%; height: 100%; }

.ind h3 {
  font-size: 1.08rem;
  color: var(--orange);
  margin-bottom: .4em;
  font-weight: 600;
}

.ind p { font-size: .9rem; margin-bottom: 0; }

/* ---------------- projects ---------------- */

.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

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

.proj {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 4 / 3;
}

.proj img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), opacity .4s var(--ease);
}

.proj:hover img { transform: scale(1.07); opacity: .62; }

.proj__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(7, 26, 44, .94) 12%, rgba(7, 26, 44, 0) 100%);
  color: #fff;
}

.proj__tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--orange);
  color: #fff;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.proj__body h3 { color: #fff; font-size: 1.1rem; margin: 0; }
.proj__body p { color: rgba(255, 255, 255, .76); font-size: .88rem; margin: 6px 0 0; }

/* carousel */

.carousel { position: relative; }

.carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.carousel__track::-webkit-scrollbar { display: none; }

.carousel__track > * {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}

@media (max-width: 980px) { .carousel__track > * { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 620px) { .carousel__track > * { flex-basis: 86%; } }

.carousel__nav { display: flex; gap: 10px; margin-top: 26px; }

.carousel__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .25s var(--ease);
}

.carousel__btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.carousel__btn svg { width: 16px; height: 16px; }

/* ---------------- team ---------------- */

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }

.member {
  text-align: center;
  padding: 32px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .28s var(--ease);
}

.member:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-light); }

.member__avatar {
  width: 78px;
  height: 78px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .02em;
}

.member:nth-child(3n) .member__avatar { background: linear-gradient(145deg, var(--orange), var(--orange-dark)); }

.member h3 { font-size: 1.08rem; margin-bottom: .2em; }

.member__role {
  font-size: .86rem;
  color: var(--orange);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* CEO block */

.ceo {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) { .ceo { grid-template-columns: 1fr; gap: 28px; } }

.ceo__card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  color: #fff;
}

.ceo__card .member__avatar { width: 110px; height: 110px; font-size: 2.1rem; margin-bottom: 20px; }
.ceo__card h3 { color: #fff; margin-bottom: .15em; }
.ceo__card .member__role { color: var(--orange); }

.ceo__meta {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .9rem;
  color: rgba(255, 255, 255, .72);
}

.quote {
  position: relative;
  padding-left: 34px;
  border-left: 3px solid var(--orange);
}

.quote p:last-child { margin-bottom: 0; }

.quote__sign {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--navy);
  margin-top: 18px;
}

/* ---------------- why us ---------------- */

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

.why {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: all .28s var(--ease);
}

.why:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: var(--shadow); }

.why__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--blue-pale);
  color: var(--blue);
  margin-bottom: 18px;
}

.why:hover .why__icon { background: var(--orange-pale); color: var(--orange); }
.why__icon svg { width: 24px; height: 24px; }
.why h3 { font-size: 1.08rem; }
.why p { font-size: .93rem; margin-bottom: 0; }

/* ---------------- CTA band ---------------- */

.cta {
  position: relative;
  padding: 80px 0;
  background: var(--navy);
  overflow: hidden;
}

.cta__bg { position: absolute; inset: 0; opacity: .18; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 26, 44, .94), rgba(10, 63, 107, .7));
}

.cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: rgba(255, 255, 255, .8); margin-bottom: 0; max-width: 560px; }

/* ---------------- contact ---------------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }

@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

.info-card {
  display: flex;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: all .26s var(--ease);
}

.info-card + .info-card { margin-top: 16px; }

.info-card:hover { border-color: var(--blue-light); box-shadow: var(--shadow); }

.info-card__icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--blue-pale);
  color: var(--blue);
}

.info-card__icon svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1rem; margin-bottom: .25em; }
.info-card p, .info-card a { font-size: .94rem; color: var(--grey); margin: 0; }
.info-card a:hover { color: var(--blue); }

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .86rem;
  color: var(--navy);
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: .96rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grey-light);
  transition: all .22s var(--ease);
}

.field textarea { min-height: 130px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13, 109, 174, .14);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.form .btn { width: 100%; justify-content: center; }

.form__note { font-size: .82rem; color: var(--grey-soft); margin: 14px 0 0; text-align: center; }

.form__status {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: .92rem;
}

.form__status.is-ok { display: block; background: var(--blue-pale); color: var(--blue-dark); }
.form__status.is-err { display: block; background: var(--orange-pale); color: var(--orange-dark); }

.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map iframe { width: 100%; height: 420px; border: 0; }

/* ---------------- footer ---------------- */

.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .68); padding: 72px 0 0; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 52px;
}

@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer h4 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer p { color: rgba(255, 255, 255, .62); font-size: .93rem; }

.footer__logo img { height: 52px; width: auto; margin-bottom: 20px; }

.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 11px; }
.footer a { font-size: .93rem; color: rgba(255, 255, 255, .68); }
.footer a:hover { color: var(--orange); }

.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; color: var(--orange); flex: none; margin-top: 4px; }

.footer__social { display: flex; gap: 12px; margin-top: 22px; }

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  transition: all .24s var(--ease);
}

.footer__social svg { width: 16px; height: 16px; }
.footer__social a:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: .86rem;
}

.footer__bottom p { margin: 0; font-size: .86rem; }

/* ---------------- misc ---------------- */

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.badge {
  font-family: 'Outfit', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--blue-pale);
  color: var(--blue-dark);
}

.accordion { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.accordion + .accordion { margin-top: 14px; }

.accordion__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: #fff;
  border: 0;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  text-align: left;
}

.accordion__head:hover { color: var(--blue); }
.accordion__icon { flex: none; width: 18px; height: 18px; color: var(--orange); transition: transform .28s var(--ease); }
.accordion.is-open .accordion__icon { transform: rotate(45deg); }

.accordion__body { display: none; padding: 0 24px 24px; }
.accordion.is-open .accordion__body { display: block; }

/* scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* back to top */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s var(--ease);
  z-index: 50;
  box-shadow: 0 10px 26px rgba(249, 102, 66, .4);
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; }

/* whatsapp float */

.wa-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 50;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .38);
  transition: transform .25s var(--ease);
}

.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; }

@media (max-width: 560px) {
  .wa-float { width: 46px; height: 46px; left: 16px; bottom: 16px; }
  .to-top { right: 16px; bottom: 16px; }
}
