/*
Theme Name: TakeGlobal
Description: Lightweight custom theme for TakeGlobalLLC IT Services & Consulting.
Version: 1.0.0
Text Domain: takeglobal
*/

:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --teal: #14b8a6;
  --teal-dark: #0d8f81;
  --ink: #1b2536;
  --muted: #5b6678;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --line: #e2e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--teal-dark); }
img { max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #dbe5f3; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 12px; }
.section--dark .eyebrow { color: #5eead4; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.section--dark .lead { color: #b6c4d8; }
.section-head { margin-bottom: 48px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 200; border-radius: 6px; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: #04221e; }
.btn--primary:hover { background: #2dd4bf; }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--sm { padding: 9px 20px; font-size: .9rem; }
:focus-visible { outline: 3px solid #5eead4; outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(11,31,58,.97); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.25rem; }
.logo svg { width: 32px; height: 32px; flex: none; }
.logo span em { font-style: normal; color: #5eead4; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: #cfd9e8; text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: #fff; }
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #07152a; color: #dbe5f3; display: flex; flex-direction: column; justify-content: center; padding: 88px 0 0; }
.hero-faces { position: absolute; inset: 0; z-index: -3; background: #07152a url('assets/hero-faces.webp') center / cover no-repeat; opacity: .48; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 80%, transparent 100%); }
.hero-shade { position: absolute; top: 40px; bottom: 112px; right: 3%; aspect-ratio: 16 / 9; z-index: -2; pointer-events: none; background: radial-gradient(ellipse 24.6% 43.8% at 70% 47%, rgba(7,21,42,.94) 86%, rgba(7,21,42,0) 100%); }
.hero-media { position: absolute; inset: 40px 3% 112px 0; z-index: -2; mix-blend-mode: screen; background: #000 url('assets/hero-poster.webp') right center / contain no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: right center; opacity: 0; transition: opacity 1.2s ease; }
.hero-media video.is-playing { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,21,42,.82) 0%, rgba(7,21,42,.68) 34%, rgba(7,21,42,.25) 58%, rgba(7,21,42,0) 80%), linear-gradient(0deg, rgba(7,21,42,.7) 0%, rgba(7,21,42,0) 30%); }
.hero-copy { text-shadow: 0 2px 18px rgba(7,21,42,.85), 0 0 2px rgba(7,21,42,.6); max-width: 640px; padding-bottom: 72px; }
.hero .pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border: 1px solid rgba(94,234,212,.35); background: rgba(20,184,166,.1); border-radius: 999px; font-size: .85rem; font-weight: 500; color: #b9f3ea; margin-bottom: 28px; }
.hero .pill i { width: 8px; height: 8px; border-radius: 50%; background: #5eead4; box-shadow: 0 0 0 0 rgba(94,234,212,.6); animation: tg-pulse 2.2s infinite; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 3.9vw, 3.2rem); line-height: 1.08; letter-spacing: -.025em; margin-bottom: 26px; max-width: 760px; }
.hero h1 em { text-shadow: none; filter: drop-shadow(0 2px 14px rgba(7,21,42,.8)); font-style: normal; background: linear-gradient(100deg, #5eead4 0%, #38bdf8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: 1.05rem; line-height: 1.6; color: #b6c4d8; max-width: 540px; margin-bottom: 18px; }
.hero .tagline { font-weight: 600; font-size: .98rem; color: #fff; margin-bottom: 0; }
.hero-actions, .hero-actions .btn { text-shadow: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero .btn { padding: 11px 22px; font-size: .94rem; }
.hero .btn--primary { box-shadow: 0 8px 30px rgba(20,184,166,.35); }
.hero .btn svg { width: 16px; height: 16px; vertical-align: -2px; margin-left: 6px; }
.hero-bar { border-top: 1px solid rgba(255,255,255,.1); background: rgba(7,21,42,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 20px; padding-bottom: 20px; }
.hero-bar strong { display: block; color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: .95rem; }
.hero-bar span { font-size: .8rem; color: #8fa3bf; }
.hero [data-rise] { opacity: 0; transform: translateY(18px); animation: tg-rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero [data-rise="1"] { animation-delay: .05s; } .hero [data-rise="2"] { animation-delay: .15s; } .hero [data-rise="3"] { animation-delay: .28s; }
.hero [data-rise="4"] { animation-delay: .4s; } .hero [data-rise="5"] { animation-delay: .55s; }
@keyframes tg-rise { to { opacity: 1; transform: none; } }
@keyframes tg-pulse { 70% { box-shadow: 0 0 0 10px rgba(94,234,212,0); } 100% { box-shadow: 0 0 0 0 rgba(94,234,212,0); } }

/* About */
.about { background: #fff; }
.about-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.about-main .lead { color: var(--ink); font-size: 1.2rem; margin-bottom: 14px; }
.about-main p { color: var(--muted); }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 28px; }
.checks li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); font-size: .96rem; }
.checks svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(20,184,166,.15); color: var(--teal-dark); }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.about-visual { position: relative; min-height: 540px; }
.ph { margin: 0; overflow: hidden; border-radius: 18px; box-shadow: 0 18px 44px rgba(11,31,58,.18); }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph--a { position: absolute; top: 0; right: 0; width: 66%; aspect-ratio: 4 / 5; }
.ph--b { position: absolute; top: 118px; left: 0; width: 46%; aspect-ratio: 4 / 3; border: 6px solid #fff; border-radius: 16px; z-index: 2; }
.mission { position: absolute; z-index: 3; left: 9%; right: 0; bottom: 0; overflow: hidden; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); color: #dbe5f3; border-radius: var(--radius); padding: 24px 26px; box-shadow: 0 18px 44px rgba(11,31,58,.28); }
.mission::after { content: ""; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(45,212,191,.35), transparent 70%); }
.mission h3 { color: #5eead4; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.mission p { position: relative; font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; line-height: 1.3; color: #fff; margin: 0 0 14px; }
.mission-hq { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: #b6c4d8; padding: 5px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; }
.mission-hq svg { width: 15px; height: 15px; color: #5eead4; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.pillar { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); transition: border-color .2s, transform .2s; }
.pillar:hover { border-color: var(--teal); transform: translateY(-3px); }
.pillar-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--navy); color: #5eead4; margin-bottom: 12px; }
.pillar-ico svg { width: 21px; height: 21px; }
.pillar h3 { font-size: 1.08rem; margin-bottom: 4px; }
.pillar p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--muted); }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--teal); }
.card .num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--teal-dark); font-size: .95rem; }
.card h3 { margin: 6px 0 6px; }
.card .sub { color: var(--muted); font-size: .96rem; }
.card ul { margin-top: 14px; }
.card li { position: relative; padding-left: 22px; margin-bottom: 7px; font-size: .96rem; }
.card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.svc { grid-column: span 2; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s, box-shadow .2s; }
.svc:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: 0 16px 40px rgba(11,31,58,.14); }
.svc--feat { grid-column: span 3; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); border-color: transparent; color: #dbe5f3; padding: 32px; }
.svc { position: relative; overflow: hidden; }
.svc--feat::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 62%; background: var(--svc-img) center / cover no-repeat; opacity: .3; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60%); mask-image: linear-gradient(90deg, transparent 0, #000 60%); pointer-events: none; transition: opacity .3s, transform .6s; }
.svc--feat:nth-child(1)::before { opacity: .22; }
.svc--feat:nth-child(1):hover::before { opacity: .3; }
.svc--feat:hover::before { opacity: .4; transform: scale(1.03); }
.svc--feat > * { position: relative; z-index: 1; }
.svc--feat h3 { color: #fff; font-size: 1.4rem; }
.svc--feat .sub { color: #b6c4d8; }
.svc.svc--feat .sub { color: #b6c4d8; }
.svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.svc-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: rgba(20,184,166,.12); color: var(--teal-dark); }
.svc--feat .svc-ico { background: rgba(94,234,212,.14); color: #5eead4; }
.svc-ico svg { width: 25px; height: 25px; }
.svc-num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .95rem; color: var(--teal-dark); opacity: .8; }
.svc--feat .svc-num { color: #5eead4; }
.svc h3 { margin: 0 0 6px; font-size: 1.15rem; }
.svc .sub { color: var(--muted); font-size: .96rem; margin-bottom: 4px; }
.svc ul { margin-top: 14px; }
.svc li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: .95rem; }
.svc li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.svc-more { margin-top: -2px; }
.svc-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--teal-dark); padding: 4px 0; }
.svc-more summary::-webkit-details-marker { display: none; }
.svc-more summary::after { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(20,184,166,.15); line-height: 1; transition: transform .2s; }
.svc-more[open] summary::after { content: "\2212"; }
.svc-more .when-open, .svc-more[open] .when-closed { display: none; }
.svc-more[open] .when-open { display: inline; }
.svc--feat .svc-more summary { color: #5eead4; }
.svc--feat .svc-more summary::after { background: rgba(94,234,212,.18); }
.svc-cta { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none; }
.svc-cta span { display: inline-block; transition: transform .2s; }
.svc-cta:hover span { transform: translateX(4px); }
.svc--feat .svc-cta { color: #fff; }

.industries { margin-top: 56px; text-align: center; }
.industries h3 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-family: 'Inter', sans-serif; font-weight: 600; }
.industries ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.industries li { padding: 8px 18px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: .93rem; color: var(--navy); }

/* Why */
.why-item { display: flex; gap: 16px; }
.why-item .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(94,234,212,.14); color: #5eead4; display: grid; place-items: center; }
.why-item .ico svg { width: 22px; height: 22px; }
.why-item h3 { margin-bottom: 4px; font-size: 1.08rem; }
.why-item p { margin: 0; color: #b6c4d8; font-size: .96rem; }

/* Process */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #5eead4; font-family: 'Space Grotesk', sans-serif; font-weight: 700; margin-bottom: 16px; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Engagement */
.engage { text-align: left; }
.engage .card { box-shadow: none; }
.engage .card h3 { font-size: 1.15rem; }
.engage .card p { margin: 0; color: var(--muted); }
.note { margin-top: 28px; font-weight: 600; color: var(--navy); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 18px; color: #dbe5f3; }
.contact-list svg { flex: none; width: 22px; height: 22px; color: #5eead4; margin-top: 3px; }
.contact-list a { color: #fff; }
.form { background: #fff; border-radius: var(--radius); padding: 32px; color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,184,166,.25); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .field { margin-bottom: 16px; }
.form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form .btn { width: 100%; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; }
.alert--ok { background: #dcfce7; color: #14532d; }
.alert--err { background: #fee2e2; color: #7f1d1d; }

/* Footer */
.site-footer { background: #07152a; color: #9fb2cc; padding: 48px 0 28px; font-size: .92rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-top h4 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.footer-top p { margin: 0; max-width: 360px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; font-size: .85rem; }

/* Generic pages */
.page-content { padding: 72px 0; max-width: 780px; }

@media (max-width: 960px) {
  .grid--3, .steps { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc, .svc--feat { grid-column: span 1; }
  .svc:last-child { grid-column: span 2; }
  .about-top, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { min-height: 520px; max-width: 520px; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 0; min-height: 0; }
  .hero-shade { display: none; }
  .hero-media { inset: 0; background-position: 82% 64%; background-size: 210% auto; background-color: #07152a; opacity: .6; -webkit-mask-image: none; mask-image: none; }
  .hero::before { background: linear-gradient(180deg, rgba(7,21,42,.78) 0%, rgba(7,21,42,.4) 55%, #07152a 100%); }
  .hero-bar .container { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: 10px 20px 20px; border-top: 1px solid rgba(255,255,255,.1); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .btn { margin-top: 14px; text-align: center; }
  .grid--3, .grid--2, .steps, .form .row, .pillars, .svc-grid { grid-template-columns: 1fr; }
  .svc:last-child { grid-column: span 1; }
  .about-visual { min-height: 0; display: grid; gap: 14px; }
  .ph--a, .ph--b, .mission { position: static; width: 100%; }
  .ph--a { aspect-ratio: 4 / 3; }
  .ph--a img { object-position: 50% 22%; }
  .ph--b { display: none; }
  .pillars { margin-top: 40px; }
  .hero-stats { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .card { transition: none; } .hero [data-rise] { animation: none; opacity: 1; transform: none; } .hero .pill i { animation: none; } }
