:root{
  --bg:var(--c-bg);
  --text:var(--c-text);
  --muted:var(--c-muted);
  --border:var(--c-border);
  --accent:var(--c-brand);
  --accent-2:var(--c-brand-hover);
  --radius:var(--r-xl);
  --shadow:var(--sh-2);
  --container:1200px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: var(--font-sans);
  background:var(--bg);
  color:var(--text);
}

.to-top{
  position:fixed;
  right:20px;
  bottom:20px;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:12px;
  background:var(--accent);
  color:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  z-index:80;
  box-shadow:0 8px 18px rgba(0,0,0,.16);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s ease, background-color .2s ease;
}

.to-top:hover{
  background:var(--accent-2);
}

.to-top.is-visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.to-top:focus-visible{
  outline:2px solid #fff;
  outline-offset:2px;
}

@media (max-width: 768px){
  .to-top{
    right:14px;
    bottom:14px;
  }
}

/* Header */
.header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  padding: 0;
}

body.mobile-menu-open{
  overflow:hidden;
}

/* Give header more room than regular page content container */
.header .container{
  max-width:1360px;
}

.header__inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:0;gap:10px;
  position:relative;
}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand__logo{height:34px;width:auto}

/* Primary nav */
.site-nav{
  margin-left:auto;
  margin-right:auto;
}

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

.site-nav__list > li{
  margin:0;
  padding:0;
}

.site-nav__list > li > a{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  padding:7px 10px;
  border-radius:0;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
  line-height:1;
  white-space:nowrap;
  position:relative;
  transition:color .18s ease;
}

.site-nav__list > li > a:hover,
.site-nav__list > li.current-menu-item > a,
.site-nav__list > li.current_page_item > a,
.site-nav__list > li.current-menu-ancestor > a{
  color:var(--text);
  background:transparent;
}

.site-nav__list > li > a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-9px;
  height:3px;
  background:var(--accent);
  opacity:0;
}

.site-nav__list > li.current-menu-item > a::after,
.site-nav__list > li.current_page_item > a::after,
.site-nav__list > li.current-menu-ancestor > a::after{
  opacity:1;
}

.site-nav__list .sub-menu{
  margin:0;
  padding:8px;
  list-style:none;
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  min-width:220px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  box-shadow:0 20px 40px rgba(0,0,0,.16);
  display:none;
}

.site-nav__list > li{
  position:relative;
}

.site-nav__list > li:hover > .sub-menu{
  display:block;
}

.site-nav__list .sub-menu li{
  margin:0;
  padding:0;
  list-style:none;
}

.site-nav__list .sub-menu a{
  display:block;
  padding:10px 12px;
  text-decoration:none;
  color:var(--text);
  border-radius:10px;
}

.site-nav__list .sub-menu a:hover{
  background:rgba(0,0,0,.06);
}

.header__actions{display:flex;align-items:center;gap:8px}

.header__actions .btn{
  height:36px;
  padding:0 12px;
  font-size:13px;
  white-space:nowrap;
}

/* Language dropdown */
.lang-dd{
  position:relative;
  display:inline-flex;
  align-items:center;
}

.lang-dd__btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:0 9px;
  border:0;
  background:#fff;
  border-radius:14px;
  cursor:pointer;
  box-shadow:none;
  transition:background .15s ease;
}

.lang-dd__btn:hover{
  border:0;
  box-shadow:none;
  background:#fff;
}

.lang-dd__flag img{
  display:block;
  width:22px;
  height:16px;
  object-fit:cover;
  border-radius:3px;
}

.lang-dd__chev{
  width:8px;
  height:8px;
  border-right:2px solid rgba(0,0,0,.55);
  border-bottom:2px solid rgba(0,0,0,.55);
  transform:rotate(45deg);
  transition:transform .18s ease;
}

.lang-dd.is-open .lang-dd__chev{
  transform:rotate(-135deg);
}

.lang-dd__menu{
  margin:0;
  padding:0;
  list-style:none;
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  min-width:62px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  box-shadow:0 20px 40px rgba(0,0,0,.16);
  display:none;
  z-index:60;
}

.lang-dd.is-open .lang-dd__menu{
  display:grid;
  gap:0;
}

.lang-dd__li{
  margin:0;
  padding:0;
  list-style:none;
}

.lang-dd__item{
  display:grid;
  place-items:center;
  width:100%;
  min-height:34px;
  border-radius:0;
  text-decoration:none;
}

.lang-dd__item:hover{
  background:rgba(0,0,0,.06);
}

.lang-dd__item.is-current{
  outline:none;
  background:rgba(0,0,0,.08);
}

