/* ============================================================
   ETOUCH SOLUTIONS — career.css
   Page-specific layer for career.html only.
   Loaded AFTER css/style.css. Reuses shared components — the
   centred eyebrow + rule, gradient text, dark CTA panel, buttons,
   scroll reveals and every design token. Nothing shared is
   redefined here.

   C1 Tokens · C2 Breadcrumb · C3 Hero · C4 Values bar
   C5 Job list · C6 Why-join panel · C7 Life gallery
   C8 CTA · C9 Responsive
============================================================ */

/* ------------------------------------------------------------
   C1 · PAGE TOKENS
------------------------------------------------------------ */
:root {
  --cr-mist: #FAFAF8;
}

/* ------------------------------------------------------------
   C2 · BREADCRUMB
------------------------------------------------------------ */
.cr-crumb { padding: .9rem 0 .2rem; }
.cr-crumb .breadcrumb { margin-bottom: 0; font-size: .74rem; font-weight: 500; }
.cr-crumb .breadcrumb-item a { color: var(--gray); }
.cr-crumb .breadcrumb-item a:hover { color: var(--green); }
.cr-crumb .breadcrumb-item.active { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------
   C3 · HERO
------------------------------------------------------------ */
.cr-hero {
  position: relative;
  background: linear-gradient(160deg, #FFFFFF 0%, var(--cr-mist) 45%, #EFF6F1 100%);
  padding: 20px 0 42px;
  overflow: hidden;
}

.cr-title {
  font-size: clamp(1.95rem, 4.2vw, 2.85rem);
  line-height: 1.16;
  font-weight: 800;
  color: #0E1B14;
  margin-bottom: .9rem;
}
.cr-title .t-grad { display: inline-block; }

.cr-lead { font-size: .84rem; color: var(--gray); line-height: 1.9; max-width: 380px; margin-bottom: 1.6rem; }

.cr-visual { position: relative; }
.cr-shot {
  position: relative;
  z-index: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cr-shot img { width: 100%; display: block; transition: transform .7s var(--ease); }
.cr-shot:hover img { transform: scale(1.03); }

/* Floating glass card over the team photo */
.cr-glass {
  position: absolute;
  right: 3%;
  bottom: 8%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .9rem;
  max-width: 300px;
  padding: 1.1rem 1.3rem;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, rgba(11, 58, 36, .9), rgba(4, 30, 18, .93));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 24px 44px rgba(0, 0, 0, .34);
}
.cr-glass-icons {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  color: var(--yellow);
  font-size: 1.15rem;
  flex: 0 0 auto;
}
.cr-glass-text { font-size: .92rem; font-weight: 700; line-height: 1.45; color: var(--white); margin: 0; }

/* ------------------------------------------------------------
   C4 · CORE VALUES BAR
   One white panel with five divided cells (matches reference).
------------------------------------------------------------ */
.cr-values {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 1.2rem 1rem;
  display: flex;
  flex-wrap: wrap;
}
.cr-value {
  flex: 1 1 0;
  min-width: 170px;
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .5rem 1rem;
  position: relative;
}
.cr-value + .cr-value::before {
  content: "";
  position: absolute; left: 0; top: 12%; bottom: 12%;
  width: 1px;
  background: var(--line);
}
.cr-value-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.05rem;
  flex: 0 0 auto;
  background: var(--green-light);
  color: var(--green-deep-2);
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.cr-value:nth-child(2n) .cr-value-ico { background: rgba(244, 180, 0, .16); color: #C98F00; }
.cr-value:hover .cr-value-ico { transform: translateY(-4px); background: var(--green); color: var(--white); }
.cr-value-name { font-size: .8rem; font-weight: 700; color: #0E1B14; margin-bottom: .15rem; }
.cr-value-text { font-size: .66rem; color: var(--gray); line-height: 1.6; margin: 0; }

/* ------------------------------------------------------------
   C5 · JOB LIST
------------------------------------------------------------ */
.cr-jobs {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: .5rem 1.3rem;
}

.cr-job {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem .4rem;
  border-top: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.cr-job:first-of-type { border-top: 0; }
.cr-job:hover {
  transform: translateY(-3px);
  background: var(--cr-mist);
  box-shadow: 0 16px 30px rgba(10, 174, 96, .12);
}

.cr-job-ico {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.25rem;
  flex: 0 0 auto;
  background: var(--green-light);
  color: var(--green-deep-2);
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.cr-job:nth-child(2n) .cr-job-ico { background: rgba(244, 180, 0, .16); color: #C98F00; }
.cr-job:hover .cr-job-ico { transform: scale(1.06); }

.cr-job-main { flex: 0 0 auto; width: 260px; }
.cr-job-title { font-size: .92rem; font-weight: 700; color: #0E1B14; margin-bottom: .2rem; }
.cr-job-meta { display: flex; align-items: center; gap: .45rem; font-size: .66rem; color: var(--gray); }
.cr-job-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--green); display: inline-block; }

.cr-job-desc { flex: 1; font-size: .74rem; color: var(--gray); line-height: 1.8; margin: 0; min-width: 180px; }

.cr-job-action { flex: 0 0 auto; }

/* ------------------------------------------------------------
   C6 · WHY-JOIN PANEL
------------------------------------------------------------ */
.cr-why {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem 1.5rem;
}
.cr-why-eyebrow {
  font-size: .62rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-deep-2);
  margin-bottom: .5rem;
}
.cr-why-title {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.32;
  font-weight: 700;
  color: #0E1B14;
  margin-bottom: 1.1rem;
}

.cr-benefit { text-align: center; padding: .3rem 0; }
.cr-benefit-ico {
  width: 48px; height: 48px;
  margin: 0 auto .6rem;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.15rem;
  background: rgba(10, 174, 96, .08);
  color: var(--green-deep-2);
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}
.cr-benefit:nth-child(2n) .cr-benefit-ico { color: #C98F00; }
.cr-benefit:hover .cr-benefit-ico { transform: translateY(-5px); background: var(--green); color: var(--white); }
.cr-benefit-name { font-size: .72rem; font-weight: 600; line-height: 1.45; color: #3B4A42; margin: 0; }

/* Vertical rule separating the heading column from the grid */
.cr-why-divider { border-left: 1px solid var(--line); }

/* ------------------------------------------------------------
   C7 · LIFE GALLERY
------------------------------------------------------------ */
.cr-life {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cr-life:hover, .cr-life:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, .2);
}
.cr-life img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cr-life:hover img, .cr-life:focus-visible img { transform: scale(1.08); }

.cr-life::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 22, 14, 0) 55%, rgba(4, 22, 14, .7) 100%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.cr-life:hover::after, .cr-life:focus-visible::after { opacity: 1; }

.cr-life-cap {
  position: absolute;
  left: .9rem; bottom: .8rem;
  z-index: 2;
  color: var(--white);
  font-size: .74rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.cr-life:hover .cr-life-cap, .cr-life:focus-visible .cr-life-cap { opacity: 1; transform: none; }

.cr-life-more { text-align: center; margin-top: 1.6rem; }

/* ------------------------------------------------------------
   C8 · CTA
   Uses the shared .cta-dark panel; only the scene art and the
   email line are page-specific.
------------------------------------------------------------ */
.cr-cta-art { width: 100%; max-width: 190px; display: block; margin: 0 auto; }

.cr-cta-mail {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .76rem;
  font-weight: 600;
  color: var(--yellow);
  text-decoration: none;
  margin-top: .7rem;
  transition: gap .3s var(--ease);
}
.cr-cta-mail:hover { gap: .65rem; color: var(--yellow); }

/* ------------------------------------------------------------
   C9 · RESPONSIVE
------------------------------------------------------------ */
@media (max-width: 1199.98px) {
  .cr-job-main { width: 210px; }
  .cr-glass { max-width: 250px; padding: .9rem 1rem; }
  .cr-glass-text { font-size: .82rem; }
}

@media (max-width: 991.98px) {
  .cr-hero { text-align: center; }
  .cr-lead { margin-left: auto; margin-right: auto; }
  .cr-visual { margin-top: 2rem; }
  .cr-glass { position: static; margin-top: 1rem; max-width: 100%; text-align: left; }

  .cr-value { flex: 1 1 46%; }
  .cr-value:nth-child(odd)::before { display: none; }

  /* Job rows stack into a card-like block */
  .cr-job { flex-wrap: wrap; gap: .8rem; }
  .cr-job-main { width: auto; flex: 1 1 auto; }
  .cr-job-desc { flex: 1 1 100%; order: 3; }
  .cr-job-action { order: 4; flex: 1 1 100%; }
  .cr-job-action .btn { width: 100%; justify-content: center; }

  .cr-why { text-align: center; }
  .cr-why-divider { border-left: 0; border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: .4rem; }
}

@media (max-width: 767.98px) {
  .cr-title { font-size: 1.85rem; }
  .cr-hero .btn { width: 100%; justify-content: center; }
  .cr-value { flex: 1 1 100%; }
  .cr-value + .cr-value::before { display: none; }
  .cr-jobs { padding: .4rem .9rem; }
  .cr-why { padding: 1.3rem 1rem; }
}

@media (max-width: 575.98px) {
  .cr-job-ico { width: 46px; height: 46px; font-size: 1.05rem; }
  .cr-life-cap { font-size: .68rem; }
}
