:root{
  --text:#111;
  --muted:#6f6f6f;
  --line:#dcdcdc;
  --shadow: 0 14px 30px rgba(0,0,0,.18);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }

body{
  font-family:"Outfit", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#fff;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

.container{
  width:min(1200px, 92%);
  margin:0 auto;
}

/* ===== HERO ===== */
.cr-hero{
  position:relative;
  min-height:420px;
  overflow:visible;
  padding-bottom:40px;
}

.cr-hero__bg{
  position:absolute;
  inset:0;
  background: url("../images/hero1-bg.jpg") center/cover no-repeat;
}

.cr-hero__top{
  position:relative;
  z-index:50;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  padding-top:18px;
}

.cr-logo img{
  width:170px;
  height:auto;
}

/* Desktop pill nav */
.cr-nav{
  position:absolute;
  left:50%;
  top:16px;
  transform:translateX(-50%);
  background:#fff;
  border-radius:10px;
  padding:12px 34px;
  display:flex;
  gap:40px;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  white-space:nowrap;
}

.cr-nav a{
  font-weight:500;
  font-size:15px;
  color:#222;
}

/* Hero content */
.cr-hero__content{
  position:relative;
  z-index:2;
  text-align:center;
  padding-top:84px;
}

.cr-hero__title{
  margin:0;
  font-family:"Oleo Script", cursive;
  font-size:58px;
  line-height:1.05;
  color:#e9f7ff;
  text-shadow: 0 2px 0 rgba(0,0,0,.18);
}

.cr-hero__sub{
  margin:14px auto 0;
  max-width:680px;
  font-size:12.5px;
  line-height:1.6;
  color: rgba(255,255,255,.70);
}

.cr-hero__center{
  width:110px;
  margin:22px auto 0;
}

/* ===== INTRO ===== */
.cr-intro{
  padding:46px 0 12px;
}

.cr-intro__grid{
  display:grid;
  grid-template-columns: 260px 260px 1fr;
  gap:34px;
  align-items:center;
}

.cr-intro__img{
  width:100%;
  aspect-ratio: 1 / 1;
  object-fit:cover;
  border-radius:4px;
}

.cr-intro__text{
  font-size:13px;
  color:#7a7a7a;
  line-height:1.6;
  max-width:420px;
}

/* ===== TABS ===== */
.cr-jobs{ padding:26px 0 72px; }

.cr-tabs{
  display:flex;
  gap:44px;
  align-items:flex-end;
  margin:8px 0 34px;
  border-bottom:1px solid var(--line);
  padding-bottom:8px;
}

.cr-tab{
  background:transparent;
  border:none;
  padding:0 0 8px;
  cursor:pointer;
  font-size:16px;
  color:#333;
  position:relative;
}

.cr-tab.is-active::after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:-9px;
  height:3px;
  background:#333;
  border-radius:999px;
}

/* ===== CARDS ===== */
.cr-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:46px;
}

.cr-card{
  border:1.5px solid #111;
  border-radius:18px;
  padding:34px 28px 26px;
  text-align:center;
  min-height:420px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.cr-card__title{
  margin:0;
  font-size:20px;
  font-weight:600;
}

.cr-card__desc{
  margin:18px auto 0;
  max-width:260px;
  font-size:12.5px;
  line-height:1.7;
  color:#666;
}

.cr-apply{
  margin:24px auto 0;
  border:1.5px solid #111;
  background:#fff;
  color:#111;
  padding:10px 22px;
  border-radius:999px;
  cursor:pointer;
  font-weight:600;
}
.cr-apply:active{ transform: scale(.98); }

/* ===== MODAL ===== */
.cr-modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:999;
  overflow:auto;
  padding:24px 0;
}
.cr-modal.is-open{ display:block; }

.cr-modal__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.35);
}

.cr-modal__panel{
  position:relative;
  width:min(1120px, 92%);
  margin:0 auto;
  background:#fff;
  border-radius:4px;
  box-shadow: var(--shadow);
  max-height: calc(100vh - 48px);
  overflow:auto;
}

.cr-modal__close{
  position:absolute;
  right:16px;
  top:14px;
  width:34px;
  height:34px;
  border:none;
  border-radius:50%;
  background:#111;
  color:#fff;
  font-size:22px;
  cursor:pointer;
  display:grid;
  place-items:center;
  line-height:1;
  z-index:5;
}

.cr-modal__grid{
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  min-height:unset;
}

.cr-modal__left{
  background:#dfe3f2;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.cr-modal__left img{
  width:92%;
  max-width:520px;
  height:auto;
}

.cr-modal__right{
  padding:38px 38px 26px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  overflow:visible;
}

.cr-form{ width:100%; max-width:520px; }

.cr-field{ margin-bottom:16px; }

.cr-field label{
  display:block;
  font-weight:600;
  margin-bottom:6px;
}

