/* =========================================================
   Velaz Branding Solutions — flat, square, editorial style
   (no gradients, no rounded corners, no cursor effects)
   ========================================================= */
:root {
  --navy: #041d3b;
  --navy-2: #123a6b;
  --pink: #cf146b;
  --ink: #333333;
  --muted: #5d6470;
  --line: #e4e1db;
  --cream: #f5f0e8;
  --sand: #f7f5f1;
  --off: #fbfbfb;
  --white: #ffffff;
  --gutter: 40px;
  --side: max(40px, calc((100vw - 1240px) / 2));
  --font: "Figtree", -apple-system, system-ui, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--font); color: var(--navy); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; border-radius: 0; }
h1, h2, h3, h4, h5, p { margin: 0; font-weight: 400; }
ul, ol { list-style: none; margin: 0; padding: 0; }
main { overflow-x: clip; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
h1, h2 { letter-spacing: -0.02em; }
.hl { font-style: normal; color: var(--pink); }

/* reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--stagger, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal--left { transform: translateX(-40px); }
.js .reveal--right { transform: translateX(40px); }
.js .reveal--left.in, .js .reveal--right.in { transform: none; }
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .split .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js .split.in .w > span { transform: none; }
.js .wipe img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s cubic-bezier(.7,0,.2,1) .1s; }
.js .wipe.in img { clip-path: inset(0); }
[data-parallax] { overflow: hidden; }
[data-parallax] img { transform: translateY(var(--py, 0px)) scale(1.12); will-change: transform; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; background: var(--pink); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.intro { position: fixed; inset: 0; z-index: 500; background: var(--navy); display: grid; place-items: center; animation: introOut .7s cubic-bezier(.7,0,.2,1) 1.1s forwards; }
.intro img { width: 110px; animation: introLogo 1.1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes introLogo { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 16px; line-height: 22px; font-weight: 600; border-radius: 0;
  border: 2px solid var(--navy); padding: 12px 28px; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: var(--pink); border-color: var(--pink); }
.btn--outline { color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--lg { padding: 16px 40px; }
.btn--block { width: 100%; }
.textlink { display: inline-flex; gap: 6px; font-weight: 600; color: var(--navy); border-bottom: 2px solid var(--pink); padding-bottom: 2px; }
.textlink:hover { color: var(--pink); }

/* ---------- Top bar + header ---------- */
.topbar { height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); background: var(--cream); font-size: 12px; }
.topbar strong { font-weight: 700; }
.topbar__links { display: flex; gap: 32px; }
.topbar__links a:hover { text-decoration: underline; }
.topbar__contact { display: inline-flex; align-items: center; gap: 6px; }

.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header__inner { height: 72px; display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter); }
.logo { flex: none; display: block; }
.logo img { height: 56px; width: auto; }
.mainnav { display: flex; gap: 4px; margin-left: 24px; height: 100%; }
.mainnav__link { display: flex; align-items: center; font-size: 16px; font-weight: 600; color: var(--ink); padding: 0 20px; position: relative; transition: color .15s; }
.mainnav__link::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; background: var(--pink); transform: scaleX(0); transition: transform .25s ease; }
.mainnav__link:hover { color: var(--navy); }
.mainnav__link:hover::after, .mainnav__link.is-active::after { transform: scaleX(1); }
.mainnav__link.is-active { color: var(--navy); }
.burger { display: none; width: 28px; height: 20px; flex-direction: column; justify-content: space-between; flex: none; margin-left: auto; }
.burger span { height: 2px; background: var(--navy); }