.burger{
  display:none;
  width:40px;
  height:40px;
  border:0;
  border-radius:0;
  background:transparent;
  cursor:pointer;
  padding:0;
  place-items:center;
  gap:5px;
}
.burger span{
  display:block;
  height:2px;
  margin:0;
  background:var(--text);
  border-radius:2px;
}
.burger span:nth-child(1){width:20px}
.burger span:nth-child(2){width:16px}
.burger span:nth-child(3){width:20px}

/* Mobile menu */
.mobile{
  position:fixed;
  inset:0;
  z-index:120;
  background:rgba(255,255,255,.98);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-10px);
  transition:opacity .35s ease, transform .35s ease, visibility .35s ease;
}

.mobile.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}

.mobile__inner{
  width:100%;
  height:100dvh;
  padding:18px 22px 24px;
  display:flex;
  flex-direction:column;
  gap:18px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(225, 29, 47, 0.12), transparent 60%),
    #f8fafc;
}

.mobile__top{
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

.mobile__brand{
  display:inline-flex;
  text-decoration:none;
}

.mobile__brand-logo{
  height:40px;
  width:auto;
}

.mobile__close{
  width:44px;
  height:44px;
  border:0;
  border-radius:14px;
  background:transparent;
  position:absolute;
  right:0;
  top:0;
  cursor:pointer;
}

.mobile__close span{
  position:absolute;
  left:50%;
  top:50%;
  width:18px;
  height:2px;
  border-radius:2px;
  background:var(--text);
}

.mobile__close span:first-child{transform:translate(-50%, -50%) rotate(45deg)}
.mobile__close span:last-child{transform:translate(-50%, -50%) rotate(-45deg)}

.mobile-nav__list{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.mobile-nav__list li{
  margin:0;
  padding:0;
  list-style:none;
  opacity:0;
  transform:translateY(12px);
  transition:opacity .3s ease, transform .3s ease;
  text-align:center;
}

.mobile.is-open .mobile-nav__list li{
  opacity:1;
  transform:translateY(0);
}

.mobile.is-open .mobile-nav__list li:nth-child(1){transition-delay:.08s}
.mobile.is-open .mobile-nav__list li:nth-child(2){transition-delay:.12s}
.mobile.is-open .mobile-nav__list li:nth-child(3){transition-delay:.16s}
.mobile.is-open .mobile-nav__list li:nth-child(4){transition-delay:.2s}
.mobile.is-open .mobile-nav__list li:nth-child(5){transition-delay:.24s}
.mobile.is-open .mobile-nav__list li:nth-child(6){transition-delay:.28s}
.mobile.is-open .mobile-nav__list li:nth-child(7){transition-delay:.32s}
.mobile.is-open .mobile-nav__list li:nth-child(8){transition-delay:.36s}

.mobile-nav{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
}

.mobile-nav__list{
  width:100%;
  max-width:360px;
}

.mobile-nav__list a{
  display:inline-block;
  text-decoration:none;
  font-weight:600;
  color:var(--text);
  border:0;
  border-radius:0;
  padding:8px 0;
  font-size:clamp(22px, 6.3vw, 30px);
  line-height:1.2;
  text-align:center;
  background:transparent;
  box-shadow:none;
  position:relative;
  transition:color .2s ease;
  white-space:nowrap;
}

.mobile-nav__list a::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:0;
  height:2px;
  background:var(--accent);
  transition:width .24s ease, left .24s ease;
}

.mobile-nav__list a:hover{
  color:var(--text);
}

.mobile-nav__list > li.current-menu-item > a,
.mobile-nav__list > li.current_page_item > a,
.mobile-nav__list > li.current-menu-ancestor > a{
  color:var(--text);
}

.mobile-nav__list a:hover::after,
.mobile-nav__list > li.current-menu-item > a::after,
.mobile-nav__list > li.current_page_item > a::after,
.mobile-nav__list > li.current-menu-ancestor > a::after{
  left:50%;
  transform:translateX(-50%);
  width:100%;
}

.mobile__bottom{
  margin-top:auto;
  padding-top:16px;
  border-top:1px solid #dbe2ea;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  opacity:0;
  transform:translateY(10px);
  transition:opacity .35s ease .2s, transform .35s ease .2s;
}

.mobile.is-open .mobile__bottom{
  opacity:1;
  transform:translateY(0);
}

.mobile__contacts-title{
  color:var(--muted);
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.mobile__contact-link{
  text-decoration:none;
  color:var(--text);
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid #dbe2ea;
  background:#fff;
  line-height:1;
}

.mobile__contact-link:hover{
  color:var(--accent);
  border-color:#cbd5e1;
}

.mobile__company{
  margin-top:4px;
  color:var(--muted);
  font-size:12px;
  text-align:center;
}

.mobile__contact-icon{
  width:18px;
  height:18px;
  display:inline-grid;
  place-items:center;
  color:#475569;
}

.mobile__contact-icon svg{
  width:18px;
  height:18px;
}

@media (max-width: 1300px){
  .brand__logo{height:30px}

  .site-nav__list > li > a{
    padding:6px 8px;
    font-size:13px;
  }

  .header__actions .btn{
    height:34px;
    padding:0 10px;
    font-size:12px;
  }

  .lang-dd__btn{
    min-height:34px;
    padding:0 8px;
  }
}

/* Sections */
.section{padding:64px 0}
.hero{padding:64px 0 30px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:stretch;
}
.card{
  border:1px solid var(--border);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow);
  background:#fff;
  padding:var(--s-5);
}
.hero h1{
  margin:0 0 14px;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height:1.06;
}
.hero p{margin:0 0 20px;color:var(--muted);font-size:18px;line-height:1.6}
.hero__cta{display:flex;gap:10px;flex-wrap:wrap}
.badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.badge{
  border:1px solid var(--border);
  border-radius:999px;
  padding:6px 12px;
  color:var(--muted);
  font-weight:var(--fw-medium);
  font-size:var(--fs-2);
}

.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.h2{margin:0 0 18px;font-size:26px; text-transform: uppercase !important;}
.item{border:1px solid var(--border);border-radius:var(--radius);padding:18px;background:#fff}
.item__t{font-weight:700;margin:0 0 6px}
.item__p{margin:0;color:var(--muted);line-height:1.6}

.form{
  display:grid;
  gap:12px;
}
.field label{display:block;font-weight:700;margin:0 0 6px}
.field input,.field textarea{
  width:100%;
  border:1px solid var(--border);
  border-radius:var(--r-sm);
  padding:12px 12px;
  font:inherit;
}
.field textarea{min-height:120px;resize:vertical}
.help{color:var(--muted);font-size:14px}

.notice{
  border:1px solid var(--border);
  border-radius:var(--r-md);
  padding:12px 14px;
  background:rgba(0,0,0,.02);
  color:var(--muted);
}

/* Footer */
.footer{
  position:relative;
  border-top:1px solid #1f2937;
  padding:clamp(56px, 6vw, 76px) 0 22px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(215, 25, 32, .14), transparent 58%),
    linear-gradient(180deg, #171b22 0%, #0f131a 100%);
  color:#d6deea;
  font-size:var(--fs-2);
}

.footer a{
  color:inherit;
  text-decoration:none;
}

.footer a:hover{
  color:#ffffff;
}

.footer__top{
  display:grid;
  grid-template-columns:minmax(220px, 1.25fr) minmax(150px, .88fr) minmax(150px, .88fr) minmax(210px, 1fr) minmax(240px, 1.2fr);
  gap:30px;
  align-items:start;
}

.footer__col{min-width:0}

.footer__heading{
  margin:0 0 14px;
  font-size:clamp(20px, 1.8vw, 24px);
  line-height:1.1;
  font-weight:700;
  color:#f8fafc;
}

.footer__brand{
  display:inline-flex;
  align-items:center;
}

.footer__brand-logo{
  width:auto;
  height:42px;
}

.footer__brand-text{
  margin:16px 0 0;
  color:#aeb8c8;
  font-size:16px;
  line-height:1.68;
  max-width:32ch;
}

.footer__pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid #d71920;
  background:#d71920;
  color:#ffffff;
  font-size:14px;
  font-weight:600;
  line-height:1;
  transition:background-color .18s ease, border-color .18s ease, color .18s ease;
}

.footer__pill:hover{
  background:#b91319;
  border-color:#b91319;
  color:#ffffff;
}

.footer__pill--ghost{
  border-color:#334155;
  background:transparent;
  color:#dbe5f3;
}

.footer__pill--ghost:hover{
  border-color:#475569;
  background:rgba(255,255,255,.08);
  color:#ffffff;
}

.footer__menu{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}

.footer__menu li{margin:0;padding:0;list-style:none}

.footer__menu a{
  color:#b8c2d1;
  line-height:1.5;
  font-size:15px;
  transition:color .16s ease;
}

.footer__menu a:hover{
  color:#ffffff;
  text-decoration:underline;
  text-underline-offset:3px;
}

.footer__muted{
  color:#8f9aae;
  font-size:14px;
}

.footer__contacts{
  display:grid;
  gap:10px;
}

.footer__contact-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#c8d2e0;
  line-height:1.62;
}

