/* ============================================================
   GrowUpCareer V5 — Brand: #054cac (blue) / #ffcc00 (yellow)
   ============================================================ */
:root {
  --blue: #054cac;
  --blue-dark: #033a85;
  --navy: #041d42;
  --navy-2: #062a5c;
  --yellow: #ffcc00;
  --yellow-dark: #e6b800;
  --ink: #0b1e3a;
  --muted: #55617a;
  --bg: #f6f8fc;
  --white: #ffffff;
  --line: #e3e9f4;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(4, 29, 66, .07);
  --shadow-md: 0 10px 30px rgba(4, 29, 66, .12);
  --shadow-lg: 0 24px 60px rgba(4, 29, 66, .18);
  --font-head: "Sora", "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container-narrow { width: min(820px, 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 700; font-family: var(--font-body);
  border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  padding: 12px 26px; font-size: .95rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(5, 76, 172, .35); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 12px 28px rgba(5, 76, 172, .45); }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 8px 22px rgba(255, 204, 0, .35); }
.btn-yellow:hover { background: var(--yellow-dark); box-shadow: 0 12px 28px rgba(255, 204, 0, .45); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .18); }

/* ---------- Badges & highlights ---------- */
.badge-pill {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  background: rgba(5, 76, 172, .09); color: var(--blue); margin-bottom: 16px;
}
.badge-yellow { background: rgba(255, 204, 0, .16); color: var(--yellow); }
.badge-glass { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); }
.hl-blue { color: var(--blue); }
.hl-yellow { color: var(--yellow); }
.hl-glow {
  background: linear-gradient(90deg, #6ea8ff, #ffffff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #dbe6ff; font-size: .85rem; position: relative; z-index: 60; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 9px 0; flex-wrap: wrap; text-align: center; }
.topbar strong { color: var(--yellow); }
.topbar a { color: var(--yellow); font-weight: 700; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.brand img { width: 42px; height: 42px; }
.brand em { font-style: normal; color: var(--blue); }
.brand-light { color: #fff; }
.brand-light em { color: var(--yellow); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-weight: 600; font-size: .92rem; color: var(--muted); transition: color .2s; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--yellow); border-radius: 2px; transition: width .25s ease;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 3px; background: var(--navy); border-radius: 3px; transition: transform .25s, opacity .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 700px at 80% -10%, var(--navy-2), transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, #04275a 55%, var(--blue-dark) 100%);
  padding: 90px 0 120px;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(900px 600px at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 600px at 50% 20%, #000 30%, transparent 75%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.orb-1 { width: 420px; height: 420px; background: #0a63d8; top: -140px; left: -120px; }
.orb-2 { width: 360px; height: 360px; background: rgba(255, 204, 0, .5); bottom: -150px; right: -90px; animation-delay: -7s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.08); } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; margin: 18px 0; letter-spacing: -.01em; }
.hero .lead { font-size: 1.12rem; color: #c9d8f2; max-width: 540px; }
.hero .lead strong { color: var(--yellow); }
.hero-ctas { display: flex; gap: 14px; margin: 30px 0 38px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--yellow); }
.trust-item span { font-size: .85rem; color: #a8bcdf; }

.hero-visual { display: flex; justify-content: center; }
.hero-card-stack { position: relative; width: 320px; }
.hero-glass-card {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 26px; padding: 34px 30px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  animation: floaty 6s ease-in-out infinite;
}
.hero-logo { width: 150px; height: 150px; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .35)); }
.hero-score { width: 100%; text-align: center; }
.hero-score span { font-size: .8rem; color: #b9cbec; }
.hero-score-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.15); margin: 8px 0; overflow: hidden; }
.hero-score-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--yellow), #ffe066); animation: fillbar 1.6s .5s ease forwards; }
@keyframes fillbar { to { width: 96%; } }
.hero-score em { font-style: normal; font-weight: 700; color: var(--yellow); font-size: .9rem; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.float-card {
  position: absolute; background: #fff; color: var(--ink);
  font-size: .8rem; font-weight: 700; padding: 10px 14px;
  border-radius: 12px; box-shadow: var(--shadow-md); white-space: nowrap;
  animation: floaty 5s ease-in-out infinite;
}
.fc-1 { top: -14px; left: -70px; animation-delay: -1s; }
.fc-2 { top: 46%; right: -84px; animation-delay: -2.5s; }
.fc-3 { bottom: -10px; left: -46px; animation-delay: -4s; }

/* ---------- Marquee ---------- */
.marquee { background: var(--yellow); overflow: hidden; padding: 12px 0; }
.marquee-track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  animation: marquee 24s linear infinite;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--navy);
  text-transform: uppercase; letter-spacing: .06em;
}
.marquee-track i { font-style: normal; opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; margin-bottom: 14px; letter-spacing: -.01em; }
.section-head p { color: var(--muted); }
.section-head a { color: var(--blue); font-weight: 700; }
.section-head a:hover { text-decoration: underline; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(5, 76, 172, .35); }
.service-card.featured {
  grid-column: span 2;
  background: linear-gradient(150deg, var(--navy) 0%, var(--blue-dark) 100%);
  color: #fff; border: 0;
}
.service-card.featured p { color: #c9d8f2; }
.service-card.featured ul li { color: #dbe6ff; }
.service-card.featured ul li::before { color: var(--yellow); }
.service-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.6rem; background: rgba(5, 76, 172, .09);
}
.service-card.featured .service-icon { background: rgba(255, 204, 0, .16); }
.service-card h3 { font-size: 1.18rem; font-weight: 700; }
.service-card p { font-size: .92rem; color: var(--muted); }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-top: auto; }
.service-card ul li { font-size: .87rem; color: var(--muted); padding-left: 22px; position: relative; }
.service-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.service-card .btn { margin-top: 18px; align-self: flex-start; }
.ribbon {
  position: absolute; top: 16px; right: 16px;
  background: var(--yellow); color: var(--navy);
  font-size: .72rem; font-weight: 800; padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255, 204, 0, .4);
}

