/* ==========================================================================
   Careonix — design system (public site + admin dashboard)
   ========================================================================== */

:root {
  --ink:        #14202b;
  --ink-2:      #1c2e3d;
  --slate:      #5c6b78;
  --slate-soft: #8a97a2;
  --line:       #e2e8ee;
  --line-soft:  #eef2f6;
  --canvas:     #f5f7fa;
  --surface:    #ffffff;

  --teal:       #14776b;
  --teal-dark:  #0d5a50;
  --teal-soft:  #e2f3f0;
  --navy:       #1d3a5f;
  --navy-soft:  #e8eef8;
  --amber:      #c07f0f;
  --amber-soft: #fbf0dd;
  --red:        #c0392b;
  --red-soft:   #fbe9e7;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(20,32,43,.05), 0 10px 30px -16px rgba(20,32,43,.28);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--surface);
  line-height: 1.6; font-size: 15px; -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { margin: 0; font-weight: 660; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: var(--teal); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--slate); }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px; padding: 12px 24px;
  font-family: inherit; font-size: 14.5px; font-weight: 640; cursor: pointer;
  transition: background-color .15s ease, transform .1s ease, border-color .15s ease;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); }
.brand img.brand-logo-img { height: 46px; width: auto; }
.brand .logo-fallback {
  width: 38px; height: 38px; border-radius: 10px; color: #fff; display: grid; place-items: center;
  font-size: 14px; font-weight: 700; background: linear-gradient(150deg, var(--teal), var(--navy));
}
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--ink-2); font-weight: 560; font-size: 14.5px; }
.site-nav a:hover, .site-nav a.is-current { color: var(--teal); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn-primary { padding: 10px 20px; }
.phone-chip { display: flex; align-items: center; gap: 7px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.nav-burger { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--ink); }

/* ------------------------------------------------------------------- hero */
.hero-slider { position: relative; overflow: hidden; background: var(--ink); display: grid; touch-action: pan-y; }
.slide {
  grid-area: 1 / 1; position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden;
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s ease, visibility 0s; }
.slide-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.02); transition: transform 0s;
}
.slide.is-active .slide-bg { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02) translate3d(0,0,0); } to { transform: scale(1.14) translate3d(-1.5%,-1%,0); } }
.slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(15,25,35,.88) 10%, rgba(15,25,35,.45) 60%, rgba(15,25,35,.15));
}
.slide::after { /* floating glow */
  content: ""; position: absolute; z-index: 1; width: 380px; height: 380px; right: 8%; top: 14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,209,180,.28), transparent 70%); filter: blur(10px);
  animation: floatGlow 7s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes floatGlow { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px,30px) scale(1.2); } }
.slide .wrap { position: relative; z-index: 2; width: 100%; }
.slide-content { position: relative; z-index: 2; max-width: 620px; color: #fff; padding: 40px 0; }
.slide-content h1 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.15; }
.slide-content p { margin-top: 16px; font-size: 17px; color: #dbe4ee; max-width: 52ch; }
.slide-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.slide-tag {
  display: inline-block; margin-bottom: 14px; padding: 5px 14px; border-radius: 999px; font-size: 12.5px; letter-spacing: .08em;
  text-transform: uppercase; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px);
}
/* staggered entrance of slide text */
.slide .anim { opacity: 0; transform: translateY(28px); }
.slide.is-active .anim { animation: riseIn .8s cubic-bezier(.2,.7,.2,1) forwards; }
.slide.is-active .anim:nth-child(1) { animation-delay: .25s; }
.slide.is-active .anim:nth-child(2) { animation-delay: .4s; }
.slide.is-active .anim:nth-child(3) { animation-delay: .55s; }
.slide.is-active .anim:nth-child(4) { animation-delay: .7s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }

