/* ============================================================
   Lift-Wala Elevators — modern animated theme
   ============================================================ */
:root {
    --navy: #0b2a4a;
    --navy-2: #0e2233;
    --blue: #1c6fb3;
    --blue-bright: #2b9be0;
    --accent: #f5a623;
    --accent-2: #ffce54;
    --ink: #16202b;
    --muted: #5b6b7b;
    --line: #e6ecf2;
    --bg: #ffffff;
    --bg-soft: #f4f8fc;
    --radius: 18px;
    --shadow: 0 18px 50px -20px rgba(11, 42, 74, .35);
    --shadow-sm: 0 8px 24px -12px rgba(11, 42, 74, .3);
    --font: 'Manrope', system-ui, sans-serif;
    --display: 'Poppins', system-ui, 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.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin-inline: auto; }

svg { width: 1em; height: 1em; }

/* ---------- Buttons ---------- */
.btn {
    --pad: 15px 28px;
    display: inline-flex; align-items: center; gap: 10px;
    padding: var(--pad);
    font-family: var(--display);
    font-weight: 600; font-size: .95rem;
    border-radius: 100px; cursor: pointer; border: 0;
    position: relative; overflow: hidden;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, background .35s, color .35s;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .35s; }
.btn:hover svg { transform: translateX(5px); }
.btn-primary { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #2a1a00; box-shadow: 0 14px 30px -12px rgba(245,166,35,.7); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(245,166,35,.85); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-2); color: #cfe0ef; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.topbar-contact { display: flex; gap: 24px; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; }
.tb-ico svg { width: 14px; height: 14px; color: var(--accent); }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .3s, transform .3s, color .3s; }
.topbar-social a svg { width: 13px; height: 13px; }
.topbar-social a:hover { background: var(--accent); color: #2a1a00; transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.85); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .35s, background .35s, border-color .35s; }
.navbar.scrolled { box-shadow: 0 8px 30px -18px rgba(11,42,74,.5); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); box-shadow: var(--shadow-sm); }
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { font-weight: 800; font-size: 1.25rem; line-height: 1; color: var(--navy); display: flex; flex-direction: column; }
.brand-text small { font-family: var(--font); font-weight: 500; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-family: var(--display); font-weight: 500; font-size: .95rem; color: var(--ink); position: relative; padding: 6px 0; }
.nav-links a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); transition: width .3s; }
.nav-links a:not(.nav-cta):hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { background: var(--navy); color: #fff !important; padding: 11px 22px !important; border-radius: 100px; transition: transform .3s, background .3s; }
.nav-cta:hover { background: var(--accent); color: #2a1a00 !important; transform: translateY(-2px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(120% 120% at 20% 10%, var(--g2) 0%, var(--g1) 55%, #050d18 100%); transform: scale(1.12); }
.hero-slide.is-active .hero-bg { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.18) translate(2%, -2%); } to { transform: scale(1) translate(0,0); } }
.hero-grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(120% 90% at 50% 30%, #000, transparent 75%); }

/* animated elevator shaft on the right */
.hero-shaft { position: absolute; right: 8%; top: 0; bottom: 0; width: 90px; display: none; }
@media(min-width:980px){ .hero-shaft { display: block; } }
.shaft-rail { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.25), rgba(255,255,255,.05)); transform: translateX(-50%); }
.shaft-car { position: absolute; left: 50%; transform: translateX(-50%); width: 70px; height: 110px; border: 2px solid rgba(255,255,255,.4); border-radius: 10px; background: rgba(255,255,255,.06); backdrop-filter: blur(2px); animation: ride 7s ease-in-out infinite; box-shadow: 0 0 40px -8px rgba(255,255,255,.25); }
.shaft-car span { position: absolute; inset: 10px; border-radius: 6px; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.15); }
.shaft-car span::after { content: ''; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 1.5px; background: rgba(255,255,255,.3); transform: translateX(-50%); }
@keyframes ride { 0%,100% { top: 8%; } 45% { top: 8%; } 50% { top: 62%; } 95% { top: 62%; } }

