/* =========================================================
   Jawany Insurance Agency — Professional Stylesheet
   Type: Sora (display) + Inter (text)
   ========================================================= */

:root {
  --brand-orange: #ff5600;
  --brand-teal: #0cb5c6;
  --brand-cyan: #00d8ff;
  --green: var(--brand-orange);
  --green-dark: #c94400;
  --green-soft: #fff1e9;
  --green-glow: rgba(255, 86, 0, 0.35);
  --navy: #083b45;
  --navy-2: #0a4b56;
  --navy-light: #0c6270;
  --ink: #1c2333;
  --muted: #5a6577;
  --muted-2: #8a93a3;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --white: #ffffff;
  --line: #e7ecf3;
  --line-soft: #eef2f7;
  --shadow-sm: 0 4px 14px rgba(8, 59, 69, 0.06);
  --shadow: 0 14px 40px rgba(8, 59, 69, 0.09);
  --shadow-lg: 0 30px 70px rgba(8, 59, 69, 0.16);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --maxw: 1200px;
  --display: "Sora", "Segoe UI", sans-serif;
  --font: "Inter", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 60px 0; }
.bg-alt { background: var(--bg-alt); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { color: var(--ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-dark);
  background: var(--green-soft); padding: 7px 15px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin-bottom: 0; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }
.lead { font-size: 1.14rem; color: var(--muted); line-height: 1.75; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 600; font-size: 0.97rem;
  padding: 14px 28px; border-radius: 12px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-dark); color: #fff; box-shadow: 0 10px 24px var(--green-glow); }
.btn-primary:hover { background: #a93600; box-shadow: 0 14px 30px var(--green-glow); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--green); color: var(--green-dark); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }

/* ---------- Jawany brand ---------- */
.logo { display: inline-flex; align-items: center; flex: none; }
.logo .brand-logo {
  display: block;
  width: auto;
  height: 56px;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
}

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #b8c4dd; font-size: 0.84rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 24px; flex-wrap: wrap; }
.topbar a { color: #dbe3f1; font-weight: 500; }
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info svg { width: 15px; height: 15px; color: var(--green); }
.topbar-social { display: flex; gap: 8px; align-items: center; }
.topbar-social a { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: .2s; }
.topbar-social a:hover { background: var(--green); color: #fff; }
.topbar-social svg { width: 14px; height: 14px; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; }
.nav-links { display: flex; align-items: center; gap: 24px; margin: 0 auto; }
.nav-links a { font-weight: 500; color: var(--ink); position: relative; padding: 4px 0; font-size: 0.94rem; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--green); transition: width .25s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--green-dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 11px 22px; font-size: 0.92rem; }
.nav-actions .btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.nav-actions .btn-ghost:hover { border-color: var(--green); color: var(--green-dark); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 25px; height: 2.5px; background: var(--navy); border-radius: 3px; transition: .3s; }
.nav-toggle span + span { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, var(--navy) 20%, rgba(8, 59, 69,.82) 55%, rgba(8, 59, 69,.5) 100%);
}
.hero-glow { position: absolute; right: -140px; top: -120px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, var(--green-glow), transparent 68%); z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding: 92px 0; position: relative; z-index: 2; }
.hero .eyebrow { background: rgba(255, 86, 0,.16); color: #ffd1ba; }
.hero .eyebrow::before { background: var(--green); }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--green); }
.hero p { color: #c6d0e4; font-size: 1.15rem; margin: 22px 0 34px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--display); font-size: 2.1rem; font-weight: 800; color: #fff; }
.hero-stats .lbl { font-size: 0.85rem; color: #a8b4cd; }
.hero-stats > div { position: relative; }
.hero-stats > div + div::before { content: ""; position: absolute; left: -20px; top: 6px; bottom: 6px; width: 1px; background: rgba(255,255,255,.15); }

.hero-card { background: rgba(255,255,255,.98); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); color: var(--ink); }
.hero-card h3 { color: var(--navy); margin-bottom: 6px; font-size: 1.35rem; }
.hero-card > p { color: var(--muted); font-size: 0.95rem; margin: 0 0 22px; }
.quote-form label { display: block; font-size: 0.8rem; color: var(--navy); margin: 14px 0 6px; font-weight: 600; }
.quote-form select, .quote-form input {
  width: 100%; padding: 13px 14px; border-radius: 11px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); font-size: 0.95rem; font-family: inherit; transition: border .2s, box-shadow .2s;
}
.quote-form select:focus, .quote-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(255, 86, 0,.14); }
.quote-form .btn { width: 100%; margin-top: 20px; }
.hero-card .trust { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.82rem; color: var(--muted); justify-content: center; }
.hero-card .trust svg { width: 16px; height: 16px; color: var(--green); }