.slider-dots { position: absolute; z-index: 3; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: all .3s; }
.slider-dots button.is-active { background: #fff; width: 26px; border-radius: 5px; }
.slider-arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.12); color: #fff; font-size: 16px; cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(6px); transition: background .2s, transform .2s;
}
.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }
.slider-arrow:hover { background: rgba(255,255,255,.28); transform: translateY(-50%) scale(1.08); }
.slider-progress { position: absolute; z-index: 3; left: 0; bottom: 0; height: 4px; width: 100%; background: rgba(255,255,255,.12); }
.slider-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #4fd1b4, #7be0ff); }
.slider-progress.run span { animation: progress var(--slide-ms, 6000ms) linear forwards; }
.hero-slider.is-paused .slider-progress span, .hero-slider.is-paused .slide-bg { animation-play-state: paused; }
@keyframes progress { from { width: 0; } to { width: 100%; } }
.slider-counter { position: absolute; z-index: 3; left: 24px; bottom: 22px; color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .08em; }
.slider-counter small { opacity: .6; font-weight: 400; }
@media (prefers-reduced-motion: reduce) {
  .slide .anim, .slide-bg, .slide::after, .slider-progress span { animation: none !important; opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- trust bar */
.trust-strip { background: var(--navy); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; padding: 22px 0; }
.trust-item { display: flex; align-items: center; gap: 10px; color: #eaf0f8; font-size: 13.5px; font-weight: 560; }
.trust-item .dot { width: 8px; height: 8px; border-radius: 50%; background: #4fd1b8; flex-shrink: 0; }

/* ---------------------------------------------------------------- section */
section { padding: 76px 0; }
.section-head { max-width: 62ch; margin: 0 auto 42px; text-align: center; }
.eyebrow { display: inline-block; color: var(--teal); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 32px); }
.section-head p { color: var(--slate); font-size: 16px; margin-top: 12px; }
.alt-bg { background: var(--canvas); }

/* ---------------------------------------------------------------- about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { aspect-ratio: 4/3.3; object-fit: cover; width: 100%; }
.about-badge {
  position: absolute; left: 18px; bottom: 18px; background: #fff; border-radius: 12px; padding: 14px 18px;
  box-shadow: var(--shadow); text-align: center; min-width: 96px;
}
.about-badge strong { display: block; font-size: 26px; color: var(--teal); font-weight: 750; }
.about-badge span { font-size: 11.5px; color: var(--slate); }
.about-copy p { color: var(--slate); font-size: 15.5px; margin-top: 16px; line-height: 1.75; }

/* ------------------------------------------------------------------- services */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.service-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow .15s ease, transform .15s ease; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-icon { width: 50px; height: 50px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; }
.service-card h3 { font-size: 17px; }
.service-card p { color: var(--slate); font-size: 14px; margin-top: 8px; }

/* ------------------------------------------------------------------- pricing */
.pricing-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.pricing-tab {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); padding: 10px 20px;
  border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.pricing-tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pricing-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 20px; }
.pricing-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; display: flex; flex-direction: column;
  flex: 0 1 340px; min-width: 0; transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.pricing-card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); }