.hero-content { position: relative; z-index: 5; padding: 60px 0; }
.hero-caption { display: none; max-width: 680px; }
.hero-caption.is-active { display: block; }
.hero-eyebrow { display: inline-block; font-family: var(--display); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: .76rem; color: var(--accent-2); padding: 8px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 100px; margin-bottom: 22px; opacity: 0; animation: fadeUp .7s .15s forwards; }
.hero-title { font-family: var(--display); font-weight: 800; font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 20px; opacity: 0; animation: fadeUp .8s .3s forwards; }
.hero-sub { font-size: clamp(1rem, 2vw, 1.18rem); color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 34px; opacity: 0; animation: fadeUp .8s .45s forwards; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp .8s .6s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.hero-dots { position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 6; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); background: transparent; cursor: pointer; transition: .3s; }
.hero-dot.is-active { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }
.scroll-cue { position: absolute; bottom: 34px; right: 6%; display: none; flex-direction: column; align-items: center; gap: 10px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); z-index: 6; }
@media(min-width:1100px){ .scroll-cue { display: flex; } }
.scroll-cue span { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.5); border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; background: var(--accent); border-radius: 4px; transform: translateX(-50%); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%,0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,14px); } }

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section-eyebrow { font-family: var(--display); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: var(--blue); display: inline-flex; align-items: center; gap: 10px; }
.section-eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--accent); }
.section-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--navy); letter-spacing: -.02em; margin-top: 10px; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .section-eyebrow::before { display: none; }
.section-head.light .section-title { color: #fff; }
.section-head.light .section-eyebrow { color: var(--accent-2); }

/* ---------- Services ---------- */
.services { margin-top: -70px; position: relative; z-index: 10; padding-bottom: 40px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 26px; box-shadow: var(--shadow); overflow: hidden; transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.svc-card::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .4s; }
.svc-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px -24px rgba(11,42,74,.45); }
.svc-card:hover::before { width: 100%; }
.svc-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 16px; color: var(--blue); background: var(--bg-soft); margin-bottom: 20px; transition: .4s; }
.svc-icon svg { width: 30px; height: 30px; }
.svc-card:hover .svc-icon { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; transform: rotate(-6deg) scale(1.06); }
.svc-card h3 { font-family: var(--display); font-weight: 700; font-size: 1.22rem; color: var(--navy); margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: .93rem; margin-bottom: 18px; }
.svc-link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 600; font-size: .88rem; color: var(--blue); }
.svc-link svg { width: 15px; height: 15px; transition: transform .3s; }
.svc-link:hover svg { transform: translateX(5px); }
.svc-index { position: absolute; right: 18px; top: 14px; font-family: var(--display); font-weight: 800; font-size: 2.6rem; color: rgba(11,42,74,.05); }

