/* =========================================================
   Al Arsh Metal Works – public website styles
   Brand: red #ef2a24 · blue #247bc0 · navy #13233a
   ========================================================= */
:root {
  --red: #ef2a24;
  --red-dark: #c41f1a;
  --blue: #247bc0;
  --blue-light: #8cc3ee;
  --blue-tint: #e6f1fa;
  --navy: #13233a;
  --navy-2: #1d3352;
  --navy-3: #0e1a2c;
  --ink: #13233a;
  --steel: #5b6876;
  --mute: #8994a0;
  --line: #e3e8ee;
  --bg: #f4f6f9;
  --white: #fff;
  --ok: #2f9e62;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(19, 35, 58, .08);
  --container: 1240px;
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 10px; top: 10px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.alt { background: var(--bg); }
.section.tight { padding: 56px 0; }
.eyebrow { display: inline-block; color: var(--blue); font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.lead { color: var(--steel); font-size: 1.08rem; }
.center { text-align: center; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 38px; flex-wrap: wrap; }
.head-row h2 { margin: 0; }
.head-center { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.more { font-weight: 600; font-size: .95rem; color: var(--blue); white-space: nowrap; }
.more::after { content: ' →'; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--red); color: #fff; border: 2px solid var(--red); padding: 13px 26px; border-radius: 8px; font-weight: 600; font-size: .98rem; cursor: pointer; transition: .2s; line-height: 1.2; text-align: center; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn.dark { background: var(--navy); border-color: var(--navy); }
.btn.dark:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--navy); }
.btn.outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn.outline:hover { border-color: var(--navy); }
.btn.wa { background: #25d366; border-color: #25d366; }
.btn.wa:hover { background: #1ebe5b; border-color: #1ebe5b; }
.btn.block { width: 100%; }
.btn.sm { padding: 9px 16px; font-size: .9rem; }

/* Top bar */
.topbar { background: var(--navy); color: #c3cedb; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--blue-light); }
.topbar .tb-right { display: flex; gap: 20px; }

/* Header / navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(19, 35, 58, .08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand img { height: 50px; width: auto; }
.brand strong { font-family: var(--font-head); font-size: 1.3rem; letter-spacing: .02em; display: block; line-height: 1.1; }
.brand small { display: block; font-size: .64rem; letter-spacing: .25em; color: var(--mute); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav li { position: relative; }
.nav a.nl { display: block; padding: 10px 13px; color: var(--ink); font-weight: 500; font-size: .96rem; border-radius: 6px; }
.nav a.nl:hover { color: var(--red); }
.nav a.nl.active { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.nav .has-sub > a.nl::after { content: ''; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; vertical-align: 1px; }
.nav .sub { position: absolute; top: 100%; left: 0; background: #fff; min-width: 260px; list-style: none; margin: 0; padding: 8px; border-radius: 10px; box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { display: block; padding: 9px 12px; color: var(--ink); border-radius: 6px; font-size: .93rem; }
.nav .sub a:hover { background: var(--bg); color: var(--red); }
.nav .btn { margin-left: 12px; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Hero slider */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero .slides { position: relative; min-height: 640px; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; display: flex; align-items: center; }
.hero .slide.active { opacity: 1; z-index: 1; }
.hero .slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 28, 48, .93) 0%, rgba(14, 28, 48, .62) 55%, rgba(14, 28, 48, .15)); }
.hero .slide .container { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 170px; }
.hero .slide-inner { max-width: 760px; }
.hero .eyebrow { color: var(--blue-light); }
.hero h1, .hero h2.h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin: 6px 0 18px; }
.hero p { color: #d6dde6; font-size: 1.15rem; max-width: 600px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero .dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 118px; }
.hero .dots .container { display: flex; gap: 8px; }
.hero .dots button { width: 34px; height: 4px; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0; }
.hero .dots button.active { background: var(--red); }
.trust-wrap { position: relative; z-index: 4; margin-top: -96px; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: 0 -10px 40px rgba(0, 0, 0, .15); color: var(--ink); }
.trust div { padding: 26px 30px; border-right: 1px solid var(--line); }
.trust div:last-child { border-right: 0; }
.trust b { font-family: var(--font-head); font-size: 2rem; color: var(--blue); display: block; line-height: 1.1; }
.trust span { color: var(--steel); font-size: .92rem; }

/* Page header */
.page-hero { position: relative; color: #fff; background: var(--navy); padding: 84px 0 76px; overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: rgba(14, 28, 48, .82); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin: 8px 0 8px; }
.page-hero p { color: #cfd8e3; margin: 0; font-size: 1.08rem; max-width: 680px; }
.crumbs { font-size: .9rem; color: #b7c4d3; }
.crumbs a { color: #dfe7f0; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: var(--blue-light); font-weight: 600; }
.crumbs.dark { color: var(--mute); }
.crumbs.dark a { color: var(--steel); }
.crumbs.dark span[aria-current] { color: var(--red); }

/* About block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); font-size: 12px; font-weight: 700; display: grid; place-items: center; }

/* Cards */
.grid { display: grid; gap: 26px; }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; color: var(--ink); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .thumb img { transform: scale(1.04); }
.card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--steel); font-size: .95rem; margin-bottom: 14px; }
.card .more { margin-top: auto; }
.card .meta { font-size: .85rem; color: var(--mute); margin-bottom: 6px; }

/* Project cards (image with caption overlay) */
.pcard { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.6; background: var(--navy); color: #fff; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover img { transform: scale(1.05); }
.pcard .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(transparent, rgba(10, 20, 35, .94)); }
.pcard .cap small { color: var(--blue-light); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.pcard .cap h3 { color: #fff; font-size: 1.15rem; margin: 4px 0 2px; }
.pcard .cap span { font-size: .85rem; color: #cfd8e3; }
.pcard:hover { color: #fff; }

/* Filters */
.filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border: 1px solid var(--line); border-radius: 30px; font-size: .9rem; color: var(--steel); background: #fff; cursor: pointer; transition: .15s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.filters select { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; min-width: 200px; }

/* Client logos */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.logo-tile { background: #fff; border: 1px solid var(--line); border-radius: 10px; height: 96px; display: flex; align-items: center; justify-content: center; padding: 16px; transition: .2s; }
.logo-tile img { max-height: 58px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile .nm { font-weight: 600; color: var(--steel); text-align: center; font-size: .9rem; }

/* Testimonials */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.quote .stars { color: #f5b301; letter-spacing: 3px; }
.quote blockquote { margin: 14px 0 20px; color: var(--ink); flex: 1; }
.quote .who { display: flex; gap: 12px; align-items: center; font-size: .92rem; }
.quote .who img, .quote .who .av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; font-weight: 700; }
.quote .who span { display: block; color: var(--mute); font-size: .85rem; }

/* CTA band with form */
.cta-band { background: linear-gradient(115deg, var(--navy-3) 0%, var(--navy-2) 60%, #0f4a7a 100%); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #c6d2df; }
.cta-band .eyebrow { color: var(--blue-light); }
.cta-band .split { align-items: center; }
.cta-contacts { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 24px; font-weight: 600; }
.cta-contacts a { color: #fff; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.cta-contacts svg, .btn svg { width: 20px; height: 20px; flex: none; }
.cta-contacts a:hover { color: var(--blue-light); }

/* Forms */
.form-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h3 { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd8e1; border-radius: 8px; background: #fff; color: var(--ink); font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 123, 192, .15); }
.field textarea { min-height: 110px; resize: vertical; }
.field .file-drop { border: 2px dashed #cfd8e1; border-radius: 8px; padding: 18px; text-align: center; color: var(--steel); font-size: .9rem; cursor: pointer; display: block; position: relative; }
.field .file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.field .file-drop.has-file { border-color: var(--blue); color: var(--blue); background: var(--blue-tint); }
.form-note { font-size: .8rem; color: var(--mute); margin-top: 10px; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--steel); }
.consent input { margin-top: 4px; }
.hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; font-size: .95rem; }
.alert.ok { background: #dff3e8; color: #1d6b40; border: 1px solid #b8e2c9; }
.alert.err { background: #fde3e2; color: #a3150f; border: 1px solid #f6c3c0; }
.compact .form-grid { grid-template-columns: 1fr; gap: 10px; }

/* Service / project detail */
.detail { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 50px; align-items: start; }
.sticky { position: sticky; top: 100px; }
.content { color: #33465e; font-size: 1.02rem; }
.content h2, .content h3 { margin-top: 1.5em; }
.content img { border-radius: 10px; margin: 1em 0; }
.content a { text-decoration: underline; }
.content ul li, .content ol li { margin-bottom: 6px; }
.content li[data-list="bullet"] { list-style-type: disc; }
.content li[data-list="ordered"] { list-style-type: decimal; }
.content .ql-align-center { text-align: center; }
.gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: var(--bg); cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 12px; }
.thumbs button { border: 0; padding: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; outline: 3px solid transparent; outline-offset: -3px; background: var(--bg); }
.thumbs button.active { outline-color: var(--blue); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.facts { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.facts dl { display: grid; grid-template-columns: 110px 1fr; gap: 12px 10px; margin: 0; font-size: .95rem; }
.facts dt { color: var(--mute); }
.facts dd { margin: 0; font-weight: 600; }
.side-cta { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px; margin-top: 22px; }
.side-cta h3 { color: #fff; font-size: 1.2rem; }
.side-cta p { color: #c6d2df; font-size: .93rem; }
.side-cta .field label { color: #dfe7f0; }
.side-list { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; background: #fff; }
.side-list a { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; }
.side-list a:hover, .side-list a.active { background: var(--bg); color: var(--red); }
.side-list a::after { content: '›'; color: var(--mute); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.tags a, .tags span { background: var(--bg); padding: 6px 14px; border-radius: 20px; font-size: .85rem; color: var(--steel); }
.feature-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.feature-list li { background: var(--bg); border-radius: 8px; padding: 14px 16px 14px 44px; position: relative; font-weight: 500; }
.feature-list li::before { content: '✓'; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 11px; display: grid; place-items: center; font-weight: 700; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before { counter-increment: s; content: '0' counter(s); font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--blue); display: block; margin-bottom: 6px; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--steel); font-size: .9rem; margin: 0; }

/* Gallery grid */
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry figure { margin: 0 0 18px; break-inside: avoid; border-radius: 10px; overflow: hidden; position: relative; cursor: zoom-in; background: var(--bg); }
.masonry figure img { width: 100%; transition: transform .4s; }
.masonry figure:hover img { transform: scale(1.03); }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; background: linear-gradient(transparent, rgba(10, 20, 35, .85)); font-size: .9rem; opacity: 0; transition: .2s; }
.masonry figure:hover figcaption { opacity: 1; }
.video { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(8, 14, 24, .94); display: none; align-items: center; justify-content: center; z-index: 200; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 24px; cursor: pointer; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; }
.lightbox .lb-next { right: 20px; top: 50%; }

/* Contact */
.contact-cards { display: grid; gap: 14px; margin-top: 26px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; color: var(--ink); background: #fff; }
.contact-card:hover { border-color: var(--blue); color: var(--ink); }
.contact-card .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.contact-card .ic.wa { background: #dcf8e7; color: #1aa251; }
.contact-card .ic.red { background: #fde3e2; color: var(--red); }
.contact-card b { display: block; }
.contact-card span { color: var(--steel); font-size: .93rem; }
.map { border-radius: var(--radius); overflow: hidden; margin-top: 14px; aspect-ratio: 16/9; background: var(--bg); }
.map iframe { width: 100%; height: 100%; border: 0; }
.ic svg { width: 22px; height: 22px; }

/* Blog */
.post-meta { color: var(--mute); font-size: .9rem; margin-bottom: 18px; }
.article { max-width: 820px; }
.article .cover { border-radius: var(--radius); margin-bottom: 28px; width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* Jobs */
.job { display: flex; justify-content: space-between; gap: 20px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; background: #fff; flex-wrap: wrap; }
.job h3 { margin: 0 0 6px; font-size: 1.15rem; }
.job .meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--steel); font-size: .9rem; }
.empty { text-align: center; padding: 50px 20px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--steel); }

/* Certificates */
.cert { text-align: center; }
.cert .thumb { aspect-ratio: 3/4; background: var(--bg); display: grid; place-items: center; }
.cert .thumb img { object-fit: contain; padding: 12px; }

/* Pagination */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); padding: 0 12px; }
.pager .cur { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy-3); color: #a9b7c7; font-size: .93rem; padding: 70px 0 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #a9b7c7; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand img { background: #fff; border-radius: 8px; padding: 4px; height: 52px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: #1d2f47; display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--red); color: #fff; }
.social svg { width: 18px; height: 18px; }
.copy { border-top: 1px solid #22344d; margin-top: 50px; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.copy .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Floating WhatsApp + mobile action bar */
.wa-float { position: fixed; right: 24px; bottom: 24px; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); z-index: 60; transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }
.mbar { display: none; }

/* 404 */
.nf { text-align: center; padding: 110px 0; }
.nf .code { font-family: var(--font-head); font-size: 6rem; font-weight: 700; color: var(--blue); line-height: 1; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav a.nl { padding: 10px 9px; font-size: .92rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .logos { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  .topbar .tb-left { display: none; }
  .topbar .container { justify-content: center; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 78px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 100px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; }
  .nav a.nl { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav a.nl.active { box-shadow: none; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; }
  .nav .has-sub.open .sub { display: block; }
  .nav .btn { margin: 20px 0 0; }
  body.menu-open { overflow: hidden; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .split, .detail { grid-template-columns: 1fr; gap: 40px; }
  .grid.g3, .grid.g4 { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust div:nth-child(2) { border-right: 0; }
  .trust div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .sticky { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; padding-bottom: 58px; }
  .section { padding: 60px 0; }
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .site-header .container { min-height: 68px; }
  .nav { inset: 68px 0 0 0; }
  .brand img { height: 42px; }
  .brand strong { font-size: 1.1rem; }
  .hero .slides { min-height: 600px; }
  .hero .slide .container { padding-top: 36px; padding-bottom: 70px; }
  .hero p { font-size: 1rem; }
  .hero .ctas .btn { width: 100%; }
  .hero .dots { display: none; }
  .trust-wrap { margin-top: -36px; }
  .trust div { padding: 18px; }
  .trust b { font-size: 1.6rem; }
  .grid.g2, .grid.g3, .grid.g4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .checks, .feature-list { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 30px; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .filters select { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .chip { white-space: nowrap; }
  .form-card { padding: 22px; }
  .page-hero { padding: 56px 0 50px; }
  .wa-float { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(0, 0, 0, .08); }
  .mbar a { padding: 13px 6px; text-align: center; font-weight: 600; font-size: .9rem; color: var(--navy); display: flex; align-items: center; justify-content: center; gap: 6px; }
  .mbar a svg { width: 18px; height: 18px; }
  .mbar a.w { background: #25d366; color: #fff; }
  .mbar a.q { background: var(--red); color: #fff; }
}
@media print {
  .site-header, .topbar, .site-footer, .wa-float, .mbar, .cta-band { display: none !important; }
}
