/* ============================================================
   HYMEC — Engineering & Construction
   Global stylesheet (extracted from index + career additions)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #1B2672;
  --green:       #2CAF47;
  --navy:        #181B46;
  --light-gray:  #F4F6FB;
  --struct-blue: #294089;
  --prec-gray:   #2B2E3A;
  --teal:        #0A7265;
  --white:       #ffffff;
  --border:      rgba(27,38,114,0.12);
  --shadow:      0 8px 40px rgba(24,27,70,0.14);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  background: var(--light-gray);
  color: var(--prec-gray);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 72px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(27,38,114,0.1);
  box-shadow: 0 2px 20px rgba(27,38,114,0.07);
  transition: all .3s;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; height: 34px; }
.nav-logo svg { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--prec-gray); text-decoration: none;
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content:''; position:absolute; bottom:-4px; left:0; right:100%;
  height:1.5px; background:var(--green); transition:right .3s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { right: 0; }
.nav-cta { background:var(--blue)!important; color:white!important; padding:7px 18px; border-radius:4px; }
.nav-cta:hover { background:var(--green)!important; opacity:1!important; }
.nav-cta::after { display:none!important; }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

/* These are the 3 lines of the menu */
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--navy); /* This ensures it's visible on the white nav */
  transition: all 0.3s ease;
  border-radius: 2px;
}
/* Set standard links to dark color in mobile menu */
.nav-links.open a { color: var(--prec-gray) !important; }

/* Force the CTA button to stay white in mobile menu */
.nav-links.open a.nav-cta { color: white !important; }
.nav-links.open ~ .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-links.open ~ .hamburger span:nth-child(2) {
  opacity: 0;
}
.nav-links.open ~ .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
  min-height: 100vh; background: var(--navy);
  position: relative; display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; padding: 130px 5vw 90px;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(44,175,71,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44,175,71,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 58% 45%, rgba(27,38,114,0.6) 0%, transparent 65%),
    radial-gradient(ellipse 35% 35% at 12% 78%, rgba(10,114,101,0.14) 0%, transparent 60%);
}
.hero-lines { position: absolute; right:0; top:0; bottom:0; width:42%; overflow:hidden; pointer-events:none; }
.hero-line {
  position:absolute; top:0; bottom:0; width:1px;
  background:linear-gradient(to bottom, transparent 0%, rgba(44,175,71,0.45) 40%, rgba(27,38,114,0.55) 70%, transparent 100%);
  animation:linePulse 4s ease-in-out infinite;
}
.hero-line:nth-child(1){left:10%;animation-delay:0s;}
.hero-line:nth-child(2){left:35%;animation-delay:1.2s;opacity:.6;}
.hero-line:nth-child(3){left:62%;animation-delay:2.4s;opacity:.38;}
.hero-line:nth-child(4){left:85%;animation-delay:3.6s;opacity:.28;}
@keyframes linePulse{0%,100%{opacity:.08}50%{opacity:.55}}
.hero-bar { position:absolute; right:0; top:0; bottom:0; width:4px; background:linear-gradient(to bottom,var(--green),var(--teal)); pointer-events:none; }

.hero-content { position:relative; z-index:2; max-width:700px; }
.hero-eyebrow {
  display:inline-flex; align-items:center; gap:9px;
  background:rgba(44,175,71,0.11); border:1px solid rgba(44,175,71,0.36); border-radius:3px;
  padding:6px 13px; margin-bottom:28px;
  font-size:10.5px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:var(--green);
  animation:fadeUp .8s ease both;
}
.hero-eyebrow::before { content:''; width:7px; height:7px; border-radius:50%; background:var(--green); animation:blink 2.5s ease-in-out infinite; }
@keyframes blink{0%,100%{opacity:1}50%{opacity:.22}}

