/* Sur'ah Est. — site styles. Colors taken from the official letterhead. */
:root {
  --navy: #263150;
  --navy-900: #1a2240;
  --navy-700: #34416c;
  --gold: #e2a53b;
  --gold-600: #c68b1f;
  --gold-100: #fbf1dc;
  --ink: #1b2236;
  --muted: #5b6479;
  --line: #e5e8f0;
  --soft: #f5f6fa;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 40px -20px rgba(26, 34, 64, .35);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --lh: 1.7;
  --h-lh: 1.2;
  --track: -.02em;
}
html[lang="ar"] { --font: 'Tajawal', system-ui, 'Segoe UI', Tahoma, sans-serif; --lh: 1.85; --h-lh: 1.35; --track: 0; }
html[lang="ur"] { --font: 'Noto Nastaliq Urdu', 'Tajawal', serif; --lh: 2.3; --h-lh: 2; --track: 0; }
html[lang="hi"] { --font: 'Noto Sans Devanagari', 'Manrope', system-ui, sans-serif; --lh: 1.8; --h-lh: 1.45; --track: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: var(--lh); font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[lang="ur"] body { font-size: 15px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: var(--h-lh); margin: 0 0 .5em; color: var(--navy); letter-spacing: var(--track); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
html[lang="ur"] h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 700; }
html[lang="ur"] h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
bdi[dir="ltr"] { unicode-bidi: isolate; }
/* Nastaliq has cramped Latin digits; show phone numbers and emails in a clearer face. */
html[lang="ur"] bdi[dir="ltr"], html[lang="ur"] .quote-form input[dir="ltr"] { font-family: 'Tajawal', system-ui, sans-serif; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.mt { margin-top: 40px; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--gold); color: var(--navy); padding: 8px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }

.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .ic.flip { transform: scaleX(-1); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.4em; border-radius: 999px; font: inherit; font-weight: 700; line-height: 1.4; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background-color .2s, color .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
html[lang="ur"] .btn { line-height: 2; padding: .45em 1.3em; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: .95em 1.7em; font-size: 1.02rem; }
.btn-sm { padding: .5em 1.1em; font-size: .9rem; }
.btn-gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 10px 24px -12px rgba(226, 165, 59, .9); }
.btn-gold:hover { background: #ebb453; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-900); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ---------- topbar & header ---------- */
.topbar { background: var(--navy-900); color: #c7cde0; font-size: .85rem; }
html[lang="ur"] .topbar { font-size: .78rem; }
.topbar-inner { display: flex; gap: 24px; align-items: center; min-height: 40px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar .ic { color: var(--gold); width: 15px; height: 15px; }
.topbar a:hover { color: #fff; }
.topbar-loc { margin-inline-start: auto; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(26, 34, 64, .5); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 54px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-text strong { font-size: 1.3rem; font-weight: 800; color: var(--gold-600); letter-spacing: var(--track); white-space: nowrap; }
.brand-text small { font-size: .74rem; color: var(--muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[lang="ur"] .brand-text { line-height: 1.9; }
html[lang="ur"] .brand-text strong { font-size: 1.1rem; }
.brand.light .brand-text strong { color: var(--gold); }
.brand.light .brand-text small { color: #aab3cc; }
.brand.light img { background: #fff; border-radius: 14px; padding: 4px; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav > a:not(.btn) { padding: 8px 14px; border-radius: 999px; font-weight: 600; color: var(--ink); transition: color .2s, background-color .2s; position: relative; }
.nav > a:not(.btn):hover { color: var(--gold-600); }
.nav > a[aria-current="page"] { color: var(--navy); background: var(--gold-100); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: .92rem; color: var(--navy); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.lang-btn:hover { border-color: var(--gold); }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); min-width: 160px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s; z-index: 60; }
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: block; padding: 8px 14px; border-radius: 10px; font-weight: 600; font-family: system-ui, 'Segoe UI', Tahoma, sans-serif; }
.lang-menu a:hover { background: var(--soft); }
.lang-menu a[aria-current] { background: var(--gold-100); color: var(--navy); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .ic { width: 22px; height: 22px; }

/* ---------- globe pattern (echoes the logo) ---------- */
.globe-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.globe-bg::before { content: ""; position: absolute; width: 900px; height: 900px; inset-inline-end: -260px; top: -220px; border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 58px, rgba(255, 255, 255, .06) 58px 59px),
    radial-gradient(circle at 50% 50%, rgba(226, 165, 59, .16), transparent 60%);
  -webkit-mask: radial-gradient(circle, #000 55%, transparent 71%); mask: radial-gradient(circle, #000 55%, transparent 71%); }
.globe-bg::after { content: ""; position: absolute; width: 900px; height: 900px; inset-inline-end: -260px; top: -220px; border-radius: 50%;
  background: repeating-linear-gradient(90deg, transparent 0 74px, rgba(255, 255, 255, .05) 74px 75px);
  -webkit-mask: radial-gradient(circle, #000 50%, transparent 70%); mask: radial-gradient(circle, #000 50%, transparent 70%); }

/* ---------- hero ---------- */
.hero { position: relative; background: linear-gradient(135deg, var(--navy-900), var(--navy) 55%, var(--navy-700)); color: #fff; padding: 88px 0 110px; overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-weight: 600; font-size: .9rem; color: #e6e9f2; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(226, 165, 59, .25); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 800; margin: 22px 0 18px; }
.hero h1 em { font-style: normal; color: var(--gold); display: block; }
html[lang="ur"] .hero h1 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); font-weight: 700; }
html[lang="hi"] .hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.hero-sub { font-size: 1.12rem; color: #cfd5e6; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #dfe3ee; font-weight: 600; font-size: .95rem; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .ic { color: var(--gold); width: 18px; height: 18px; stroke-width: 2.6; }

.hero-art { position: relative; height: 460px; }
.paper { position: absolute; inset-inline-start: 14%; top: 22px; width: 68%; height: 410px; background: #fff; border-radius: 16px; padding: 26px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); transform: rotate(-3deg); }
[dir="rtl"] .paper { transform: rotate(3deg); }
.paper-back { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); box-shadow: none; transform: rotate(5deg) translate(26px, 14px); }
[dir="rtl"] .paper-back { transform: rotate(-5deg) translate(-26px, 14px); }
.paper-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--gold); line-height: 1.4; }
.paper-head b { display: block; color: var(--navy); font-size: 1rem; }
.paper-head span { color: var(--muted); font-size: .8rem; }
html[lang="ur"] .paper-head { line-height: 1.9; }
.paper-lines { display: grid; gap: 14px; margin-top: 24px; }
.paper-lines i, .paper-foot i { display: block; height: 9px; border-radius: 9px; background: #e8ebf2; }
.paper-lines i:nth-child(1) { width: 92%; } .paper-lines i:nth-child(2) { width: 80%; } .paper-lines i:nth-child(3) { width: 96%; }
.paper-lines i:nth-child(4) { width: 70%; } .paper-lines i:nth-child(5) { width: 88%; } .paper-lines i:nth-child(6) { width: 60%; } .paper-lines i:nth-child(7) { width: 78%; }
.paper-foot { position: absolute; bottom: 30px; inset-inline-start: 26px; display: grid; gap: 10px; width: 40%; }
.paper-foot i:first-child { background: var(--navy); opacity: .7; width: 80%; }
.stamp { position: absolute; inset-inline-end: 22px; bottom: 26px; width: 118px; height: 118px; border-radius: 50%; border: 3px solid var(--gold-600); display: grid; place-items: center; transform: rotate(-14deg); color: var(--gold-600); background: radial-gradient(circle, rgba(226, 165, 59, .08), transparent 70%); }
.stamp::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px dashed var(--gold-600); }
.stamp span { font-weight: 800; font-size: .95rem; letter-spacing: .08em; }
html[dir="rtl"] .stamp span { letter-spacing: 0; font-size: 1.1rem; }
.pair { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: #fff; color: var(--navy); font-weight: 700; font-size: .92rem; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); font-family: system-ui, 'Segoe UI', Tahoma, sans-serif; animation: float 6s ease-in-out infinite; line-height: 1.5; }
.pair .swap { color: var(--gold-600); }
.pair-1 { top: 40px; inset-inline-end: 0; }
.pair-2 { top: 210px; inset-inline-start: 0; animation-delay: -2s; }
.pair-3 { bottom: 10px; inset-inline-end: 8%; animation-delay: -4s; background: var(--gold); }
.pair-3 .swap { color: var(--navy); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- accepted strip ---------- */
.accepted { position: relative; z-index: 2; margin-top: -48px; }
.accepted .container { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 22px 28px; }
.page-services .accepted, .page-about .accepted { margin: 0; padding: 56px 0 0; }
.accepted-title { text-align: center; font-weight: 700; color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.accepted-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.accepted-list li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }
.accepted-list .ic { color: var(--gold-600); }

/* ---------- sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-soft { background: var(--soft); }
.section-navy { background: var(--navy); color: #d5daea; overflow: hidden; }
.section-navy h2, .section-navy h3 { color: #fff; }
.sec-head { max-width: 680px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-600); font-weight: 800; font-size: .85rem; margin-bottom: 12px; }
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .14em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-navy .eyebrow, .eyebrow.light { color: var(--gold); }
.lead { color: var(--muted); font-size: 1.08rem; }
.section-navy .lead { color: #b9c1d8; }

.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card::after { content: ""; position: absolute; inset-inline: 28px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold); transform: scaleX(0); transition: transform .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.icon-tile { width: 54px; height: 54px; border-radius: 15px; background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; margin-bottom: 20px; flex: none; }
.icon-tile .ic { width: 26px; height: 26px; }
.icon-tile.gold { background: rgba(226, 165, 59, .14); color: var(--gold); }

.why { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: background-color .25s, border-color .25s; }
.why:hover { background: rgba(255, 255, 255, .07); border-color: rgba(226, 165, 59, .4); }
.why .icon-tile { margin: 0; }
.why p { margin: 0; color: #b9c1d8; font-size: .96rem; }
.section-navy .container { position: relative; }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; top: 31px; inset-inline: 12%; border-top: 2px dashed #d4d9e5; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-weight: 800; font-size: 1.2rem; font-family: 'Manrope', system-ui, sans-serif; box-shadow: 0 0 0 8px #fff; position: relative; }
.section-soft .step-num { box-shadow: 0 0 0 8px var(--soft); }
.step p { color: var(--muted); font-size: .96rem; }

/* languages */
.lang-cloud { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lang-cloud li { padding: 9px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--navy); transition: .2s; }
.lang-cloud li:hover { border-color: var(--gold); color: var(--gold-600); }
.lang-cloud li.hl { background: var(--navy); color: #fff; border-color: var(--navy); }
.lang-cloud li:last-child { background: transparent; border-style: dashed; color: var(--muted); }

/* cta */
.cta-wrap { padding-top: 0; }
.section-soft + .cta-wrap, .section-navy + .cta-wrap { padding-top: 96px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 48px 52px; border-radius: 26px; background: linear-gradient(120deg, var(--gold), #f0c46e); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .15); inset-inline-end: -120px; top: -160px; }
.cta h2 { color: var(--navy-900); margin-bottom: 8px; }
.cta p { margin: 0; color: var(--navy); font-weight: 500; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; background: linear-gradient(135deg, var(--navy-900), var(--navy)); color: #cfd5e6; padding: 80px 0 88px; overflow: hidden; }
.page-hero .container { position: relative; max-width: 1180px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; margin-bottom: 12px; }
html[lang="ur"] .page-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
.page-hero p { max-width: 620px; font-size: 1.1rem; margin: 0; }

.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.split .sec-head { margin-bottom: 0; position: sticky; top: 120px; }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.doc-list li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-weight: 600; color: var(--navy); }
.doc-list .ic { color: var(--gold-600); }

.about-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 56px; align-items: start; }
.about-intro { font-size: 1.15rem; color: var(--ink); }
.about-copy p { color: var(--muted); }
.about-copy .about-intro { color: var(--ink); }
.mini-title { margin-top: 32px; font-size: 1.3rem; }
.legal-card { background: var(--navy); color: #cfd5e6; border-radius: 24px; padding: 32px; position: sticky; top: 120px; }
.legal-card img { width: 96px; background: #fff; border-radius: 20px; padding: 8px; margin-bottom: 20px; }
.legal-card h3 { color: #fff; }
.legal-card dl { margin: 0; display: grid; gap: 14px; }
.legal-card dl div { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.legal-card dt { font-size: .85rem; color: #aab3cc; }
.legal-card dd { margin: 4px 0 0; color: var(--gold); font-weight: 800; font-size: 1.15rem; font-family: 'Manrope', system-ui, sans-serif; letter-spacing: .04em; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; color: var(--muted); font-size: .96rem; align-items: flex-start; }
.check-list .ic { color: var(--gold-600); stroke-width: 2.6; margin-top: .3em; width: 16px; height: 16px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 14px; min-width: 0; }
.info-card > span:last-child { min-width: 0; }
.info-card b { overflow-wrap: break-word; }
.info-card { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
a.info-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.info-card .icon-tile { margin: 0; }
.info-card small { display: block; color: var(--muted); font-weight: 600; }
.info-card b { display: block; color: var(--navy); font-size: 1.05rem; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 260px; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.quote-form { background: var(--soft); border: 1px solid var(--line); border-radius: 24px; padding: 36px; display: grid; gap: 16px; }
.quote-form h2 { font-size: 1.7rem; margin-bottom: 4px; }
.quote-form label { display: grid; gap: 6px; font-weight: 700; color: var(--navy); font-size: .92rem; }
.quote-form input, .quote-form select, .quote-form textarea { font: inherit; font-weight: 500; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
html[lang="ur"] .quote-form input, html[lang="ur"] .quote-form select, html[lang="ur"] .quote-form textarea { line-height: 2; padding: 6px 14px; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(226, 165, 59, .18); }
[dir="rtl"] .quote-form input[dir="ltr"] { text-align: right; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-note { margin: 0; color: var(--muted); font-size: .88rem; }

/* ---------- footer ---------- */
.footer { margin-top: 40px; color: #b9c1d8; }
.footer-wave { display: block; width: 100%; height: 70px; fill: var(--navy); margin-bottom: -1px; }
.footer-body { background: var(--navy); padding: 40px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr .9fr; gap: 40px; padding-bottom: 48px; }
.footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.footer h3::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 34px; height: 2px; background: var(--gold); }
.footer-brand p { margin: 18px 0 14px; font-size: .95rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.reg { display: grid; gap: 4px; font-size: .82rem; color: #8f9ab8; }
.f-links { display: grid; gap: 10px; }
.f-links a:hover, .f-contact a:hover { color: var(--gold); }
.f-contact { display: grid; gap: 12px; }
.f-contact li { display: flex; align-items: center; gap: 10px; }
.f-contact .ic { color: var(--gold); width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px 0; padding-inline-end: 76px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.dev a { color: var(--gold); font-weight: 800; font-family: 'Manrope', system-ui, sans-serif; border-bottom: 1px dashed rgba(226, 165, 59, .5); }
.dev a:hover { color: #fff; border-color: #fff; }

.wa-float { position: fixed; inset-inline-end: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8); z-index: 40; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ic { width: 30px; height: 30px; stroke-width: 1.6; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pair { animation: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- responsive ---------- */
/* Notched phones in landscape: keep content clear of the cut-out. */
@supports (padding: max(0px)) {
  .container { width: min(1180px, 100% - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)); }
}
/* Touch screens: no hover lift that sticks after a tap. */
@media (hover: none) {
  .card:hover, .btn:hover { transform: none; }
  .card:hover::after { transform: scaleX(0); }
}
/* Large and very large screens */
@media (min-width: 1600px) {
  body { font-size: 17px; }
  .container { width: min(1320px, 100% - 64px); }
  .hero { padding: 120px 0 140px; }
  .hero-art { height: 500px; }
  .paper { height: 450px; }
}
@media (min-width: 2200px) {
  html { font-size: 18px; }
  body { font-size: 18px; }
  .container { width: min(1480px, 100% - 96px); }
}
/* Short landscape screens (phones on their side) */
@media (max-height: 520px) and (orientation: landscape) {
  .topbar { display: none; }
  .header { position: relative; }
  .hero { padding: 40px 0 90px; }
  .page-hero { padding: 44px 0 52px; }
}
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .head-cta { display: none; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 16px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(26, 34, 64, .4); display: none; }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 12px 14px; border-radius: 12px; }
  .nav-cta { display: inline-flex; margin-top: 8px; }
  .header-actions { margin-inline-start: auto; }
  .hero-grid, .split, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 100px; }
  .hero-art { height: 400px; max-width: 520px; width: 100%; margin-inline: auto; }
  .split .sec-head, .legal-card { position: static; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .topbar .topbar-loc { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .section-soft + .cta-wrap, .section-navy + .cta-wrap { padding-top: 68px; }
  .grid-4, .grid-3, .doc-list, .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .topbar-inner { justify-content: center; gap: 16px; }
  .topbar a:nth-child(2) { display: none; }
  .brand img { width: 44px; }
  .brand-text strong { font-size: 1.1rem; }
  .brand-text small { display: none; }
  .lang-btn span { display: none; }
  .lang-btn { padding: 10px; }
  .hero-art { height: 340px; }
  .paper { height: 300px; width: 74%; inset-inline-start: 10%; padding: 20px; }
  .paper-lines { gap: 11px; margin-top: 18px; }
  .stamp { width: 92px; height: 92px; }
  .pair { font-size: .8rem; padding: 8px 12px; }
  .pair-2 { top: 160px; }
  .hero-actions .btn { width: 100%; }
  .cta { padding: 34px 26px; }
  .cta-actions, .cta-actions .btn, .form-actions .btn { width: 100%; }
  .quote-form { padding: 24px; }
  .accepted .container { padding: 20px; }
  .footer-bottom { padding-bottom: 92px; }
  .accepted-list { gap: 10px 18px; font-size: .92rem; }
  .wa-float { width: 52px; height: 52px; }
  .wa-float .ic { width: 26px; height: 26px; }
}
@media (max-width: 400px) {
  .container { width: min(1180px, 100% - 24px); }
  .header-inner { gap: 10px; min-height: 68px; }
  .header-actions { gap: 6px; }
  .brand { gap: 8px; }
  .info-card { padding: 16px; gap: 14px; }
  .info-card .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
  .info-card b { font-size: .95rem; }
  .pair-1 { top: 0; }
  .paper-head b { font-size: .9rem; }
  .hero-badges { gap: 8px 16px; font-size: .9rem; }
  .card, .why { padding: 22px; }
  .quote-form { padding: 20px; }
}
