html { overflow-x: hidden; }
body { overflow-x: hidden; }
/* ============================================
   PERICAN — Shared Design System (Mockup C)
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --orange: #E8701A; --orange-mid: #F08C35; --orange-light: #FEF0E4;
  --orange-pale: #FDF8F3; --peach: #FDE8D3; --teal: #0E9A7F;
  --teal-light: #E3F7F2; --amber: #F5A623; --dark: #1E1E2D;
  --body: #3D3D52; --muted: #7B7B96; --border: #EDE9E3;
  --white: #FFFFFF; --cream: #FDFAF6;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--cream); color: var(--body); }

/* ANNOUNCE */
.announce { background: var(--orange-light); border-bottom: 1px solid #F5C9A0; padding: 10px 5%; text-align: center; }
.announce p { font-size: 0.83rem; font-weight: 600; color: var(--orange); }
.announce a { color: var(--orange); font-weight: 700; text-decoration: none; }

/* NAV */
nav { position: relative; background: var(--white); height: 68px; padding: 0 5%; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 36px; height: 36px; background: var(--orange); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 2px 8px rgba(232,112,26,0.3); }
.brand-name { font-size: 1.3rem; font-weight: 800; color: var(--dark); letter-spacing: -0.3px; }
.nav-actions { display: flex; align-items: center; gap: 4px; }
.nav-actions a { font-size: 0.875rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: 7px 14px; border-radius: 8px; transition: all 0.2s; white-space: nowrap; }
.nav-actions a:hover, .nav-actions a.active { color: var(--orange); background: var(--orange-light); }
.nav-cta { background: var(--orange) !important; color: white !important; border-radius: 9px !important; font-weight: 700 !important; box-shadow: 0 2px 8px rgba(232,112,26,0.3); margin-left: 6px; }
.nav-cta:hover { background: #C85E14 !important; }
.menu-toggle { display: none; flex-direction: column; background: none; border: none; cursor: pointer; gap: 5px; padding: 4px; }
.menu-toggle span { width: 24px; height: 2.5px; background: var(--orange); border-radius: 2px; }

/* PAGE HERO BANNER */
.page-banner { background: var(--white); border-bottom: 1px solid var(--border); padding: 52px 5% 48px; }
.page-banner-inner { max-width: 1120px; margin: 0 auto; }
.page-banner h1 { font-size: 2.4rem; font-weight: 800; color: var(--dark); letter-spacing: -0.5px; margin-bottom: 10px; }
.page-banner p { font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 560px; }

/* SHARED BUTTONS */
.btn { display: inline-block; padding: 12px 24px; border-radius: 10px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; }
.btn-primary { background: var(--orange); color: white; box-shadow: 0 4px 14px rgba(232,112,26,0.35); }
.btn-primary:hover { background: #C85E14; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--body); border: 2px solid var(--border); }
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }

/* JOB CARD (used on jobs.html and job-details.html similar jobs) */
.jc { background: var(--white); border-radius: 16px; padding: 24px; border: 1px solid var(--border); transition: all 0.25s; cursor: pointer; }
.jc:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.08); }
.jc-top { display: flex; justify-content: space-between; margin-bottom: 16px; gap: 10px; }
.jc-co { font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.jc-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); }
.jc-tag { padding: 4px 10px; border-radius: 6px; font-size: 0.72rem; font-weight: 700; background: var(--orange-light); color: var(--orange); height: fit-content; white-space: nowrap; flex-shrink: 0; }
.jc-tag.tl { background: var(--teal-light); color: var(--teal); }
.jc-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.jc-meta { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.jc-meta span { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.jc-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 16px; }
.jc-salary { font-size: 1rem; font-weight: 800; color: var(--orange); }
.jc-btns { display: flex; gap: 8px; }
.jc-btn-out { border: 1.5px solid var(--border); background: transparent; color: var(--body); padding: 7px 14px; border-radius: 8px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block; }
.jc-btn-out:hover { border-color: var(--orange); color: var(--orange); }
.jc-btn-fill { border: none; background: var(--orange); color: white; padding: 7px 14px; border-radius: 8px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.jc-btn-fill:hover { background: #C85E14; }

/* FOOTER */
footer { background: var(--dark); padding: 60px 5% 28px; color: #7B7B96; }
.foot-inner { max-width: 1120px; margin: 0 auto; }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 52px; }
.foot-brand-name { font-size: 1.4rem; font-weight: 800; color: white; margin-bottom: 12px; letter-spacing: -0.3px; }
.foot-brand-name span { color: var(--orange-mid); }
.foot-brand p { font-size: 0.86rem; line-height: 1.7; max-width: 240px; }
.foot-col h4 { font-size: 0.78rem; font-weight: 700; color: white; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.foot-col a { display: block; font-size: 0.85rem; color: #7B7B96; text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.foot-col a:hover { color: var(--orange-mid); }
.foot-bottom { border-top: 1px solid #2D2D42; padding-top: 22px; display: flex; justify-content: space-between; font-size: 0.82rem; flex-wrap: wrap; gap: 8px; }

/* FEAT TAG */
.feat-tag { display: inline-block; background: var(--orange-light); color: var(--orange); font-size: 0.78rem; font-weight: 700; padding: 5px 12px; border-radius: 20px; margin-bottom: 14px; }
.section-title { font-size: 2.2rem; font-weight: 800; color: var(--dark); letter-spacing: -0.5px; margin-bottom: 12px; }
.section-sub { font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 520px; }

/* RESPONSIVE */
@media (max-width: 960px) { .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 768px) {
  .nav-actions { display: none; }
  .menu-toggle { display: flex; }
  .nav-actions.open { display: flex !important; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 5%; gap: 0; z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .nav-actions.open a { display: block; padding: 13px 0; border-bottom: 1px solid var(--border); width: 100%; color: var(--body); font-size: 0.95rem; }
  .nav-actions.open a:last-child { border-bottom: none; }
  .nav-actions.open .nav-cta { background: var(--orange) !important; color: white !important; text-align: center; border-radius: 9px !important; padding: 13px !important; margin-top: 10px; border-bottom: none !important; display: block; }
}
@media (max-width: 480px) { .foot-top { grid-template-columns: 1fr; } }

/* Prevent iOS zoom on input focus */
@media (max-width: 768px) {
  input, select, textarea { font-size: 16px !important; }
  .brand-logo { height: 36px; }
  .brand-name { font-size: 1.1rem; }
}

/* ============================================
   SHARED RESPONSIVE — ALL PAGES
   ============================================ */

/* Large tablets */
@media (max-width: 1024px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  section { padding-left: 4%; padding-right: 4%; }
}

/* Tablets & large phones */
@media (max-width: 768px) {
  /* Nav */
  nav { padding: 0 4%; }
  .brand-logo { height: 32px; }
  .brand-name { font-size: 1.1rem; }

  /* Footer */
  .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-inner { padding: 40px 4% 20px; }
  .foot-bottom { flex-direction: column; text-align: center; gap: 6px; }
  .foot-logo { height: 60px; }

  /* General */
  section { padding-left: 4%; padding-right: 4%; }
  .container { padding: 0 4%; }
}

/* Small phones */
@media (max-width: 480px) {
  nav { padding: 0 4%; height: 60px; }
  .foot-top { grid-template-columns: 1fr; gap: 24px; }
  .brand-name { font-size: 1rem; }
}

/* Very small phones */
@media (max-width: 360px) {
  .brand-name { display: none; } /* Hide text on tiny screens, logo is enough */
  nav { padding: 0 3%; }
}
