/* ============================================================
   Radiant Code & Connect — Premium Gold/White Design System
   ============================================================ */

:root {
  /* Brand palette — tuned to the Radiant logo orange (#D57F2C) */
  --gold-deep: #B25E18;
  --gold: #D57F2C;
  --gold-bright: #E59148;
  --gold-light: #EDAA6E;
  --gold-pale: #F7D9BB;
  --gold-wash: #FCF2E8;

  /* Neutrals */
  --white: #FFFFFF;
  --champagne: #FBF8F1;   /* warm off-white surface */
  --champagne-2: #F6F0E3;
  --ink: #1B110A;         /* warm espresso for dark sections */
  --ink-2: #271A10;
  --ink-3: #3A2818;
  --text: #1B1C20;
  --text-soft: #4A4B52;
  --text-muted: #84858C;
  --line: rgba(20, 18, 12, 0.10);
  --line-soft: rgba(20, 18, 12, 0.06);
  --line-gold: rgba(197, 110, 30, 0.28);

  /* Metallic brand gradient */
  --grad-gold: linear-gradient(135deg, #F2B274 0%, #E08B40 33%, #C56E1E 61%, #EAA055 100%);
  --grad-gold-soft: linear-gradient(135deg, #FBE2C9 0%, #EDAA6E 100%);

  /* Type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1240px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 12px rgba(20, 18, 12, 0.05);
  --shadow: 0 14px 40px rgba(20, 18, 12, 0.08);
  --shadow-gold: 0 18px 50px rgba(197, 110, 30, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }

.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: var(--gold); display: inline-block;
}
.eyebrow.no-line::before { display: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.08; color: var(--text); letter-spacing: -0.01em; }
.display { font-size: clamp(44px, 6.2vw, 86px); font-weight: 800; line-height: 1.02; }
h2.title { font-size: clamp(34px, 4.4vw, 56px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--text-soft); line-height: 1.7; max-width: 60ch; }

.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  padding: 15px 30px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: all .35s var(--ease);
  letter-spacing: 0.01em; white-space: nowrap;
}
.btn-gold {
  background: var(--grad-gold); color: #2A2008;
  box-shadow: 0 10px 28px rgba(176, 137, 35, 0.32);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(176, 137, 35, 0.42); filter: saturate(1.08); }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--line-gold);
}
.btn-ghost:hover { border-color: var(--gold); background: var(--gold-wash); color: var(--gold-deep); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { transform: translateY(-2px); background: var(--ink-2); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-arrow svg { transition: transform .35s var(--ease); }
.btn:hover .btn-arrow svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .4s var(--ease);
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line-soft);
  padding: 14px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand .brand-logo { height: 38px; width: auto; display: block; transition: opacity .35s var(--ease), transform .5s var(--ease); }
.brand:hover .brand-logo { opacity: .82; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 15.5px; font-weight: 600; color: var(--text-soft);
  padding: 8px 14px; border-radius: 999px; transition: all .25s var(--ease);
  position: relative; white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--gold-deep); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--grad-gold); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--white);
  display: flex; flex-direction: column; padding: 100px 32px 40px;
  transform: translateX(100%); transition: transform .5s var(--ease); gap: 4px;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-family: var(--serif); font-size: 28px; font-weight: 700; padding: 16px 0; border-bottom: 1px solid var(--line-soft); flex: 0 0 auto; }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 24px; flex: 0 0 auto; }
@media (max-height: 720px) {
  .mobile-menu { padding-top: 88px; }
  .mobile-menu a { font-size: 23px; padding: 11px 0; }
  .mobile-menu .btn { margin-top: 16px; margin-bottom: 8px; }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
  transition: all .4s var(--ease); position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-gold); }
.card:hover::before { transform: scaleX(1); }

.svc-icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gold-wash); border: 1px solid var(--line-gold); margin-bottom: 22px;
  transition: all .4s var(--ease);
}
.svc-icon svg { width: 28px; height: 28px; stroke: var(--gold-deep); }
.card:hover .svc-icon { background: var(--grad-gold); }
.card:hover .svc-icon svg { stroke: #2A2008; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 15px; line-height: 1.6; }
.card .more {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; color: var(--gold-deep);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.card .more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.card:hover .more svg { transform: translateX(4px); }

/* ---------- Dark section ---------- */
.dark { background: var(--ink); color: #EDEDF0; position: relative; overflow: hidden; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark p { color: rgba(237,237,240,0.7); }
.dark .eyebrow { color: var(--gold-light); }
.dark .eyebrow::before { background: var(--gold); }
.glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  background: radial-gradient(circle, rgba(200,162,75,0.5), transparent 70%);
  pointer-events: none;
}

/* ---------- Stats ---------- */
.stat .num { font-family: var(--serif); font-weight: 800; font-size: clamp(40px, 5vw, 62px); line-height: 1; }
.stat .lbl { font-size: 14px; color: var(--text-muted); margin-top: 8px; font-weight: 600; letter-spacing: 0.02em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(237,237,240,0.66); padding: 80px 0 34px; position: relative; overflow: hidden; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin-bottom: 20px; }
.site-footer a { color: rgba(237,237,240,0.66); font-size: 14.5px; transition: color .25s; display: inline-block; padding: 5px 0; }
.site-footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.09); }
.footer-brand .brand-logo { height: 44px; width: auto; display: block; }
.footer-col ul { list-style: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 13px; color: rgba(237,237,240,0.5); flex-wrap: wrap; gap: 14px; }
.social { display: flex; gap: 12px; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.14); display: grid; place-items: center; padding: 0; }
.social a:hover { background: var(--grad-gold); border-color: transparent; }
.social a:hover svg { stroke: #2A2008; }
.social svg { width: 17px; height: 17px; stroke: rgba(237,237,240,0.8); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 170px 0 80px; position: relative; overflow: hidden; }
.page-hero .display { font-size: clamp(40px, 5.2vw, 72px); }
.breadcrumb { font-size: 13.5px; color: var(--text-muted); margin-bottom: 22px; font-weight: 600; letter-spacing: 0.02em; }
.breadcrumb a:hover { color: var(--gold-deep); }

/* decorative thin gold rule */
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border: none; }