/* ---------- About ---------- */
.about { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-img { border-radius: 24px; overflow: hidden; background: radial-gradient(120% 120% at 30% 10%, var(--blue) 0%, var(--navy) 70%); aspect-ratio: 5/6; display: grid; place-items: center; box-shadow: var(--shadow); }
.about-img-inner { width: 70%; animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.about-badge { position: absolute; right: -18px; bottom: 36px; background: #fff; border-radius: 18px; padding: 20px 26px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; }
.about-badge strong { font-family: var(--display); font-weight: 800; font-size: 2.8rem; color: var(--accent); line-height: 1; }
.about-badge span { font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--navy); }
.about-copy p { color: var(--muted); margin: 22px 0; font-size: 1.02rem; }
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-bottom: 30px; }
.about-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.about-list svg { width: 20px; height: 20px; color: #fff; background: var(--blue); border-radius: 50%; padding: 4px; flex: 0 0 auto; }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.stats::after { content: ''; position: absolute; inset: 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: 48px 48px; }
.stats-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); background: linear-gradient(120deg, #fff, var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-suffix { font-family: var(--display); font-weight: 800; font-size: 1.8rem; color: var(--accent); }
.stat p { color: rgba(255,255,255,.7); font-size: .95rem; margin-top: 4px; }

/* ---------- Why ---------- */
.why { padding: 100px 0; background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { background: #fff; border-radius: var(--radius); padding: 36px 28px; text-align: center; border: 1px solid var(--line); transition: transform .4s, box-shadow .4s; }
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.why-ico { width: 78px; height: 78px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); position: relative; transition: transform .5s; }
.why-ico svg { width: 36px; height: 36px; }
.why-ico::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 2px dashed rgba(28,111,179,.4); animation: spin 14s linear infinite; }
.why-card:hover .why-ico { transform: rotateY(180deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.why-card h4 { font-family: var(--display); font-weight: 700; font-size: 1.18rem; color: var(--navy); margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: .92rem; }

/* ---------- Works ---------- */
.works { padding: 100px 0; }
.works-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.filter-btn { font-family: var(--display); font-weight: 600; font-size: .88rem; padding: 10px 22px; border-radius: 100px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: .3s; }
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.work-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: radial-gradient(120% 120% at 30% 10%, var(--g2) 0%, var(--g1) 80%); cursor: pointer; transition: transform .5s; }
.work-card.hide { display: none; }
.work-art { position: absolute; inset: 0; display: grid; place-items: center; opacity: .9; transition: transform .6s; }
.work-art svg { width: 46%; height: auto; }
.work-card:hover .work-art { transform: scale(1.08) translateY(-6px); }
.work-card figcaption { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: linear-gradient(180deg, transparent 40%, rgba(5,13,24,.85)); color: #fff; }
.work-tag { font-family: var(--display); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); opacity: 0; transform: translateY(10px); transition: .4s; }
.work-card h5 { font-family: var(--display); font-weight: 700; font-size: 1.1rem; transform: translateY(10px); transition: .4s .05s; }
.work-card:hover .work-tag, .work-card:hover h5 { opacity: 1; transform: translateY(0); }
.work-plus { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.2); backdrop-filter: blur(4px); transform: scale(0) rotate(-90deg); transition: .4s; }
.work-plus svg { width: 18px; height: 18px; }
.work-card:hover .work-plus { transform: scale(1) rotate(0); }

/* ---------- Team ---------- */
.team { padding: 100px 0; background: var(--bg-soft); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .4s, box-shadow .4s; position: relative; }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-photo { aspect-ratio: 1/1; display: grid; place-items: center; background: radial-gradient(120% 120% at 30% 10%, var(--g2), var(--g1)); }
.team-photo svg { width: 66%; }
.team-info { padding: 22px; text-align: center; }
.team-info h5 { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.team-info span { color: var(--muted); font-size: .88rem; }
.team-social { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; gap: 8px; }
.team-social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(14px); transition: .35s; }
.team-social a svg { width: 15px; height: 15px; }
.team-social a:hover { background: var(--accent); color: #2a1a00; }
.team-card:hover .team-social a { opacity: 1; transform: translateX(0); }
.team-card:hover .team-social a:nth-child(2) { transition-delay: .05s; }
.team-card:hover .team-social a:nth-child(3) { transition-delay: .1s; }

/* ---------- Testimonials ---------- */
.testi { padding: 100px 0; background: linear-gradient(160deg, var(--navy), var(--navy-2)); position: relative; overflow: hidden; }
.testi::before { content: '\201C'; position: absolute; top: -40px; left: 4%; font-family: var(--display); font-size: 22rem; color: rgba(255,255,255,.04); line-height: 1; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 34px 30px; color: #fff; backdrop-filter: blur(6px); transition: transform .4s, background .4s; position: relative; }
.testi-card:hover { transform: translateY(-8px); background: rgba(255,255,255,.1); }
.quote-mark { font-family: var(--display); font-size: 3rem; color: var(--accent); line-height: .4; }
.testi-card p { color: rgba(255,255,255,.88); font-size: 1rem; margin: 18px 0 22px; }
.testi-card footer { display: flex; align-items: center; gap: 14px; }
.testi-ava { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: radial-gradient(120% 120% at 30% 10%, var(--g2), var(--g1)); flex: 0 0 auto; }
.testi-card footer strong { font-family: var(--display); font-weight: 700; display: block; }
.testi-card footer span { color: var(--accent-2); font-size: .82rem; }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(120deg, var(--accent), var(--accent-2)); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.1rem); color: #2a1a00; max-width: 640px; }

/* ---------- Footer ---------- */
.footer { background: #08192b; color: #b6c6d6; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 56px; }
.brand-foot .brand-text { color: #fff; }
.foot-about p { font-size: .92rem; margin: 18px 0 22px; color: #92a6ba; }
.foot-social a { background: rgba(255,255,255,.08); color: #cdddec; }
.foot-col h5 { font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.05rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.foot-col h5::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--accent); }
.foot-col ul li { margin-bottom: 11px; }
.foot-col ul a { font-size: .92rem; color: #92a6ba; transition: color .3s, padding-left .3s; }
.foot-col ul a:hover { color: var(--accent); padding-left: 6px; }
.foot-contact p { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; margin-bottom: 12px; color: #92a6ba; }
.foot-contact svg { width: 17px; height: 17px; color: var(--accent); flex: 0 0 auto; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .84rem; color: #6f859b; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 26px; bottom: 26px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: var(--shadow); transform: translateY(80px) rotate(-90deg); opacity: 0; transition: .4s; z-index: 90; }
.to-top svg { width: 20px; height: 20px; transform: rotate(-90deg); }
.to-top.show { transform: translateY(0) rotate(-90deg); opacity: 1; }
.to-top:hover { background: var(--accent); color: #2a1a00; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal, .reveal-left, .reveal-right { opacity: 0; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal.in, .reveal-left.in, .reveal-right.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal, .reveal-left, .reveal-right, .hero-eyebrow, .hero-title, .hero-sub, .hero-actions { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 120px 0 70px; }
.page-hero-bg { position: absolute; inset: 0; background: radial-gradient(120% 130% at 25% 10%, var(--g2) 0%, var(--g1) 60%, #050d18 100%); }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(120% 90% at 50% 30%, #000, transparent 75%); }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.02em; margin: 14px 0 12px; }
.crumbs { font-family: var(--display); font-weight: 500; font-size: .92rem; color: rgba(255,255,255,.8); }
.crumbs a { color: var(--accent-2); }
.crumbs span { margin: 0 8px; opacity: .6; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { padding: 90px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.contact-lead { color: var(--muted); margin: 18px 0 28px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.info-ico { width: 50px; height: 50px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); transition: transform .3s; }
.info-ico svg { width: 22px; height: 22px; }
.info-card:hover .info-ico { transform: translateY(-3px) rotate(-6deg); }
.info-card h5 { font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.info-card p { color: var(--muted); font-size: .94rem; }
.info-card a { color: var(--blue); }
.info-social { display: flex; gap: 10px; margin-top: 24px; }
.info-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-soft); color: var(--navy); transition: .3s; }
.info-social a svg { width: 17px; height: 17px; }
.info-social a:hover { background: var(--accent); color: #2a1a00; transform: translateY(-3px); }

.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 38px; position: relative; }
.contact-form-wrap::before { content: ''; position: absolute; left: 0; top: 0; height: 5px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 22px 22px 0 0; }
.contact-form h3 { font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 1.45rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-family: var(--display); font-weight: 600; font-size: .85rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
    font-family: var(--font); font-size: .95rem; color: var(--ink);
    padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
    background: var(--bg-soft); transition: border-color .25s, box-shadow .25s, background .25s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--blue); background: #fff;
    box-shadow: 0 0 0 4px rgba(28,111,179,.12);
}
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.form-submit .btn-spinner { width: 18px; height: 18px; border: 2.5px solid rgba(42,26,0,.3); border-top-color: #2a1a00; border-radius: 50%; display: none; animation: spin .7s linear infinite; }
.form-submit.loading .btn-spinner { display: inline-block; }
.form-submit.loading .btn-label { opacity: .7; }
.form-alert { margin-top: 18px; padding: 0 16px; max-height: 0; overflow: hidden; border-radius: 12px; font-weight: 600; font-size: .92rem; opacity: 0; transition: .35s; }
.form-alert.show { max-height: 120px; padding: 14px 16px; opacity: 1; }
.form-alert.success { background: #e7f7ee; color: #137a44; border: 1px solid #b6e6c9; }
.form-alert.error { background: #fdecec; color: #c0392b; border: 1px solid #f5c6c6; }

.map-section { line-height: 0; filter: saturate(1.05); border-top: 1px solid var(--line); }
.map-section iframe { filter: grayscale(.2) contrast(1.05); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
    .services-grid, .why-grid, .works-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
    .testi-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 70px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
    .topbar-contact { gap: 14px; font-size: .74rem; }
    .topbar-social { display: none; }
    .nav-links { position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 84%); height: 100vh; height: 100dvh; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; padding: 96px 26px 40px; background: #fff; box-shadow: -20px 0 60px -20px rgba(0,0,0,.4); transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1); z-index: 105; overflow-y: auto; overscroll-behavior: contain; }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { font-size: 1.05rem; padding: 15px 4px; border-bottom: 1px solid var(--line); }
    .nav-links a:not(.nav-cta)::after { display: none; }
    .nav-links .nav-cta { margin-top: 20px; text-align: center; border-bottom: 0; }
    .nav-toggle { display: flex; z-index: 110; }
    .services-grid, .why-grid, .works-grid, .team-grid, .about-list, .footer-grid { grid-template-columns: 1fr; }
    .services { margin-top: -40px; }
    .about-badge { right: 12px; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 26px 22px; }
    .page-hero { padding: 90px 0 56px; }
}