.hero-title {
  font-family:'M PLUS Rounded 1c',sans-serif;
  font-size:clamp(44px,8vw,88px); font-weight:900; line-height:.93;
  color:white; letter-spacing:-1.5px; margin-bottom:26px;
  animation:fadeUp .8s .15s ease both;
}
.hero-title .t-green  { color:var(--green); }
.hero-title .t-faint  { -webkit-text-stroke:1.5px rgba(244,246,251,0.2); color:transparent; }
.hero-desc {
  font-size:16px; line-height:1.78; color:rgba(244,246,251,0.58); max-width:570px;
  font-weight:300; margin-bottom:42px;
  animation:fadeUp .8s .3s ease both;
}
.hero-desc strong { color:rgba(244,246,251,0.9); font-weight:600; }
.hero-actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; animation:fadeUp .8s .45s ease both; }
.btn-primary {
  background:var(--green); color:white; padding:13px 32px; border-radius:5px;
  font-family:'Open Sans',sans-serif; font-weight:700; font-size:12.5px; letter-spacing:1.5px;
  text-transform:uppercase; text-decoration:none; transition:all .25s;
}
.btn-primary:hover { opacity:.87; transform:translateY(-2px); box-shadow:0 8px 26px rgba(44,175,71,0.36); }
.btn-outline {
  border:1.5px solid rgba(244,246,251,0.26); color:rgba(244,246,251,0.8);
  padding:12px 28px; border-radius:5px;
  font-family:'Open Sans',sans-serif; font-weight:600; font-size:12.5px; letter-spacing:1.5px;
  text-transform:uppercase; text-decoration:none; transition:all .25s;
}
.btn-outline:hover { border-color:var(--green); color:var(--green); transform:translateY(-2px); }

.hero-stats {
  position:relative; z-index:2;
  display:flex; gap:0; margin-top:66px;
  border-top:1px solid rgba(244,246,251,0.08); padding-top:38px;
  animation:fadeUp .8s .6s ease both;
}
.hero-stat { flex:1; padding:0 26px 0 0; border-right:1px solid rgba(244,246,251,0.08); }
.hero-stat:first-child { padding-left:0; }
.hero-stat:last-child  { border-right:none; }
.hero-stat-num { font-family:'M PLUS Rounded 1c',sans-serif; font-size:40px; font-weight:900; color:white; line-height:1; margin-bottom:5px; }
.hero-stat-num span { color:var(--green); }
.hero-stat-label { font-size:10.5px; letter-spacing:1.5px; text-transform:uppercase; color:rgba(244,246,251,0.35); font-weight:600; }

@keyframes fadeUp{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:translateY(0)}}

/* ── SHARED SECTION ── */
section { padding:96px 5vw; }
.section-label { font-size:10.5px; font-weight:700; letter-spacing:3.5px; text-transform:uppercase; color:var(--green); margin-bottom:11px; }
.section-title { font-family:'M PLUS Rounded 1c',sans-serif; font-size:clamp(28px,4.2vw,50px); font-weight:800; line-height:1.08; color:var(--navy); letter-spacing:-0.4px; margin-bottom:16px; }
.section-title .a-blue  { color:var(--blue); }
.section-title .a-green { color:var(--green); }
.section-lead { font-size:15.5px; line-height:1.76; color:var(--prec-gray); max-width:590px; font-weight:300; opacity:.82; }

/* ── ABOUT ── */
#about { background:white; }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:76px; align-items:center; margin-top:58px; }
.about-body p { font-size:15px; line-height:1.82; color:var(--prec-gray); font-weight:300; margin-bottom:20px; opacity:.88; }
.sectors-lbl { font-size:10.5px; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; color:var(--blue); margin-bottom:12px; margin-top:8px; }
.about-sectors { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.sector-tag {
  background:rgba(27,38,114,0.05); border:1px solid rgba(27,38,114,0.14); border-radius:5px;
  padding:10px 13px; font-size:13px; font-weight:600; color:var(--blue);
  display:flex; align-items:center; gap:8px; transition:all .2s;
}
.sector-tag:hover { background:rgba(27,38,114,0.09); border-color:var(--blue); }
.sector-tag::before { content:''; width:7px; height:7px; border-radius:1px; background:var(--green); flex-shrink:0; transform:rotate(45deg); }
.about-card { background:var(--navy); border-radius:10px; padding:46px 40px; position:relative; overflow:hidden; }
.about-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--green),var(--teal)); }
.about-card-orb { position:absolute; bottom:-50px; right:-50px; width:200px; height:200px; border-radius:50%; background:radial-gradient(circle,rgba(27,38,114,0.38) 0%,transparent 70%); pointer-events:none; }
.about-card-quote { font-size:14.5px; line-height:1.82; color:rgba(244,246,251,0.72); font-weight:300; position:relative; z-index:1; margin-bottom:26px; }
.about-card-quote::before { content:'"'; font-family:'M PLUS Rounded 1c',sans-serif; font-size:68px; font-weight:900; line-height:.52; color:var(--green); display:block; margin-bottom:12px; }
.about-card-sig { font-size:10.5px; font-weight:700; letter-spacing:2.5px; color:var(--green); text-transform:uppercase; position:relative; z-index:1; }