/* ---------- Promo banner (new services highlight) ---------- */
.promo-banner {
  position: relative; overflow: hidden; background: var(--grad-gold);
  border-radius: 26px; padding: 46px 54px; display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap; box-shadow: var(--shadow-gold);
}
.promo-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(640px 220px at 82% -40%, rgba(255,255,255,0.55), transparent 60%);
}
.promo-banner > * { position: relative; }
.pb-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase; color: #6B4E08;
}
.pb-eyebrow .star { width: 16px; height: 16px; }
.promo-banner h2 { color: #2A2008; font-size: clamp(26px, 3vw, 40px); margin: 13px 0 10px; line-height: 1.08; }
.promo-banner p { color: #5A4410; font-size: 16px; max-width: 48ch; line-height: 1.6; }
.pb-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { transform: translateY(-2px); background: var(--ink-2); box-shadow: 0 12px 30px rgba(20,18,12,0.3); }
.btn-outline-ink { background: rgba(255,255,255,0.35); border-color: rgba(42,32,8,0.35); color: #2A2008; }
.btn-outline-ink:hover { border-color: #2A2008; background: rgba(255,255,255,0.6); transform: translateY(-2px); }
.pb-tags { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.pb-tag { background: rgba(42,32,8,0.12); color: #4A380A; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
@media (max-width: 760px) { .promo-banner { padding: 32px 28px; } .pb-actions { width: 100%; } .pb-actions .btn { flex: 1; } }

/* ---------- Article / detail pages ---------- */
.article-hero { padding: 160px 0 44px; position: relative; overflow: hidden;
  background: radial-gradient(1000px 520px at 78% -10%, var(--gold-wash), transparent 60%); }
.article-hero .glow { width: 440px; height: 440px; top: -160px; right: -100px; }
.article-narrow { max-width: 768px; margin: 0 auto; }
.article-title { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.07; margin: 18px 0 20px; }
.article-meta { display: flex; gap: 13px; align-items: center; font-size: 14px; color: var(--text-muted); font-weight: 600; flex-wrap: wrap; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.article-figure { height: 300px; border-radius: 22px; margin: 6px 0 40px; display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.article-figure .glow { width: 300px; height: 300px; }
.article-figure svg { width: 78px; height: 78px; position: relative; }
.article-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.prose { max-width: 768px; margin: 0 auto; }
.prose p { font-size: 17.5px; line-height: 1.82; color: var(--text-soft); margin: 0 0 22px; }
.prose .lead-para { font-size: 20px; color: var(--text); line-height: 1.7; }
.prose h2 { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 33px); margin: 48px 0 16px; color: var(--text); }
.prose h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; margin: 30px 0 10px; color: var(--text); }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 22px; }
.prose li { font-size: 17px; line-height: 1.7; color: var(--text-soft); margin-bottom: 10px; }
.prose li::marker { color: var(--gold-deep); }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.pullquote { border-left: 3px solid var(--gold); padding: 6px 0 6px 26px; margin: 36px 0; font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 27px); line-height: 1.4; color: var(--text); font-style: italic; }

.cs-layout { display: grid; grid-template-columns: 1fr 290px; gap: 54px; align-items: start; max-width: 1080px; margin: 0 auto; }
.cs-side { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: 20px; padding: 30px; background: var(--champagne); }
.cs-side h4 { font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.cs-side .v { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 22px; line-height: 1.4; }
.cs-side .chips2 { display: flex; flex-wrap: wrap; gap: 7px; }
.cs-side .chips2 span { font-size: 12px; font-weight: 600; color: var(--text-soft); background: #fff; border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold-deep); font-size: 14px; }
.back-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.back-link:hover svg { transform: translateX(-4px); }
@media (max-width: 860px) { .cs-layout { grid-template-columns: 1fr; gap: 36px; } .cs-side { position: static; } }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ind-tile { display: flex; align-items: center; gap: 15px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); transition: all .35s var(--ease); }
.ind-tile:hover { border-color: var(--line-gold); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.ind-tile .ic { width: 46px; height: 46px; border-radius: 12px; flex: 0 0 auto; display: grid; place-items: center; background: var(--gold-wash); border: 1px solid var(--line-gold); transition: all .35s var(--ease); }
.ind-tile .ic svg { width: 23px; height: 23px; stroke: var(--gold-deep); }
.ind-tile:hover .ic { background: var(--grad-gold); }
.ind-tile:hover .ic svg { stroke: #2A2008; }
.ind-tile span { font-weight: 700; font-size: 15.5px; }
@media (max-width: 980px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .ind-grid { grid-template-columns: 1fr; } }

/* ---------- Technologies ---------- */
.tech-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; }
.tech-col h4 { font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px; padding-bottom: 13px; border-bottom: 1px solid var(--line-gold); }
.tech-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.tech-col li { font-size: 15.5px; color: var(--text-soft); font-weight: 600; }
@media (max-width: 1100px) { .tech-cols { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
@media (max-width: 860px) { .tech-cols { grid-template-columns: repeat(2, 1fr); gap: 26px; } }

/* ---------- Recognition / AWS ---------- */
.aws-band { display: flex; align-items: stretch; justify-content: center; gap: 20px; flex-wrap: wrap; }
.aws-badge { display: flex; align-items: center; gap: 16px; padding: 20px 28px; border: 1px solid var(--line-gold); border-radius: 16px; background: var(--white); transition: all .35s var(--ease); }
.aws-badge:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.aws-badge .ic { width: 50px; height: 50px; border-radius: 13px; background: var(--grad-gold); display: grid; place-items: center; flex: 0 0 auto; }
.aws-badge .ic svg { width: 27px; height: 27px; stroke: #2A2008; }
.aws-badge .t { font-weight: 800; font-size: 17px; color: var(--text); line-height: 1.2; }
.aws-badge .s { font-size: 13px; color: var(--text-muted); font-weight: 600; margin-top: 2px; }

/* ---------- Misc ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px;
  border-radius: 999px; background: var(--gold-wash); border: 1px solid var(--line-gold);
  font-size: 13px; font-weight: 700; color: var(--gold-deep); letter-spacing: 0.02em;
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 980px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .section { padding: 76px 0; }
  .nav-cta .btn { display: none; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Footer legal links (injected site-wide) ---------- */
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-legal a { font-size: 13px; color: rgba(237,237,240,0.5); font-weight: 600; padding: 0; }
.footer-legal a:hover { color: var(--gold-light); }
.footer-legal button { background: none; border: none; cursor: pointer; font-family: var(--sans); font-size: 13px; color: rgba(237,237,240,0.5); font-weight: 600; padding: 0; transition: color .25s var(--ease); }
.footer-legal button:hover { color: var(--gold-light); }

/* ---------- Legal pages ---------- */
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 20px; font-size: 13.5px; color: var(--text-muted); font-weight: 600; }
.legal-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.prose h2 .anchor-num { color: var(--gold-deep); font-family: var(--sans); font-weight: 800; font-size: 0.62em; margin-right: 10px; letter-spacing: 0.02em; }
.legal-note { margin-top: 16px; padding: 18px 22px; border: 1px solid var(--line-gold); background: var(--gold-wash); border-radius: 14px; font-size: 14.5px; color: var(--text-soft); line-height: 1.6; }

/* ---------- Cookie consent snackbar ---------- */
.cookie-bar {
  position: fixed; left: 24px; bottom: 24px; z-index: 200;
  width: 380px; max-width: calc(100vw - 48px);
  background: #fff; border: 1px solid var(--line-gold);
  border-radius: 18px; box-shadow: 0 22px 60px rgba(20,18,12,0.20);
  padding: 20px 22px; display: flex; flex-direction: column; gap: 16px;
  transform: translateY(160%); opacity: 0;
  transition: transform .65s var(--ease), opacity .5s var(--ease);
}
.cookie-bar.show { transform: none; opacity: 1; }
.cookie-bar .cb-head { display: flex; align-items: flex-start; gap: 14px; }
.cookie-bar .cb-ic {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px;
  background: var(--gold-wash); border: 1px solid var(--line-gold);
  display: grid; place-items: center;
}
.cookie-bar .cb-ic svg { width: 22px; height: 22px; stroke: var(--gold-deep); }
.cookie-bar .cb-text h4 { font-family: var(--sans); font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 5px; letter-spacing: 0; }
.cookie-bar .cb-text p { font-size: 13px; line-height: 1.55; color: var(--text-soft); }
.cookie-bar .cb-text a { color: var(--gold-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar .cb-actions { display: flex; gap: 10px; }
.cookie-bar .cb-actions .btn { flex: 1; padding: 11px 16px; font-size: 13.5px; }
@media (max-width: 520px) { .cookie-bar { left: 16px; right: 16px; bottom: 16px; width: auto; } }

/* ---------- Captcha widget (shared) ---------- */
.captcha { display: flex; align-items: center; gap: 12px; }
.captcha-q {
  display: flex; align-items: center; gap: 10px; flex: 0 0 auto;
  background: var(--champagne-2); border: 1px solid var(--line-gold);
  border-radius: 12px; padding: 11px 14px; user-select: none;
}
.captcha-q b { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--text); letter-spacing: 0.04em; min-width: 86px; text-align: center; }
.captcha-refresh {
  appearance: none; border: none; background: none; cursor: pointer;
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  color: var(--gold-deep); transition: background .2s var(--ease), transform .4s var(--ease);
}
.captcha-refresh:hover { background: var(--gold-wash); }
.captcha-refresh:active { transform: rotate(-180deg); }
.captcha-refresh svg { width: 17px; height: 17px; }
.captcha input { width: 100%; }

/* ---------- Apply modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(18,14,8,0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 20px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .32s var(--ease), visibility .32s var(--ease);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.apply-modal {
  width: 100%; max-width: 540px; margin: auto;
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 40px 100px rgba(20,18,12,0.4);
  padding: 34px 36px 36px; position: relative;
  transform: translateY(24px) scale(0.98); opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.modal-overlay.open .apply-modal { transform: none; opacity: 1; }
.apply-modal .am-close {
  position: absolute; top: 20px; right: 20px;
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; display: grid; place-items: center;
  color: var(--text-soft); transition: all .25s var(--ease);
}
.apply-modal .am-close:hover { background: var(--champagne-2); color: var(--text); border-color: var(--line-gold); }
.apply-modal .am-close svg { width: 18px; height: 18px; }
.apply-modal .am-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.apply-modal h2 { font-family: var(--serif); font-size: 28px; line-height: 1.15; margin: 8px 0 4px; color: var(--text); }
.apply-modal .am-sub { font-size: 14.5px; color: var(--text-soft); margin-bottom: 24px; }
.apply-modal .am-body { display: flex; flex-direction: column; }
.am-field { margin-bottom: 18px; }
.am-field label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 8px; }
.am-field input, .am-field textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--text);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--champagne);
  transition: all .25s var(--ease); outline: none; box-sizing: border-box;
}
.am-field input:focus, .am-field textarea:focus { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(200,162,75,0.14); }
.am-field textarea { resize: vertical; min-height: 92px; }
.am-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.am-err { color: #B4451F; font-size: 12.5px; margin-top: 6px; display: none; }
.am-field.invalid input, .am-field.invalid textarea { border-color: #D98A6A; background: #fff; }
.am-field.invalid .am-err { display: block; }

/* CV dropzone */
.cv-drop {
  border: 1.5px dashed var(--line-gold); border-radius: 14px; background: var(--gold-wash);
  padding: 22px 18px; text-align: center; cursor: pointer; transition: all .25s var(--ease);
}
.cv-drop:hover, .cv-drop.drag { background: var(--gold-pale); border-color: var(--gold); }
.cv-drop .cv-ic { width: 42px; height: 42px; margin: 0 auto 10px; border-radius: 11px; background: #fff; border: 1px solid var(--line-gold); display: grid; place-items: center; }
.cv-drop .cv-ic svg { width: 21px; height: 21px; stroke: var(--gold-deep); }
.cv-drop .cv-main { font-size: 14.5px; font-weight: 700; color: var(--text); }
.cv-drop .cv-main b { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.cv-drop .cv-hint { font-size: 12.5px; color: var(--text-muted); margin-top: 4px; }
.am-field.invalid .cv-drop { border-color: #D98A6A; background: #fff5f0; }
.cv-file {
  display: none; align-items: center; gap: 13px;
  border: 1px solid var(--line-gold); border-radius: 12px; background: #fff; padding: 13px 15px;
}
.cv-file.show { display: flex; }
.cv-file .cv-fic { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 9px; background: var(--gold-wash); display: grid; place-items: center; }
.cv-file .cv-fic svg { width: 19px; height: 19px; stroke: var(--gold-deep); }
.cv-file .cv-meta { flex: 1; min-width: 0; }
.cv-file .cv-name { font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-file .cv-size { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.cv-file .cv-remove { appearance: none; border: none; background: none; cursor: pointer; color: var(--text-muted); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto; transition: all .2s var(--ease); }
.cv-file .cv-remove:hover { background: #faece6; color: #B4451F; }
.cv-file .cv-remove svg { width: 16px; height: 16px; }

.apply-modal .am-success { display: none; text-align: center; padding: 16px 6px 8px; }
.apply-modal .am-success.show { display: block; }
.apply-modal .am-success .am-check { width: 64px; height: 64px; border-radius: 50%; background: var(--grad-gold); display: grid; place-items: center; margin: 0 auto 18px; }
@media (max-width: 520px) { .apply-modal { padding: 28px 22px 26px; } .am-row { grid-template-columns: 1fr; } }

/* ============================================================
   Premium page loader (initial load + page transitions)
   ============================================================ */
.rcc-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background:
    radial-gradient(820px 560px at 50% 40%, #2B1C10 0%, #18100A 64%, #120B06 100%);
  /* Hidden by default — only revealed when a load is genuinely slow */
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.rcc-loader.show { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }
.rcc-loader-stage { display: flex; flex-direction: column; align-items: center; gap: 30px; transform: translateY(-2%); }

.rcc-loader-emblem { position: relative; width: 92px; height: 92px; display: grid; place-items: center; }
.rcc-loader-emblem::before {
  content: ""; position: absolute; width: 168px; height: 168px; border-radius: 50%;
  background: radial-gradient(circle, rgba(213,127,44,.34), rgba(213,127,44,0) 66%);
  animation: rccHalo 2.8s var(--ease) infinite;
}
.rcc-ring { position: absolute; inset: -2px; border-radius: 50%; border: 1px solid rgba(237,170,110,.22); }
.rcc-ring.r2 { inset: -16px; border-style: dashed; border-color: rgba(237,170,110,.16); animation: rccSpin 11s linear infinite reverse; }
.rcc-rays { width: 58px; height: 58px; animation: rccSpin 6s linear infinite; filter: drop-shadow(0 5px 16px rgba(213,127,44,.55)); }

.rcc-loader-mark {
  font-family: var(--serif); font-weight: 800; font-size: 25px; letter-spacing: .015em;
  color: #F4E7D6; text-align: center; line-height: 1;
  background: linear-gradient(180deg, #F8ECDD, #E6B789);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rcc-loader-mark span {
  display: block; margin-top: 11px;
  font-family: var(--sans); font-weight: 700; font-size: 9.5px; letter-spacing: .44em;
  color: var(--gold-light); -webkit-text-fill-color: var(--gold-light);
}
.rcc-loader-track { position: relative; width: 184px; height: 2px; border-radius: 4px; background: rgba(237,170,110,.16); overflow: hidden; }
.rcc-loader-track i {
  position: absolute; left: 0; top: 0; height: 100%; width: 38%; border-radius: 4px;
  background: var(--grad-gold); box-shadow: 0 0 14px rgba(213,127,44,.65);
  animation: rccSlide 1.15s var(--ease) infinite;
}
@keyframes rccSpin { to { transform: rotate(360deg); } }
@keyframes rccHalo { 0%, 100% { transform: scale(.88); opacity: .45; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes rccSlide { 0% { transform: translateX(-130%); } 100% { transform: translateX(335%); } }
@media (prefers-reduced-motion: reduce) {
  .rcc-rays, .rcc-ring.r2, .rcc-loader-emblem::before, .rcc-loader-track i { animation: none; }
  .rcc-loader-track i { width: 100%; }
}