/* ---------- Trust / partners strip ---------- */
.trust-strip { padding: 34px 0; border-bottom: 1px solid var(--line-soft); }
.trust-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trust-strip .t-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }
.trust-logos { display: flex; align-items: center; gap: 38px; flex-wrap: wrap; flex: 1; justify-content: space-around; }
.trust-logos span { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: #aeb7c6; letter-spacing: 0.01em; transition: color .2s; }
.trust-logos span:hover { color: var(--navy); }

/* ---------- Quick chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: 0.92rem; transition: .2s; }
.chip svg { width: 18px; height: 18px; color: var(--green-dark); }
.chip:hover { border-color: var(--green); color: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

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

.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(145deg, var(--green-soft), #ffffff); border: 1px solid var(--line-soft); color: var(--green-dark); margin-bottom: 22px; transition: .25s; }
.card:hover .icon { background: linear-gradient(145deg, var(--green), var(--green-dark)); color: #fff; }
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--green-dark); font-weight: 600; font-size: 0.9rem; }
.card .more svg { width: 15px; height: 15px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.2; background: var(--green-soft); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split .media .badge {
  position: absolute; left: 22px; bottom: 22px; background: rgba(255,255,255,.96);
  border-radius: var(--radius-sm); padding: 16px 20px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 14px;
}
.split .media .badge .b-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; }
.split .media .badge .b-ico svg { width: 22px; height: 22px; }
.split .media .badge strong { display: block; font-family: var(--display); color: var(--navy); font-size: 1.4rem; line-height: 1; }
.split .media .badge span { font-size: 0.8rem; color: var(--muted); }
.check-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; color: var(--ink); }
.check-list li .ck { width: 26px; height: 26px; border-radius: 8px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.check-list li .ck svg { width: 15px; height: 15px; }

/* ---------- Stats band ---------- */
.band { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.band::before { content: ""; position: absolute; left: -100px; bottom: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 86, 0,.22), transparent 70%); }
.band .grid-4 { text-align: center; position: relative; z-index: 1; }
.band .num { font-family: var(--display); font-size: 2.6rem; font-weight: 800; color: var(--green); }
.band .lbl { color: #b8c4dd; font-size: 0.92rem; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; }
.step .s-num { counter-increment: step; font-family: var(--display); font-size: 3rem; font-weight: 800; color: var(--green-soft); line-height: 1; margin-bottom: 8px; }
.step .s-num::before { content: "0" counter(step); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }
.step .s-ico { position: absolute; top: 30px; right: 30px; width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; }
.step .s-ico svg { width: 22px; height: 22px; }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; transition: box-shadow .2s; }
.faq-item.open { box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 24px; font-family: var(--display); font-size: 1.02rem; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .plus { color: var(--green); font-size: 1.5rem; transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 24px; color: var(--muted); }
.faq-item.open .faq-a { padding: 0 24px 22px; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; }
.quote-card .qmark { font-family: var(--display); font-size: 3.4rem; line-height: 0.6; color: var(--green-soft); position: absolute; top: 26px; right: 28px; }
.quote-card .stars { color: #f5a623; margin-bottom: 14px; letter-spacing: 3px; font-size: 0.95rem; }
.quote-card p { color: var(--ink); font-size: 1.02rem; line-height: 1.7; }
.quote-card .who { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.quote-card .who .avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--display); }
.quote-card .who strong { color: var(--navy); display: block; font-size: 0.96rem; }
.quote-card .who span { color: var(--muted); font-size: 0.83rem; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: linear-gradient(130deg, var(--navy) 0%, var(--navy-light) 100%); color: #fff; border-radius: var(--radius-lg); padding: 68px 54px; text-align: center; box-shadow: var(--shadow-lg); }
.cta::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, var(--green-glow), transparent 70%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: #c6d0e4; max-width: 560px; margin: 16px auto 30px; font-size: 1.08rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--navy); color: #fff; padding: 88px 0 76px; text-align: center; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -120px; top: -120px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, var(--green-glow), transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c6d0e4; max-width: 620px; margin: 16px auto 0; font-size: 1.08rem; }
.breadcrumb { margin-top: 18px; font-size: 0.9rem; color: #93a1c0; }
.breadcrumb a { color: var(--green); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 46px; }
.info-card { display: flex; gap: 16px; margin-bottom: 24px; }
.info-card > div:last-child { min-width: 0; }
.info-card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; flex-shrink: 0; }
.info-card .ic svg { width: 24px; height: 24px; }
.info-card h4 { color: var(--navy); margin-bottom: 3px; font-size: 1.05rem; }
.info-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.info-card a { color: var(--muted); overflow-wrap: anywhere; }
.info-card a:hover { color: var(--green-dark); }

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 7px; color: var(--navy); }
form input, form select, form textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px; font-family: inherit; font-size: 0.96rem; color: var(--ink); background: #fff; transition: border .2s, box-shadow .2s; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(255, 86, 0,.14); }
form textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { padding: 14px 16px; border-radius: 11px; margin-bottom: 16px; font-size: 0.92rem; display: none; }
.form-note.ok { background: var(--green-soft); color: var(--green-dark); display: block; }
.form-note.err { background: #fdecec; color: #c0392b; display: block; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Values ---------- */
.value { text-align: center; }
.value .icon { margin: 0 auto 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #a8b4cd; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer .logo { background: #fff; padding: 8px 10px; border-radius: 6px; }
.site-footer .logo .brand-logo { width: auto; height: 54px; max-width: 178px; }
.site-footer p { font-size: 0.93rem; margin-top: 18px; color: #93a1c0; line-height: 1.75; }
.site-footer h4 { color: #fff; font-family: var(--display); font-size: 1rem; margin-bottom: 20px; }
.site-footer ul li { margin-bottom: 12px; display: flex; align-items: center; gap: 9px; font-size: 0.93rem; }
.site-footer ul li svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.site-footer ul a { color: #a8b4cd; font-size: 0.93rem; }
.site-footer ul a:hover { color: var(--green); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; transition: .2s; }
.footer-social a svg { width: 17px; height: 17px; }
.footer-social a:hover { background: var(--green); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; text-align: center; font-size: 0.87rem; color: #7f8dab; }
.footer-bottom a { color: var(--green); }

/* ---------- Product detail page ---------- */
.product-layout { display: grid; grid-template-columns: 1.7fr 380px; gap: 48px; align-items: start; }
.product-main .prod-block { margin-bottom: 44px; }
.product-main .prod-block:last-child { margin-bottom: 0; }
.product-main h2 { font-family: var(--display); font-size: 1.5rem; color: var(--navy); margin: 0 0 18px; position: relative; padding-bottom: 12px; }
.product-main h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px; border-radius: 3px; background: var(--green); }
.product-main .prod-block > p { color: var(--muted); font-size: 1.02rem; line-height: 1.8; margin: 0; }

.limit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.limit-grid .limit { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.limit-grid .limit .l-lbl { color: var(--muted); font-size: 0.92rem; }
.limit-grid .limit .l-val { color: var(--navy); font-weight: 700; font-size: 0.98rem; text-align: right; }

.x-list, .doc-list { list-style: none; margin: 0; padding: 0; }
.x-list li, .doc-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; color: var(--ink); }
.x-list li .xk { width: 26px; height: 26px; border-radius: 8px; background: #fdecec; color: #d64545; display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.x-list li .xk svg { width: 15px; height: 15px; }
.doc-list li .dk { width: 26px; height: 26px; border-radius: 8px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.doc-list li .dk svg { width: 15px; height: 15px; }

.product-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.quote-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; box-shadow: var(--shadow); text-align: center; }
.quote-box .qb-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; margin: 0 auto 16px; }
.quote-box .qb-icon svg { width: 30px; height: 30px; }
.quote-box h3 { font-family: var(--display); font-size: 1.22rem; color: var(--navy); margin: 0 0 4px; }
.quote-box .qb-from { color: var(--muted); font-size: 0.86rem; margin: 0; }
.quote-box .qb-price { font-family: var(--display); font-size: 1.9rem; font-weight: 800; color: var(--navy); margin: 2px 0 20px; }
.quote-box .qb-price small { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.quote-box .btn svg { width: 16px; height: 16px; }
.quote-box .qb-trust { display: flex; gap: 10px; align-items: flex-start; text-align: left; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.quote-box .qb-trust svg { width: 18px; height: 18px; color: var(--green-dark); flex-shrink: 0; margin-top: 1px; }
.help-box { background: var(--navy); border-radius: 18px; padding: 26px; color: #fff; }
.help-box h4 { font-family: var(--display); font-size: 1.1rem; margin: 0 0 8px; }
.help-box p { color: #b9c4de; font-size: 0.92rem; line-height: 1.6; margin: 0 0 18px; }
.help-box .btn-outline { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.help-box .btn-outline:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; padding: 68px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip .container { justify-content: center; }
  .product-layout { grid-template-columns: 1fr; gap: 36px; }
  .product-side { position: static; }
}
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; margin: 0; padding: 8px 24px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 720px) {
  .nav-actions .btn { display: none; }
  .grid-3, .grid-4, .grid-2, .steps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .limit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cta { padding: 46px 26px; }
  .topbar-info span:nth-child(3) { display: none; }
  .hero-stats { gap: 26px; }
  .hero-stats > div + div::before { display: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-info { display: none; }
}

/* =========================================================
   2026 Jawany refinement — editorial, credible and on-brand
   ========================================================= */
:root {
  --green: var(--brand-orange);
  --green-dark: #c94400;
  --green-soft: #fff1e9;
  --green-glow: rgba(255,86,0,.22);
  --navy: #083b45;
  --navy-2: #0a4b56;
  --navy-light: #0c6270;
  --ink: #182431;
  --muted: #5d6872;
  --muted-2: #77828c;
  --bg-alt: #f4f3ef;
  --line: #dfe3df;
  --line-soft: #e9ece8;
  --shadow-sm: 0 2px 8px rgba(8, 59, 69,.05);
  --shadow: 0 10px 28px rgba(8, 59, 69,.08);
  --shadow-lg: 0 22px 56px rgba(8,26,42,.2);
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --maxw: 1240px;
  --display: Georgia, "Times New Roman", serif;
  --font: Inter, "Segoe UI", Arial, sans-serif;
}
body { line-height: 1.62; }
h1, h2, h3, h4 { letter-spacing: -.025em; }
h1 { font-size: clamp(2.65rem, 5.4vw, 4.75rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.08; }
.section { padding: 88px 0; }
.section-tight { padding: 48px 0; }
.eyebrow { padding: 0; background: transparent; border-radius: 0; letter-spacing: .12em; }
.eyebrow::before { width: 22px; height: 2px; border-radius: 0; }
.section-head { max-width: 760px; }

.btn { border-radius: 4px; padding: 13px 22px; font-size: .92rem; box-shadow: none; }
.btn:hover { transform: none; }
.btn-primary, .btn-primary:hover { box-shadow: none; }
.btn-primary:hover { background: #c94400; }

.topbar { background: #063943; }
.topbar .container { padding-top: 8px; padding-bottom: 8px; }
.topbar-info { width: 100%; justify-content: space-between; gap: 20px; }
.topbar-info a, .topbar-info span { color: #d8e2e8; font-size: .78rem; letter-spacing: .015em; }
.site-header { background: rgba(255,255,255,.97); backdrop-filter: blur(10px); }
.nav { min-height: 76px; padding-top: 10px; padding-bottom: 10px; }
.nav-links { gap: 28px; }
.nav-links a { font-size: .9rem; }
.nav-links a::after { bottom: -8px; }
.site-header .logo .brand-logo { width: auto; height: 56px; max-width: 184px; }

.portal-menu { position: relative; }
.portal-menu summary { list-style: none; cursor: pointer; color: var(--navy); border: 1px solid var(--line); border-radius: 4px; padding: 10px 17px; font-weight: 600; font-size: .9rem; }
.portal-menu summary::-webkit-details-marker { display: none; }
.portal-menu summary::after { content: "⌄"; margin-left: 8px; color: var(--muted); }
.portal-menu[open] summary { border-color: var(--green); }
.portal-menu > div { position: absolute; right: 0; top: calc(100% + 12px); width: 310px; padding: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 120; }
.portal-menu > div::before { content: "Secure portals"; display: block; padding: 9px 12px 7px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .12em; font-size: .67rem; font-weight: 700; }
.portal-menu > div a { display: grid; gap: 2px; padding: 11px 12px; border-radius: 4px; }
.portal-menu > div a:hover { background: var(--green-soft); }
.portal-menu b { color: var(--navy); font-size: .88rem; }
.portal-menu span { color: var(--muted); font-size: .76rem; }

.nav-menu { position: relative; }
.nav-menu summary { list-style: none; cursor: pointer; color: var(--ink); font-weight: 600; font-size: .9rem; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: "⌄"; margin-left: 6px; color: var(--muted); }
.nav-menu[open] summary { color: var(--green-dark); }
.nav-menu.active summary { color: var(--green-dark); }
.nav-menu > div { position: absolute; left: -18px; top: calc(100% + 18px); width: 260px; padding: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 120; }
.nav-menu > div a { display: block; padding: 11px 12px; border-radius: 4px; color: var(--ink); white-space: nowrap; }
.nav-menu > div a::after { display: none; }
.nav-menu > div a:hover { background: var(--green-soft); color: var(--green-dark); }

.solution-intro { max-width: 820px; }
.solution-intro > p { color: var(--muted); font-size: 1.08rem; }
.solution-note { margin-top: 24px; padding: 18px 20px; border-left: 3px solid var(--green); background: var(--green-soft); color: var(--navy); }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.guide-card { padding: 28px; border: 1px solid var(--line); border-top: 3px solid var(--green); background: #fff; }
.guide-card h3 { margin-bottom: 10px; }
.guide-card p, .guide-card li { color: var(--muted); }
.guide-card ul { display: grid; gap: 8px; margin-top: 14px; }
.guide-card li { position: relative; padding-left: 18px; }
.guide-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); position: absolute; left: 0; top: .65em; }

.hero { min-height: 680px; display: flex; align-items: center; background: #083b45; }
.hero-bg { display: none; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, #000, transparent 72%); }
.hero::after { background: radial-gradient(circle at 78% 44%, rgba(41,153,111,.18), transparent 31%); }
.hero-glow { display: none; }
.hero-grid { padding: 82px 0; grid-template-columns: minmax(0,1.15fr) minmax(360px,.72fr); gap: 90px; }
.hero h1 { max-width: 720px; }
.hero h1 span { color: #00d8ff; }
.hero p { max-width: 650px; color: #d1dce5; font-size: 1.08rem; }
.hero-stats { margin-top: 46px; gap: 0; border-top: 1px solid rgba(255,255,255,.16); max-width: 650px; }
.hero-stats > div { flex: 1; padding: 18px 18px 0 0; }
.hero-stats > div + div::before { left: -14px; top: 19px; bottom: 0; }
.hero-stats .num { font-family: var(--font); font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; color: #00d8ff; }
.hero-stats .lbl { font-size: .84rem; color: #d4dee6; margin-top: 4px; }
.hero-card { padding: 30px; border-radius: 6px; border-top: 4px solid var(--green); }
.hero-card h3 { font-family: var(--font); }

.trust-strip { padding: 25px 0; background: #fff; }
.trust-strip .container { display: block; text-align: center; }
.trust-strip .t-label { display: block; margin-bottom: 16px; }
.trust-logos { gap: 0; justify-content: center; }
.trust-logos span { font-family: var(--font); font-size: .82rem; font-weight: 600; color: var(--navy); padding: 0 22px; border-right: 1px solid var(--line); }
.trust-logos span:last-child { border-right: 0; }

.chip { border-radius: 4px; padding: 10px 16px; background: transparent; }
.card { border-radius: 6px; padding: 30px 28px; box-shadow: none; border-top: 2px solid var(--line); }
.card:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: var(--shadow); }
.card .icon { width: 48px; height: 48px; border-radius: 4px; }
.card:hover .icon { background: var(--green-soft); color: var(--green-dark); }
.split .media { border-radius: 6px; }
.split .media .badge { display: none; }
.band { background: #063943; }
.band::before { display: none; }
.band .num { font-family: var(--font); color: #8deeff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.band .lbl { color: #fff; font-size: .92rem; margin-top: 7px; }
.step { border-radius: 6px; border-top: 3px solid var(--green); }
.step .s-num { color: #ffd9c6; }
.step .s-ico { border-radius: 4px; }
.cta { border-radius: 6px; box-shadow: none; text-align: left; padding: 64px; }
.cta::before { border-radius: 0; right: 0; top: 0; width: 38%; height: 100%; background: linear-gradient(135deg, transparent, rgba(0,216,255,.14)); }
.cta p { margin-left: 0; }
.page-hero { text-align: left; padding: 74px 0 66px; }
.page-hero::before { width: 46%; height: 100%; border-radius: 0; right: 0; top: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 36px 36px; }
.page-hero p { margin-left: 0; }
.breadcrumb { margin-top: 22px; }
.site-footer { background: #063943; }
.site-footer address { display: grid; gap: 12px; font-style: normal; font-size: .87rem; line-height: 1.6; }
.site-footer address a { color: #d8e2e8; }
.site-footer address a:hover { color: #8deeff; }
.footer-bottom { text-align: left; }
.legal-copy { max-width: 820px; }
.legal-copy .legal-date { color: var(--muted); font-size: .86rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 38px; }
.legal-copy h2 { font-family: var(--font); font-size: 1.15rem; letter-spacing: -.01em; margin: 38px 0 9px; }
.legal-copy p { color: var(--muted); }
.legal-copy a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1050px) {
  .nav-links { gap: 17px; }
  .hero-grid { gap: 42px; }
}
@media (max-width: 900px) {
  .topbar-info span { display: none; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 620px; }
  .nav-actions > .btn, .nav-actions > .portal-menu { display: none; }
  .nav-links.open { padding: 18px 24px 26px; }
  .nav-menu { width: 100%; }
  .nav-menu summary { padding: 10px 0; }
  .nav-menu > div { position: static; width: 100%; box-shadow: none; margin: 4px 0 8px; }
  .guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  h1 { font-size: clamp(2.35rem, 13vw, 3.25rem); }
  .topbar-info { display: flex; justify-content: center; }
  .topbar-info a:nth-child(2) { display: none; }
  .hero-grid { padding: 60px 0; }
  .hero-stats { display: grid; grid-template-columns: 1fr; }
  .hero-stats > div { padding-top: 13px; }
  .hero-stats > div + div::before { display: none; }
  .trust-logos span { width: 50%; padding: 7px; border: 0; }
  .cta { padding: 42px 28px; }
}

/* =========================================================
   Editorial photography system — less template, more human
   ========================================================= */
.hero {
  min-height: 730px;
  isolation: isolate;
  background: #063943;
}
.hero-bg { display: block; position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center center; opacity: 1; }
.hero::before {
  z-index: 1;
  background: linear-gradient(90deg, rgba(5,20,33,.97) 0%, rgba(7,29,45,.91) 35%, rgba(7,27,42,.56) 59%, rgba(7,24,38,.1) 82%);
  mask-image: none;
}
.hero::after {
  z-index: 1;
  background: linear-gradient(0deg, rgba(5,18,29,.35), transparent 34%);
}
.hero-grid {
  grid-template-columns: minmax(0, 720px);
  min-height: 730px;
  padding: 100px 0 92px;
  position: relative;
  z-index: 2;
}
.home-hero-copy { max-width: 700px; }
.hero h1 { max-width: 680px; text-wrap: balance; }
.hero p { max-width: 610px; }
.hero .btn-ghost { background: rgba(9,31,47,.28); backdrop-filter: blur(8px); }
.hero-stats { max-width: 620px; }

.home-service-actions { background: #fff; border-bottom: 1px solid var(--line); }
.service-action-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.service-action-grid > a {
  min-height: 124px;
  padding: 30px 26px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 16px;
  border-left: 1px solid var(--line);
  transition: background .2s ease;
}
.service-action-grid > a:last-child { border-right: 1px solid var(--line); }
.service-action-grid > a:hover { background: #fff8f4; }
.service-action-grid > a > span { color: var(--green-dark); font: 600 .72rem var(--font); letter-spacing: .12em; }
.service-action-grid strong { display: block; color: var(--navy); font: 700 1rem var(--font); }
.service-action-grid small { display: block; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.service-action-grid b { color: var(--green-dark); font-size: 1.15rem; font-weight: 500; }

/* Product preview reads like an editorial index, not a repeated card component. */
#products { background: #fffaf7; }
#products .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 72px; counter-reset: home-cover; }
#products .card {
  counter-increment: home-cover;
  padding: 30px 0;
  border: 0;
  border-top: 1px solid #ead9d1;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
}
#products .card:hover { transform: none; box-shadow: none; border-color: #dc9a79; }
#products .card::before { content: "0" counter(home-cover); grid-row: 1 / 4; color: #9b6f5a; font: 600 .72rem var(--font); letter-spacing: .12em; padding-top: 5px; }
#products .card .icon { display: none; }
#products .card h3, #products .card p, #products .card .more { grid-column: 2; }
#products .card h3 { margin-bottom: 7px; }
#products .card .more { margin-top: 12px; }

.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.audience-card { position: relative; min-height: 430px; overflow: hidden; background: #063943; color: #fff; }
.audience-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.audience-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,18,29,.94) 0%, rgba(5,21,34,.42) 58%, rgba(5,21,34,.08) 100%); }
.audience-card > div { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 36px; }
.audience-card span { display: block; margin-bottom: 10px; color: #8deeff; text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; font-weight: 700; }
.audience-card h3 { color: #fff; font-size: 1.7rem; }
.audience-card p { color: #d9e3e8; max-width: 500px; margin-top: 9px; }
.audience-card b { display: inline-block; margin-top: 18px; color: #fff; font-size: .88rem; }
.audience-card:hover img { transform: scale(1.025); }

/* Audience landing heroes use real editorial imagery and an asymmetric split. */
.solution-hero { background: #063943; color: #fff; overflow: hidden; }
.solution-hero-grid { min-height: 580px; display: grid; grid-template-columns: minmax(0,.88fr) minmax(520px,1.12fr); align-items: stretch; }
.solution-hero-copy { padding: 92px 70px 78px 0; display: flex; flex-direction: column; justify-content: center; }
.solution-hero .eyebrow { color: #8deeff; }
.solution-hero h1 { color: #fff; margin-top: 4px; max-width: 650px; }
.solution-hero p { color: #d3dee4; max-width: 610px; font-size: 1.08rem; margin-top: 20px; }
.solution-hero .breadcrumb { margin-top: 30px; }
.solution-hero-media { position: relative; margin-right: calc((100vw - min(100vw, var(--maxw))) / -2); min-width: 0; }
.solution-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #063943 0%, rgba(6, 57, 67,.12) 24%, transparent 55%); }
.solution-hero-media img { width: 100%; height: 100%; object-fit: cover; min-height: 580px; }

/* Long catalogue and audience results become compact professional registers. */
.product-index .grid[id$="Catalog"], [data-audience] #solutionProducts { gap: 0; border-top: 1px solid var(--line); }
.product-index .grid[id$="Catalog"] .card, [data-audience] #solutionProducts .card {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 24px 12px 24px 0;
  background: transparent;
}
.product-index .grid[id$="Catalog"] .card:hover, [data-audience] #solutionProducts .card:hover { transform: none; box-shadow: none; background: #f7faf8; }
.product-index .grid[id$="Catalog"] .card .icon, [data-audience] #solutionProducts .card .icon { display: none; }
.product-index .grid[id$="Catalog"] .card h3, [data-audience] #solutionProducts .card h3 { font-family: var(--font); font-size: 1.02rem; }
.product-index .grid[id$="Catalog"] .card p, [data-audience] #solutionProducts .card p { font-size: .9rem; }

.product-index-hero, .product-photo-hero { background: #063943; color: #fff; overflow: hidden; }
.product-index-hero-grid, .product-photo-grid { min-height: 500px; display: grid; grid-template-columns: minmax(0,.8fr) minmax(520px,1.2fr); align-items: stretch; }
.product-index-hero-grid > div, .product-photo-grid > div { padding: 80px 64px 72px 0; display: flex; flex-direction: column; justify-content: center; }
.product-index-hero h1, .product-photo-hero h1 { color: #fff; }
.product-index-hero p, .product-photo-hero p { color: #d3dee4; max-width: 610px; margin-top: 18px; font-size: 1.08rem; }
.product-index-hero figure, .product-photo-hero figure { position: relative; margin-right: calc((100vw - min(100vw, var(--maxw))) / -2); }
.product-index-hero figure::after, .product-photo-hero figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #063943 0%, rgba(6, 57, 67,.08) 30%, transparent 60%); }
.product-index-hero img, .product-photo-hero img { width: 100%; height: 100%; object-fit: cover; min-height: 500px; }
.product-photo-hero img { object-position: center; }

@media (max-width: 1000px) {
  .hero-bg img { object-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, rgba(5,20,33,.97) 0%, rgba(7,29,45,.9) 54%, rgba(7,27,42,.45) 100%); }
  .solution-hero-grid { grid-template-columns: 1fr 1fr; }
  .product-index-hero-grid, .product-photo-grid { grid-template-columns: 1fr 1fr; }
  .solution-hero-copy { padding-right: 38px; }
  .service-action-grid { grid-template-columns: 1fr; }
  .service-action-grid > a { min-height: auto; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .audience-card { min-height: 390px; }
}
@media (max-width: 760px) {
  .hero { min-height: 650px; }
  .hero-bg img { object-position: 70% center; }
  .hero::before { background: linear-gradient(90deg, rgba(5,20,33,.97) 0%, rgba(7,29,45,.9) 70%, rgba(7,27,42,.55) 100%); }
  .hero-grid { min-height: 650px; padding: 76px 0 68px; }
  .hero-stats { display: none; }
  .home-service-actions { padding: 12px 0; }
  .service-action-grid > a { padding: 21px 16px; border: 0; border-bottom: 1px solid var(--line); }
  #products .grid, .audience-grid { grid-template-columns: 1fr; }
  #products .grid { gap: 0; }
  .audience-card { min-height: 390px; }
  .solution-hero-grid { display: flex; flex-direction: column-reverse; }
  .product-index-hero-grid, .product-photo-grid { display: flex; flex-direction: column-reverse; }
  .product-index-hero-grid > div, .product-photo-grid > div { padding: 52px 0 58px; }
  .product-index-hero figure, .product-photo-hero figure { height: 320px; margin: 0 -24px; }
  .product-index-hero img, .product-photo-hero img { min-height: 320px; }
  .product-index-hero figure::after, .product-photo-hero figure::after { background: linear-gradient(0deg, #063943 0%, transparent 36%); }
  .solution-hero-copy { padding: 54px 0 58px; }
  .solution-hero-media { margin: 0 -24px; height: 330px; }
  .solution-hero-media img { min-height: 330px; }
  .solution-hero-media::after { background: linear-gradient(0deg, #063943 0%, transparent 35%); }
}

/* =========================================================
   Shared interaction and accessibility foundation
   ========================================================= */
:root {
  --focus-ring: #087985;
  --danger: #a83232;
  --danger-soft: #fbecec;
  --success: #0f6b49;
  --success-soft: #e7f3ed;
  --warning: #8a5708;
  --warning-soft: #fff3dc;
}

::selection { background: #ffe1d2; color: var(--navy); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--focus-ring);
  border-radius: 3px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}
:where(input, select, textarea):focus-visible { outline-offset: 1px; }

.btn:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: .58;
  transform: none;
  box-shadow: none;
}

.form-note[role="status"],
.form-note[role="alert"] {
  display: block;
  border-left: 3px solid currentColor;
  padding: 11px 13px;
  margin-top: 14px;
  font-size: .88rem;
}
.form-note.ok { background: var(--success-soft); color: var(--success); }
.form-note.err { background: var(--danger-soft); color: var(--danger); }

.state-panel {
  max-width: 620px;
  padding: 26px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  background: #fff;
}
.state-panel h2, .state-panel h3 { font-family: var(--font); font-size: 1.1rem; }
.state-panel p { margin-top: 7px; color: var(--muted); }

/* Real loading states: navigation, API requests and form submissions. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.page-loader {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1400;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s ease, visibility .16s ease;
}
.page-loader.is-active { opacity: 1; visibility: visible; }
.page-loader-track { height: 3px; overflow: hidden; background: rgba(8, 59, 69, .12); }
.page-loader-track span {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(255, 86, 0, .55);
  animation: jawany-progress 1.05s ease-in-out infinite;
}
.page-loader-card {
  position: fixed;
  top: 18px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: min(310px, calc(100vw - 28px));
  padding: 10px 14px;
  border: 1px solid rgba(8, 59, 69, .14);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 12px 30px rgba(8, 59, 69, .16);
  font-size: .82rem;
  font-weight: 700;
}
.page-loader-spinner,
.btn-spinner {
  width: 16px;
  height: 16px;
  flex: none;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: jawany-spin .7s linear infinite;
}
.btn.is-loading { transform: none; box-shadow: none; }
form[aria-busy="true"] :where(input, select, textarea) { cursor: progress; }
@keyframes jawany-progress {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(340%); }
}
@keyframes jawany-spin { to { transform: rotate(360deg); } }

@media (max-width: 520px) {
  .page-loader-card { top: 12px; right: 14px; left: 14px; justify-content: center; max-width: none; }
}

@media print {
  .page-loader { display: none !important; }
}

@media (max-width: 900px) {
  .site-header .logo .brand-logo { width: auto; height: 48px; max-width: 156px; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
  .nav-links.open { max-height: calc(100vh - 76px); overflow-y: auto; overscroll-behavior: contain; }
  body.nav-open { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .page-loader-track span { width: 100%; transform: none; }
  .page-loader-spinner, .btn-spinner { animation: none; border-right-color: currentColor; }
}

/* =========================================================
   Jawany public homepage — editorial agency presentation
   ========================================================= */
.home-page-v3 {
  --home-paper: #f5f2ec;
  --home-paper-warm: #fbf7f2;
  --home-teal: #073d47;
  --home-teal-deep: #052f37;
  --home-orange: #ef5b22;
  background: #fff;
  color: #1c2931;
}
.home-page-v3 h1,
.home-page-v3 h2 { font-family: "Source Serif 4", Georgia, serif; font-weight: 700; letter-spacing: -.035em; }
.home-page-v3 h3,
.home-page-v3 h4 { font-family: Inter, "Segoe UI", sans-serif; letter-spacing: -.018em; }
.home-page-v3 h1 { font-size: clamp(3rem, 5.7vw, 5.35rem); line-height: .98; }
.home-page-v3 h2 { font-size: clamp(2.25rem, 4vw, 3.65rem); line-height: 1.04; }
.home-page-v3 p { text-wrap: pretty; }
.home-page-v3 .site-header { border-bottom: 1px solid #e1e4e0; }
.home-page-v3 .home-kicker {
  margin: 0 0 20px;
  color: #b63f12;
  font: 700 .72rem/1.4 Inter, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.home-page-v3 .home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #87330f;
  font-weight: 700;
  font-size: .92rem;
  border-bottom: 1px solid rgba(135,51,15,.35);
  padding-bottom: 3px;
}
.home-page-v3 .home-text-link span { transition: transform .18s ease; }
.home-page-v3 .home-text-link:hover span { transform: translateX(3px); }

.home-intro { background: var(--home-paper); border-bottom: 1px solid #dedbd4; overflow: hidden; }
.home-intro-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(480px, .84fr);
  align-items: stretch;
  gap: clamp(54px, 7vw, 110px);
}
.home-intro-copy { padding: 96px 0 78px; align-self: center; }
.home-intro-copy h1 { max-width: 760px; color: var(--home-teal-deep); }
.home-intro-lead { max-width: 670px; margin: 30px 0 0; color: #4e5d63; font-size: 1.13rem; line-height: 1.75; }
.home-intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 36px; }
.home-intro-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; margin-top: 58px; border-top: 1px solid #cfcac1; }
.home-intro-facts > div { padding: 20px 20px 0 0; }
.home-intro-facts > div + div { border-left: 1px solid #cfcac1; padding-left: 20px; }
.home-intro-facts dt { color: #7a655b; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-intro-facts dd { margin: 7px 0 0; color: var(--home-teal-deep); font-size: .87rem; font-weight: 600; line-height: 1.45; }
.home-intro-media { position: relative; min-width: 0; margin: 0 calc((100vw - min(100vw, var(--maxw))) / -2) 0 0; }
.home-intro-media::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, var(--home-paper) 0%, transparent 12%); pointer-events: none; }
.home-intro-media img { width: 100%; height: 100%; min-height: 690px; object-fit: cover; object-position: 57% center; }
.home-intro-media figcaption {
  position: absolute;
  z-index: 2;
  left: 38px;
  bottom: 34px;
  width: min(390px, calc(100% - 76px));
  padding: 22px 24px;
  background: rgba(255,255,255,.94);
  border-left: 3px solid var(--home-orange);
  box-shadow: 0 12px 32px rgba(4,33,39,.15);
}
.home-intro-media figcaption strong { display: block; color: var(--home-teal-deep); font-size: .92rem; }
.home-intro-media figcaption span { display: block; margin-top: 4px; color: #526066; font-size: .78rem; line-height: 1.5; }

.home-service-bar { background: #fff; border-bottom: 1px solid #e2e4e0; }
.home-service-bar-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.home-service-bar a {
  min-height: 116px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-content: center;
  padding: 25px 28px;
  border-left: 1px solid #e2e4e0;
  transition: background-color .18s ease;
}
.home-service-bar a:last-child { border-right: 1px solid #e2e4e0; }
.home-service-bar a:hover { background: #fcf7f2; }
.home-service-bar a > span { grid-row: 1 / 3; color: #b63f12; font-size: .67rem; font-weight: 700; letter-spacing: .12em; padding-top: 3px; }
.home-service-bar strong { color: var(--home-teal-deep); font-size: .95rem; }
.home-service-bar small { color: #68747a; font-size: .76rem; margin-top: 4px; line-height: 1.4; }
.home-service-bar b { grid-column: 3; grid-row: 1 / 3; align-self: center; color: #b63f12; font-weight: 500; }

.home-section { padding: 112px 0; }
.home-cover-section { background: #fff; }
.home-cover-layout { display: grid; grid-template-columns: minmax(280px,.62fr) minmax(0,1.38fr); gap: clamp(65px, 9vw, 140px); align-items: start; }
.home-section-intro { position: sticky; top: 116px; }
.home-section-intro h2 { max-width: 470px; color: var(--home-teal-deep); }
.home-section-intro > p:not(.home-kicker) { max-width: 490px; color: #5c696f; margin: 24px 0; line-height: 1.72; }
.home-cover-register { border-top: 1px solid #cfd5d2; }
.home-cover-register > a {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 27px 4px;
  border-bottom: 1px solid #dfe3e0;
  transition: padding .18s ease, background-color .18s ease;
}
.home-cover-register > a:hover { padding-left: 13px; padding-right: 13px; background: #fbf8f3; }
.home-register-number { padding-top: 4px; color: #a85a3c; font-size: .67rem; font-weight: 700; letter-spacing: .11em; }
.home-cover-register h3 { color: var(--home-teal-deep); font-size: 1.12rem; margin: 0; }
.home-cover-register p { color: #657278; font-size: .9rem; margin: 7px 0 0; line-height: 1.58; }
.home-cover-register b { color: #a43f17; font-weight: 500; padding-top: 2px; }

.home-clients-section { background: var(--home-paper); border-top: 1px solid #e0ddd7; border-bottom: 1px solid #e0ddd7; }
.home-section-heading-row { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.55fr); gap: 80px; align-items: end; margin-bottom: 54px; }
.home-section-heading-row h2 { max-width: 800px; color: var(--home-teal-deep); }
.home-section-heading-row > p { color: #5d696e; margin: 0 0 8px; line-height: 1.7; }
.home-client-paths { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.home-client-paths article { background: #fff; border: 1px solid #dcded9; }
.home-client-paths img { width: 100%; height: 330px; object-fit: cover; }
.home-client-paths article:first-child img { object-position: center 44%; }
.home-client-paths article > div { padding: 36px 38px 40px; }
.home-client-type { margin: 0 0 12px; color: #a43f17; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.home-client-paths h3 { color: var(--home-teal-deep); font-family: "Source Serif 4", Georgia, serif; font-size: clamp(1.55rem, 2.4vw, 2.05rem); line-height: 1.18; }
.home-client-paths article > div > p:not(.home-client-type) { color: #5e6a70; margin: 16px 0 22px; line-height: 1.68; }

.home-process { padding: 112px 0; background: var(--home-teal-deep); color: #fff; }
.home-process-grid { display: grid; grid-template-columns: minmax(280px,.75fr) minmax(0,1.25fr); gap: clamp(70px, 10vw, 150px); align-items: start; }
.home-process .home-kicker { color: #ff9d76; }
.home-process h2 { color: #fff; max-width: 520px; }
.home-process header > p:not(.home-kicker) { color: #c4d1d3; max-width: 520px; margin: 25px 0; line-height: 1.72; }
.home-text-link-light { color: #fff !important; border-color: rgba(255,255,255,.4) !important; }
.home-process-list { border-top: 1px solid rgba(255,255,255,.22); }
.home-process-list li { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 22px; padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.home-process-list li > span { color: #ff9d76; font-size: .68rem; font-weight: 700; letter-spacing: .13em; padding-top: 4px; }
.home-process-list h3 { color: #fff; font-size: 1.03rem; }
.home-process-list p { color: #bdcbce; font-size: .88rem; margin: 7px 0 0; line-height: 1.58; }

.home-support-section { background: #fff; }
.home-support-grid { display: grid; grid-template-columns: minmax(430px,.9fr) minmax(0,1.1fr); gap: clamp(60px, 9vw, 130px); align-items: center; }
.home-support-grid figure { min-height: 650px; position: relative; }
.home-support-grid figure::after { content: ""; position: absolute; left: -18px; bottom: -18px; width: 44%; height: 45%; z-index: -1; background: var(--home-paper); }
.home-support-grid figure img { width: 100%; height: 650px; object-fit: cover; }
.home-support-copy h2 { color: var(--home-teal-deep); max-width: 650px; }
.home-support-copy > p:not(.home-kicker) { color: #59676d; margin: 24px 0 30px; max-width: 650px; line-height: 1.72; }
.home-support-list { border-top: 1px solid #d9dedb; }
.home-support-list > div { display: grid; grid-template-columns: minmax(130px,.38fr) minmax(0,1fr); gap: 24px; padding: 19px 0; border-bottom: 1px solid #e3e6e3; }
.home-support-list dt { color: var(--home-teal-deep); font-size: .86rem; font-weight: 700; }
.home-support-list dd { color: #647177; font-size: .86rem; line-height: 1.58; }
.home-support-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 32px; }

.home-contact-panel { padding: 84px 0; background: var(--home-paper-warm); border-top: 1px solid #e5dcd3; }
.home-contact-panel-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(350px,.7fr) auto; gap: 65px; align-items: center; }
.home-contact-panel h2 { color: var(--home-teal-deep); font-size: clamp(2rem,3.1vw,3rem); }
.home-contact-panel p:not(.home-kicker) { color: #5f696e; max-width: 680px; margin: 18px 0 0; }
.home-contact-details { border-top: 1px solid #d8cfc5; }
.home-contact-details > a,
.home-contact-details > span { display: block; padding: 12px 0; border-bottom: 1px solid #ded7cf; }
.home-contact-details span > small,
.home-contact-details a > span { display: block; color: #8a6c60; font-size: .64rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.home-contact-details strong { display: block; margin-top: 3px; color: var(--home-teal-deep); font-size: .83rem; line-height: 1.42; overflow-wrap: anywhere; }

@media (max-width: 1080px) {
  .home-intro-grid { grid-template-columns: minmax(0,1fr) minmax(390px,.72fr); gap: 50px; }
  .home-intro-facts { grid-template-columns: 1fr; }
  .home-intro-facts > div { padding: 12px 0; border-bottom: 1px solid #d5d0c8; }
  .home-intro-facts > div + div { border-left: 0; padding-left: 0; }
  .home-contact-panel-grid { grid-template-columns: 1fr 1fr; }
  .home-contact-panel-grid > .btn { justify-self: start; }
}
@media (max-width: 860px) {
  .home-intro-grid { display: flex; flex-direction: column; gap: 0; }
  .home-intro-copy { padding: 70px 0 58px; }
  .home-intro-media { height: 480px; margin: 0 -24px; }
  .home-intro-media::before { background: linear-gradient(0deg, var(--home-paper) 0%, transparent 14%); }
  .home-intro-media img { min-height: 480px; }
  .home-service-bar-grid { grid-template-columns: 1fr; padding: 12px 24px; }
  .home-service-bar a { min-height: 94px; border: 0; border-bottom: 1px solid #e2e4e0; padding: 20px 4px; }
  .home-service-bar a:last-child { border-right: 0; }
  .home-cover-layout,
  .home-process-grid,
  .home-support-grid { grid-template-columns: 1fr; gap: 54px; }
  .home-section-intro { position: static; }
  .home-section-heading-row { grid-template-columns: 1fr; gap: 22px; }
  .home-support-grid figure,
  .home-support-grid figure img { min-height: 0; height: 520px; }
}
@media (max-width: 680px) {
  .home-page-v3 h1 { font-size: clamp(2.65rem, 13vw, 3.8rem); }
  .home-page-v3 h2 { font-size: clamp(2.05rem, 10vw, 2.85rem); }
  .home-intro-copy { padding-top: 56px; }
  .home-intro-lead { font-size: 1rem; }
  .home-intro-facts { margin-top: 42px; }
  .home-intro-media { height: 400px; }
  .home-intro-media img { min-height: 400px; object-position: 62% center; }
  .home-intro-media figcaption { left: 20px; bottom: 20px; width: calc(100% - 40px); }
  .home-section,
  .home-process { padding: 78px 0; }
  .home-client-paths { grid-template-columns: 1fr; }
  .home-client-paths img { height: 270px; }
  .home-client-paths article > div { padding: 28px 26px 32px; }
  .home-cover-register > a { grid-template-columns: 32px minmax(0,1fr); gap: 12px; }
  .home-cover-register > a > b { display: none; }
  .home-process-list li { grid-template-columns: 40px minmax(0,1fr); gap: 13px; }
  .home-support-grid figure,
  .home-support-grid figure img { height: 360px; }
  .home-support-list > div { grid-template-columns: 1fr; gap: 5px; }
  .home-contact-panel { padding: 68px 0; }
  .home-contact-panel-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* =========================================================
   Public page composition and form system
   ========================================================= */
.container-reading { max-width: 760px; }
.container-reading-wide { max-width: 920px; }
.split-top { align-items: start; }
.section-offset-sm { margin-top: 28px; }
.section-offset-md { margin-top: 46px; }
.section-offset { margin-top: 72px; }
.section-offset-lg { margin-top: 56px; }
.section-flush-top { padding-top: 0; }
.heading-spaced { margin-bottom: 28px; }
.content-lead { margin: 16px 0 26px; }
.content-lead-sm { margin: 16px 0 18px; }
.content-lead-lg { margin: 16px 0 30px; }
.copy-spaced { margin-bottom: 14px; }
.muted-copy { color: var(--muted); }
.action-spaced { margin-top: 16px; }
.action-spaced-sm { margin-top: 10px; }
.centered-action { text-align: center; margin-top: 28px; }
.link-spaced { margin-top: 14px; }
.btn-block { width: 100%; }
.steps-stack { grid-template-columns: 1fr; gap: 16px; }
.footer-bottom-plain { border: 0; padding: 0; }
.error-page { min-height: 100vh; display: grid; place-items: center; }

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  padding: 30px;
}
.form-panel > h3 { font-family: var(--font); margin-bottom: 6px; }
.form-intro { color: var(--muted); margin-bottom: 24px; font-size: .93rem; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.form-consent input { width: auto; flex: none; margin-top: 4px; accent-color: var(--green); }
.form-security-note { color: var(--muted); font-size: .8rem; margin-top: 14px; }
.field-error { display: block; color: var(--danger); font-size: .78rem; line-height: 1.35; margin-top: 6px; }
.field :where(input, select, textarea)[aria-invalid="true"] { border-color: var(--danger); }
.field :where(input, select, textarea)[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(168,50,50,.13); }

.band-content { text-align: left; position: relative; z-index: 1; }
.band-content h2 { color: #fff; }
.band-content p { color: #d1dce5; max-width: 680px; margin: 14px 0 24px; }
.cta-actions { justify-content: flex-start; }

.wizard-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
  gap: 30px;
  align-items: end;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.wizard-intro .eyebrow { margin-bottom: 8px; }
.wizard-intro h1 { font-family: var(--font); font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.15; }
.wizard-intro p { color: var(--muted); font-size: .9rem; line-height: 1.55; }

@media (max-width: 760px) {
  .form-panel { padding: 24px 20px; }
  .wizard-intro { grid-template-columns: 1fr; gap: 10px; }
  .section-offset { margin-top: 52px; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(2rem, 10vw, 2.7rem); }
  .page-hero { padding: 56px 0 50px; }
  .page-hero p { font-size: 1rem; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 38px; text-align: left; }
  .section-head p { font-size: 1rem; }
  .section-offset-lg { margin-top: 42px; }
}

/* Phase 5: viewport containment verified at 320–1440px. */
html, body { max-width: 100%; overflow-x: clip; }
.container > *, .nav > *, .hero-grid > * { min-width: 0; }

@media (max-width: 760px) {
  .container.nav { padding-left: 24px; padding-right: 24px; }
  .hero-grid { padding-left: 24px; padding-right: 24px; }
  .hero h1 { overflow-wrap: anywhere; }
  .nav-actions { margin-left: auto; }
  .nav-actions > .btn, .nav-actions > .portal-menu { display: none; }
}

@media (max-width: 480px) {
  .container.nav, .hero-grid { padding-left: 18px; padding-right: 18px; }
  .hero h1 { font-size: clamp(2.25rem, 12vw, 2.85rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