.cr-field input,
.cr-field select{
  width:100%;
  height:40px;
  border:1.5px solid #111;
  border-radius:3px;
  padding:0 12px;
  outline:none;
  background:#fff;
}

.cr-field input[type="file"]{
  height:auto;
  padding:9px 10px;
}

.cr-send{
  width:240px;
  height:40px;
  border:none;
  background:#000;
  color:#fff;
  border-radius:3px;
  display:block;
  margin:18px auto 0;
  cursor:pointer;
  font-weight:600;
}

body.modal-open{ overflow:hidden; }

/* ===== error text ===== */
.cr-error{
  color:red;
  font-size:12px;
  display:block;
  margin-top:4px;
  min-height:16px;
}

/* ===== FOOTER (same corrected style) ===== */
.footer{
  background:#2a2a2a;
  color:#d8d8d8;
  padding:34px 0 18px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:26px;
  align-items:start;
}

.footer-logo{
  width:170px;
  display:block;
  height:auto;
}

.footer-about{
  text-align:left;
}

.footer-desc{
  font-size:12px;
  line-height:1.5;
  max-width:260px;
  margin:14px 0 16px;
  color:#cfcfcf;
}

.footer-follow-title{
  font-weight:600;
  margin:10px 0 10px;
  color:#fff;
  font-size:18px;
}

.footer-social{
  display:flex;
  gap:10px;
  align-items:center;
}

.footer-social a{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  color:#d8d8d8;
  opacity:.9;
  text-decoration:none;
  transition: opacity .2s ease, transform .2s ease;
}

.footer-social a:hover{
  opacity:1;
  transform: translateY(-1px);
}

.footer-social svg{
  width:22px;
  height:22px;
}

.footer-grid .footer-col:not(.footer-about){
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.footer-grid .footer-col:not(.footer-about) .footer-head{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:10px;
}

.footer-grid .footer-col:not(.footer-about) .footer-icon{
  width:22px;
  height:22px;
  object-fit:contain;
  display:block;
  margin:0 auto;
}

.footer-grid .footer-col:not(.footer-about) .footer-title{
  margin:0;
  font-size:18px;
  font-weight:700;
  color:#fff;
}

.footer-grid .footer-col:not(.footer-about) .footer-links{
  list-style:none;
  padding:0;
  margin:0 auto;
  width:fit-content;
  text-align:left;
}

.footer-grid .footer-col:not(.footer-about) .footer-links li{
  margin:9px 0;
}

.footer-grid .footer-col:not(.footer-about) .footer-links a{
  text-decoration:none;
  color:#cfcfcf;
  font-size:12px;
}

.footer-grid .footer-col:not(.footer-about) .footer-text{
  width:fit-content;
  max-width:220px;
  margin:0 auto;
  font-size:12px;
  line-height:1.5;
  color:#cfcfcf;
  text-align:left;
}

.footer-bottom{
  text-align:center;
  padding-top:18px;
  margin-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
  color:#bdbdbd;
  font-size:12px;
}

/* ===== MOBILE HEADER (logo left + burger right) ===== */
.cr-burger{
  display:none;
  margin-left:auto;
  width:44px;
  height:44px;
  border:none;
  background:transparent;
  cursor:pointer;
  position:relative;
  z-index: 6;
}
.cr-burger span{
  display:block;
  width:26px;
  height:2px;
  background:#fff;
  margin:6px auto;
  border-radius:2px;
}

.cr-mobile{
  display:none;
  position:absolute;
  right:4%;
  top:64px;
  background:#fff;
  border-radius:16px;
  box-shadow:0 20px 40px rgba(0,0,0,.25);
  padding:16px 20px;
  min-width:200px;
  z-index:9999;
}

.cr-mobile a{
  display:block;
  padding: 12px 14px;
  font-weight:600;
  color:#111;
  border-radius: 10px;
}
.cr-mobile a:hover{ background:#f2f2f2; }
.cr-mobile.is-open{ display:block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px){
  .cr-intro__grid{ grid-template-columns: 1fr 1fr; }
  .cr-intro__text{ grid-column: 1 / -1; max-width:none; }
  .cr-grid{ grid-template-columns: repeat(2, 1fr); }
  .cr-modal__grid{ grid-template-columns: 1fr; }
  .cr-modal__left{ display:none; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px){
  .cr-logo img{ width: 140px; }
  .cr-nav{ display:none; }
  .cr-burger{ display:block; }
  .cr-hero__title{ font-size:44px; }
  .cr-tabs{ gap:18px; flex-wrap:wrap; }
  .cr-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-about{ text-align:center; }
}

@media (max-width: 760px){
  .cr-modal__panel{
    margin: 18px auto;
    max-height: calc(100vh - 36px);
    overflow: auto;
  }
  .cr-modal__grid{ grid-template-columns: 1fr; }
  .cr-modal__left{ padding: 18px; }
  .cr-modal__right{ padding: 22px 18px; }
}