/* =========================================================
   Elitez Malaysia — site styles
   Brand colours taken from the Elitez Malaysia logo:
   Orange #ED6C05  ·  Deep teal #004E70
   ========================================================= */

@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --orange: #ED6C05;
  --orange-deep: #C95A00;
  --orange-soft: #FFE9D6;
  --orange-wash: #FFF6EE;
  --teal: #004E70;
  --teal-deep: #003A54;
  --teal-soft: #DCEEF5;
  --teal-wash: #F1F8FB;
  --sun: #FFC46B;
  --ink: #12303F;
  --muted: #5A6E79;
  --line: #E7E2DC;
  --white: #FFFFFF;
  --cream: #FFFBF7;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(0, 78, 112, .18);
  --shadow-lg: 0 24px 60px -20px rgba(0, 78, 112, .28);

  --font-head: "Outfit", "Segoe UI", Arial, sans-serif;
  --font-body: "DM Sans", "Segoe UI", Arial, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--orange-deep); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--teal-deep); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
.accent { color: var(--orange); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--white { background: var(--white); }
.section--wash { background: var(--orange-wash); }
.section--teal-wash { background: var(--teal-wash); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---- Signature motif: the dot-and-bar "person" from the logo ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 22px; flex: none;
  background:
    radial-gradient(circle at 50% 22%, var(--teal) 0 4px, transparent 4.5px),
    linear-gradient(var(--teal), var(--teal)) 50% 62% / 22px 4px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 50% 100% / 5px 8px no-repeat;
}
.eyebrow--light { color: var(--sun); }
.eyebrow--light::before {
  background:
    radial-gradient(circle at 50% 22%, #fff 0 4px, transparent 4.5px),
    linear-gradient(#fff, #fff) 50% 62% / 22px 4px no-repeat,
    linear-gradient(#fff, #fff) 50% 100% / 5px 8px no-repeat;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, box-shadow .15s;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 10px 22px -10px rgba(237, 108, 5, .7); }
.btn--primary:hover { background: var(--orange-deep); color: #fff; }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; }
.btn--white { background: #fff; color: var(--teal-deep); }
.btn--white:hover { background: var(--orange-soft); color: var(--teal-deep); }
.btn--outline-white { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--teal-deep); }
.btn--wa { background: #1FA855; color: #fff; }
.btn--wa:hover { background: #178a45; color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar { background: var(--teal); color: #fff; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--sun); }
.topbar__links { display: flex; gap: 22px; flex-wrap: wrap; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.nav__logo img { height: 40px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__menu a {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font-family: var(--font-head); font-weight: 500; color: var(--ink);
}
.nav__menu a:hover { background: var(--orange-wash); color: var(--orange-deep); }
.nav__menu a[aria-current="page"] { color: var(--orange-deep); background: var(--orange-wash); }
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__cta .btn { padding: 11px 20px; font-size: .95rem; }
.nav__toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; border-radius: 10px;
}
.nav__toggle span { display: block; width: 26px; height: 3px; background: var(--teal); margin: 5px 0; border-radius: 3px; transition: .2s; }

@media (max-width: 1120px) {
  .nav__toggle { display: block; }
  .nav__panel {
    position: fixed; inset: 0 0 0 auto; top: 0; width: min(360px, 88vw); background: #fff;
    padding: 90px 24px 30px; box-shadow: var(--shadow-lg); transform: translateX(105%);
    transition: transform .25s ease, visibility .25s; visibility: hidden; display: flex; flex-direction: column; gap: 20px; overflow-y: auto; z-index: 60;
  }
  .nav__panel.open { transform: none; visibility: visible; }
  .nav__menu { flex-direction: column; align-items: stretch; }
  .nav__menu a { font-size: 1.15rem; padding: 12px 16px; }
  .nav__cta { flex-direction: column; align-items: stretch; }
  .nav__toggle { position: relative; z-index: 70; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-scrim { position: fixed; inset: 0; background: rgba(0, 40, 60, .35); z-index: 55; display: none; }
  .nav-scrim.show { display: block; }
}
@media (min-width: 1121px) { .nav__panel { display: flex; align-items: center; gap: 18px; } }
@media (max-width: 640px) { .topbar__hours { display: none; } .nav__logo img { height: 34px; } }

/* ---- Hero (home) ---- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 100% 0%, var(--orange-soft), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, var(--teal-soft), transparent 60%),
    var(--cream);
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 .accent { display: inline; background: linear-gradient(transparent 70%, rgba(255,196,107,.55) 70%); color: var(--orange); }
.hero .lead { margin-bottom: 30px; }
.hero__candidate { margin-top: 22px; font-size: .98rem; color: var(--muted); }
.hero__candidate a { font-weight: 700; color: var(--orange-deep); }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

/* Hero art: a mosaic of tiles built from the logo shapes */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 470px; margin-left: auto; width: 100%; }
.tile { aspect-ratio: 1; border-radius: 22px; position: relative; overflow: hidden; }
.tile--o { background: var(--orange); }
.tile--t { background: var(--teal); }
.tile--s { background: var(--sun); }
.tile--p { background: var(--orange-soft); }
.tile--b { background: var(--teal-soft); }
.tile--w { background: #fff; box-shadow: var(--shadow); }
.tile--round { border-radius: 50%; }
.tile--leaf { border-radius: 22px 22px 22px 70px; }
.tile--leaf2 { border-radius: 70px 22px 22px 22px; }
.tile--wide { grid-column: span 2; aspect-ratio: auto; }
.tile--tall { grid-row: span 2; aspect-ratio: auto; }
.person { position: absolute; inset: 0; display: grid; place-items: center; }
.person svg { width: 56%; height: 56%; }
.tile--stat { padding: 18px 20px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.tile--stat b { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; }
.tile--stat span { font-size: .9rem; opacity: .92; line-height: 1.3; margin-top: 6px; }
.tile--w.tile--stat { color: var(--teal-deep); }
.tile--w.tile--stat b { color: var(--orange); }
@media (max-width: 900px) { .mosaic { margin: 0 auto; max-width: 360px; gap: 10px; } }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 380px at 100% 0%, var(--orange-soft), transparent 60%),
    radial-gradient(700px 380px at 0% 120%, var(--teal-soft), transparent 60%),
    var(--cream);
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px);
}
.page-hero h1 { max-width: 820px; }
.page-hero .dots { position: absolute; right: var(--gutter); bottom: 24px; display: flex; gap: 10px; opacity: .9; }
.page-hero .dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--orange); display: block; }
.page-hero .dots i:nth-child(2) { background: var(--teal); }
.page-hero .dots i:nth-child(3) { background: var(--sun); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* ---- Highlight strip ---- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .95rem; color: var(--teal-deep);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: block; }

/* ---- Cards ---- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s; position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--orange-wash); color: var(--orange);
}
.icon svg { width: 28px; height: 28px; }
.icon--teal { background: var(--teal-wash); color: var(--teal); }
.card__num { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--orange); letter-spacing: .08em; margin-bottom: 12px; display: block; }

/* Service cards */
.service {
  background: #fff; border-radius: var(--radius-lg); padding: 34px 32px; border: 1px solid var(--line);
  display: flex; flex-direction: column; position: relative; overflow: hidden; scroll-margin-top: 110px;
}
.service::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: var(--orange-wash); z-index: 0;
}
.service:nth-child(even)::after { background: var(--teal-wash); }
.service > * { position: relative; z-index: 1; }
.service p { color: var(--muted); }
.service ul { margin: 0 0 1em; padding-left: 0; list-style: none; }
.service li { padding-left: 22px; position: relative; margin-bottom: 6px; color: var(--ink); }
.service li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.tag { font-size: .82rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--teal-wash); color: var(--teal); }

/* ---- Split layout ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Statement panel */
.statement {
  background: var(--teal); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px);
  position: relative; overflow: hidden;
}
.statement h2, .statement h3 { color: #fff; }
.statement p { color: rgba(255,255,255,.88); }
.statement::before {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; bottom: -110px;
  background: var(--orange); opacity: .95;
}
.statement::after {
  content: ""; position: absolute; width: 40px; height: 40px; border-radius: 50%; right: 140px; bottom: 120px; background: var(--sun);
}
.statement > * { position: relative; z-index: 1; }

/* Values: 3Es */
.es { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .es { grid-template-columns: 1fr; } }
.e {
  border-radius: var(--radius-lg); padding: 34px 30px; color: #fff; position: relative; overflow: hidden; min-height: 240px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.e h3 { color: #fff; font-size: 1.6rem; margin-bottom: 8px; }
.e p { color: rgba(255,255,255,.92); margin: 0; }
.e__letter { position: absolute; top: 10px; right: 22px; font-family: var(--font-head); font-weight: 700; font-size: 7rem; line-height: 1; opacity: .18; }
.e--1 { background: var(--orange); }
.e--2 { background: var(--teal); }
.e--3 { background: linear-gradient(135deg, var(--orange) 0%, #F49A2E 100%); }

/* ---- Stats band ---- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden;
}
.stat { padding: 34px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.4rem, 4.5vw, 3.4rem); color: var(--orange); line-height: 1; margin-bottom: 8px; }
.stat:nth-child(even) b { color: var(--teal); }
.stat span { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---- Timeline ---- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--orange), var(--teal)); border-radius: 3px; }
.timeline li { position: relative; padding: 0 0 34px 70px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute; left: 0; top: 0; width: 45px; height: 45px; border-radius: 50%; background: #fff;
  border: 3px solid var(--orange); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--orange); font-size: .8rem;
}
.timeline li:nth-child(even) .timeline__dot { border-color: var(--teal); color: var(--teal); }
.timeline h3 { margin-bottom: 4px; }
.timeline p { color: var(--muted); margin: 0; }
.timeline__year { font-family: var(--font-head); font-weight: 600; color: var(--orange-deep); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }

/* ---- Regional network ---- */
.network { position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); }
.network svg { width: 100%; height: auto; display: block; }
.markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .markets { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .markets { grid-template-columns: 1fr; } }
.market {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px; display: flex; gap: 16px; align-items: flex-start;
}
.market__pin { width: 44px; height: 44px; border-radius: 14px; background: var(--teal-wash); color: var(--teal); display: grid; place-items: center; flex: none; font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.market--home { background: var(--orange); border-color: var(--orange); color: #fff; }
.market--home h3, .market--home p { color: #fff !important; }
.market--home .market__pin { background: rgba(255,255,255,.2); color: #fff; }
.market h3 { margin: 0 0 2px; font-size: 1.15rem; }
.market p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--teal); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; left: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.07); }
.cta-band::after { content: ""; position: absolute; right: -50px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: var(--orange); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---- Audience split (home) ---- */
.audience { border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 44px); position: relative; overflow: hidden; }
.audience--clients { background: var(--orange-wash); border: 1px solid var(--orange-soft); }
.audience--talent { background: var(--teal-wash); border: 1px solid var(--teal-soft); }
.audience ul { list-style: none; padding: 0; margin: 0 0 26px; }
.audience li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.audience li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.audience--talent li::before { background-color: var(--teal); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); scroll-margin-top: 110px; }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 700; font-size: .95rem; color: var(--teal-deep); margin-bottom: 7px; }
.field .req { color: var(--orange-deep); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--cream); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(237, 108, 5, .15); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
.types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 520px) { .types { grid-template-columns: 1fr; } }
.type { position: relative; }
.type input { position: absolute; opacity: 0; pointer-events: none; }
.type span {
  display: block; padding: 13px 15px 13px 44px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 500;
  background: var(--cream); position: relative; transition: .15s;
}
.type span::before { content: ""; position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid #b9c4ca; background: #fff; }
.type input:checked + span { border-color: var(--orange); background: var(--orange-wash); color: var(--teal-deep); }
.type input:checked + span::before { border-color: var(--orange); background: radial-gradient(circle, var(--orange) 0 4px, #fff 5px); }
.type input:focus-visible + span { box-shadow: 0 0 0 4px rgba(237, 108, 5, .2); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; color: var(--muted); background: var(--teal-wash); border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.form-note { font-size: .88rem; color: var(--muted); margin: 16px 0 0; }
.form-error { color: #B3261E; font-size: .9rem; margin-top: 6px; display: none; }
.field.invalid .form-error { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B3261E; }
.cv-hint { display: none; background: var(--orange-wash); border: 1px dashed var(--orange); border-radius: 12px; padding: 12px 16px; font-size: .94rem; margin-bottom: 18px; }
.cv-hint.show { display: block; }
.form-result { display: none; margin-top: 18px; padding: 18px 20px; border-radius: 14px; background: #E8F6EE; border: 1px solid #A8DDBD; }
.form-result.show { display: block; }
.form-result p { margin: 0 0 10px; }
.form-result .btn-row { gap: 10px; }
.form-result .btn { padding: 10px 18px; font-size: .92rem; }

.info-card { background: #fff; border-radius: var(--radius-lg); padding: 30px 28px; border: 1px solid var(--line); }
.info-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; padding-bottom: 0; }
.info-item:first-of-type { padding-top: 4px; }
.info-item .icon { width: 44px; height: 44px; border-radius: 12px; margin: 0; flex: none; }
.info-item .icon svg { width: 22px; height: 22px; }
.info-item h3 { font-size: 1rem; margin: 0 0 3px; }
.info-item p { margin: 0; color: var(--muted); font-size: .97rem; }
.info-item a { word-break: break-word; }
.map-frame { border: 0; width: 100%; height: 260px; border-radius: var(--radius); margin-top: 22px; display: block; }

/* ---- Prose (privacy) ---- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.55rem; margin-top: 2em; padding-top: .3em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--teal-wash); color: var(--teal-deep); font-family: var(--font-head); font-weight: 600; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 40px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.toc li { margin-bottom: 4px; }
.notice { background: var(--orange-wash); border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; padding: 16px 20px; margin-bottom: 30px; font-size: .96rem; }
.ph { background: #FFF2B8; color: #6B4A00; padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* ---- Footer ---- */
.site-footer { background: var(--teal-deep); color: rgba(255,255,255,.8); padding: 72px 0 0; margin-top: 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; letter-spacing: .02em; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-logo { height: 44px; width: auto; margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 52px; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .87rem; color: rgba(255,255,255,.65); }
.footer-stripe { height: 6px; background: linear-gradient(90deg, var(--orange) 0 60%, var(--sun) 60% 75%, var(--teal) 75%); }

/* ---- Floating WhatsApp ---- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -8px rgba(0,0,0,.35); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* Utility spacing */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 32px; } .mt-3 { margin-top: 48px; }
.section-head { margin-bottom: clamp(32px, 5vw, 52px); }
.section-head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

/* ---- v2: market flags (hero) ---- */
.flags { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.flag img { width: 34px; height: 25px; object-fit: cover; border-radius: 5px; box-shadow: 0 0 0 1px rgba(0,58,84,.08); filter: saturate(.45) brightness(1.08); opacity: .72; transition: filter .2s, opacity .2s, transform .2s; }
.flag:hover img { filter: none; opacity: 1; }
.flag--home img { width: 44px; height: 33px; filter: saturate(1.15); opacity: 1; box-shadow: 0 6px 14px -6px rgba(0,58,84,.45), 0 0 0 1px rgba(0,58,84,.08); }
.flag--home { margin-right: 4px; }

/* ---- v2: outline-orange button (Hire Talent) ---- */
.btn--outline-orange { background: #fff; color: var(--orange-deep); border-color: var(--orange); }
.btn--outline-orange:hover { background: var(--orange-wash); color: var(--orange-deep); }

/* ---- v2: resume upload ---- */
.upload { display: none; }
.upload.show { display: block; }
.dropzone { display: flex !important; align-items: center; gap: 14px; padding: 16px 18px; border: 2px dashed #CFC6BC; border-radius: 14px; background: var(--cream); cursor: pointer; margin: 0 !important; font-weight: 400 !important; transition: .15s; }
.dropzone:hover, .dropzone.has-file { border-color: var(--orange); background: var(--orange-wash); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone:focus-within { box-shadow: 0 0 0 4px rgba(237,108,5,.18); }
.dropzone__icon { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--orange); display: grid; place-items: center; flex: none; }
.dropzone__icon svg { width: 24px; height: 24px; }
.dropzone__text { display: flex; flex-direction: column; color: var(--teal-deep); word-break: break-all; }
.dropzone__text small { color: var(--muted); font-size: .88rem; }
.field.invalid .dropzone { border-color: #B3261E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: none; margin-top: 18px; padding: 22px 24px; border-radius: 14px; background: #E8F6EE; border: 1px solid #A8DDBD; outline: none; }
.form-success.show { display: block; }
.form-success h3 { color: #17643A; margin-bottom: 4px; }
.form-success p { margin: 0; }
.btn[disabled] { opacity: .65; cursor: wait; transform: none; }

/* ---- v3: topbar salary guide link ---- */
.topbar__guide { background: var(--orange); color: #fff !important; padding: 1px 12px; border-radius: 999px; font-weight: 700; }
.topbar__guide:hover { background: var(--sun); color: var(--teal-deep) !important; }

/* ---- v3: photos ---- */
.photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); color: var(--teal-deep); font-size: .85rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; }
.photo--framed { box-shadow: var(--shadow-lg); }
.photo--framed::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); pointer-events: none; }
.photo--aside { height: 220px; border-radius: var(--radius); margin-bottom: 22px; }
.collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 480px; margin-left: auto; width: 100%; }
.collage .photo { aspect-ratio: 3 / 4; box-shadow: var(--shadow-lg); }
.collage__b { margin-top: 56px; }
.collage__a { margin-bottom: 56px; }
.collage__dot { position: absolute; width: 90px; height: 90px; border-radius: 50%; background: var(--orange); left: -26px; bottom: 10px; z-index: -1; }
.collage::before { content: ""; position: absolute; width: 60px; height: 60px; border-radius: 50%; background: var(--sun); right: -18px; top: -18px; z-index: -1; }
@media (max-width: 900px) { .collage { margin: 0 auto; } }

/* ---- v3: tool cards ---- */
.tool { display: flex; flex-direction: column; gap: 6px; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); text-decoration: none; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; color: #fff; }
.tool:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
.tool h3 { color: #fff; font-size: 1.6rem; margin: 14px 0 4px; }
.tool p { color: rgba(255,255,255,.9); margin: 0 0 12px; max-width: 460px; }
.tool--orange { background: var(--orange); }
.tool--teal { background: var(--teal); }
.tool::after { content: ""; position: absolute; right: -50px; bottom: -60px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.12); }
.tool__icon { width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.tool__icon svg { width: 28px; height: 28px; }
.tool__link { font-family: var(--font-head); font-weight: 600; margin-top: auto; color: #fff; }
.tool--wide { flex-direction: row; align-items: center; gap: 24px; flex-wrap: wrap; }
.tool--wide h3 { margin-top: 0; }
.tool--wide p { margin: 0; }
.tool--wide .tool__link { margin: 0 0 0 auto; background: #fff; color: var(--teal-deep); padding: 12px 22px; border-radius: 999px; position: relative; z-index: 1; }

/* ---- v3: fees calculator ---- */
.salary-box { background: linear-gradient(135deg, var(--orange-wash), var(--teal-wash)); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: auto 1fr; gap: 20px 48px; align-items: center; border: 1px solid var(--line); }
@media (max-width: 760px) { .salary-box { grid-template-columns: 1fr; } }
.salary-box__label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--teal-deep); font-size: 1.1rem; margin-bottom: 10px; }
.salary-box__input { display: flex; align-items: center; background: #fff; border: 2px solid var(--orange); border-radius: 16px; padding: 4px 18px; max-width: 320px; box-shadow: 0 10px 22px -14px rgba(237,108,5,.6); }
.salary-box__input span { font-family: var(--font-head); font-weight: 700; color: var(--orange); font-size: 1.4rem; margin-right: 8px; }
.salary-box__input input { border: 0; outline: none; font: 700 2rem var(--font-head); color: var(--teal-deep); width: 100%; padding: 6px 0; background: transparent; min-width: 0; }
.salary-box__help { margin: 10px 0 0; font-size: .95rem; color: var(--muted); }
.salary-box__help a { font-weight: 700; color: var(--orange-deep); }
#salary-range { width: 100%; accent-color: var(--orange); height: 28px; cursor: pointer; }

.fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
@media (max-width: 960px) { .fees { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }
.fee { background: #fff; border-radius: var(--radius-lg); padding: 30px 28px; border: 1px solid var(--line); border-top: 6px solid var(--orange); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.fee--teal { border-top-color: var(--teal); }
.fee--sun { border-top-color: var(--sun); }
.fee__tag { align-self: flex-start; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: var(--orange-wash); color: var(--orange-deep); margin-bottom: 14px; }
.fee--teal .fee__tag { background: var(--teal-wash); color: var(--teal); }
.fee--sun .fee__tag { background: #FFF3DE; color: #8A5A00; }
.fee h3 { font-size: 1.45rem; margin-bottom: 4px; }
.fee__sub { color: var(--muted); font-size: .96rem; min-height: 3.2em; }
.fee__total { background: var(--cream); border-radius: 16px; padding: 16px 18px; margin: 4px 0 14px; }
.fee__total small { display: block; color: var(--muted); font-size: .85rem; }
.fee__total b { font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.1rem); color: var(--orange); line-height: 1.2; }
.fee--teal .fee__total b { color: var(--teal); }
.fee--sun .fee__total b { color: #B57300; }
.fee__details summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--teal); padding: 6px 0; list-style-position: inside; }
.fee__table { width: 100%; border-collapse: collapse; font-size: .93rem; margin: 6px 0 4px; }
.fee__table td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.fee__table td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 10px; }
.fee__table tr.sub td { font-weight: 700; color: var(--teal-deep); border-bottom: 1px solid var(--line); }
.fee__notes { list-style: none; padding: 0; margin: 14px 0 20px; font-size: .93rem; }
.fee__notes li { padding-left: 24px; position: relative; margin-bottom: 7px; }
.fee__notes li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.fee--teal .fee__notes li::before { color: var(--teal); }
.fee__cta { margin-top: auto; align-self: flex-start; }
.fine { font-size: .86rem; color: var(--muted); margin-top: 24px; max-width: 900px; }

.cmp { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
@media (max-width: 960px) { .cmp { grid-template-columns: 1fr; } }
.cmp__inputs { background: var(--teal-wash); padding: clamp(24px, 3.5vw, 36px); }
.cmp__inputs h3 { margin-bottom: 18px; }
.cmp-field { margin-bottom: 16px; }
.cmp-field label { display: block; font-weight: 700; font-size: .93rem; color: var(--teal-deep); margin-bottom: 6px; }
.cmp-field small { display: block; color: var(--muted); font-size: .83rem; margin-top: 4px; }
.unit-input { display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.unit-input:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(237,108,5,.15); }
.unit-input input { border: 0; outline: none; font: inherit; padding: 10px 14px; width: 100%; min-width: 0; color: var(--ink); }
.unit-input span { padding: 0 14px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.cmp__results { padding: clamp(24px, 3.5vw, 36px); }
.saved { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
@media (max-width: 480px) { .saved { grid-template-columns: 1fr; } }
.saved__item { background: var(--orange); color: #fff; border-radius: 18px; padding: 20px 22px; }
.saved__item:nth-child(2) { background: var(--teal); }
.saved__item b { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.saved__item span { font-size: .95rem; opacity: .95; }
.cmp__table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 18px; }
.cmp__table th, .cmp__table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp__table th { font-family: var(--font-head); color: var(--teal-deep); font-weight: 600; }
.cmp__table td:first-child { font-weight: 500; color: var(--teal-deep); width: 34%; }
.cmp__table td small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }
.cmp__table .hl { background: var(--orange-wash); }
.cmp__table th.hl { color: var(--orange-deep); border-radius: 10px 10px 0 0; }
.cmp__note { color: var(--muted); font-size: .96rem; }
@media (max-width: 560px) { .cmp__table { font-size: .87rem; } .cmp__table th, .cmp__table td { padding: 10px 6px; } }