/* ---------- Flagship ---------- */
.flagship {
  background: radial-gradient(900px 500px at 15% 0%, var(--navy-2), transparent 65%),
              linear-gradient(150deg, var(--navy) 0%, #04275a 60%, var(--blue-dark) 100%);
  color: #fff;
}
.flagship-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.flagship h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.flagship p { color: #c9d8f2; }
.check-list { list-style: none; margin: 26px 0; display: flex; flex-direction: column; gap: 13px; }
.check-list li { padding-left: 32px; position: relative; color: #dbe6ff; font-size: .96rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  font-size: .8rem; font-weight: 800; display: grid; place-items: center;
}
.check-list.dark li { color: var(--muted); }
.check-list.dark li::before { background: rgba(5, 76, 172, .12); color: var(--blue); }
.check-list li strong { color: #fff; }
.check-list.dark li strong { color: var(--ink); }

.score-card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px; padding: 30px 28px; backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}
.score-card h4 { font-size: 1.05rem; margin-bottom: 22px; color: #fff; }
.score-row { display: grid; grid-template-columns: 120px 1fr 48px; align-items: center; gap: 12px; margin-bottom: 13px; font-size: .8rem; color: #a8bcdf; }
.score-row .bar { height: 9px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.score-row .bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: #6d81a5; transition: width 1.2s ease; }
.score-row.after .bar i { background: linear-gradient(90deg, var(--yellow), #ffe066); }
.score-row.after em, .score-row.after span { color: var(--yellow); font-weight: 700; }
.score-row em { font-style: normal; }
.score-card.animated .bar i { width: var(--w); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px 28px; position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num {
  position: absolute; top: -20px; left: 24px;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--blue); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(5, 76, 172, .35);
}
.process-step h3 { font-size: 1.05rem; margin: 12px 0 8px; }
.process-step p { font-size: .88rem; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing-section { background: linear-gradient(180deg, var(--bg) 0%, #eef3fb 100%); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: 22px; padding: 34px 30px;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.popular {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
  z-index: 2;
}
.price-card.popular:hover { transform: scale(1.03) translateY(-6px); }
.price-card h3 { font-size: 1.25rem; }
.price-desc { color: var(--muted); font-size: .88rem; margin: 6px 0 18px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; }
.price .amount { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--blue); }
.price .period { color: var(--muted); font-size: .85rem; }
.price-card .check-list { margin: 0 0 26px; gap: 10px; }
.price-card .check-list li { font-size: .88rem; }
.price-card .btn { margin-top: auto; }
.pricing-note { text-align: center; margin-top: 34px; color: var(--muted); }
.pricing-note a { color: var(--blue); font-weight: 700; }
.pricing-note a:hover { text-decoration: underline; }

/* ---------- Resources ---------- */
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease;
}
.resource-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.resource-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; display: block; background: #eef3fb; }
.resource-card figcaption { padding: 14px 18px; font-weight: 700; font-size: .9rem; }

/* ---------- Testimonials ---------- */
.testimonials-section { background: linear-gradient(180deg, #eef3fb 0%, var(--bg) 100%); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stars { color: var(--yellow); letter-spacing: 3px; font-size: 1.05rem; }
.testimonial p { font-size: .93rem; color: var(--ink); }
.testimonial footer { display: flex; flex-direction: column; margin-top: auto; }
.testimonial footer strong { font-size: .93rem; }
.testimonial footer span { font-size: .8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: border-color .2s ease;
}
.faq-item[open] { border-color: rgba(5, 76, 172, .4); box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer; list-style: none; font-weight: 700; font-size: .97rem;
  padding: 18px 52px 18px 22px; position: relative; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%); font-size: 1.35rem; color: var(--blue);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: var(--muted); font-size: .92rem; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: radial-gradient(800px 400px at 50% 0%, var(--navy-2), transparent 70%),
              linear-gradient(150deg, var(--navy), var(--blue-dark));
  color: #fff; text-align: center; padding: 90px 0;
}
.final-cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; margin-bottom: 14px; }
.final-cta p { color: #c9d8f2; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #b9cbec; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 44px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col p { font-size: .88rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.footer-col a { font-size: .88rem; transition: color .2s; }
.footer-col a:hover { color: var(--yellow); }
.footer .brand { margin-bottom: 8px; }
.footer .brand img { width: 40px; height: 40px; }
.footer-qr { width: 110px; border-radius: 12px; margin-top: 10px; background: #fff; padding: 6px; }
.footer-col small { color: #7d93bd; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: .82rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .2s ease;
  animation: pulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 10px 26px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .45); }
  70% { box-shadow: 0 10px 26px rgba(37, 211, 102, .45), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 26px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, 0); }
}
.wa-tooltip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--navy); color: #fff; font-size: .78rem; font-weight: 700;
  padding: 7px 12px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4, 29, 66, .92);
  display: none; align-items: center; justify-content: center; padding: 4vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 92vw; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox button {
  position: absolute; top: 22px; right: 26px;
  background: rgba(255, 255, 255, .12); color: #fff; border: 0;
  width: 42px; height: 42px; border-radius: 50%; font-size: 1.1rem; cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, .25); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.featured { grid-column: span 2; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-6px); }
  .resources-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .flagship-inner { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-ctas, .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .fc-1 { left: -30px; }
  .fc-2 { right: -40px; }
  .fc-3 { left: -20px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 0; right: -280px; width: 260px; height: 100vh;
    background: var(--white); flex-direction: column; gap: 8px;
    padding: 90px 28px 28px; box-shadow: var(--shadow-lg);
    transition: right .3s ease; z-index: 45;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1rem; padding: 10px 0; }
  .hamburger { display: flex; z-index: 46; }
  .nav-actions .btn { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: span 1; }
  .process-grid { grid-template-columns: 1fr; row-gap: 38px; }
  .resources-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 90px; }
  .float-card { display: none; }
  .section { padding: 64px 0; }
  .topbar-inner { font-size: .78rem; }
}

/* ============================================================
   ADD-ONS v6 — Language switcher, Contact form, Back-to-top, RTL
   ============================================================ */

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1.5px solid var(--line);
  color: var(--ink); font-family: var(--font-body); font-weight: 700; font-size: .82rem;
  padding: 8px 12px; border-radius: 999px; cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.lang-toggle:hover { border-color: var(--blue); color: var(--blue); }
.lang-toggle .caret { transition: transform .25s ease; opacity: .7; }
.lang-switch.open .lang-toggle .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 70;
  min-width: 180px; list-style: none; margin: 0; padding: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 9px; cursor: pointer;
  font-size: .9rem; font-weight: 600; color: var(--ink);
  transition: background .15s ease;
}
.lang-menu li span { font-size: 1.05rem; line-height: 1; }
.lang-menu li:hover { background: rgba(5, 76, 172, .08); }
.lang-menu li.active { background: rgba(5, 76, 172, .12); color: var(--blue); }

/* ---------- Contact section ---------- */
.contact-section {
  background: radial-gradient(800px 500px at 12% 0%, var(--navy-2), transparent 65%),
              linear-gradient(150deg, var(--navy) 0%, #04275a 60%, var(--blue-dark) 100%);
  color: #fff; padding: 90px 0;
}
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-copy .eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .8rem; letter-spacing: .14em; color: var(--yellow); margin-bottom: 16px;
}
.contact-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; line-height: 1.15; }
.contact-copy > p { color: #c9d8f2; max-width: 460px; margin-bottom: 26px; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.contact-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px; padding: 14px 16px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.contact-card:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 204, 0, .5); transform: translateY(-2px); }
.cc-icon {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
  background: rgba(255, 204, 0, .16); color: var(--yellow);
}
.cc-text { display: flex; flex-direction: column; min-width: 0; }
.cc-text small { font-size: .68rem; letter-spacing: .1em; color: #9fb5db; }
.cc-text strong { font-size: .92rem; color: #fff; word-break: break-word; }
.contact-hint { font-size: .86rem; color: #9fb5db; }

.contact-form-wrap {
  background: var(--white); color: var(--ink);
  border-radius: 22px; padding: 32px 30px;
  box-shadow: var(--shadow-lg);
}
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .82rem; font-weight: 700; color: var(--ink); }
.field input,
.field select,
.field textarea {
  width: 100%; font-family: var(--font-body); font-size: .92rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 11px;
  padding: 12px 14px; transition: border-color .2s ease, box-shadow .2s ease; outline: none;
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa6bd; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(5, 76, 172, .12); background: #fff; }
.field textarea { resize: vertical; min-height: 76px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2355617a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.contact-form .btn { margin-top: 6px; }
.form-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 2px; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; left: 22px; bottom: 22px; z-index: 80;
  width: 58px; height: 58px; border-radius: 16px;
  background: var(--yellow); color: var(--navy); border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .02em;
  box-shadow: 0 8px 22px rgba(255, 204, 0, .45);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.back-to-top span { line-height: 1; }
.back-to-top svg { transition: transform .25s ease; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover {
  background: var(--navy); color: var(--yellow);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(4, 29, 66, .45);
}
.back-to-top:hover svg { transform: translateY(-3px); }

/* Contact hint WhatsApp link */
.hint-link { color: var(--yellow); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.hint-link:hover { color: #ffe066; }

/* ---------- RTL support (Arabic) ---------- */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .nav-links a::after { left: auto; right: 0; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .service-card ul li,
[dir="rtl"] .check-list li { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .service-card ul li::before { left: auto; right: 0; }
[dir="rtl"] .check-list li::before { left: auto; right: 0; }
[dir="rtl"] .check-list li { padding-right: 32px; }
[dir="rtl"] .faq-item summary { padding: 18px 22px 18px 52px; }
[dir="rtl"] .faq-item summary::after { right: auto; left: 20px; }
[dir="rtl"] .step-num { left: auto; right: 24px; }
[dir="rtl"] .ribbon { right: auto; left: 16px; }
[dir="rtl"] .wa-tooltip { right: auto; left: 70px; }
[dir="rtl"] .back-to-top { left: auto; right: 22px; }
[dir="rtl"] .wa-float { right: auto; left: 22px; }
[dir="rtl"] .cc-text { text-align: right; }

/* ---------- Responsive add-ons ---------- */
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .nav-actions .lang-toggle { padding: 7px 10px; }
  .lang-switch { order: -1; }
  .contact-section { padding: 60px 0; }
  .contact-form-wrap { padding: 26px 22px; }
  /* keep back-to-top clear of the WhatsApp bubble on small screens */
  .back-to-top { width: 52px; height: 52px; bottom: 20px; font-size: .66rem; }
}

/* ============================================================
   TABBED PRICING (category -> sub-category -> tiers)
   ============================================================ */
.pricing-cats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px; width: fit-content; max-width: 100%; margin: 0 auto 20px;
  box-shadow: var(--shadow-sm);
}
.pcat {
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--muted);
  padding: 10px 20px; border-radius: 999px; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.pcat:hover { color: var(--blue); }
.pcat.active { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(5, 76, 172, .32); }

.pricing-subs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 40px;
}
.psub {
  border: 1.5px solid var(--line); background: var(--white); cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: .85rem; color: var(--muted);
  padding: 9px 18px; border-radius: 999px; white-space: nowrap;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.psub:hover { border-color: var(--blue); color: var(--blue); }
.psub.active { background: rgba(5, 76, 172, .10); border-color: var(--blue); color: var(--blue); }

.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier-card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: 22px; padding: 32px 28px; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tier-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tier-card.popular { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); transform: scale(1.03); z-index: 2; }
.tier-card.popular:hover { transform: scale(1.03) translateY(-6px); }
.tier-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--yellow); color: var(--navy);
  font-size: .72rem; font-weight: 800; padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255, 204, 0, .4);
}
.tier-price { font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; color: var(--blue); line-height: 1.1; }
.tier-tagline { color: var(--muted); font-size: .85rem; margin: 6px 0 4px; }
.tier-name { font-size: 1.3rem; font-weight: 700; margin: 8px 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.tier-features { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 0 0 26px; }
.tier-features li { position: relative; padding-left: 26px; font-size: .88rem; color: var(--muted); }
.tier-features li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--blue); font-weight: 800;
}
.tier-card.popular .tier-features li::before { color: var(--blue); }
.tier-card .btn { margin-top: auto; }

@media (max-width: 1024px) {
  .pricing-cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .tier-card.popular { transform: none; }
  .tier-card.popular:hover { transform: translateY(-6px); }
}
@media (max-width: 720px) {
  .pricing-cats { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; border-radius: 16px; -webkit-overflow-scrolling: touch; }
  .pricing-subs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; }
  .pcat, .psub { flex: 0 0 auto; }
}

/* RTL tweaks for pricing tiers */
[dir="rtl"] .tier-badge { right: auto; left: 16px; }
[dir="rtl"] .tier-features li { padding-left: 0; padding-right: 26px; }
[dir="rtl"] .tier-features li::before { left: auto; right: 0; }

/* ============================================================
   CONTACT FORM v2 — two-column rows, country-code picker
   ============================================================ */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row .field { min-width: 0; }

.tel-group { position: relative; display: flex; align-items: stretch; }
.tel-cc {
  display: flex; align-items: center; gap: 5px;
  background: var(--bg); border: 1.5px solid var(--line); border-right: 0;
  border-radius: 11px 0 0 11px; padding: 0 10px; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: .88rem; color: var(--ink);
  white-space: nowrap; transition: border-color .2s ease;
}
.tel-flag { font-size: 1.05rem; line-height: 1; display: inline-flex; align-items: center; }
.flag-img { width: 22px; height: 16px; object-fit: cover; border-radius: 3px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.tel-caret { opacity: .55; transition: transform .2s ease; }
.tel-group.tel-open .tel-caret { transform: rotate(180deg); }
.tel-group input#cf-wa { border-radius: 0 11px 11px 0; flex: 1; min-width: 0; }
.tel-group.tel-open .tel-cc,
.tel-group:focus-within .tel-cc { border-color: var(--blue); }

.tel-menu {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 8px; display: none;
}
.tel-group.tel-open .tel-menu { display: block; }
.tel-search {
  width: 100%; margin-bottom: 6px; padding: 9px 12px;
  border: 1.5px solid var(--line); border-radius: 8px; font-size: .88rem; outline: none;
  font-family: var(--font-body);
}
.tel-search:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(5,76,172,.1); }
.tel-list { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow-y: auto; }
.tel-item { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 7px; cursor: pointer; font-size: .88rem; }
.tel-item:hover { background: rgba(5,76,172,.08); }
.tel-item .ti-flag { font-size: 1.05rem; line-height: 1; display: inline-flex; align-items: center; }
.tel-item .ti-name { flex: 1; color: var(--ink); }
.tel-item .ti-dial { color: var(--muted); font-weight: 600; }

.form-note-success { color: #157347 !important; font-weight: 600; }

[dir="rtl"] .tel-cc { border-right: 1.5px solid var(--line); border-left: 0; border-radius: 0 11px 11px 0; }
[dir="rtl"] .tel-group input#cf-wa { border-radius: 11px 0 0 11px; }

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; gap: 15px; }
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter { background: var(--bg); padding: 56px 0; border-top: 1px solid var(--line); }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.nl-copy h3 { font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.nl-copy p { color: var(--muted); max-width: 470px; font-size: .95rem; }
.nl-form { display: flex; gap: 10px; flex: 1; min-width: 300px; max-width: 540px; }
.nl-input { position: relative; flex: 1; display: flex; align-items: center; }
.nl-input svg { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.nl-input input {
  width: 100%; padding: 14px 16px 14px 42px; border: 1.5px solid var(--line);
  border-radius: 12px; background: #fff; font-family: var(--font-body); font-size: .95rem;
  outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.nl-input input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(5, 76, 172, .12); }
.nl-form .btn { white-space: nowrap; }
.nl-note { text-align: center; margin: 14px 0 0; font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.nl-note.nl-ok { color: #1a7f4b; }
.nl-note.nl-error { color: #c0392b; }

@media (max-width: 820px) {
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .nl-form { width: 100%; max-width: none; }
}
@media (max-width: 560px) {
  .nl-form { flex-direction: column; }
  .nl-form .btn { width: 100%; }
}
[dir="rtl"] .nl-input input { padding: 14px 42px 14px 16px; }
[dir="rtl"] .nl-input svg { left: auto; right: 14px; }

/* Free Resources — force perfect square (1080×1080) display, never overflow */
.resource-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: #eef3fb; }