.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(4,29,59,.45); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__panel { margin-left: auto; width: min(86vw, 360px); height: 100%; background: #fff; padding: 72px 24px 24px; display: flex; flex-direction: column; position: relative; transform: translateX(100%); transition: transform .25s ease; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__panel > a { font-size: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.drawer__panel > a.is-active { font-weight: 700; color: var(--pink); }
.drawer__close { position: absolute; top: 16px; right: 20px; font-size: 34px; line-height: 1; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; height: 620px; background: var(--cream); border-bottom: 4px solid #fff; }
.hero__copy { padding: 0 72px 0 112px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero h1 { font-size: 52px; line-height: 58px; margin-bottom: 26px; max-width: 560px; }
.hero__copy p { font-size: 18px; line-height: 26px; color: #3d4450; max-width: 495px; margin-bottom: 40px; }
.hero__media { position: relative; overflow: hidden; background: var(--navy); }
.hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.hero__slides img.is-active { opacity: 1; }
.hero__slides img.is-poster { object-fit: contain; padding: 28px 0 78px; }
.hero__slides img.pos-top { object-position: 50% 4%; }
.hero__tabs { position: absolute; left: 16px; right: 64px; bottom: 16px; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hero__tabs button { text-align: left; color: rgba(255,255,255,.75); font-size: 16px; font-weight: 500; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.hero__tabs button.is-active { color: #fff; }
.hero__tabs i { display: block; height: 3px; background: rgba(255,255,255,.4); margin-top: 8px; overflow: hidden; }
.hero__tabs b { display: block; height: 100%; width: 0; background: #fff; }
.hero__pause { position: absolute; right: 12px; bottom: 14px; z-index: 2; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.7); color: #fff; display: grid; place-items: center; background: rgba(0,0,0,.25); }

/* ---------- Tiles (flush, like noissue) ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.tile { position: relative; height: 377px; overflow: hidden; display: block; background: var(--navy); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.tile img.pos-left { object-position: 0% 50%; }
.tile::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.28); transition: background .3s; }
.tile span { position: absolute; left: 25px; right: 25px; bottom: 26px; z-index: 1; color: #fff; font-size: 24px; line-height: 36px; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.tile:hover img { transform: scale(1.04); }
.tile:hover::after { background: rgba(4,29,59,.45); }

/* ---------- About (home) ---------- */
.about { display: grid; grid-template-columns: auto minmax(0, 580px); justify-content: center; gap: 96px; align-items: center; padding: 100px var(--side); background: var(--off); }
.about__img { position: relative; overflow: hidden; aspect-ratio: 1 / 1; width: min(var(--sq, 100%), 100%); height: var(--sq, auto); background: var(--navy); }
.about__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__badge { position: absolute; left: 0; bottom: 0; background: var(--navy); color: #fff; padding: 14px 24px; display: flex; gap: 10px; font-size: 15px; }
.about__badge span { color: var(--pink); }
.about h2, .story h2 { font-size: 44px; line-height: 52px; margin-bottom: 24px; }
.about__copy p, .story__copy p { font-size: 18px; line-height: 28px; color: #3d4450; margin-bottom: 16px; }
.about__btns { margin-top: 28px; }

/* ---------- More services (list + scrolling cards) ---------- */
.more { display: grid; grid-template-columns: 300px 1fr; padding: 80px 0 80px var(--side); background: #fff; overflow: hidden; }
.more h2 { font-size: 44px; line-height: 52px; margin-bottom: 32px; }
.more__list { margin-bottom: 40px; }
.more__list a { display: block; padding: 6px 0; font-size: 16px; line-height: 16px; font-weight: 600; text-transform: uppercase; color: #909090; transition: color .15s; }
.more__list a:hover { color: var(--pink); }
.more__track { overflow: hidden; padding-bottom: 8px; }
.more__rail { display: flex; align-items: flex-start; width: max-content; will-change: transform; }
.more__arrows { display: flex; gap: 8px; margin-top: 32px; }
.arrow { width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid var(--navy); color: var(--navy); background: #fff; transition: background .2s, color .2s, border-color .2s; }
.arrow:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.pcard { flex: none; width: 310px; margin-right: 16px; display: block; }
.pcard img { width: 100%; height: 415px; object-fit: cover; transition: opacity .2s; }
.pcard:hover img { opacity: .88; }
.pcard span { display: block; font-size: 14px; line-height: 20px; margin-top: 10px; color: var(--navy); }
.pcard--text { height: 415px; background: var(--navy); color: #fff; padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; transition: background .2s; }
.pcard--text:hover { background: var(--pink); }
.pcard--text b { font-size: 34px; line-height: 38px; font-weight: 500; letter-spacing: -0.01em; }
.pcard--text small { font-size: 15px; line-height: 22px; margin-top: 10px; color: rgba(255,255,255,.8); }

/* ---------- Partner (accordion + quote form) ---------- */
.partner { display: grid; grid-template-columns: 1fr 560px; gap: 80px; padding: 100px var(--side); align-items: center; background: var(--sand); }
.partner h2 { font-size: 52px; line-height: 60px; margin-bottom: 28px; }
.partner__copy > p { font-size: 20px; line-height: 28px; color: #3d4450; max-width: 540px; }
.partner__form { background: #fff; border: 1px solid var(--line); padding: 32px; }
.partner__form h3 { font-size: 24px; font-weight: 600; margin-bottom: 20px; }
.acc { border-top: 1px solid #d6d2ca; }
.acc__item { border-bottom: 1px solid #d6d2ca; }
.acc__head { width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left; padding: 20px 0; font-size: 22px; line-height: 26px; font-weight: 500; color: var(--navy); }
.acc__head i { position: relative; width: 14px; height: 14px; flex: none; margin-left: 16px; }
.acc__head i::before, .acc__head i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--navy); transition: transform .25s; }
.acc__head i::after { transform: rotate(90deg); }
.acc__item.is-open .acc__head i::after { transform: rotate(0); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc__body > p { overflow: hidden; font-size: 15px; line-height: 22px; color: #3d4450; }
.acc__item.is-open .acc__body { grid-template-rows: 1fr; }
.acc__item.is-open .acc__body > p { padding-bottom: 24px; }

/* ---------- Form fields ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1.5px solid #d9d6cf; border-radius: 0; padding: 13px 14px; outline: 0; transition: border-color .15s; }
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23041d3b' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--pink); background: #fff5f9; }
.qform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.field--full { grid-column: 1 / -1; }
.qform__note { font-size: 14px; line-height: 1.4; color: var(--muted); margin-top: 10px; }
.qform__note:empty { display: none; }
.qform__note.is-error { color: var(--pink); }
.qform__note.is-ok { color: #12805c; }

/* ---------- Inner page hero ---------- */
.pagehero { background: var(--cream); padding: 80px var(--side) 64px; }
.pagehero h1 { font-size: 52px; line-height: 58px; margin-bottom: 16px; max-width: 800px; }
.pagehero p { font-size: 18px; line-height: 26px; color: #3d4450; max-width: 620px; }
.tabs, .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tab, .chip { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; padding: 11px 20px; background: #fff; color: var(--navy); border: 1.5px solid var(--navy); transition: background .15s, color .15s; }
.tab:hover, .chip:hover { background: var(--navy); color: #fff; }
.tab.is-active { background: var(--navy); color: #fff; }
.chip small { font-size: 12px; background: var(--cream); color: var(--navy); padding: 1px 7px; }

/* ---------- Services panels ---------- */
.panels { padding: 72px var(--side) 40px; }
.panel + .panel { margin-top: 96px; }
.js .panel { display: none; }
.js .panel.is-active { display: block; animation: fadeUp .45s ease; }
.js .panel + .panel { margin-top: 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panel__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 72px; }
.panel h2 { font-size: 48px; line-height: 54px; margin-bottom: 20px; }
.panel__copy > p { font-size: 18px; line-height: 28px; color: #3d4450; margin-bottom: 28px; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 36px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; line-height: 22px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; background: var(--pink); }
.panel__feature { margin: 0; position: relative; }
.panel__feature img { width: 100%; height: 520px; object-fit: cover; }
.panel__feature figcaption { position: absolute; left: 0; bottom: 0; background: var(--navy); color: #fff; padding: 10px 18px; font-size: 13px; font-weight: 600; }
.panel__feature--card { min-height: 420px; padding: 48px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--navy); }
.panel__feature--card span { font-size: 52px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
.panel__feature--card p { font-size: 18px; color: #cfd9e8; margin-top: 10px; }
.panel__sub { font-size: 24px; font-weight: 500; margin-bottom: 24px; }

/* shared image grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 16px; }
.gitem { margin: 0; }
.gitem__btn { display: block; width: 100%; overflow: hidden; cursor: zoom-in; background: var(--navy); }
.gitem img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.gitem img[src*="poster"] { object-fit: contain; }
.gitem__btn:hover img { transform: scale(1.05); }
.gitem figcaption { font-size: 14px; line-height: 20px; margin-top: 10px; color: var(--ink); }

/* ---------- Gallery ---------- */
.gallery { padding: 24px var(--side) 40px; }
.gsection { padding: 64px 0 24px; }
.gsection + .gsection { border-top: 1px solid var(--line); }
.gsection__head { margin-bottom: 32px; }
.gsection h2 { font-size: 40px; line-height: 48px; margin-bottom: 4px; }
.gsection__head p { color: var(--muted); font-size: 16px; }
.ctacard { margin-top: 40px; background: var(--cream); padding: 32px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.ctacard h3 { font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.ctacard p { color: #3d4450; font-size: 16px; max-width: 560px; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 12, 28, .95); display: grid; place-items: center; padding: 56px 80px; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.lightbox figcaption { color: #fff; font-size: 16px; margin-top: 16px; text-align: center; }
.lightbox__close { position: absolute; top: 14px; right: 22px; color: #fff; font-size: 40px; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 40px; line-height: 1; width: 54px; height: 54px; background: rgba(255,255,255,.12); }
.lightbox__nav:hover { background: var(--pink); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

/* ---------- Process ---------- */
.process { background: var(--navy); color: #fff; padding: 88px var(--side); margin-top: 72px; }
.process h2 { font-size: 44px; line-height: 52px; margin-bottom: 48px; max-width: 640px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { border-top: 1px solid rgba(255,255,255,.3); padding-top: 24px; }
.steps b { display: grid; place-items: center; width: 36px; height: 36px; background: var(--pink); font-size: 15px; margin-bottom: 18px; }
.steps strong { display: block; font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.steps span { font-size: 15px; line-height: 22px; color: rgba(255,255,255,.78); }

/* ---------- About page ---------- */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; padding: 96px var(--side) 40px; }
.story__img { margin: 0; }
.story__img img { width: 100%; height: 640px; object-fit: cover; }
.values { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.values li { border-bottom: 1px solid var(--line); padding: 16px 0; display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.values strong { font-size: 17px; font-weight: 600; min-width: 110px; }
.values span { color: #3d4450; font-size: 15px; }
.team { padding: 80px var(--side) 0; }
.team__head { margin-bottom: 36px; }
.team h2 { font-size: 44px; line-height: 52px; }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 4px; }
.team__item { margin: 0; position: relative; overflow: hidden; }
.team__item:first-child { grid-column: span 2; grid-row: span 2; }
.team__item:nth-child(4), .team__item:nth-child(5) { grid-row: span 2; }
.team__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.team__item:hover img { transform: scale(1.04); }
.team__item figcaption { position: absolute; left: 0; bottom: 0; background: var(--navy); color: #fff; padding: 8px 14px; font-size: 13px; font-weight: 600; }

/* ---------- Contact page ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; padding: 80px var(--side) 100px; align-items: start; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ccard { background: var(--sand); padding: 28px; }
.ccard:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ccard svg { width: 32px; height: 32px; color: var(--pink); margin-bottom: 18px; }
.ccard h3 { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.ccard__value { font-size: 18px; font-weight: 600; color: var(--navy); word-break: break-word; }
a.ccard__value[href]:hover { color: var(--pink); }
.contact__form { background: #fff; border: 1px solid var(--line); padding: 40px; }
.contact__form h2 { font-size: 36px; line-height: 44px; margin-bottom: 8px; }
.contact__form > p { color: var(--muted); margin-bottom: 26px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; background: rgba(4,29,59,.6); display: grid; place-items: center; padding: 20px; overflow-y: auto; }
.modal__card { position: relative; width: min(640px, 100%); background: #fff; padding: 40px; animation: fadeUp .3s ease; }
.modal__card h2 { font-size: 32px; font-weight: 500; margin-bottom: 8px; }
.modal__lead { color: var(--muted); margin-bottom: 24px; }
.modal__close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; font-size: 28px; line-height: 1; }

/* ---------- Footer ---------- */
.footer { padding: 56px var(--gutter) 30px; border-top: 1px solid var(--line); }
.footer__main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); color: var(--ink); }
.logo--footer img { height: 92px; }
.footer__brand p { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 14px; max-width: 250px; }
.footer__brand .footer__tag { font-weight: 700; color: var(--pink); }
.footer h5 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.footer__main a { display: block; font-size: 14px; line-height: 30px; }
.footer__main a:hover { color: var(--pink); text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }

.chatfab { position: fixed; right: 20px; bottom: 24px; z-index: 40; height: 56px; padding: 0 22px 0 16px; border-radius: 999px; gap: 10px; display: flex; align-items: center; background: #25d366; color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: background .2s; }
.chatfab:hover { background: #1ebe5b; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .mainnav__link { padding: 0 14px; }
  .mainnav__link::after { left: 14px; right: 14px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  :root { --gutter: 20px; --side: 24px; }
  .mainnav { display: none; }
  .burger { display: flex; }
  .header__inner { height: 64px; }
  .logo img { height: 48px; }

  .hero { grid-template-columns: 1fr; height: auto; }
  .hero__copy { padding: 56px 24px 48px; }
  .hero__media { height: 520px; }
  .tile { height: 300px; }

  .more { grid-template-columns: 1fr; padding: 64px 0 64px 24px; }
  .more__side { padding-right: 24px; }
  .more__list { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 28px; }
  .more__arrows { margin-top: 20px; margin-bottom: 28px; }
  .about, .partner, .story, .contact, .panel__intro { grid-template-columns: 1fr; gap: 44px; justify-content: stretch; }
  .about, .partner { padding-top: 72px; padding-bottom: 72px; }
  .story__img img { height: 440px; }
  .about__img { width: 100%; max-width: 560px; height: auto; }
  .panel__feature { order: -1; }
  .panel__feature img { height: 400px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .process { padding: 64px 24px; }
}

@media (max-width: 640px) {
  :root { --side: 16px; }
  .topbar { justify-content: center; padding: 0 16px; }
  .topbar__links { display: none; }
  .topbar__msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header__inner { padding: 0 16px; }

  .hero__copy { padding: 44px 16px 44px; }
  .hero h1, .pagehero h1 { font-size: 38px; line-height: 44px; }
  .hero__copy p, .pagehero p { font-size: 16px; }
  .hero__media { height: 440px; }
  .hero__tabs { left: 12px; right: 56px; gap: 10px; }
  .hero__tabs button { font-size: 12px; }

  .tile { height: 220px; }
  .tile span { font-size: 18px; left: 14px; bottom: 14px; }
  .about h2, .story h2, .process h2, .team h2 { font-size: 32px; line-height: 40px; }
  .partner h2 { font-size: 36px; line-height: 42px; }
  .panel h2 { font-size: 36px; line-height: 42px; }
  .about__copy p, .story__copy p, .panel__copy > p { font-size: 16px; line-height: 26px; }
  .story__img img { height: 340px; }
  .more { padding: 48px 0 48px 16px; }
  .more h2 { font-size: 32px; line-height: 40px; }
  .pcard { width: 240px; }
  .pcard img, .pcard--text { height: 330px; }
  .pcard--text { padding: 22px; }
  .pcard--text b { font-size: 28px; line-height: 32px; }
  .partner__copy > p { font-size: 17px; }
  .partner__form { padding: 22px 18px; }
  .acc__head { font-size: 18px; }

  .pagehero { padding: 52px 16px 44px; }
  .tabs { gap: 6px; margin-top: 24px; }
  .tab { padding: 9px 14px; font-size: 14px; }
  .panels { padding-top: 48px; }
  .panel__feature img { height: 300px; }
  .panel__feature--card { min-height: 260px; padding: 28px; }
  .panel__feature--card span { font-size: 36px; }
  .ticks { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; }
  .gitem figcaption { font-size: 12px; line-height: 16px; margin-top: 8px; }
  .gsection h2 { font-size: 32px; line-height: 40px; }
  .ctacard { padding: 24px 20px; }
  .lightbox { padding: 56px 8px 90px; }
  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }

  .steps { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .team__item figcaption { font-size: 11px; padding: 5px 10px; }
  .contact__cards { grid-template-columns: 1fr; }
  .contact__form, .modal__card { padding: 28px 20px; }
  .qform__grid { grid-template-columns: 1fr; }

  .footer { padding: 40px 16px 100px; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; }
  .chatfab { width: 56px; padding: 0; justify-content: center; }
  .chatfab span { display: none; }
}


/* ---------- Phone hero: one full image area, headline and button on top of it ---------- */
@media (max-width: 768px) {
  .hero { display: block; position: relative; height: min(720px, calc(100svh - 96px)); min-height: 560px; background: var(--navy); border-bottom: 0; }
  .hero__media { position: absolute; inset: 0; height: 100%; }
  .hero__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(4, 16, 36, .45); pointer-events: none; transition: background .6s; }
  .hero__media.on-poster::after { background: transparent; }
  .hero__slides img.is-poster { padding: 240px 24px 92px; }
  .hero__copy { position: absolute; z-index: 3; top: 0; left: 0; right: 0; padding: 40px 20px 0; align-items: center; text-align: center; }
  .hero__copy p { display: none; }
  .hero h1 { color: #fff; font-size: 38px; line-height: 44px; margin-bottom: 22px; max-width: 340px; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
  .hero .hl { color: #ff6fae; }
  .hero__btns { justify-content: center; width: 100%; }
  .hero__btns .btn { flex: 0 0 auto; min-width: 230px; }
  .hero .btn--solid { background: #fff; color: var(--navy); border-color: #fff; }
  .hero .btn--solid:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
  .hero__tabs { z-index: 3; right: 84px; bottom: 26px; gap: 12px; }
  .hero__pause { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .split .w > span { transform: none; }
  .js .wipe img { clip-path: none; }
  .intro { display: none; }
  .more__track { overflow-x: auto; }
}