.pricing-category { color: var(--teal); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.pricing-note { max-width: 70ch; margin: 28px auto 0; text-align: center; color: var(--slate); font-size: 13.5px; }
.pricing-card.is-popular { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); position: relative; }
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 999px; letter-spacing: .03em;
}
.pricing-duration { color: var(--ink); font-weight: 650; font-size: 17px; }
.pricing-price { font-size: 38px; font-weight: 750; color: var(--ink); margin: 10px 0 4px; letter-spacing: -0.02em; }
.pricing-price span { font-size: 15px; font-weight: 600; color: var(--slate-soft); }
.pricing-features { list-style: none; padding: 0; margin: 20px 0 26px; text-align: left; flex: 1; }
.pricing-features { border-top: 1px solid var(--line-soft); padding-top: 14px !important; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.pricing-features li::before { content: "\2713"; color: var(--teal); font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.pricing-empty { text-align: center; color: var(--slate); padding: 30px; grid-column: 1 / -1; }

/* --------------------------------------------------------------- testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.stars { color: #e6a817; font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.testimonial-who { margin-top: 16px; display: flex; align-items: center; gap: 11px; }
.testimonial-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--navy-soft); color: var(--navy);
  display: grid; place-items: center; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.testimonial-who strong { display: block; font-size: 14px; }
.testimonial-who span { font-size: 12.5px; color: var(--slate); }

/* -------------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list .ci-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--teal-soft); color: var(--teal);
  display: grid; place-items: center; flex-shrink: 0; font-size: 16px;
}
.contact-list strong { display: block; font-size: 12.5px; color: var(--slate); font-weight: 600; }
.contact-list span, .contact-list a { font-size: 15px; color: var(--ink); font-weight: 560; }
.phone-links { display: flex; flex-direction: column; gap: 2px; }
.phone-links a { display: block; }
.contact-form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }

/* ------------------------------------------------------------------------ forms */
.form-row { margin-bottom: 15px; }
.form-row label { display: block; font-size: 12.5px; font-weight: 640; color: var(--ink-2); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font-family: inherit; font-size: 14.5px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px;
  transition: border-color .12s ease, box-shadow .12s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
textarea { resize: vertical; min-height: 90px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-hint { font-size: 12px; color: var(--slate-soft); margin-top: 4px; }
.form-error { background: var(--red-soft); border: 1px solid #f3ccc6; color: #a5311f; padding: 10px 13px; border-radius: var(--radius-sm); font-size: 13.5px; margin-bottom: 14px; }
.form-success { background: var(--teal-soft); border: 1px solid #bfe3dd; color: var(--teal-dark); padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; }

/* -------------------------------------------------------------------- modals */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(14,22,30,.55); display: none; align-items: center;
  justify-content: center; padding: 20px; z-index: 200; overflow-y: auto;
}
.modal-overlay.is-open { display: flex; }
.modal-box {
  background: #fff; border-radius: 16px; width: 100%; max-width: 440px; padding: 28px 26px 24px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.5); animation: modal-in .16s ease-out; position: relative;
  max-height: calc(100vh - 40px); overflow-y: auto;
}
@keyframes modal-in { from { transform: translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close { position: absolute; top: 14px; right: 14px; background: var(--line-soft); border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 15px; color: var(--slate); }
.modal-close:hover { background: var(--line); }
.modal-box h3 { font-size: 19px; margin-bottom: 4px; }
.modal-box .muted { font-size: 13.5px; }
.plan-summary {
  background: var(--teal-soft); border: 1px solid #bfe3dd; border-radius: 11px; padding: 13px 15px;
  margin: 16px 0 18px; font-size: 13.5px; color: var(--teal-dark);
}
.plan-summary strong { display: block; font-size: 14.5px; margin-bottom: 2px; }

/* -------------------------------------------------------------------- vision */
.vision-band { background: radial-gradient(700px 380px at 0% 0%, rgba(20,119,107,.45), transparent 60%), var(--navy); color: #e6edf5; }
.vision-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.vision-band .eyebrow { color: #7fe0c9; }
.vision-head h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; color: #fff; }
.vision-copy p.vision-quote { margin-top: 22px; padding: 16px 20px; border-left: 3px solid #4fd1b4; background: rgba(255,255,255,.06); border-radius: 0 10px 10px 0; font-size: 17.5px; line-height: 1.55; color: #fff; font-weight: 600; }
.vision-head .vision-sign { margin-top: 18px; }
.vision-copy p { font-size: 15.5px; line-height: 1.8; color: #cfdae6; }
.vision-copy p + p { margin-top: 14px; }
.vision-sign { color: #7fe0c9 !important; font-weight: 650; letter-spacing: .01em; }

/* ---------------------------------------------------------------------- team */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease; }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-photo { aspect-ratio: 4 / 4.2; background: var(--line-soft); overflow: hidden; display: grid; place-items: center; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.team-initials { font-size: 44px; font-weight: 750; color: var(--teal); }
.team-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.team-body h3 { font-size: 18px; }
.team-role { color: var(--teal); font-weight: 650; font-size: 13.5px; margin-top: 2px; }
.team-body p { color: var(--slate); font-size: 14px; line-height: 1.7; margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.team-more { margin-top: 10px; font-weight: 650; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.team-body .team-emails { margin-top: auto; }
.team-body .team-more + .team-emails { margin-top: 16px; }
.team-emails { list-style: none; padding: 14px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 6px; }
.team-emails li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; }
.team-emails i { color: var(--slate-soft); font-size: 12px; width: 14px; }
.team-emails a { color: var(--ink-2); font-weight: 560; word-break: break-all; }
.team-emails a:hover { color: var(--teal); }

/* -------------------------------------------------------------------- careers */
.careers-intro { max-width: 72ch; margin: -18px auto 36px; text-align: center; color: var(--slate); font-size: 15.5px; }
.careers-subhead { text-align: center; font-size: 20px; margin-bottom: 20px; }
.why-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-bottom: 36px; }
.why-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.why-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; font-size: 16px; margin-bottom: 12px; }
.why-card h4 { font-size: 15px; line-height: 1.35; }
.why-card p { color: var(--slate); font-size: 13.5px; margin-top: 6px; line-height: 1.6; }
.careers-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.careers-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.careers-panel h3 { font-size: 18px; }
.careers-panel > .muted { margin-top: 6px; font-size: 14px; }
.role-list { list-style: none; padding: 0; margin: 14px 0 0; }
.role-list li { padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--slate); line-height: 1.6; }
.role-list li:last-child { border-bottom: none; }
.role-list strong { display: block; color: var(--ink); font-size: 14.5px; }
.check-list { list-style: none; padding: 0; margin: 14px 0 0; }
.check-list li { display: flex; gap: 10px; padding: 8px 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.check-list li::before { content: "\2713"; color: var(--teal); font-weight: 800; flex-shrink: 0; }
.careers-fine { margin-top: 14px; font-size: 13px; color: var(--slate); font-style: italic; }
.apply-card { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; background: linear-gradient(120deg, var(--teal), #0d5a50); color: #e3f3ef; border-radius: var(--radius); padding: 34px 36px; }
.apply-card .eyebrow { color: #bdf0e3; }
.apply-card h3 { color: #fff; font-size: 22px; line-height: 1.3; }
.apply-card p { margin-top: 12px; font-size: 15px; line-height: 1.7; }
.apply-how strong { color: #fff; }
.apply-action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.apply-card .btn-primary { background: #fff; color: var(--teal-dark); }
.apply-card .btn-primary:hover { background: #eef7f5; }
.apply-email { color: #fff; font-weight: 650; font-size: 16px; }
.apply-sign { font-size: 12.5px; color: #bfe6dc; }

/* ------------------------------------------------------------- shared helpers */
.btn-outline-dark { background: #fff; border-color: var(--teal); color: var(--teal); }
.btn-outline-dark:hover { background: var(--teal-soft); }
.section-more { text-align: center; margin-top: 32px; }
.about-more { margin-top: 24px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.cta-band .cta-actions .btn-primary { margin-top: 0; }

/* ================================================================ ABOUT PAGE */
.page-hero { position: relative; overflow: hidden; color: #e3ecf4; padding: 70px 0 64px;
  background: radial-gradient(760px 420px at 100% 0%, rgba(79,209,180,.25), transparent 60%),
              radial-gradient(600px 380px at 0% 100%, rgba(20,119,107,.45), transparent 60%), var(--ink); }
.page-hero .wrap { position: relative; }
.crumbs { font-size: 13px; color: #9fb0c0; margin-bottom: 18px; display: flex; gap: 8px; align-items: center; }
.crumbs a { color: #c9d6e2; }
.crumbs a:hover { color: #fff; }
.page-hero .eyebrow { color: #7fe0c9; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.12; color: #fff; max-width: 18ch; }
.page-hero > .wrap > p { margin-top: 18px; font-size: 17.5px; line-height: 1.7; max-width: 62ch; color: #cfdbe6; }
.page-hero-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.hero-facts li { background: rgba(15,25,35,.55); padding: 18px 20px; backdrop-filter: blur(6px); }
.hero-facts strong { display: block; color: #fff; font-size: 16px; }
.hero-facts span { font-size: 13px; color: #9fb0c0; }

.promise-chip { margin-top: 26px; display: flex; gap: 14px; align-items: center; background: var(--teal-soft); border: 1px solid #bfe3dd; border-radius: 12px; padding: 14px 18px; color: var(--teal-dark); }
.promise-chip i { font-size: 24px; }
.promise-chip strong { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.promise-chip div { font-size: 16px; font-weight: 650; }

.approach-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; counter-reset: none; }
.approach-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; position: relative; }
.approach-steps li::after { content: ""; position: absolute; top: 38px; right: -17px; width: 18px; height: 2px; background: var(--line); }
.approach-steps li:last-child::after { display: none; }
.step-no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 750; font-size: 14px; margin-bottom: 14px; }
.approach-steps h3 { font-size: 15.5px; line-height: 1.35; }
.approach-steps p { color: var(--slate); font-size: 13.5px; margin-top: 8px; line-height: 1.6; }

.provide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.provide-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.provide-head { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.provide-head .service-icon { margin-bottom: 0; flex-shrink: 0; }
.provide-head h3 { font-size: 19px; }
.provide-head span { font-size: 13px; color: var(--teal); font-weight: 650; }
.provide-note { margin-top: 18px; background: var(--amber-soft); border: 1px solid #efdcb7; color: #6f4a0a; border-radius: 10px; padding: 12px 14px; font-size: 13.5px; line-height: 1.6; }

.safety-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.safety-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.safety-item i { width: 42px; height: 42px; border-radius: 11px; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; font-size: 17px; margin-bottom: 12px; }
.safety-item p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.coord-box { margin-top: 22px; display: flex; gap: 18px; align-items: flex-start; background: var(--navy); color: #d8e3ee; border-radius: var(--radius); padding: 26px 28px; }
.coord-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.12); color: #7fe0c9; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.coord-box h3 { color: #fff; font-size: 18px; }
.coord-box p { margin-top: 6px; font-size: 15px; line-height: 1.7; }

/* team profiles (in depth) */
.profile-list { display: flex; flex-direction: column; gap: 28px; }
.profile { display: grid; grid-template-columns: 340px 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.profile.is-flipped { grid-template-columns: 1fr 340px; }
.profile.is-flipped .profile-photo { order: 2; }
.profile-photo { position: relative; background: var(--line-soft); min-height: 100%; display: grid; place-items: center; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; position: absolute; inset: 0; }
.profile-badge { position: absolute; left: 16px; bottom: 16px; background: rgba(20,32,43,.82); color: #fff; font-size: 12px; font-weight: 650; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
.profile-body { padding: 34px 36px; position: relative; }
.profile-index { position: absolute; top: 22px; right: 28px; font-size: 44px; font-weight: 800; color: var(--line-soft); line-height: 1; }
.profile-body h3 { font-size: 26px; }
.profile-body .team-role { font-size: 14.5px; margin-top: 4px; }
.profile-bio { margin: 20px 0 0; padding: 0 0 0 18px; border-left: 3px solid var(--teal); color: var(--ink-2); font-size: 15.5px; line-height: 1.8; }
.profile-block { margin-top: 22px; }
.profile-block h4 { font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; }
.focus-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.focus-chips li { background: var(--teal-soft); color: var(--teal-dark); border: 1px solid #bfe3dd; border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 600; }
.profile-emails { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.profile-emails li { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 14px; flex-wrap: wrap; }
.profile-emails i { color: var(--teal); font-size: 13px; }
.profile-emails a { color: var(--ink); font-weight: 600; word-break: break-all; }
.profile-emails a:hover { color: var(--teal); }
.profile-emails span { margin-left: auto; font-size: 11.5px; color: var(--slate); background: var(--line-soft); border-radius: 999px; padding: 2px 9px; }

.ops-table-wrap { margin-top: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.ops-table-wrap h3 { font-size: 18px; margin-bottom: 14px; }
.ops-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ops-table th { text-align: left; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--slate); padding: 0 12px 10px; border-bottom: 1px solid var(--line); }
.ops-table td { padding: 14px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--ink-2); }
.ops-table tr:last-child td { border-bottom: none; }

/* ================================================================ TEAM PAGE */
.team-card-link { color: inherit; }
.team-card-link .team-body { padding-bottom: 20px; }
.team-card-link:hover h3 { color: var(--teal); }
.team-card-link .team-more { color: var(--teal); }
.team-jump { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.team-jump a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; transition: background .2s, transform .2s; }
.team-jump a:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.jump-photo { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: rgba(255,255,255,.15); border: 2px solid rgba(127,224,201,.6); }
.jump-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.jump-text strong { display: block; font-size: 15px; }
.jump-text small { font-size: 12.5px; color: #9fb0c0; }
.desk-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.desk-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; color: inherit; transition: box-shadow .15s, transform .15s, border-color .15s; }
.desk-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--teal); }
.desk-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; font-size: 18px; margin-bottom: 14px; }
.desk-card h3 { font-size: 16px; }
.desk-card p { color: var(--slate); font-size: 13.5px; line-height: 1.6; margin-top: 6px; flex: 1; }
.desk-email { margin-top: 14px; font-weight: 700; color: var(--teal); font-size: 14.5px; word-break: break-all; }
.desk-owner { font-size: 12px; color: var(--slate-soft); margin-top: 2px; }
.team-flow + .ops-table-wrap { margin-top: 36px; }

/* ============================================================ SERVICES / PRICING PAGES */
.shift-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.shift-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow .15s, transform .15s; }
.shift-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.shift-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }
.shift-card h3 { font-size: 18px; }
.shift-card p { color: var(--slate); font-size: 14px; line-height: 1.65; margin-top: 8px; }
.shift-card ul { list-style: none; padding: 14px 0 0; margin: 14px 0 0; border-top: 1px solid var(--line-soft); }
.shift-card li { font-size: 13.5px; font-weight: 600; color: var(--teal-dark); padding: 3px 0; }
.shift-card li::before { content: "\2713"; margin-right: 8px; color: var(--teal); }
.approach-steps.steps-4 { grid-template-columns: repeat(4,1fr); }

/* ---------------------------------------------------------------------- CTA band */
.cta-band { background: linear-gradient(120deg, var(--teal), #0d5a50); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(22px,3vw,30px); color: #fff; }
.cta-band p { color: #d7ece8; margin-top: 12px; font-size: 16px; }
.cta-band .btn-primary { background: #fff; color: var(--teal-dark); margin-top: 24px; }
.cta-band .btn-primary:hover { background: #eef7f5; }

/* ---------------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #a9b6c2; padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-size: 14.5px; margin-bottom: 16px; }
.footer-grid p { font-size: 13.5px; line-height: 1.7; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #a9b6c2; font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.footer-brand img.brand-logo-img {
  height: 34px; width: auto; background: #fff; padding: 7px 11px; border-radius: 9px;
}
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.social-link {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: transform .25s, background .25s, color .25s;
}
.social-link svg { width: 18px; height: 18px; display: block; fill: currentColor; }
.social-link:hover { transform: translateY(-4px); background: #4fd1b4; color: var(--ink); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #8fd9c9; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-sep { opacity: .35; }

/* ---------------------------------------------------------------------- toasts */
.toast-stack { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 300; }
.toast { background: var(--ink); color: #fff; padding: 12px 17px; border-radius: 9px; font-size: 13.5px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); border-left: 3px solid var(--teal); max-width: 320px; animation: toast-in .18s ease-out; }
.toast.is-error { border-left-color: var(--red); }
@keyframes toast-in { from { transform: translateX(12px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------------------------------------------------------------------- floating quick actions */
.float-actions { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 90; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 22px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); border: none; cursor: pointer; }
.float-btn.whatsapp { background: #25d366; }
.float-btn.call { background: var(--teal); }

/* ============================================================ ADMIN ============================================================ */
.admin-body { background: var(--canvas); }
/* outline buttons sit on white cards in the admin — give them visible ink (they were white-on-white) */
.admin-body .btn-outline, .modal-box .btn-outline { border-color: var(--teal); color: var(--teal); background: #fff; }
.admin-body .btn-outline:hover, .modal-box .btn-outline:hover { background: var(--teal-soft); }
.admin-card > .btn-outline { margin-top: 8px; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 230px; background: var(--ink); color: #b7c4d0; position: fixed; inset: 0 auto 0 0; padding: 20px 14px;
  display: flex; flex-direction: column; z-index: 30;
}
.admin-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 18px; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; font-weight: 700; }
.admin-brand .logo-fallback { width: 34px; height: 34px; font-size: 13px; border-radius: 9px; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; padding-top: 16px; flex: 1; }
.admin-nav button, .admin-nav a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: none;
  border: none; color: #b7c4d0; text-align: left; font-size: 13.5px; font-weight: 550; cursor: pointer; font-family: inherit;
  text-decoration: none; width: 100%;
}
.admin-nav button:hover, .admin-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav button.is-active { background: rgba(20,119,107,.35); color: #fff; }
.admin-sidebar-foot { border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; }
.admin-main { flex: 1; margin-left: 230px; padding: 26px 30px 60px; min-width: 0; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.admin-topbar h1 { font-size: 22px; }

.admin-tab { display: none; }
.admin-tab.is-active { display: block; }

.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 22px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; box-shadow: var(--shadow); position: relative; overflow: hidden; padding-left: 22px; }
.stat-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--teal); }
.stat-card:nth-child(2)::before { background: var(--navy); }
.stat-card:nth-child(3)::before { background: var(--amber); }
.stat-card:nth-child(4)::before { background: #6b4fa8; }
.stat-top { font-size: 12.5px; color: var(--slate); font-weight: 550; }
.stat-value { font-size: 30px; font-weight: 700; margin-top: 6px; letter-spacing: -0.02em; }

.admin-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: var(--shadow); margin-bottom: 20px; }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 10px; flex-wrap: wrap; }
.admin-card-head h3 { font-size: 15.5px; }

.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table thead th { text-align: left; font-size: 11.5px; color: var(--slate); font-weight: 640; padding: 0 10px 9px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table tbody td { padding: 11px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.admin-table tbody tr:hover { background: #f8fafc; }
.admin-table img.thumb { width: 44px; height: 44px; border-radius: 7px; object-fit: cover; }
.row-actions { display: flex; gap: 4px; justify-content: flex-end; white-space: nowrap; }
.icon-btn { background: none; border: none; padding: 5px 7px; cursor: pointer; color: var(--slate); border-radius: 6px; font-size: 13px; }
.icon-btn:hover { background: var(--line-soft); color: var(--ink); }
.icon-btn.danger:hover { background: var(--red-soft); color: var(--red); }

.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 640; border: 1px solid transparent; }
.pill-green { background: var(--teal-soft); color: var(--teal-dark); border-color: #bfe3dd; }
.pill-blue { background: var(--navy-soft); color: var(--navy); border-color: #c9d9ef; }
.pill-amber { background: var(--amber-soft); color: #8a5709; border-color: #efdcb7; }
.pill-grey { background: #eef1f5; color: var(--slate); border-color: var(--line); }

.editable-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 16px; }
.upload-row { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.upload-preview { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); background: var(--line-soft); }
.upload-preview.round { border-radius: 50%; }
.admin-note { background: var(--navy-soft); border: 1px solid #c9d9ef; color: var(--navy); border-radius: var(--radius-sm); padding: 10px 13px; font-size: 13px; margin-bottom: 14px; line-height: 1.55; }

.crud-modal .modal-box { max-width: 520px; text-align: left; }
.crud-modal .modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }

.empty-state { text-align: center; color: var(--slate); padding: 34px 12px; }
.empty-state strong { display: block; color: var(--ink); margin-bottom: 4px; font-size: 14px; }

.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(800px 460px at 10% -10%, rgba(20,119,107,.35), transparent 60%),
              radial-gradient(650px 400px at 95% 110%, rgba(29,58,95,.35), transparent 60%), var(--ink); }
.login-card { background: #fff; border-radius: 16px; padding: 34px 30px; width: 100%; max-width: 380px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.55); text-align: center; }
.login-card .logo-fallback { margin: 0 auto 14px; }
.login-card h1 { font-size: 20px; }
.login-card form { margin-top: 22px; text-align: left; }

@media (max-width: 1180px) {
  .header-cta .phone-chip { display: none; }
}
@media (max-width: 980px) {
  .about-grid, .contact-grid, .vision-grid, .careers-cols, .apply-card { grid-template-columns: 1fr; }
  .vision-grid { gap: 28px; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .site-nav { gap: 16px; }
  .approach-steps { grid-template-columns: repeat(2,1fr); }
  .approach-steps li::after { display: none; }
  .safety-grid, .hero-facts { grid-template-columns: repeat(2,1fr); }
  .provide-grid { grid-template-columns: 1fr; }
  .profile, .profile.is-flipped { grid-template-columns: 260px 1fr; }
  .profile.is-flipped .profile-photo { order: 0; }
  .desk-grid { grid-template-columns: repeat(2,1fr); }
  .shift-grid, .approach-steps.steps-4 { grid-template-columns: repeat(2,1fr); }
  .team-jump { grid-template-columns: 1fr; }
  .site-nav a { font-size: 14px; }
  .services-grid, .testimonial-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
  .site-nav, .header-cta .phone-chip { display: none; }
  .site-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(20,32,43,.35); padding: 6px 22px 12px;
  }
  .site-nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .site-nav.is-open a:last-child { border-bottom: none; }
  .nav-burger { display: block; }
  .team-grid, .why-grid, .approach-steps, .safety-grid { grid-template-columns: 1fr; }
  .desk-grid { grid-template-columns: 1fr; }
  .shift-grid, .approach-steps.steps-4 { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .profile, .profile.is-flipped { grid-template-columns: 1fr; }
  .profile-photo { min-height: 0; aspect-ratio: 4 / 3.8; }
  .profile-body { padding: 24px 20px; }
  .profile-body h3 { font-size: 22px; }
  .profile-index { font-size: 32px; top: 18px; right: 18px; }
  .ops-table-wrap { padding: 20px 16px; }
  .coord-box { flex-direction: column; padding: 22px; }
  .page-hero { padding: 48px 0 44px; }
  .team-photo { aspect-ratio: 4 / 3.6; }
  .apply-card { padding: 26px 22px; }
  .slider-counter { display: none; }
  .float-actions { right: 14px; bottom: 14px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .services-grid, .testimonial-grid, .footer-grid { grid-template-columns: 1fr; }
  .pricing-card { flex-basis: 100%; }
  .form-grid-2, .editable-grid { grid-template-columns: 1fr; }
  .admin-sidebar { transform: translateX(-100%); transition: transform .2s ease; }
  .admin-sidebar.is-open { transform: none; box-shadow: 0 0 50px rgba(0,0,0,.4); }
  .admin-main { margin-left: 0; padding: 20px 16px 50px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .slide-content h1 { font-size: 26px; }
  .slide { min-height: 460px; }
}

/* ==========================================================================
   RESPONSIVE LAYER — Android / iPhone, tablets (portrait + landscape),
   Windows & Mac laptops and large monitors. Overrides the rules above.
   ========================================================================== */

/* ---- cross-platform basics (Windows, macOS, Android, iOS) ---- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { text-rendering: optimizeLegibility; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
a, button, .btn, .pricing-tab, .float-btn { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { height: auto; }
.site-nav a, .btn, .pricing-tab, .phone-chip { white-space: nowrap; }
.nav-burger { width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; line-height: 1; }
.nav-burger:hover { background: var(--line-soft); }
.float-actions { right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); }

/* No "lift on hover" effects on touch screens (they stick after a tap). */
@media (hover: none) {
  .service-card:hover, .pricing-card:hover, .team-card:hover, .shift-card:hover,
  .desk-card:hover, .team-jump a:hover, .social-link:hover { transform: none; }
}

/* Any touchscreen (phones, iPad / Android tablets incl. landscape): 16px fields stop tap-to-zoom. */
@media (pointer: coarse) {
  input, select, textarea { font-size: 16px; }
}

/* ---- Large monitors (Full HD Windows / iMac / external displays) ---- */
@media (min-width: 1600px) {
  .wrap { max-width: 1320px; }
  body { font-size: 16px; }
  .site-header .bar { height: 80px; }
  .site-nav { gap: 28px; }
  .site-nav a { font-size: 15.5px; }
  .slide { min-height: 640px; }
  .slide-content { max-width: 680px; }
  .slide-content h1 { font-size: 52px; }
  .slide-content p { font-size: 18.5px; }
  section { padding: 92px 0; }
  .section-head h2 { font-size: 36px; }
  .section-head p, .about-copy p { font-size: 17px; }
  .page-hero { padding: 88px 0 80px; }
  .page-hero h1 { font-size: 56px; }
  .pricing-card { flex-basis: 380px; }
  .profile, .profile.is-flipped { grid-template-columns: 380px 1fr; }
  .profile.is-flipped { grid-template-columns: 1fr 380px; }
  .float-btn { width: 58px; height: 58px; font-size: 24px; }
}

/* ---- Small laptops / tablets in landscape: keep slider arrows clear of the text ---- */
@media (max-width: 1320px) and (min-width: 992px) {
  .slide .wrap { padding-left: 80px; padding-right: 80px; }
}

/* ---- Tablets (iPad / Android tabs, portrait) & small laptops: hamburger menu ---- */
@media (max-width: 991px) {
  .site-nav, .header-cta .phone-chip { display: none; }
  .nav-burger { display: inline-flex; }
  .site-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(20,32,43,.35);
    padding: 6px 22px 14px; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .site-nav.is-open a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 15.5px; }
  .site-nav.is-open a:last-child { border-bottom: none; }
  .site-nav.is-open a.is-current { color: var(--teal); }

  /* touch devices swipe the banner — arrows only cover the headline */
  .slider-arrow { display: none; }
  .slide { min-height: 500px; }
  .slide-content { max-width: 600px; }

  section { padding: 64px 0; }
  .page-hero { padding: 56px 0 52px; }
  .hero-facts { margin-top: 34px; }
  .about-grid { gap: 32px; }
  .about-media img { aspect-ratio: 16 / 10; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .safety-grid, .desk-grid { grid-template-columns: repeat(2,1fr); }
  .approach-steps, .approach-steps.steps-4 { grid-template-columns: repeat(2,1fr); }
  .approach-steps li::after { display: none; }
  .apply-card { padding: 30px 28px; gap: 22px; }

  /* comfortable form fields; 16px stops phones zooming in when a field is tapped */
  input, select, textarea { font-size: 16px; min-height: 46px; }
  textarea { min-height: 96px; }
}

/* ---- Phones (Android & iPhone) ---- */
@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
  .site-header .bar { height: 64px; }
  .brand img.brand-logo-img { height: 40px; }
  .header-cta .btn-primary { padding: 9px 16px; font-size: 14px; }
  .site-nav.is-open { max-height: calc(100vh - 64px); padding: 4px 18px 12px; }

  .slide { min-height: 0; padding: 56px 0 72px; }
  .slide-content { padding: 0; }
  .slide-content h1 { font-size: clamp(25px, 7vw, 32px); }
  .slide-content p { font-size: 15.5px; }
  .slide-actions { flex-direction: column; align-items: stretch; }
  .slide-actions .btn { width: 100%; }
  .slide::after { width: 220px; height: 220px; }

  .trust-grid { grid-template-columns: 1fr 1fr; gap: 12px 14px; padding: 18px 0; }
  .trust-item { font-size: 12.5px; align-items: flex-start; }
  .trust-item .dot { margin-top: 6px; }

  section { padding: 52px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: 24px; }
  .section-head p { font-size: 15px; }

  .page-hero { padding: 40px 0 40px; }
  .page-hero h1 { font-size: clamp(27px, 8vw, 34px); max-width: none; }
  .page-hero > .wrap > p { font-size: 15.5px; }
  .page-hero-actions { flex-direction: column; align-items: stretch; }
  .page-hero-actions .btn { width: 100%; }
  .hero-facts { grid-template-columns: 1fr 1fr; margin-top: 28px; }
  .hero-facts li { padding: 14px; }
  .hero-facts strong { font-size: 14.5px; }
  .hero-facts span { font-size: 12px; }

  .pricing-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-bottom: 26px; }
  .pricing-tab { white-space: normal; line-height: 1.3; padding: 11px 12px; text-align: center; }
  .pricing-card { padding: 26px 20px; }
  .pricing-price { font-size: 34px; }

  .team-grid, .why-grid, .safety-grid, .desk-grid, .shift-grid,
  .approach-steps, .approach-steps.steps-4 { grid-template-columns: 1fr; }
  .profile-emails { grid-template-columns: 1fr; }
  .ops-table thead { display: none; }
  .ops-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .ops-table tr:last-child { border-bottom: none; }
  .ops-table td { display: block; padding: 2px 0; border: none; }
  .ops-table td:first-child strong { font-size: 15.5px; }

  .contact-form-card { padding: 22px 18px; }
  .modal-overlay { padding: 12px; align-items: flex-end; }
  .modal-box { border-radius: 18px; padding: 24px 18px 20px; max-height: calc(100vh - 24px); }

  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .apply-action { align-items: stretch; }
  .apply-action .btn { width: 100%; }

  .footer-grid { gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .float-actions { gap: 10px; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); }
  .float-btn { width: 48px; height: 48px; font-size: 20px; }
  .toast-stack { left: 14px; right: 14px; bottom: 80px; }
  .toast { max-width: none; }

  /* admin dashboard on phones */
  .admin-topbar { position: sticky; top: 0; z-index: 25; background: var(--canvas); padding: 10px 0; margin: -10px 0 16px; }
  .admin-topbar h1 { font-size: 19px; }
  .admin-card { padding: 16px; }
  .upload-row { flex-direction: column; align-items: flex-start; }
  .crud-modal .modal-box { max-width: none; }
}

/* ---- Small Android phones (360px and below) ---- */
@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  .brand img.brand-logo-img { height: 34px; }
  .header-cta { gap: 4px; }
  .header-cta .btn-primary { padding: 8px 12px; font-size: 13px; }
  .hero-facts { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .pricing-price { font-size: 30px; }
}

/* ---- Phones in landscape (short screens) ---- */
@media (max-height: 500px) and (orientation: landscape) {
  .slide { min-height: 0; padding: 36px 0 56px; }
  .site-nav.is-open { max-height: calc(100vh - 64px); }
  .modal-overlay { align-items: flex-start; }
}

/* ---- Admin menu button (hidden on desktop, shown on phones) ---- */
.admin-topbar .nav-burger { display: none; }
@media (max-width: 760px) { .admin-topbar .nav-burger { display: inline-flex; } }
@media (max-width: 760px) {
  .admin-main .stat-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .admin-main .stat-value { font-size: 24px; }
}
