/* /geo/ landing page. Loaded on this page only (inc/geo-page.php). Builds on style.css tokens. */

/* ---------- Hero ---------- */
.geo-hero { text-align: center; padding-bottom: clamp(56px, 7vw, 96px); }
.geo-hero::before { background:
    radial-gradient(52% 46% at 50% 0%, rgba(148,34,109,.34), transparent 70%),
    radial-gradient(38% 34% at 88% 30%, rgba(124,92,255,.16), transparent 72%),
    radial-gradient(34% 30% at 8% 60%, rgba(214,91,176,.12), transparent 72%),
    linear-gradient(180deg, #0a0510 0%, #170a26 55%, #12081e 100%); }
.geo-hero__fx { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.geo-hero__in { max-width: 980px; }
.geo-hero .crumb { justify-content: center; margin-bottom: 22px; }
.geo-hero h1 { max-width: 20ch; font-size: clamp(2.3rem, 5.6vw, 4.3rem); line-height: 1.08; margin-bottom: .45em; }
.geo-hero .shine { display: inline; }
.geo-hero .hero__lead { max-width: 66ch; }
.geo-hero .hero__note { margin-top: 18px; }

.geo-chips { margin-top: clamp(30px, 4vw, 48px); }
.geo-chips p { margin: 0 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8f82a3; }
.geo-chips ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.geo-chips li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #f3ecfa; font-weight: 600; font-size: .94rem; transition: border-color .2s, background .2s, transform .2s; }
.geo-chips li img { width: 20px; height: 20px; flex: none; }
.geo-chips li:hover { border-color: rgba(214,91,176,.7); background: rgba(148,34,109,.22); transform: translateY(-2px); }

.geo-demo { position: relative; width: min(760px, 100%); margin: clamp(34px, 5vw, 56px) auto 0; text-align: left; border-radius: 22px; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 40px 90px -40px rgba(148,34,109,.7), inset 0 1px 0 rgba(255,255,255,.1); overflow: hidden; }
.geo-demo__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.geo-demo__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.22); }
.geo-demo__bar span { margin-left: auto; font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: #cdb6e0; text-transform: uppercase; }
.geo-demo__body { padding: clamp(18px, 3vw, 28px); }
.geo-demo__q { margin: 0 0 16px; color: #fff; font-weight: 600; font-size: clamp(1.02rem, 1.8vw, 1.2rem); }
.geo-demo__a { position: relative; margin: 0 0 16px; padding: 16px 18px 16px 58px; border-radius: 16px; background: rgba(148,34,109,.18); border: 1px solid rgba(214,91,176,.28); color: #ecdff7; font-size: 1.02rem; line-height: 1.6; animation: geoIn .9s .5s both; }
.geo-demo__spark { position: absolute; left: 14px; top: 14px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #94226d, #d65bb0); box-shadow: 0 8px 20px -6px rgba(214,91,176,.7); }
.geo-demo__src { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: .88rem; color: #b9acc9; animation: geoIn .9s .9s both; }
.geo-demo__src b { font-weight: 600; color: #f3ecfa; margin-right: 2px; }
.geo-demo__src span { padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.geo-demo figcaption { padding: 0 clamp(18px, 3vw, 28px) 16px; font-size: .8rem; color: #8f82a3; }
@keyframes geoIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Dark sections ---------- */
.geo-dark { position: relative; padding: clamp(64px, 8vw, 112px) 0; background: var(--dark); color: #b9acc9; overflow: hidden; isolation: isolate; }
.geo-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(50% 50% at 15% 0%, rgba(148,34,109,.26), transparent 70%),
    radial-gradient(40% 46% at 90% 100%, rgba(124,92,255,.14), transparent 70%),
    linear-gradient(180deg, #12081e, #190c2b); }
.geo-dark h2, .geo-dark h3 { color: #fff; }
.geo-dark .eyebrow--light { margin-bottom: 18px; }

.geo-shift__head, .geo-head { max-width: 820px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.geo-shift__head h2 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); line-height: 1.06; }
.geo-shift__head p, .geo-head p { font-size: 1.12rem; color: #b9acc9; margin: 0 auto; max-width: 62ch; }
.geo-head h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }

.geo-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.geo-trio li { position: relative; padding: 30px 28px 28px; border-radius: 22px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); transition: transform .3s, border-color .3s, background .3s; }
.geo-trio li:hover { transform: translateY(-4px); border-color: rgba(214,91,176,.45); }
.geo-trio__n { display: block; margin-bottom: 14px; font-weight: 700; font-size: 2.3rem; line-height: 1; letter-spacing: -.04em; background: linear-gradient(135deg, #d65bb0, #8f6bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.geo-trio h3 { font-size: 1.28rem; margin-bottom: .4em; }
.geo-trio p { margin: 0; color: #b9acc9; font-size: 1rem; }
.geo-shift__close { max-width: 760px; margin: clamp(36px, 5vw, 56px) auto 0; padding-top: 28px; text-align: center; font-size: 1.12rem; color: #e6d9f2; border-top: 1px solid rgba(255,255,255,.12); }

/* ---------- What is GEO ---------- */
.geo-what { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.geo-what__main h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.geo-answer { margin: 0 0 1.2em; padding: 20px 24px; border-left: 4px solid var(--accent); border-radius: 0 16px 16px 0; background: linear-gradient(90deg, #f7e8f1, #faf3f8); color: var(--ink); font-size: 1.14rem; line-height: 1.6; }
.geo-what .svc-art { margin-top: 18px; }
.geo-what__tbl .tbl { min-width: 0; }
.geo-what__tbl .tbl th[scope="row"] { width: 22%; color: var(--ink); font-weight: 600; background: #faf7fc; }
.geo-what__tbl .tbl thead th:last-child { color: #fff; background: linear-gradient(135deg, #94226d, #6f1553); }
.geo-what__tbl .tbl tbody td:last-child { background: #fdf6fa; color: var(--ink); font-weight: 500; }

/* ---------- Pillars ---------- */
.geo-pil { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.geo-pil li { position: relative; display: flex; flex-direction: column; padding: 28px 24px 26px; border-radius: 22px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.geo-pil li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #94226d, #d65bb0, #8f6bff); opacity: .85; }
.geo-pil li:hover { transform: translateY(-5px); border-color: rgba(214,91,176,.5); box-shadow: 0 30px 60px -30px rgba(148,34,109,.7); }
.geo-pil__n { position: absolute; right: 18px; top: 14px; font-weight: 700; font-size: 2.6rem; line-height: 1; letter-spacing: -.05em; color: rgba(255,255,255,.07); }
.geo-pil__ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; background: linear-gradient(135deg, #94226d, #c2449a); box-shadow: 0 12px 26px -10px rgba(214,91,176,.65); }
.geo-pil h3 { font-size: 1.2rem; margin-bottom: .45em; }
.geo-pil p { margin: 0; font-size: .98rem; color: #b9acc9; }

/* ---------- Signals ---------- */
.geo-sig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.geo-sig li { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; }
.geo-sig li:hover { transform: translateY(-3px); border-color: #d9c3e6; box-shadow: 0 24px 44px -28px rgba(18,8,30,.4); }
.geo-sig__ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--plum); }
.geo-sig h3 { font-size: 1.08rem; margin-bottom: .25em; }
.geo-sig p { margin: 0; font-size: .96rem; }

/* ---------- Process timeline ---------- */
.geo-tl { position: relative; max-width: 860px; margin: 0 auto; display: grid; gap: 18px; counter-reset: none; }
.geo-tl::before { content: ""; position: absolute; left: 31px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(180deg, #94226d, #d65bb0 60%, rgba(214,91,176,.15)); }
.geo-tl li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; padding: 22px 26px 22px 0; }
.geo-tl__n { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, #94226d, #c2449a); box-shadow: 0 0 0 6px #fff, 0 14px 30px -10px rgba(148,34,109,.6); }
.geo-tl li > div { padding: 18px 24px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.geo-tl h3 { font-size: 1.18rem; margin-bottom: .3em; }
.geo-tl p { margin: 0; font-size: 1rem; }

/* ---------- Engines ---------- */
.geo-eng { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.geo-eng li { position: relative; padding: 30px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.geo-eng li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #94226d, #d65bb0); }
.geo-eng h3 { font-size: 1.25rem; margin-bottom: .4em; }
.geo-eng p { margin: 0; }

/* ---------- Scope ---------- */
.geo-note { padding: clamp(26px, 3.4vw, 38px); border-radius: 24px; color: #d9cbe8; background: linear-gradient(145deg, #1b1230 0%, #3a0e2d 100%); box-shadow: 0 30px 60px -34px rgba(18,8,30,.7); }
.geo-note h3 { color: #fff; font-size: 1.35rem; margin-bottom: 14px; }
.geo-note ul { display: grid; gap: 14px; }
.geo-note li { position: relative; padding-left: 26px; font-size: 1.02rem; }
.geo-note li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, #d65bb0, #8f6bff); transform: rotate(45deg); }

/* ---------- Fit ---------- */
.geo-fit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.geo-fit li { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.geo-fit h3 { font-size: 1.12rem; margin-bottom: .35em; }
.geo-fit p { margin: 0; font-size: .98rem; }

/* ---------- Tools ---------- */
.geo-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.geo-tools a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none !important; transition: transform .3s, box-shadow .3s, border-color .3s; }
.geo-tools a:hover { transform: translateY(-4px); border-color: #d9c3e6; box-shadow: 0 28px 50px -30px rgba(18,8,30,.45); }
.geo-tools__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 8px; color: #fff; background: var(--plum); }
.geo-tools strong { color: var(--ink); font-size: 1.18rem; font-weight: 600; letter-spacing: -.02em; }
.geo-tools small { font-size: .97rem; line-height: 1.55; color: var(--text); }
.geo-tools__go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: .95rem; }

/* ---------- Reveal on scroll (only when geo.js is running) ---------- */
.geo-anim .geo-rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
.geo-anim .geo-rv.is-in { opacity: 1; transform: none; }

@media (max-width: 1060px) {
    .geo-pil { grid-template-columns: repeat(2, 1fr); }
    .geo-sig, .geo-fit { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .geo-what { grid-template-columns: 1fr; }
    .geo-trio { grid-template-columns: 1fr; }
    .geo-eng { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .geo-pil, .geo-sig, .geo-fit { grid-template-columns: 1fr; }
    .geo-hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
    .geo-tl::before { left: 23px; }
    .geo-tl li { grid-template-columns: 48px 1fr; gap: 14px; padding-right: 0; }
    .geo-tl__n { width: 48px; height: 48px; font-size: 1rem; box-shadow: 0 0 0 5px #fff, 0 10px 22px -8px rgba(148,34,109,.6); }
    .geo-tl li > div { padding: 16px 18px; }
    .geo-demo__a { padding-left: 54px; }
}
@media (prefers-reduced-motion: reduce) {
    .geo-anim .geo-rv { opacity: 1; transform: none; transition: none; }
    .geo-demo__a, .geo-demo__src { animation: none; }
    .geo-trio li, .geo-pil li, .geo-sig li, .geo-tools a, .geo-chips li { transition: none; }
}

/* ---------- Shared service landing (parts/service-landing.php) ---------- */
.geo-hero--svc h1 { max-width: 22ch; font-size: clamp(2.1rem, 5vw, 3.7rem); }
.geo-flow { max-width: 860px; }
.geo-flow__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; padding: clamp(16px, 2.6vw, 24px); }
.geo-flow__list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #f3ecfa; font-weight: 600; font-size: .98rem; line-height: 1.3; animation: geoIn .8s both; }
.geo-flow__list li:nth-child(2) { animation-delay: .15s; } .geo-flow__list li:nth-child(3) { animation-delay: .3s; } .geo-flow__list li:nth-child(4) { animation-delay: .45s; } .geo-flow__list li:nth-child(5) { animation-delay: .6s; } .geo-flow__list li:nth-child(6) { animation-delay: .75s; }
.geo-flow__n { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: .86rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #94226d, #d65bb0); }
.geo-what--svc { align-items: center; }
.geo-what__rest p { font-size: 1.08rem; }
.geo-btns { justify-content: flex-start; margin-top: 8px; }
.geo-pil--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .geo-pil--3 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .geo-flow__list li { animation: none; } }

/* ---------- Page photos (inc/photos.php) ---------- */
.geo-photo { margin: 0; position: relative; border-radius: 24px; overflow: hidden; background: #1b1230; box-shadow: 0 30px 60px -34px rgba(18,8,30,.55); }
.geo-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.geo-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); pointer-events: none; }
.geo-photo--band { max-width: 880px; margin-inline: auto; }
.geo-photo--band img { aspect-ratio: 16 / 7; }
.geo-what--photo { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }
.geo-what--photo .geo-what__main p { font-size: 1.08rem; }
.geo-what__main .geo-photo { margin-top: 22px; }
.sec--tight { padding: clamp(28px, 4vw, 52px) 0 0; }
@media (max-width: 900px) { .geo-what--photo { grid-template-columns: 1fr; } .geo-photo--band img { aspect-ratio: 16 / 9; } }