/* ── MISSION ── */
#mission { background:var(--light-gray); }
.mv-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:56px; }
.mv-card { background:white; border-radius:9px; padding:40px 36px; border:1px solid var(--border); transition:box-shadow .3s,transform .3s; position:relative; overflow:hidden; }
.mv-card:hover { box-shadow:var(--shadow); transform:translateY(-4px); }
.mv-card::after { content:''; position:absolute; bottom:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--green),var(--teal)); opacity:0; transition:opacity .3s; }
.mv-card:hover::after { opacity:1; }
.mv-icon { width:48px; height:48px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:20px; margin-bottom:18px; }
.mv-icon.m { background:rgba(44,175,71,0.1); }
.mv-icon.v { background:rgba(27,38,114,0.08); }
.mv-card h3 { font-family:'M PLUS Rounded 1c',sans-serif; font-size:19px; font-weight:800; color:var(--blue); margin-bottom:13px; }
.mv-card p { font-size:14.5px; line-height:1.8; color:var(--prec-gray); font-weight:300; }

/* ── VALUES ── */
#values { background:var(--navy); }
#values .section-label { color:var(--green); }
#values .section-title { color:white; }
#values .section-lead  { color:rgba(244,246,251,0.44); }
.values-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5px; margin-top:56px; border-radius:10px; overflow:hidden; }
.value-card { background:rgba(255,255,255,0.04); padding:32px 26px; border:1px solid rgba(255,255,255,0.06); transition:background .3s; position:relative; overflow:hidden; }
.value-card::before { content:attr(data-num); position:absolute; top:-6px; right:10px; font-family:'M PLUS Rounded 1c',sans-serif; font-size:72px; font-weight:900; color:rgba(255,255,255,0.04); line-height:1; pointer-events:none; }
.value-card:hover { background:rgba(44,175,71,0.1); }
.value-icon { font-size:24px; margin-bottom:12px; display:block; }
.value-card h4 { font-family:'M PLUS Rounded 1c',sans-serif; font-size:15px; font-weight:700; color:white; margin-bottom:8px; }
.value-card p { font-size:13px; line-height:1.68; color:rgba(244,246,251,0.46); font-weight:300; }

/* ── SERVICES ── */
#services { background:white; }
.services-tabs { display:flex; margin:44px 0 0; border-bottom:2px solid var(--border); overflow-x:auto; scrollbar-width:none; }
.services-tabs::-webkit-scrollbar { display:none; }
.tab-btn { background:none; border:none; cursor:pointer; padding:12px 24px; font-family:'Open Sans',sans-serif; font-size:11.5px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--prec-gray); opacity:.5; border-bottom:3px solid transparent; margin-bottom:-2px; white-space:nowrap; transition:all .2s; }
.tab-btn.active,.tab-btn:hover { color:var(--blue); opacity:1; border-color:var(--blue); }
/* Mobile service selector */
.services-select-wrap { display:none; margin:28px 0 0; }
.services-select {
  width:100%; padding:13px 16px;
  font-family:'Open Sans',sans-serif; font-size:14px; font-weight:600; color:var(--blue);
  background:var(--light-gray); border:2px solid var(--blue); border-radius:8px;
  appearance:none; -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231B2672' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center;
  cursor:pointer; outline:none;
}
.services-select:focus { border-color:var(--green); }
.services-content { margin-top:38px; }
.service-panel { display:none; }
.service-panel.active { display:grid; grid-template-columns:1fr 1fr; gap:52px; align-items:start; }
.sp-title { font-family:'M PLUS Rounded 1c',sans-serif; font-size:26px; font-weight:800; color:var(--navy); margin-bottom:12px; }
.sp-desc { font-size:14.5px; line-height:1.78; color:var(--prec-gray); font-weight:300; margin-bottom:24px; opacity:.84; }
.service-list { list-style:none; display:flex; flex-direction:column; gap:8px; }
.service-list li { display:flex; align-items:center; gap:11px; font-size:13px; font-weight:600; color:var(--prec-gray); padding:10px 14px; background:var(--light-gray); border-radius:5px; border-left:3px solid var(--green); transition:all .2s; }
.service-list li:hover { background:rgba(44,175,71,0.06); border-color:var(--blue); }
.sp-visual { background:var(--navy); border-radius:10px; padding:36px 32px; color:white; min-height:300px; display:flex; flex-direction:column; justify-content:center; position:relative; overflow:hidden; }
.sp-visual::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(27,38,114,0.5) 0%,transparent 55%); pointer-events:none; }
.sp-tag { font-size:10px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:var(--green); margin-bottom:16px; position:relative; }
.sp-num { font-family:'M PLUS Rounded 1c',sans-serif; font-size:78px; font-weight:900; line-height:.88; color:rgba(255,255,255,0.05); position:absolute; right:22px; bottom:16px; pointer-events:none; }
.sp-highlights { display:flex; flex-direction:column; gap:15px; position:relative; }
.sh-item { display:flex; align-items:flex-start; gap:12px; }
.sh-dot { width:7px; height:7px; border-radius:50%; background:var(--green); flex-shrink:0; margin-top:6px; }
.sh-text h5 { font-size:13.5px; font-weight:700; color:white; margin-bottom:2px; }
.sh-text p  { font-size:12.5px; color:rgba(244,246,251,0.48); font-weight:300; }