.footer__contact-icon{
  width:18px;
  height:18px;
  flex:0 0 18px;
  margin-top:3px;
  color:#ef4444;
}

.footer__contact-icon svg{
  width:18px;
  height:18px;
}

.footer__contact-item a{
  color:#dbe5f3;
}

.footer__contact-text{
  color:#c8d2e0;
  word-break:break-word;
}

.footer__menu--posts{
  gap:8px;
}

.footer__menu--posts a{
  font-size:14px;
  line-height:1.45;
}

.footer__cta-row{
  margin-top:26px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}

.footer__meta{
  border-top:1px solid rgba(148,163,184,.28);
  margin-top:18px;
  padding-top:18px;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:20px;
}

.footer__company-line{
  color:#8b97aa;
  margin-top:4px;
  font-size:13px;
  line-height:1.45;
}
.footer__legal{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  gap:8px 18px;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
}

.footer__legal li{
  margin:0;
  padding:0;
  list-style:none;
}

.footer__legal a{
  color:#8b97aa;
  font-size:13px;
}

.footer__legal a:hover{
  color:#ffffff;
  text-decoration:underline;
}

.footer__copyright{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(148,163,184,.18);
  color:#738196;
  font-size:12px;
  text-align:left;
}

@media (max-width: 1280px){
  .footer__top{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .footer__brand-col{
    grid-column:1 / span 2;
  }

  .footer__updates{
    grid-column:1 / -1;
  }
}

/* Responsive */
@media (max-width: 980px){
  .header{
    padding-top:8px;
    padding-bottom:8px;
  }
  .header .container{
    padding-left:14px;
    padding-right:14px;
  }
  .header__inner{
    padding:0;
  }
  .site-nav{display:none}
  .burger{display:grid}
  .burger{
    width:36px;
    height:34px;
    gap:1px;
  }
  .burger span{
    height:4px;
  }
  .burger span:nth-child(1){width:24px}
  .burger span:nth-child(2){width:20px}
  .burger span:nth-child(3){width:24px}
  .brand{margin-left:0}
  .header__actions > .btn{display:none}
  .header__actions{
    margin-left:auto;
    min-width:84px;
    justify-content:flex-end;
  }
  .lang-dd{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
  }
  .lang-dd__btn{
    min-height:34px;
    background:transparent;
    padding:0 6px;
  }
  .hero__grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .footer__top{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
  }
  .footer__brand-col{
    grid-column:1 / -1;
  }
  .footer__meta{grid-template-columns:1fr}
  .footer__legal{
    justify-content:flex-start;
    align-items:center;
  }
}

@media (min-width: 981px){
  .header__inner{
    padding:6px 0 !important;
  }

  .mobile{display:none !important}
}

@media (max-width: 640px){
  .footer__top{grid-template-columns:1fr}
  .footer__heading{font-size:22px}
}

@media (min-width: 1024px){
  .container{padding:0 var(--s-5)}
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Shared inner-page hero look (like homepage hero grid overlay style) */
.contact-hero,
.about-hero,
.employers-hero,
.candidates-hero,
.blog-hero{
  position:relative;
  isolation:isolate;
  min-height:205px;
  display:flex;
  align-items:center;
  padding:0;
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(170, 22, 28, .36), transparent 58%),
    radial-gradient(70% 120% at 100% 100%, rgba(255, 255, 255, .12), transparent 62%),
    linear-gradient(130deg, #3a0a0d 0%, #191a1f 58%, #0f1012 100%);
}

.contact-hero::before,
.about-hero::before,
.employers-hero::before,
.candidates-hero::before,
.blog-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(145deg, rgba(215,25,32,.16), rgba(215,25,32,0) 44%);
  opacity:.85;
}

.contact-hero::after,
.about-hero::after,
.employers-hero::after,
.candidates-hero::after,
.blog-hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size:34px 34px, 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 34%, rgba(0,0,0,0) 84%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 34%, rgba(0,0,0,0) 84%);
  opacity:.95;
}

.contact-hero > .container,
.about-hero > .container,
.employers-hero > .container,
.candidates-hero > .container,
.blog-hero > .container{
  position:relative;
  z-index:1;
  min-height:205px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
}

.contact-hero__title,
.about-hero__title,
.employers-hero__title,
.candidates-hero__title,
.blog-hero .blog-header__title{
  margin:0;
  text-align:center;
  color:#fff;
}