/* ── PROJECTS ── */
#projects { background:var(--light-gray); }
.projects-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:16px; margin-top:54px; }
.project-card { background:white; border-radius:9px; padding:24px 22px; border:1px solid var(--border); transition:all .3s; position:relative; overflow:hidden; }
.project-card:hover { box-shadow:var(--shadow); transform:translateY(-3px); }
.project-card::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--green); transition:background .3s; }
.project-card:hover::before { background:var(--blue); }
.proj-client { font-size:9.5px; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; color:var(--teal); margin-bottom:6px; }
.proj-title { font-family:'M PLUS Rounded 1c',sans-serif; font-size:16px; font-weight:700; color:var(--navy); line-height:1.35; margin-bottom:9px; }
.proj-desc { font-size:12.5px; line-height:1.68; color:var(--prec-gray); font-weight:300; opacity:.78; }

/* ── WHY ── */
#why { background:white; }
.why-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:72px; align-items:start; margin-top:58px; }
.why-advantages { display:flex; flex-direction:column; gap:16px; }
.adv-item { display:grid; grid-template-columns:44px 1fr; gap:14px; padding:18px 20px; border-radius:8px; border:1px solid var(--border); transition:all .25s; }
.adv-item:hover { border-color:rgba(44,175,71,0.38); box-shadow:0 4px 18px rgba(44,175,71,0.07); }
.adv-num { font-family:'M PLUS Rounded 1c',sans-serif; font-size:24px; font-weight:900; color:var(--blue); line-height:1; }
.adv-body h4 { font-size:14px; font-weight:700; color:var(--navy); margin-bottom:4px; }
.adv-body p  { font-size:12.5px; line-height:1.65; color:var(--prec-gray); font-weight:300; opacity:.8; }
.why-summary { position:sticky; top:90px; background:var(--navy); border-radius:10px; padding:44px 36px; overflow:hidden; }
.why-summary::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--green),var(--teal)); }
.why-summary h3 { font-family:'M PLUS Rounded 1c',sans-serif; font-size:24px; font-weight:800; color:white; margin-bottom:16px; }
.why-summary p { font-size:14px; line-height:1.78; color:rgba(244,246,251,0.58); font-weight:300; margin-bottom:26px; }
.cert-lbl { font-size:9.5px; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; color:rgba(244,246,251,0.28); margin-bottom:11px; }
.cert-badges { display:flex; flex-wrap:wrap; gap:8px; }
.cert-badge { background:rgba(44,175,71,0.12); border:1px solid rgba(44,175,71,0.3); border-radius:4px; padding:5px 10px; font-size:10.5px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--green); }

/* ── CONTACT ── */
#contact { background:var(--navy); }
#contact .section-label { color:var(--green); }
#contact .section-title { color:white; }
#contact .section-lead { color:rgba(244,246,251,0.48); }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; margin-top:58px; align-items:start; }
.contact-info { display:flex; flex-direction:column; gap:18px; }
.contact-item { display:flex; align-items:flex-start; gap:15px; padding:18px 20px; background:rgba(244,246,251,0.04); border-radius:8px; border:1px solid rgba(244,246,251,0.07); transition:background .2s; }
.contact-item:hover { background:rgba(244,246,251,0.07); }
.c-icon { width:40px; height:40px; border-radius:7px; background:rgba(44,175,71,0.17); flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:16px; }
.contact-item h5 { font-size:9.5px; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; color:var(--green); margin-bottom:4px; }
.contact-item p,.contact-item a { font-size:13.5px; color:rgba(244,246,251,0.72); font-weight:300; text-decoration:none; line-height:1.55; }
.contact-item a:hover { color:var(--green); }
.contact-form { display:flex; flex-direction:column; gap:14px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group label { font-size:9.5px; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; color:rgba(244,246,251,0.42); }
.form-group input,.form-group textarea,.form-group select { background:rgba(244,246,251,0.06); border:1px solid rgba(244,246,251,0.11); border-radius:5px; padding:11px 14px; font-family:'Open Sans',sans-serif; font-size:13.5px; color:white; outline:none; resize:none; transition:border-color .2s; }
.form-group input::placeholder,.form-group textarea::placeholder { color:rgba(244,246,251,0.2); }
.form-group input:focus,.form-group textarea:focus,.form-group select:focus { border-color:var(--green); }
.form-group select option { background:var(--navy); color:white; }
.form-group textarea { min-height:106px; }
.form-submit { background:var(--green); color:white; border:none; cursor:pointer; padding:14px 32px; border-radius:5px; font-family:'Open Sans',sans-serif; font-size:12.5px; font-weight:700; letter-spacing:2px; text-transform:uppercase; transition:all .25s; align-self:flex-start; }
.form-submit:hover { opacity:.87; transform:translateY(-2px); box-shadow:0 8px 22px rgba(44,175,71,0.36); }

/* ── FOOTER ── */
footer { background:#0d0f28; padding:38px 5vw; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px; border-top:1px solid rgba(244,246,251,0.06); }
.footer-logo { height:26px; width:auto; filter:brightness(0) invert(1); opacity:.65; }
.footer-copy-parent { display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 8px; }
.footer-copy { font-size:11.5px; color:rgba(244,246,251,0.26); }
.footer-links { display:flex; gap:20px; }
.footer-links a { font-size:11.5px; color:rgba(244,246,251,0.28); text-decoration:none; transition:color .2s; }
.footer-links a:hover { color:var(--green); }

/* ── REVEAL ── */
.reveal { opacity:0; transform:translateY(24px); transition:opacity .7s ease,transform .7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ============================================================
   CAREER PAGE
   ============================================================ */
/* Compact hero used on the career page so it sits below the fixed nav */
.page-hero {
  background:var(--navy); position:relative; overflow:hidden;
  padding:150px 5vw 80px;
}
.page-hero .hero-grid { background-size:56px 56px; }
.page-hero-content { position:relative; z-index:2; max-width:760px; }
.page-hero .hero-eyebrow { margin-bottom:22px; }
.page-hero h1 {
  font-family:'M PLUS Rounded 1c',sans-serif;
  font-size:clamp(38px,6.5vw,68px); font-weight:900; line-height:.96;
  color:white; letter-spacing:-1px; margin-bottom:20px;
}
.page-hero h1 .t-green { color:var(--green); }
.page-hero p { font-size:15.5px; line-height:1.76; color:rgba(244,246,251,0.58); font-weight:300; max-width:580px; }

#careers { background:var(--light-gray); }
.careers-count {
  display:inline-flex; align-items:center; gap:8px;
  font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase;
  color:var(--teal); margin-bottom:30px;
}
.careers-count strong { color:var(--blue); }

.vacancy-list { display:flex; flex-direction:column; gap:14px; }
.vacancy {
  background:white; border:1px solid var(--border); border-radius:10px;
  overflow:hidden; transition:box-shadow .3s, transform .3s;
  position:relative;
}
.vacancy::before {
  content:''; position:absolute; left:0; top:0; bottom:0; width:3px;
  background:var(--green); transition:background .3s;
}
.vacancy:hover { box-shadow:var(--shadow); }
.vacancy.open::before { background:var(--blue); }

.vacancy-head {
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:24px 28px; cursor:pointer; user-select:none;
}
.vacancy-head-main { flex:1; min-width:0; }
.vacancy-title {
  font-family:'M PLUS Rounded 1c',sans-serif; font-size:19px; font-weight:800;
  color:var(--navy); line-height:1.3; margin-bottom:10px;
}
.vacancy-meta { display:flex; flex-wrap:wrap; gap:8px; }
.v-badge {
  display:inline-flex; align-items:center; gap:6px;
  background:rgba(27,38,114,0.05); border:1px solid rgba(27,38,114,0.12); border-radius:5px;
  padding:5px 11px; font-size:11.5px; font-weight:600; color:var(--blue);
}
.v-badge.dept   { color:var(--teal); border-color:rgba(10,114,101,0.22); background:rgba(10,114,101,0.06); }
.v-badge.type   { color:var(--green); border-color:rgba(44,175,71,0.3); background:rgba(44,175,71,0.08); }
.vacancy-dates {
  display:flex; flex-direction:column; gap:6px; text-align:right; flex-shrink:0;
}
.v-date-item { font-size:11px; color:var(--prec-gray); opacity:.72; white-space:nowrap; }
.v-date-item span { display:block; font-size:9px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--green); opacity:1; margin-bottom:1px; }
.vacancy-toggle {
  width:34px; height:34px; border-radius:50%; flex-shrink:0;
  border:1.5px solid var(--border); display:flex; align-items:center; justify-content:center;
  color:var(--blue); transition:all .25s; font-size:18px; line-height:1;
}
.vacancy.open .vacancy-toggle { background:var(--blue); color:white; border-color:var(--blue); transform:rotate(45deg); }

.vacancy-body {
  max-height:0; overflow:hidden; transition:max-height .4s ease;
  border-top:1px solid transparent;
}
.vacancy.open .vacancy-body { border-top-color:var(--border); }
.vacancy-body-inner { padding:26px 28px 30px; }
/* Rich text from TinyMCE */
.vacancy-desc { font-size:14.5px; line-height:1.8; color:var(--prec-gray); font-weight:300; }
.vacancy-desc h1,.vacancy-desc h2,.vacancy-desc h3,.vacancy-desc h4 {
  font-family:'M PLUS Rounded 1c',sans-serif; color:var(--navy); margin:18px 0 8px; line-height:1.25;
}
.vacancy-desc h2 { font-size:20px; } .vacancy-desc h3 { font-size:17px; } .vacancy-desc h4 { font-size:15px; }
.vacancy-desc p { margin-bottom:12px; }
.vacancy-desc ul,.vacancy-desc ol { margin:0 0 14px 22px; }
.vacancy-desc li { margin-bottom:6px; }
.vacancy-desc a { color:var(--blue); text-decoration:underline; }
.vacancy-desc strong { font-weight:700; color:var(--navy); }
.vacancy-apply {
  display:inline-flex; align-items:center; gap:9px; margin-top:22px;
  background:var(--green); color:white; padding:12px 26px; border-radius:5px;
  font-weight:700; font-size:12px; letter-spacing:1.5px; text-transform:uppercase;
  text-decoration:none; transition:all .25s;
}
.vacancy-apply:hover { opacity:.87; transform:translateY(-2px); box-shadow:0 8px 22px rgba(44,175,71,0.36); }

.careers-empty {
  background:white; border:1px dashed var(--border); border-radius:12px;
  padding:64px 32px; text-align:center;
}
.careers-empty .ce-icon { font-size:44px; margin-bottom:16px; }
.careers-empty h3 { font-family:'M PLUS Rounded 1c',sans-serif; font-size:22px; font-weight:800; color:var(--navy); margin-bottom:10px; }
.careers-empty p { font-size:14.5px; line-height:1.7; color:var(--prec-gray); font-weight:300; opacity:.82; max-width:440px; margin:0 auto 22px; }

/* ── APPLICATION MODAL ── */
.apply-overlay {
  position:fixed; inset:0; z-index:2000; display:none;
  align-items:flex-start; justify-content:center;
  background:rgba(13,15,40,0.62); backdrop-filter:blur(4px);
  padding:40px 18px; overflow-y:auto;
}
.apply-overlay.open { display:flex; }
.apply-modal {
  background:white; border-radius:12px; width:100%; max-width:520px;
  padding:34px 32px 30px; position:relative;
  box-shadow:0 30px 70px rgba(13,15,40,0.4);
  animation:applyIn .28s ease both;
}
@keyframes applyIn { from{opacity:0;transform:translateY(18px) scale(.98)} to{opacity:1;transform:none} }
.apply-close {
  position:absolute; top:14px; right:16px; width:34px; height:34px; border-radius:50%;
  border:none; background:var(--light-gray); color:var(--prec-gray); font-size:22px; line-height:1;
  cursor:pointer; transition:all .2s;
}
.apply-close:hover { background:var(--blue); color:white; }
.apply-modal h3 {
  font-family:'M PLUS Rounded 1c',sans-serif; font-size:21px; font-weight:800;
  color:var(--navy); margin-bottom:6px; padding-right:34px; line-height:1.25;
}
.apply-sub { font-size:13px; color:var(--prec-gray); opacity:.7; margin-bottom:22px; }
.apply-form { display:flex; flex-direction:column; gap:15px; }
.apply-row { display:grid; grid-template-columns:1fr 1fr; gap:15px; }
.afg { display:flex; flex-direction:column; gap:6px; }
.afg label {
  font-size:10px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--blue);
}
.afg-hint { font-weight:500; letter-spacing:0; text-transform:none; color:#9ca3af; font-size:11px; }
.afg input, .afg textarea {
  width:100%; padding:11px 13px; border:1.5px solid var(--border); border-radius:7px;
  font-family:'Open Sans',sans-serif; font-size:14px; color:var(--prec-gray);
  outline:none; resize:vertical; transition:border-color .2s;
}
.afg input:focus, .afg textarea:focus { border-color:var(--green); }
.afg input[readonly] { background:var(--light-gray); color:var(--blue); font-weight:600; cursor:default; }
.afg input[type=file] { padding:9px 13px; font-size:13px; }
.afg input[type=file]::file-selector-button {
  border:none; background:var(--blue); color:white; padding:7px 14px; border-radius:5px;
  font-weight:700; font-size:12px; margin-right:12px; cursor:pointer; transition:background .2s;
}
.afg input[type=file]::file-selector-button:hover { background:var(--green); }
.apply-status { font-size:13px; font-weight:500; margin:2px 0; min-height:0; }
.apply-status.ok  { color:var(--teal); }
.apply-status.err { color:#c0392b; }
.apply-actions { display:flex; align-items:center; gap:12px; margin-top:6px; }
.apply-cancel {
  background:none; border:none; cursor:pointer; color:var(--prec-gray); opacity:.7;
  font-family:'Open Sans',sans-serif; font-size:12.5px; font-weight:600;
  letter-spacing:1px; text-transform:uppercase;
}
.apply-cancel:hover { opacity:1; color:var(--blue); }

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .about-grid,.mv-grid,.why-grid,.contact-grid,.service-panel.active{grid-template-columns:1fr;gap:32px;}
  .values-grid{grid-template-columns:1fr 1fr;}
  .hero-stats{flex-wrap:wrap;gap:22px;}
  .hero-stat{flex:none;min-width:110px;border-right:none;padding-right:0;}
  .form-row{grid-template-columns:1fr;}
  .why-summary{position:static;}
  nav .nav-links{display:none;}
  nav .nav-links.open{display:flex;flex-direction:column;position:absolute;top:72px;left:0;right:0;background:rgba(255,255,255,0.98);padding:16px 5vw;gap:16px;border-bottom:1px solid rgba(27,38,114,0.1);box-shadow:0 8px 20px rgba(27,38,114,0.08);}
  .hamburger{display:flex;}
  /* Hide tab bar, show dropdown */
  .services-tabs { display:none; }
  .services-select-wrap { display:block; }
  footer {flex-direction: column; gap: 32px;}
  /* Career: stack dates below the title on small screens */
  .vacancy-head { flex-wrap:wrap; }
  .vacancy-dates { flex-direction:row; gap:18px; text-align:left; width:100%; }
  .v-date-item span { display:inline; margin-right:5px; }
}
@media(max-width:600px){
  .values-grid,.projects-grid,.about-sectors{grid-template-columns:1fr;}
  .vacancy-toggle{ display:none; }
  .apply-row{ grid-template-columns:1fr; }
  .apply-modal{ padding:28px 22px 24px; }
}
