/* ============================================================
   Astera Global Tech — Premium dark theme
   Palette: deep navy/black base, gold, electric blue, violet
============================================================ */

:root {
  --bg-0:   #05070f;
  --bg-1:   #0a0e1c;
  --bg-2:   #0f1530;
  --panel:  rgba(16, 22, 46, 0.55);
  --panel-2:rgba(22, 30, 60, 0.35);
  --border: rgba(212, 175, 55, 0.18);
  --border-strong: rgba(212, 175, 55, 0.45);

  --gold:       #e7c169;
  --gold-2:     #f3d98a;
  --gold-deep:  #b88a2a;
  --blue:       #3aa0ff;
  --blue-2:     #6fc3ff;
  --violet:     #7b5cff;

  --text:       #e7ecf7;
  --text-dim:   #a6adc1;
  --text-mute:  #7c86a0;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;

  --shadow-gold: 0 10px 40px rgba(212, 175, 55, 0.18);
  --shadow-blue: 0 10px 40px rgba(58, 160, 255, 0.22);

  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  color: #fff;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-0);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--gold); }

.container { width: min(1240px, 92%); margin-inline: auto; }

::selection { background: rgba(231, 193, 105, 0.35); color: #fff; }

/* ---------- Background cosmic layer ---------- */
.cosmic-bg {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(58,160,255,0.10), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(123,92,255,0.12), transparent 55%),
    linear-gradient(180deg, #05070f 0%, #070b1a 45%, #05070f 100%);
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(231,193,105,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231,193,105,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: .6;
}
.glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5; pointer-events: none; }
.glow-gold   { width: 420px; height: 420px; background: #b88a2a;  top: -120px; left: -120px; }
.glow-blue   { width: 520px; height: 520px; background: #1e5fb3;  top: 40%;    right: -180px; }
.glow-violet { width: 380px; height: 380px; background: #4b2bbf;  bottom: -120px; left: 30%; }

/* ---------- Header / Navigation ---------- */
/* =========================================================
   ASTERA GLOBAL HEADER - FIXED / STICKY
========================================================= */

.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;
    padding: 18px 0;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(231, 193, 105, 0.08);

    transition:
        padding 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* After scrolling */

.site-header.scrolled {
    padding: 10px 0;

    background: rgba(5, 7, 15, 0.96);

    border-bottom-color: rgba(231, 193, 105, 0.18);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.28);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}
.nav-wrap { display: flex; align-items: center; gap: 28px; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-img { width: 100px; height: 100px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(231,193,105,0.25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: .22em;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-sub {
  font-size: .62rem; letter-spacing: .38em; color: var(--text-dim); margin-top: 6px;
}
h1{
font-size:clamp(2rem,6vw,5rem);
}

h2{
font-size:clamp(1rem,4vw,3.5rem);
}

h3{
font-size:1.5rem;
}
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  position: relative; font-size: .95rem; color: var(--text-dim); padding: 8px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; background: transparent; border: 0; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 6px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 26px; background: var(--gold);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  letter-spacing: .02em; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn i { transition: transform .25s ease; }
.btn:hover i { transform: translateX(3px); }

.btn-primary {
  color: #0a0e1c;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(231,193,105,0.32); color:#0a0e1c; }
.btn-sm { padding: 10px 20px; font-size: .88rem; }

.btn-outline {
  color: var(--text); border-color: rgba(231,193,105,0.45);
  background: rgba(10, 14, 28, 0.5); backdrop-filter: blur(10px);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-ghost {
  color: var(--gold); border-color: rgba(231,193,105,0.3); background: transparent;
}
.btn-ghost:hover { background: rgba(231,193,105,0.08); }

/* ---------- Type / Headings ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: #fff; line-height: 1.2; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.8rem, 6vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.2rem); }
h3 { font-size: 1.3rem; font-family: var(--font-body); font-weight: 600; }
p { color: var(--text-dim); }

.gold-text {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kicker {
  display: inline-block; font-size: .78rem; letter-spacing: .32em;
  color: var(--blue-2); text-transform: uppercase; margin-bottom: 18px; font-weight: 500;
}
.kicker.dots::before { content: "•"; color: var(--gold); margin-right: 10px; }

/* ---------- Sections ---------- */
section { padding: 70px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 80px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 60px;
}
.hero-kicker {
  display: flex; gap: 18px; color: var(--blue-2); font-size: .8rem; letter-spacing: .3em;
  text-transform: uppercase; margin-bottom: 24px;
}
.hero-kicker span { display: inline-flex; align-items: center; gap: 10px; }
.hero-kicker span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero h1 { margin-bottom: 24px; }
.hero h1 .line-2 { display: block; }
.hero p.lead { max-width: 520px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative; aspect-ratio: 1/1; display: grid; place-items: center;
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 30px 80px rgba(58,160,255,0.35)) drop-shadow(0 10px 40px rgba(231,193,105,0.25));
  animation: floatY 8s ease-in-out infinite;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(58,160,255,0.18), transparent 65%);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes pulse  { 0%,100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }

/* ---------- Stats ---------- */
.stats { padding: 60px 0; border-top: 1px solid rgba(231,193,105,0.08); border-bottom: 1px solid rgba(231,193,105,0.08); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat {
  display: flex; align-items: center; gap: 20px; padding: 14px 24px;
  border-right: 1px solid rgba(231,193,105,0.1); transition: transform .3s ease;
}
.stat:last-child { border-right: 0; }
.stat:hover { transform: translateY(-4px); }
.stat i {
  font-size: 1.8rem; color: var(--gold);
  text-shadow: 0 0 25px rgba(231,193,105,0.55);
  transition: text-shadow .3s ease;
}
.stat:hover i { text-shadow: 0 0 35px rgba(231,193,105,0.85); }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--gold); }
.stat-lbl { color: var(--text-dim); font-size: .92rem; margin-top: 4px; }

/* ---------- Card / panels ---------- */
.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; position: relative;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 200px at var(--mx, 50%) -20%, rgba(231,193,105,0.14), transparent 60%);
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-gold); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 58px; height: 58px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.5rem; color: var(--gold);
  background: linear-gradient(135deg, rgba(231,193,105,0.14), rgba(58,160,255,0.08));
  border: 1px solid rgba(231,193,105,0.22);
  margin-bottom: 18px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover .card-icon { transform: scale(1.06); box-shadow: 0 0 28px rgba(231,193,105,0.35); }
.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 2px solid var(--gold);
}
/* ---------- About (home) ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center;
}
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.service-card { text-align: left; }
.service-card .card-icon {
  background: linear-gradient(135deg, rgba(58,160,255,0.18), rgba(123,92,255,0.12));
  border-color: rgba(58,160,255,0.35); color: var(--blue-2);
  text-shadow: 0 0 20px rgba(58,160,255,0.55);
}
.service-card:hover .card-icon {
  box-shadow: 0 0 35px rgba(58,160,255,0.4);
}
.service-card h3 { margin: 4px 0 10px; font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; }

.home-services-wrap {
  display: grid; grid-template-columns: 1fr 2.2fr; gap: 60px; align-items: center;
}

/* ---------- Clients strip ---------- */
.clients {
  padding: 60px 0; border-top: 1px solid rgba(231,193,105,0.08);
  border-bottom: 1px solid rgba(231,193,105,0.08);
}
.clients-head { text-align: center; color: var(--blue-2); font-size: .78rem; letter-spacing: .36em; text-transform: uppercase; margin-bottom: 30px; }
.clients-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px; align-items: center; justify-items: center;
}
.client {
  display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-weight: 500;
  letter-spacing: .04em; transition: color .3s ease, transform .3s ease;
}
.client:hover { color: var(--gold); transform: translateY(-2px); }
.client i { color: var(--blue-2); font-size: 1.1rem; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; position: relative; overflow: hidden;
  
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 620px; margin: 0 auto 34px; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 80px 0 30px; margin-top: 60px;
  border-top: 1px solid rgba(231,193,105,0.12);
  background: linear-gradient(180deg, rgba(5,7,15,0) 0%, rgba(5,7,15,0.9) 60%);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.2fr; gap: 50px; margin-bottom: 50px;
}
.footer-about { color: var(--text-mute); margin: 16px 0; font-size: .95rem; }
.footer-title { font-family: var(--font-body); font-weight: 600; color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: .04em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-mute); font-size: .95rem; }
.footer-links a:hover { color: var(--gold); }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(231,193,105,0.2); color: var(--text-dim);
  transition: all .3s ease;
}
.socials a:hover { color: var(--gold); border-color: var(--gold); box-shadow: 0 0 18px rgba(231,193,105,0.35); transform: translateY(-2px); }

.newsletter { display: flex; gap: 8px; margin-top: 12px; background: var(--panel); border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.newsletter input {
  flex: 1; background: transparent; border: 0; outline: 0; color: #fff;
  padding: 10px 16px; font-family: inherit; font-size: .92rem;
}
.newsletter input::placeholder { color: var(--text-mute); }
.newsletter button {
  border: 0; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; color: #0a0e1c;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  display: grid; place-items: center; transition: transform .25s ease;
}
.newsletter button:hover { transform: translateX(2px); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; padding-top: 24px;
  border-top: 1px solid rgba(231,193,105,0.08); color: var(--text-mute); font-size: .9rem;
}
.footer-legal { display: flex; gap: 22px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 180px 0 80px; position: relative;
}
.page-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

/* ---------- Values / Why / Process ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { text-align: center; padding: 34px 20px; }
.value .card-icon { margin: 0 auto 18px; }

.process-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative;
}
.process-row::before {
  content: ""; position: absolute; top: 36px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center;
  background: var(--bg-1); color: var(--gold);
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 30px rgba(231,193,105,0.22);
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.contact-form { display: grid; gap: 14px; }
.form-field { position: relative; }
.form-field i.leading {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--text-mute); pointer-events: none;
}
.form-field textarea ~ i.leading { top: 22px; transform: none; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; background: rgba(10,14,28,0.55); border: 1px solid var(--border);
  color: #fff; padding: 16px 48px 16px 18px; border-radius: 14px; font-family: inherit; font-size: .96rem;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease; outline: none;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 4px rgba(231,193,105,0.08); background: rgba(10,14,28,0.8);
}
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 24px) 22px, calc(100% - 18px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-mute); }

.contact-info h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; margin-bottom: 6px; color: #fff; }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px dashed rgba(231,193,105,0.12); }
.info-item:last-child { border-bottom: 0; }
.info-item .card-icon { width: 46px; height: 46px; font-size: 1.1rem; margin: 0; flex-shrink: 0; }

/* ---------- Office cards (Contact page) ---------- */
.office-card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px; margin-bottom: 18px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.office-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-gold); }
.office-head { margin-bottom: 14px; }
.flag-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(231,193,105,0.14), rgba(58,160,255,0.08));
  border: 1px solid rgba(231,193,105,0.25);
  color: var(--gold); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.office-row {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--text-dim); font-size: .94rem; padding: 8px 0;
}
.office-row i { color: var(--gold); margin-top: 4px; width: 18px; text-align: center; flex-shrink: 0; }
.office-row a { color: var(--text); }
.office-row a:hover { color: var(--gold); }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { position: relative; padding: 34px 28px 28px; }
.testimonial .stars { color: var(--gold); display: flex; gap: 4px; margin-bottom: 18px; font-size: 1rem; }
.testimonial .stars .fa-regular { color: rgba(231,193,105,0.35); }
.testimonial .quote-ico {
  position: absolute; top: 26px; right: 28px;
  font-size: 2.4rem; color: rgba(231,193,105,0.12);
}
.testimonial .quote {
  font-family: var(--font-display); font-size: 1.18rem; line-height: 1.55;
  color: var(--text); margin: 0 0 26px; font-style: italic;
}
.testimonial .client { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px dashed rgba(231,193,105,0.15); }
.client-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  color: #0a0e1c;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  box-shadow: 0 0 20px rgba(231,193,105,0.35);
}
.client-name { color: #fff; font-weight: 600; font-size: .98rem; }
.client-meta { color: var(--text-mute); font-size: .82rem; letter-spacing: .04em; margin-top: 2px; }

@media (max-width: 1080px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: .92rem; }
.alert-success { border: 1px solid rgba(80,200,120,0.3); background: rgba(80,200,120,0.08); color: #9be7b7; }
.alert-error   { border: 1px solid rgba(255,100,100,0.3); background: rgba(255,100,100,0.08); color: #ffb3b3; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .values-grid    { grid-template-columns: repeat(2, 1fr); }
  .clients-row    { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .process-row    { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .home-services-wrap { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  section { padding: 80px 0; }
  .hero { padding: 40px 0 60px; }
  .hero-grid, .about-grid, .page-hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px 0; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(231,193,105,0.08); padding: 22px 10px; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .process-row { grid-template-columns: 1fr 1fr; }
  .process-row::before { display: none; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 80%;
    max-width: 320px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 100px 30px 30px;
    background: rgba(5,7,15,0.96);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(231,193,105,0.12);
    transition: right .35s ease;
  }
  .main-nav.open { right: 0; }
  .main-nav a { width: 100%; font-size: 1.05rem; padding: 14px 0; border-bottom: 1px solid rgba(231,193,105,0.06); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
}
@media (max-width: 560px) {
  .services-grid, .values-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .clients-row  { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================
FINAL ALL MOBILE RESPONSIVE PATCH
Astera Global Tech
========================================= */

/* Ultra small devices */
@media (max-width: 430px){

  html,body{
    overflow-x:hidden;
  }

  .container{
    width:94%;
  }

  .site-header{
    padding:12px 0;
  }

  .nav-wrap{
    gap:12px;
  }

  .brand{
    gap:8px;
    min-width:0;
  }

  .brand-img{
    width:38px;
    height:38px;
  }

  .brand-name{
    font-size:1rem;
    letter-spacing:.12em;
  }

  .brand-sub{
    font-size:.5rem;
    letter-spacing:.22em;
    margin-top:4px;
  }

  h1{
    font-size:2rem;
    line-height:1.15;
  }

  h2{
    font-size:1.55rem;
    line-height:1.2;
  }

  h3{
    font-size:1.1rem;
  }

  p{
    font-size:.95rem;
  }

  section{
    padding:60px 0;
  }

  .hero{
    padding:30px 0 50px;
  }

  .hero-kicker{
    gap:10px;
    flex-wrap:wrap;
    font-size:.68rem;
    letter-spacing:.16em;
  }

  .hero p.lead{
    font-size:1rem;
    margin-bottom:24px;
  }

  .hero-cta{
    flex-direction:column;
    gap:12px;
  }

  .btn{
    width:100%;
    justify-content:center;
    padding:14px 18px;
  }

  .hero-visual{
    max-width:260px;
  }

  .card{
    padding:20px;
    border-radius:14px;
  }

  .card-icon{
    width:50px;
    height:50px;
    font-size:1.2rem;
  }


  .services-grid,
  .values-grid,
  .about-cards,
  .clients-row,
  .footer-grid{
    grid-template-columns:1fr !important;
  }

  .stat{
    padding:18px 8px;
    gap:14px;
  }

  .stat-num{
    font-size:2rem;
  }

  .newsletter{
    flex-direction:column;
    border-radius:16px;
    padding:10px;
  }

  .newsletter input{
    width:100%;
    padding:12px;
  }

  .newsletter button{
    width:100%;
    border-radius:12px;
    height:46px;
  }

  .footer-legal{
    flex-direction:column;
    gap:8px;
  }

  .main-nav{
    width:88%;
    max-width:100%;
    padding:90px 22px 22px;
  }

  .main-nav a{
    font-size:1rem;
  }

  .office-row{
    flex-wrap:wrap;
    word-break:break-word;
  }

  .form-field input,
  .form-field select,
  .form-field textarea{
    font-size:16px; /* prevents zoom on iPhone */
  }

}


/* Landscape small phones */
@media (max-height: 500px) and (orientation: landscape){

  .main-nav{
    overflow-y:auto;
    padding-top:0px;
  }

  .hero{
    padding:20px 0 40px;
  }

}


/* Larger tablets improvement */
@media (min-width: 768px) and (max-width: 1024px){

  .hero-grid,
  .about-grid,
  .page-hero-grid,
  .contact-grid{
    gap:50px;
  }

  .services-grid,
  .values-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

/* HERO */
section.portfolio-hero {
  padding-bottom:0px;
  text-align:center;
}

.portfolio-hero h1 {
  font-size: 60px;
}

.portfolio-hero h1 span {
  color:#D4AF37;
}
.portfolio-section {
  padding: 80px 0;
}

/* GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.portfolio-card {
  background: rgba(20,42,66,0.8);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.4s;
  border: 1px solid rgba(212,175,55,0.2);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
  display: none;
}

.portfolio-card.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation:fadeUp .6s ease;
}

#loadMore:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  border-color: #D4AF37;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* IMAGE */
.card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* CONTENT */
.card-content {
  padding: 20px;
}

.card-content h3 {
  color: #fff;
}
#loadMore {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 28px;
  background: linear-gradient(135deg,#D4AF37,#F5D06F);
  color: #0B1A2A;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;

}
.card-content p {
  color: #B8C4D6;
}

/* META */
.portfolio-meta {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.portfolio-meta li {
  font-size: 13px;
  color: #B8C4D6;
}

.portfolio-meta strong {
  color: #D4AF37;
}

/* BUTTON */
.view-btn {
  margin-top: 15px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #D4AF37, #F5D06F);
  border: none;
  border-radius: 30px;
  cursor: pointer;
}
#popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* IMPORTANT FIX */
.popup-content {
  background: #0B1A2A;
  width: 90%;
  max-width: 600px;
  padding: 25px;
  border-radius: 16px;
  position: relative;
  margin: auto; /* <-- THIS FIXES POSITION */
  top: 0;
}
/* CONTAINER */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 50px 0 40px;
}

/* BUTTON BASE */
.portfolio-filters button {
  padding: 10px 22px;
  border-radius: 40px;
  border: 1px solid #D4AF37;
  background: transparent;
  color: #D4AF37;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* HOVER EFFECT */
.portfolio-filters button:hover {
  background: linear-gradient(135deg, #D4AF37, #F5D06F);
  color: #0B1A2A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212,175,55,0.3);
}

/* ACTIVE BUTTON */
.portfolio-filters button.active {
  background: linear-gradient(135deg, #D4AF37, #F5D06F);
  color: #0B1A2A;
  border: none;
  box-shadow: 0 6px 18px rgba(212,175,55,0.35);
}

/* OPTIONAL: SUBTLE GLOW ANIMATION */
.portfolio-filters button.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 40px;
  box-shadow: 0 0 15px rgba(212,175,55,0.4);
  opacity: 0;
}
.service-card i{
    font-size:48px;
    color:#D4AF37;

    display:block;
}
/* RESPONSIVE */
@media (max-width: 768px) {
  .portfolio-filters {
    gap: 8px;
  }

  .portfolio-filters button {
    padding: 8px 16px;
    font-size: 13px;
  }
}
/* IMAGE FIX */
.popup-content img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

/* CLOSE BUTTON */
#close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
/* RESPONSIVE */
@media(max-width:992px){
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
}

@media(max-width:600px){
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ===============================
   SERVICES HERO GLOBE
================================= */

.service-globe-wrap{
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 520px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* GLOW */
.service-glow{
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background:
        radial-gradient(circle,
        rgba(58,160,255,0.28) 0%,
        rgba(123,92,255,0.22) 35%,
        transparent 75%);
    filter: blur(20px);
    animation: pulseGlow 4s ease-in-out infinite;
}

/* GLOBE */
.service-globe{
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow:
        0 0 50px rgba(58,160,255,0.35),
        0 0 100px rgba(123,92,255,0.22);
}

.service-globe img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: floatGlobe 5s ease-in-out infinite;
}

/* ORBITS */
.orbit{
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.35);
    animation: rotateOrbit linear infinite;
}

.orbit-1{
    width: 340px;
    height: 340px;
    animation-duration: 18s;
}

.orbit-2{
    width: 420px;
    height: 420px;
    animation-duration: 24s;
    transform: rotateX(65deg);
    border-color: rgba(58,160,255,0.3);
}

.orbit-3{
    width: 500px;
    height: 500px;
    animation-duration: 32s;
    transform: rotateY(65deg);
    border-color: rgba(123,92,255,0.28);
}

/* ANIMATION */

@keyframes rotateOrbit{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}

@keyframes floatGlobe{
    0%,100%{
        transform: translateY(0px);
    }
    50%{
        transform: translateY(-12px);
    }
}

@keyframes pulseGlow{
    0%,100%{
        transform: scale(1);
        opacity: 0.9;
    }
    50%{
        transform: scale(1.08);
        opacity: 1;
    }
}

/* ===============================
   RESPONSIVE
================================= */

@media(max-width:991px){

    .service-globe-wrap{
        max-width: 420px;
        height: 420px;
        margin-top: 50px;
    }

    .service-globe{
        width: 220px;
        height: 220px;
    }

    .orbit-1{
        width: 280px;
        height: 280px;
    }

    .orbit-2{
        width: 340px;
        height: 340px;
    }

    .orbit-3{
        width: 400px;
        height: 400px;
    }
}

@media(max-width:576px){

    .service-globe-wrap{
        max-width: 320px;
        height: 320px;
    }

    .service-globe{
        width: 170px;
        height: 170px;
    }

    .orbit-1{
        width: 220px;
        height: 220px;
    }

    .orbit-2{
        width: 270px;
        height: 270px;
    }

    .orbit-3{
        width: 320px;
        height: 320px;
    }
}

.services-section{
    padding:100px 0;
}

.section-header{
    max-width:800px;
    margin:0 auto 60px;
    text-align:center;
}

.section-header h2{
    font-size:48px;
    margin-bottom:20px;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}
.services-grid1{
    grid-template-columns:repeat(4,1fr);
}
.service-card{
    background:#0f172a;
    padding:35px;
    border-radius:20px;
    transition:all .4s ease;
    cursor:pointer;
    border:1px solid rgba(255,255,255,0.08);
}

.service-card h3{
    margin-bottom:15px;
}

.service-card p{
    margin-bottom:20px;
}

.service-card a{
    color:#d4af37;
    text-decoration:none;
    font-weight:600;
}

@media(max-width:991px){
    .services-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:767px){
    .services-grid{
        grid-template-columns:1fr;
    }

    .section-header h2{
        font-size:32px;
    }
}
.service-link{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#d4af37;
    font-weight:600;
    text-decoration:none;
    transition:all .3s ease;
}

.service-link i{
    transition:all .3s ease;
    font-size:18px;
    margin-left:8px;
    transition:all .3s ease;
}

.service-hero{
    padding:180px 0 100px;
    text-align:center;
}

.service-hero h1{
    font-size:clamp(3rem,6vw,3.5rem);
    margin-bottom:20px;
}

.service-hero p{
    max-width:750px;
    margin:auto;
}

.hero-actions{
    margin-top:35px;
    display:flex;
    justify-content:center;
    gap:15px;
}

.service-details,
.tech-section,
.process-section,
.why-us{
    padding:100px 0;
}

.section-heading{
    text-align:center;
    margin-bottom:60px;
}

.tech-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
}

.tech-item{
    padding:20px;
    text-align:center;
    border:1px solid rgba(212,175,55,.2);
    border-radius:16px;
}
.process-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:25px;
    background:rgba(255,255,255,.03);
    padding:30px;
    border-radius:20px;
    text-align:center;
}

.process-card span{
    color:#D4AF37;
    font-size:2rem;
    font-weight:700;
}
.service-card:hover .service-link i{
    transform:translateX(5px);
}

.service-card:hover .service-link{
    color:#ffffff;
}

.service-card:hover .service-link i{
    transform:translateX(6px);
}

.service-card:hover{
    transform:translateY(-12px);
    border:1px solid #D4AF37;
    box-shadow:0 0 35px rgba(212,175,55,.25);
}
.card1{
    width: 120px;
    height:120px;
    border-radius: 0px;
    display: grid;

    border: 0px solid rgba(231, 193, 105, 0.22);
    background: transparent;
}
.clients-row{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
}

.client{
    min-width:180px;
}

.client i{
    font-size:20px;
    margin-right:8px;
    color:var(--gold);
}
/* ==========================
   WhatsApp Floating Button
========================== */

.whatsapp-float{

    position:fixed;

    right:25px;

    bottom:25px;

    width:65px;

    height:65px;

    border-radius:50%;

    background:#25D366;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:34px;

    text-decoration:none;

    z-index:99999;

    box-shadow:0 12px 35px rgba(37,211,102,.35);

    transition:.35s;

}

.whatsapp-float:hover{

    transform:translateY(-6px) scale(1.08);

    color:#fff;

    box-shadow:0 20px 45px rgba(37,211,102,.55);

}
.whatsapp-float::before{

    content:"";

    position:absolute;

    inset:-8px;

    border-radius:50%;

    background:#25D366;

    opacity:.35;

    animation:whatsappPulse 2.2s infinite;

    z-index:-1;

}

@keyframes whatsappPulse{

0%{

transform:scale(1);

opacity:.5;

}

70%{

transform:scale(1.55);

opacity:0;

}

100%{

opacity:0;

}

}
.whatsapp-float span{

    position:absolute;

    right:78px;

    background:#121212;

    color:#fff;

    padding:10px 16px;

    border-radius:30px;

    white-space:nowrap;

    opacity:0;

    transform:translateX(15px);

    transition:.35s;

    font-size:14px;

    pointer-events:none;

}

.whatsapp-float:hover span{

    opacity:1;

    transform:translateX(0);

}
@media(max-width:768px){

.whatsapp-float{

right:18px;

bottom:18px;

width:58px;

height:58px;

font-size:30px;

}

}
.section + .section{
    padding-top:80px;
}

.card-icon{
    margin-bottom:20px;
}
/* =========================================================
   ASTERA 2026 AGENCY HOMEPAGE + RESPONSIVE HARDENING
   ========================================================= */
html,body{max-width:100%;overflow-x:hidden}.hero-agency{min-height:720px;display:flex;align-items:center;overflow:hidden}.hero-agency .container{z-index:2}.hero-orb{position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none}.hero-orb-one{width:480px;height:480px;right:-140px;top:-140px;background:radial-gradient(circle,rgba(58,160,255,.16),transparent 68%)}.hero-orb-two{width:360px;height:360px;left:35%;bottom:-220px;background:radial-gradient(circle,rgba(231,193,105,.12),transparent 70%)}.hero-brand-mark img{max-width:540px}.hero-proof{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:40px;color:var(--text-dim);font-size:.85rem}.hero-proof i{color:var(--gold);margin-right:6px}.capability-marquee{padding:0;border-block:1px solid rgba(231,193,105,.14);overflow:hidden;background:rgba(5,8,18,.72)}.marquee-track{display:flex;width:max-content;animation:asteraMarquee 34s linear infinite}.marquee-set{display:flex;align-items:center;gap:22px;padding:18px 11px;white-space:nowrap;text-transform:uppercase;letter-spacing:.12em;font-size:.82rem;color:#fff}.marquee-set b{color:var(--gold)}@keyframes asteraMarquee{to{transform:translateX(-50%)}}
.section-dark{/*background:linear-gradient(180deg,rgba(4,7,16,.95),rgba(8,13,29,.96));*/border-block:0px solid rgba(255,255,255,.04)}.experience-section{padding:80px 0}.experience-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:330px;gap:18px}.experience-card{position:relative;border-radius:24px;overflow:hidden;border:1px solid rgba(255,255,255,.09);min-width:0}.experience-card.exp-wide{grid-column:span 2}.experience-card img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.7,.2,1),filter .5s}.experience-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(3,6,14,.9) 100%)}.experience-card:hover img{transform:scale(1.055);filter:saturate(1.08)}.experience-copy{position:absolute;z-index:2;left:26px;right:26px;bottom:24px}.experience-copy>span{font-size:.72rem;color:var(--gold);letter-spacing:.18em}.experience-copy h3{font-size:1.35rem;margin:7px 0}.experience-copy p{margin:0;max-width:500px;font-size:.9rem;color:#cbd4e6}.featured-work{padding:110px 0}.browser-showcase{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:42px 28px}.browser-frame{background:#10182a;border:1px solid rgba(255,255,255,.1);border-radius:18px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.28)}.browser-bar{height:38px;display:flex;align-items:center;gap:7px;padding:0 13px;color:#6f7d96;font-size:.67rem}.browser-bar i{width:7px;height:7px;border-radius:50%;background:#34425a}.browser-bar span{margin-left:8px}.browser-screen{height:330px;overflow:hidden;background:#0b1120}.browser-screen img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform 5s ease}.browser-project:hover .browser-screen img{transform:scale(1.04)}.project-label{display:flex;justify-content:space-between;align-items:center;padding:18px 5px 0}.project-label h3{font-size:1.1rem;margin-bottom:5px}.project-label p{font-size:.82rem;margin:0}.project-label a{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(231,193,105,.3);color:var(--gold)}.center-action{text-align:center;margin-top:50px}.creative-work-section{padding:70px 0 110px 0}.creative-scroller{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(280px,390px);gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:5px 2px 22px;scrollbar-width:thin}.creative-card{scroll-snap-align:start;margin:0;border-radius:20px;overflow:hidden;background:var(--panel);border:1px solid var(--border)}.creative-card img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}.creative-card figcaption{padding:16px 18px;color:#fff;font-weight:600}.video-work{padding:0px 0}.reel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:1000px;margin:0 auto}.reel-card{position:relative;aspect-ratio:9/15;border-radius:26px;overflow:hidden;border:1px solid rgba(255,255,255,.1);background:#080b13}.reel-card video{width:100%;height:100%;object-fit:cover}.reel-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(2,5,12,.92))}.reel-overlay{position:absolute;z-index:2;left:20px;right:20px;bottom:20px;display:flex;align-items:center;gap:14px}.play-dot{width:44px;height:44px;flex:0 0 44px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:#071020}.reel-overlay small{color:var(--gold);text-transform:uppercase;letter-spacing:.14em}.reel-overlay h3{font-size:1rem;margin-top:3px}.services-home-modern{padding:110px 0}.service-modern-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.service-modern{display:grid;grid-template-columns:52px 1fr 30px;align-items:center;gap:18px;padding:24px;border:1px solid var(--border);border-radius:18px;background:var(--panel);transition:.3s}.service-modern>i{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:rgba(58,160,255,.1);color:var(--gold);font-size:1.25rem}.service-modern h3{font-size:1.05rem;margin-bottom:5px}.service-modern p{font-size:.86rem;margin:0}.service-modern>span{color:var(--gold);font-size:1.2rem}.service-modern:hover{transform:translateY(-4px);border-color:rgba(231,193,105,.35);background:rgba(255,255,255,.045)}.why-agency{padding:20px 0}.why-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:start}.why-grid>div:first-child p{margin:22px 0 30px;max-width:520px}.why-points{border-top:1px solid var(--border)}.why-point{display:grid;grid-template-columns:55px 1fr;column-gap:18px;padding:25px 0;border-bottom:1px solid var(--border)}.why-point strong{grid-row:1/3;color:var(--gold);font-size:.8rem;letter-spacing:.12em}.why-point h3{font-size:1.1rem}.why-point p{margin:7px 0 0}.cta-modern{text-align:center;padding:100px 0}.cta-modern .kicker{margin-bottom:15px}.cta-modern p{max-width:680px;margin:20px auto 30px}.cta-actions{justify-content:center}
/* shared responsive fixes: services, solutions, about and inner pages */
.services-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.services-grid1{grid-template-columns:repeat(4,minmax(0,1fr))!important}.page-hero-grid>*{min-width:0}.page-hero .hero-visual img{max-width:100%;height:auto}.card{min-width:0}.card p{overflow-wrap:anywhere}
@media(max-width:1024px){section{padding:64px 0}.hero-agency{min-height:auto;padding:90px 0}.hero-kicker{justify-content: center;}.hero-grid,.page-hero-grid{gap:36px}.hero-brand-mark img{max-width:420px}.experience-grid{grid-auto-rows:290px}.browser-screen{height:280px}.services-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.services-grid1{grid-template-columns:repeat(2,minmax(0,1fr))!important}.why-grid{gap:45px}.page-hero{padding:70px 0}}
@media(max-width:898px){.hero-proof{justify-content: center;}.hero-cta{justify-content:center}.hero-grid,.page-hero-grid,.about-grid,.home-services-wrap,.why-grid{grid-template-columns:1fr!important}.hero-agency .hero-grid{grid-template-columns:1.15fr .85fr!important}.hero-brand-mark{max-width:380px;justify-self:end}.experience-grid{grid-template-columns:repeat(2,1fr)}.experience-card.exp-wide{grid-column:span 1}.hero p.lead{ text-align:center;max-width:100%;} .hero h1{ text-align:center; }.browser-showcase{gap:30px 18px}.reel-grid{gap:14px}.page-hero .hero-visual{max-width:440px;margin-inline:auto}.process-row{flex-wrap:wrap}.step{flex:1 1 calc(50% - 16px)}}
@media(max-width:768px){.section-head.center{text-align:left;}.hero-agency .hero-grid{grid-template-columns:1fr!important}.hero-brand-mark{max-width:330px;justify-self:center;order:-1}.hero-agency{padding:55px 0 70px}.hero-kicker{gap:10px;flex-wrap:wrap}.hero-kicker span{font-size:.7rem}.experience-grid{grid-template-columns:1fr;grid-auto-rows:300px}.browser-showcase{grid-template-columns:1fr}.browser-screen{height:310px}.reel-grid{grid-template-columns:repeat(3,78%);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:16px}.reel-card{scroll-snap-align:center}.service-modern-grid{grid-template-columns:1fr}.services-grid,.services-grid1{grid-template-columns:1fr!important}.page-hero{text-align:center}.page-hero p{margin-inline:auto}.page-hero .hero-cta{justify-content:center}.page-hero .hero-visual{max-width:330px}.service-globe-wrap{min-height:320px}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat:nth-child(2){border-right:0}.process-row{display:grid!important;grid-template-columns:1fr 1fr}.step{width:auto!important}.section-head{margin-bottom:38px}}
@media(max-width:568px){section,.experience-section,.featured-work,.creative-work-section,.video-work,.services-home-modern,.why-agency{padding:58px 0}.container{padding-left:18px!important;padding-right:18px!important}.hero p.lead{font-size:1rem}.hero-cta .btn{width:100%;justify-content:center}.hero-proof{gap:8px 14px}.hero-brand-mark{max-width:270px}.marquee-set{font-size:.72rem;padding-block:14px}.experience-grid{grid-auto-rows:270px}.experience-copy{left:20px;right:20px;bottom:18px}.browser-screen{height:250px}.creative-scroller{grid-auto-columns:84%}.reel-grid{grid-template-columns:repeat(3,86%)}.service-modern{grid-template-columns:44px 1fr 20px;padding:18px;gap:13px}.service-modern>i{width:44px;height:44px}.stat{border-right:0;border-bottom:1px solid rgba(231,193,105,.1);padding-inline:10px}.process-row{grid-template-columns:1fr}.page-hero{padding:50px 0}.page-hero h1{font-size:clamp(2.15rem,11vw,3rem)}.page-hero .hero-visual{max-width:260px}.service-globe-wrap{min-height:250px}.card{padding:22px}.section-head h2{font-size:clamp(1.8rem,9vw,2.35rem)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.marquee-track{animation:none}.hero-visual img{animation:none}}

/* =========================================================
   ASTERA V2 — HOME / ABOUT / SERVICES POLISH
   PHP + HTML + CSS + JS implementation, WordPress later
   ========================================================= */
:root{--content-max:1380px}


/* home desktop scale correction */
@media(min-width:1100px){
  .hero-agency{min-height:720px;padding:180px 0 100px}.hero-agency .hero-grid{grid-template-columns:1.06fr .94fr;gap:86px}.hero-agency h1{max-width:760px}.hero-agency p.lead{max-width:660px}.hero-brand-mark img{max-width:610px}.hero-proof{font-size:.9rem}
  .section-head{max-width:840px}.section-head h2{font-size:clamp(2.6rem,3.1vw,3.55rem)}.section-head p{font-size:1rem}
  .experience-grid{grid-auto-rows:390px;gap:24px}.experience-copy h3{font-size:1.6rem}.experience-copy p{font-size:.98rem}
  .browser-screen{height:380px}.browser-showcase{gap:54px 34px}.project-label h3{font-size:1.25rem}
  .creative-scroller{grid-auto-columns:minmax(330px,430px);gap:22px}.reel-grid{max-width:1120px;gap:28px}.service-modern{padding:28px}.service-modern h3{font-size:1.15rem}.why-grid{grid-template-columns:1fr 1fr;gap:110px}
}

.inner-lead{margin:24px 0 0;max-width:650px;font-size:1.12rem}.inner-hero-actions{margin-top:34px}

/* About */
.about-hero-modern{padding:100px 0 90px;overflow:hidden}.about-hero-modern .page-hero-grid{grid-template-columns:1.05fr .95fr}.about-hero-modern h1{font-size:clamp(3rem,5vw,5rem)}.about-hero-art{display:flex;justify-content:flex-end}.about-art-frame{position:relative;width:min(100%,620px);border-radius:28px;overflow:hidden;border:1px solid rgba(231,193,105,.18);box-shadow:0 35px 90px rgba(0,0,0,.36)}.about-art-frame:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(4,7,16,.78))}.about-art-frame img{width:100%;aspect-ratio:1.22/1;object-fit:cover}.about-art-badge{position:absolute;z-index:2;left:24px;right:24px;bottom:22px;display:flex;justify-content:space-between;align-items:center;gap:16px;color:#fff}.about-art-badge span{font-family:var(--font-display);font-size:1.5rem;color:var(--gold)}.about-art-badge strong{font-size:.72rem;letter-spacing:.15em;text-transform:uppercase;font-weight:500}
.about-story-modern{padding:110px 0}.about-story-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:90px;align-items:start}.about-story-copy{font-size:1.08rem}.about-story-copy p:first-child{margin-top:0}.about-pillars-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:70px}.about-pillar{position:relative;padding:32px 26px;border-radius:20px;border:1px solid var(--border);background:var(--panel);min-height:260px}.about-pillar>span{position:absolute;right:20px;top:18px;color:var(--text-mute);font-size:.74rem}.about-pillar>i{font-size:1.55rem;color:var(--gold);margin-bottom:30px}.about-pillar h3{font-size:1.2rem;margin-bottom:12px}.about-pillar p{margin:0;font-size:.92rem}
.purpose-modern{padding:110px 0}.purpose-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.purpose-card{display:grid;grid-template-columns:72px 1fr;gap:24px;padding:34px;border:1px solid var(--border);border-radius:24px;background:rgba(255,255,255,.025)}.purpose-icon{width:66px;height:66px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(231,193,105,.16),rgba(58,160,255,.1));border:1px solid rgba(231,193,105,.22);font-size:1.5rem;color:var(--gold)}.purpose-card span{font-size:.72rem;text-transform:uppercase;letter-spacing:.18em;color:var(--gold)}.purpose-card h3{font-size:1.45rem;margin:8px 0 12px}.purpose-card p{margin:0}
.about-capabilities{padding:110px 0}.about-capability-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.capability-tile{padding:28px 24px;border:1px solid var(--border);border-radius:18px;background:var(--panel);transition:.3s}.capability-tile:hover{transform:translateY(-5px);border-color:var(--border-strong)}.capability-tile i{font-size:1.45rem;color:var(--gold);margin-bottom:22px}.capability-tile h3{font-size:1.05rem;margin-bottom:9px}.capability-tile p{font-size:.87rem;margin:0}.about-process{padding:110px 0}.about-process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.process-modern{padding:32px 28px;border-right:1px solid var(--border)}.process-modern:last-child{border-right:0}.process-modern strong{display:block;color:var(--gold);font-size:.78rem;letter-spacing:.16em;margin-bottom:28px}.process-modern h3{font-size:1.25rem;margin-bottom:12px}.process-modern p{margin:0;font-size:.9rem}

/* Services */
.services-hero-modern{padding:100px 0 90px;overflow:hidden}.services-hero-modern .page-hero-grid{grid-template-columns:1fr 1fr}.services-hero-modern h1{font-size:clamp(3rem,5vw,5rem)}.services-hero-visual{position:relative;min-height:500px;display:grid;place-items:center}.services-hero-image{width:min(100%,620px);border-radius:30px;overflow:hidden;border:1px solid rgba(231,193,105,.18);box-shadow:0 35px 100px rgba(0,0,0,.38)}.services-hero-image img{width:100%;aspect-ratio:1.35/1;object-fit:cover}.service-floating-chip{position:absolute;display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:999px;background:rgba(5,7,15,.88);border:1px solid rgba(231,193,105,.28);backdrop-filter:blur(12px);box-shadow:0 15px 40px rgba(0,0,0,.26);font-size:.82rem;color:#fff}.service-floating-chip i{color:var(--gold);font-size:1.05rem}.chip-one{top:11%;left:1%}.chip-two{right:0;top:42%}.chip-three{left:8%;bottom:10%}
.service-focus-strip{padding:0;border-block:1px solid var(--border);background:rgba(7,11,24,.8)}.focus-strip-grid{display:grid;grid-template-columns:repeat(4,1fr)}.focus-strip-grid>div{padding:25px 24px;border-right:1px solid var(--border)}.focus-strip-grid>div:last-child{border-right:0}.focus-strip-grid strong{display:block;color:var(--gold);font-size:.8rem;letter-spacing:.14em;text-transform:uppercase}.focus-strip-grid span{display:block;margin-top:5px;color:var(--text-dim);font-size:.84rem}
.services-catalog{padding:110px 0}.services-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.service-feature-card{border:1px solid var(--border);border-radius:22px;overflow:hidden;background:var(--panel);transition:.35s}.service-feature-card:hover{transform:translateY(-7px);border-color:var(--border-strong);box-shadow:var(--shadow-gold)}.service-feature-media{height:190px;position:relative;overflow:hidden}.service-feature-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(5,7,15,.72))}.service-feature-media img{width:100%;height:100%;object-fit:cover;transition:transform .65s}.service-feature-card:hover .service-feature-media img{transform:scale(1.05)}.service-feature-media span{position:absolute;z-index:2;left:16px;bottom:14px;padding:6px 10px;border-radius:999px;background:rgba(5,7,15,.76);border:1px solid rgba(255,255,255,.14);font-size:.67rem;text-transform:uppercase;letter-spacing:.15em;color:#fff}.service-feature-body{padding:26px}.service-feature-icon{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;color:var(--gold);background:rgba(231,193,105,.08);border:1px solid rgba(231,193,105,.18);font-size:1.2rem;margin-bottom:20px}.service-feature-body h3{font-size:1.3rem;margin-bottom:12px}.service-feature-body p{font-size:.9rem;min-height:86px}.service-text-link{display:inline-flex;align-items:center;gap:9px;color:var(--gold);font-weight:600;font-size:.88rem}.service-text-link i{transition:.25s}.service-text-link:hover i{transform:translateX(4px)}
.service-process{padding:110px 0}.service-process-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid var(--border);border-radius:22px;overflow:hidden}.service-process-step{padding:30px 24px;border-right:1px solid var(--border)}.service-process-step:last-child{border-right:0}.service-process-step span{display:block;color:var(--gold);font-size:.75rem;letter-spacing:.16em;margin-bottom:26px}.service-process-step h3{font-size:1.18rem;margin-bottom:10px}.service-process-step p{font-size:.86rem;margin:0}
.service-value-section{padding:110px 0}.service-value-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:90px;align-items:start}.service-value-grid>div:first-child p{margin:22px 0 30px}.service-value-points{border-top:1px solid var(--border)}.service-value-points article{display:grid;grid-template-columns:52px 1fr;gap:18px;padding:24px 0;border-bottom:1px solid var(--border)}.service-value-points article>i{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:rgba(58,160,255,.08);color:var(--gold);border:1px solid rgba(231,193,105,.15)}.service-value-points h3{font-size:1.08rem;margin-bottom:6px}.service-value-points p{font-size:.88rem;margin:0}

@media(max-width:1100px){.about-pillars-grid,.about-capability-grid{grid-template-columns:repeat(2,1fr)}.services-catalog-grid{grid-template-columns:repeat(2,1fr)}.service-process-grid{grid-template-columns:repeat(5,1fr)}.service-process-step{padding:26px 18px}.services-hero-visual{min-height:430px}}
@media(max-width:898px){.about-hero-modern .page-hero-grid,.services-hero-modern .page-hero-grid,.about-story-grid,.service-value-grid{grid-template-columns:1fr!important;gap:44px}.about-hero-art{justify-content:center}.about-art-frame{max-width:650px}.services-hero-visual{min-height:400px;max-width:650px;margin:auto}.purpose-grid{grid-template-columns:1fr}.about-process-grid{grid-template-columns:repeat(2,1fr)}.process-modern{border-bottom:1px solid var(--border)}.process-modern:nth-child(2){border-right:0}.focus-strip-grid{grid-template-columns:repeat(2,1fr)}.focus-strip-grid>div:nth-child(2){border-right:0}.focus-strip-grid>div:nth-child(-n+2){border-bottom:1px solid var(--border)}.service-process-grid{grid-template-columns:repeat(2,1fr)}.service-process-step{border-bottom:1px solid var(--border)}.service-process-step:nth-child(even){border-right:0}.service-process-step:last-child{grid-column:1/-1;border-bottom:0}}
@media(max-width:568px){.about-hero-modern,.services-hero-modern{padding:48px 0 58px}.inner-lead{font-size:1rem}.about-art-badge{left:16px;right:16px;bottom:15px;align-items:flex-start;flex-direction:column;gap:3px}.about-art-badge span{font-size:1.2rem}.about-art-badge strong{font-size:.61rem}.about-pillars-grid,.about-capability-grid,.services-catalog-grid{grid-template-columns:1fr}.about-pillar{min-height:auto}.purpose-card{grid-template-columns:1fr;padding:24px}.about-process-grid{grid-template-columns:1fr}.process-modern{border-right:0}.focus-strip-grid{grid-template-columns:1fr}.focus-strip-grid>div{border-right:0!important;border-bottom:1px solid var(--border)!important}.focus-strip-grid>div:last-child{border-bottom:0!important}.services-hero-visual{min-height:300px}.service-floating-chip{font-size:.7rem;padding:9px 12px}.chip-one{top:2%;left:0}.chip-two{right:0;top:auto;bottom:4%}.chip-three{display:none}.service-feature-media{height:175px}.service-feature-body p{min-height:0}.service-process-grid{grid-template-columns:1fr}.service-process-step,.service-process-step:nth-child(even){border-right:0}.service-process-step:last-child{grid-column:auto}.service-value-grid{gap:40px}}

/* ===== Premium homepage sliders ===== */
.astera-slider{position:relative;--slides:3;--gap:22px;padding:0 58px 42px}
.astera-slider .slider-viewport{overflow:hidden;border-radius:24px}
.astera-slider .slider-track{display:flex;gap:var(--gap);transition:transform .65s cubic-bezier(.22,.61,.36,1);will-change:transform}
.astera-slider .slider-track>*{flex:0 0 calc((100% - (var(--slides) - 1)*var(--gap))/var(--slides));min-width:0}
.astera-slider .slider-arrow{position:absolute;z-index:5;top:50%;transform:translateY(-70%);width:46px;height:46px;border-radius:50%;border:1px solid rgba(231,193,105,.45);background:rgba(8,13,29,.92);color:var(--gold);display:grid;place-items:center;cursor:pointer;transition:.25s;backdrop-filter:blur(10px)}
.astera-slider .slider-arrow:hover{background:var(--gold);color:#08101f;transform:translateY(-70%) scale(1.06)}
.astera-slider .slider-prev{left:0}.astera-slider .slider-next{right:0}
.astera-slider .slider-dots{position:absolute;left:50%;bottom:-25px;transform:translateX(-50%);display:flex;gap:8px;align-items:center}
.astera-slider .slider-dot{width:8px;height:8px;border:0;border-radius:99px;background:rgba(255,255,255,.25);padding:0;cursor:pointer;transition:.3s}
.astera-slider .slider-dot.active{width:28px;background:var(--gold)}
.experience-slider{--slides:2}.experience-slider .experience-card{height:430px;flex-basis:calc((100% - var(--gap))/2);border-radius:26px}
.experience-slider .experience-card img{width:100%;height:100%;object-fit:cover}
.creative-slider{--slides:3}.creative-slider .creative-card{margin:0;border-radius:22px}.creative-slider .creative-card img{aspect-ratio:4/3;object-fit:cover}.creative-slider .creative-card figcaption{padding:18px 20px;font-size:1rem}
@media(max-width:1024px){.experience-slider{--slides:2}.experience-slider .experience-card{height:360px}.creative-slider{--slides:2}}
@media(max-width:768px){.astera-slider{--slides:1!important;padding:0 0 50px}.astera-slider .slider-track>*{flex-basis:100%!important}.astera-slider .slider-arrow{top:auto;bottom:0;transform:none}.astera-slider .slider-arrow:hover{transform:none}.astera-slider .slider-prev{left:calc(50% - 72px)}.astera-slider .slider-next{right:calc(50% - 72px)}.astera-slider .slider-dots{bottom:18px}.experience-slider .experience-card{height:330px}.creative-slider .creative-card img{aspect-ratio:4/3}}
@media(max-width:568px){.experience-slider .experience-card{height:290px}.astera-slider{--gap:14px}.experience-copy h3{font-size:1.25rem}.experience-copy p{font-size:.86rem}}
/* ==========================================================
   ASTERA GLOBAL FLOATING ACTIONS
   Back To Top + Chat Assistant
========================================================== */


/* ==========================================================
   BACK TO TOP
========================================================== */

.back-to-top {
    position: fixed;

    right: 24px;
    bottom: 92px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 1px solid rgba(231, 193, 105, 0.45);

    background: rgba(8, 13, 28, 0.95);

    color: var(--gold);

    font-size: 15px;

    cursor: pointer;

    z-index: 998;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease,
        background .3s ease,
        border-color .3s ease;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, .35);
}


.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.back-to-top:hover {
    background: var(--gold);
    color: #07101d;

    border-color: var(--gold);

    transform: translateY(-3px);
}



/* ==========================================================
   CHATBOT WRAPPER
========================================================== */

.astera-chatbot {
    position: fixed;

    right: 82px;
    bottom: 24px;

    z-index: 1000;
}



/* ==========================================================
   CHATBOT BUTTON
========================================================== */

.chatbot-trigger {
    position: relative;

    width: 54px;
    height: 54px;

    border-radius: 50%;

    border: 1px solid rgba(231, 193, 105, .45);

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            var(--gold-2),
            var(--gold-deep)
        );

    color: #07101d;

    font-size: 20px;

    cursor: pointer;

    box-shadow:
        0 12px 35px rgba(231, 193, 105, .25);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.chatbot-trigger:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 40px rgba(231, 193, 105, .35);
}



/* pulse */

.chatbot-pulse {
    position: absolute;

    inset: -5px;

    border-radius: 50%;

    border: 1px solid rgba(231, 193, 105, .45);

    animation: asteraChatPulse 2.4s infinite;

    pointer-events: none;
}


@keyframes asteraChatPulse {

    0% {
        opacity: .8;
        transform: scale(.9);
    }

    70% {
        opacity: 0;
        transform: scale(1.3);
    }

    100% {
        opacity: 0;
        transform: scale(1.3);
    }

}



/* ==========================================================
   CHAT WINDOW
========================================================== */

.chatbot-window {

    position: absolute;

    right: 0;
    bottom: 72px;

    width: 355px;

    overflow: hidden;

    border-radius: 20px;

    border: 1px solid rgba(231, 193, 105, .20);

    background:
        linear-gradient(
            145deg,
            rgba(13, 20, 40, .99),
            rgba(5, 8, 18, .99)
        );

    box-shadow:
        0 30px 80px rgba(0, 0, 0, .55),
        0 0 40px rgba(58, 160, 255, .08);

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(15px)
        scale(.96);

    transform-origin: bottom right;

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease;

    pointer-events: none;
}


.astera-chatbot.active .chatbot-window {

    opacity: 1;
    visibility: visible;

    transform:
        translateY(0)
        scale(1);

    pointer-events: auto;
}



/* ==========================================================
   CHAT HEADER
========================================================== */

.chatbot-header {

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 18px;

    border-bottom:
        1px solid rgba(231, 193, 105, .12);

    background:
        linear-gradient(
            135deg,
            rgba(231, 193, 105, .08),
            rgba(58, 160, 255, .05)
        );
}


.chatbot-brand {

    display: flex;
    align-items: center;

    gap: 11px;
}


.chatbot-brand img {

    width: 42px;
    height: 42px;

    object-fit: contain;
}


.chatbot-brand strong {

    display: block;

    color: #fff;

    font-family: var(--font-body);

    font-size: 14px;
}


.chatbot-brand span {

    display: flex;
    align-items: center;

    gap: 5px;

    margin-top: 2px;

    color: var(--text-dim);

    font-size: 11px;
}


.chatbot-brand span i {

    color: #35d477;

    font-size: 6px;
}


.chatbot-close {

    width: 34px;
    height: 34px;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, .04);

    color: var(--text-dim);

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease;
}


.chatbot-close:hover {

    color: var(--gold);

    background: rgba(231, 193, 105, .08);
}



/* ==========================================================
   CHAT BODY
========================================================== */

.chatbot-body {

    padding: 20px;
}


.chatbot-message {

    padding: 16px;

    border-radius:
        4px
        16px
        16px
        16px;

    background: rgba(255, 255, 255, .035);

    border:
        1px solid rgba(255, 255, 255, .06);
}


.chatbot-message-label {

    display: block;

    margin-bottom: 8px;

    color: var(--gold);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.chatbot-message p {

    margin: 0 0 5px;

    color: #fff;

    font-size: 15px;

    font-weight: 600;
}


.chatbot-message small {

    color: var(--text-dim);

    line-height: 1.6;
}



/* ==========================================================
   CHAT OPTIONS
========================================================== */

.chatbot-actions {

    display: grid;

    gap: 10px;

    margin-top: 16px;
}


.chatbot-action {

    display: grid;

    grid-template-columns:
        42px
        1fr
        auto;

    align-items: center;

    gap: 11px;

    padding: 12px;

    border-radius: 13px;

    border:
        1px solid rgba(231, 193, 105, .12);

    background:
        rgba(255, 255, 255, .025);

    transition:
        border-color .25s ease,
        background .25s ease,
        transform .25s ease;
}


.chatbot-action:hover {

    color: #fff;

    border-color:
        rgba(231, 193, 105, .40);

    background:
        rgba(231, 193, 105, .06);

    transform: translateX(3px);
}


.chatbot-action-icon {

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background:
        rgba(231, 193, 105, .08);

    color: var(--gold);

    font-size: 17px;
}


.chatbot-action strong {

    display: block;

    font-size: 13px;

    color: #fff;
}


.chatbot-action small {

    display: block;

    margin-top: 2px;

    color: var(--text-mute);

    font-size: 10px;
}


.chatbot-action > i {

    color: var(--gold);

    font-size: 11px;
}


.whatsapp-action
.chatbot-action-icon {

    color: #25D366;

    background:
        rgba(37, 211, 102, .08);
}



/* ==========================================================
   CHAT FOOTER
========================================================== */

.chatbot-footer {

    padding: 10px 18px;

    text-align: center;

    border-top:
        1px solid rgba(231, 193, 105, .08);

    color: var(--text-mute);

    font-size: 9px;

    letter-spacing: .05em;
}



/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 768px) {

    .astera-chatbot {
        right: 74px;
        bottom: 18px;
    }

    .chatbot-trigger {
        width: 50px;
        height: 50px;
    }

    .chatbot-window {
        position: fixed;

        right: 16px;
        bottom: 82px;

        width:
            min(
                350px,
                calc(100vw - 32px)
            );
    }


    .back-to-top {

        right: 18px;
        bottom: 82px;

        width: 44px;
        height: 44px;
    }

}



/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .astera-chatbot {

        right: 72px;
        bottom: 16px;
    }


    .chatbot-window {

        left: 16px;
        right: 16px;

        bottom: 78px;

        width: auto;
    }


    .chatbot-body {

        padding: 16px;
    }


    .chatbot-header {

        padding: 14px 15px;
    }


    .chatbot-brand img {

        width: 38px;
        height: 38px;
    }


    .back-to-top {

        right: 16px;
        bottom: 78px;
    }

}



/* ==========================================================
   ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .chatbot-pulse {
        animation: none;
    }

}

/* ==========================================
   FLOATING BUTTON FINAL POSITION FIX
========================================== */

.back-to-top{
    position:fixed;
    right:34px;
    bottom:105px;

    width:46px;
    height:46px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;
    border:1px solid rgba(231,193,105,.45);

    background:#0a1020;
    color:var(--gold);

    cursor:pointer;

    z-index:99998;

    opacity:0;
    visibility:hidden;

    transform:translateY(15px);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease,
        background .3s ease;
}

.back-to-top.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.back-to-top:hover{
    background:var(--gold);
    color:#07101d;
}


/* Chat beside WhatsApp */

.astera-chatbot{
    position:fixed;

    right:98px;
    bottom:30px;

    z-index:99999;
}

.chatbot-trigger{
    width:58px;
    height:58px;
}


/* IMPORTANT - chatbot window */

.chatbot-window{
    position:absolute;

    right:0;
    bottom:75px;

    width:355px;

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transform:translateY(15px) scale(.96);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease;
}

.astera-chatbot.active .chatbot-window{
    opacity:1;
    visibility:visible;
    pointer-events:auto;

    transform:translateY(0) scale(1);
}


@media(max-width:768px){

    .whatsapp-float{
        right:16px;
        bottom:16px;
        width:56px;
        height:56px;
    }

    .astera-chatbot{
        right:82px;
        bottom:17px;
    }

    .chatbot-trigger{
        width:54px;
        height:54px;
    }

    .back-to-top{
        right:22px;
        bottom:88px;
        width:42px;
        height:42px;
    }

    .chatbot-window{
        position:fixed;

        left:16px;
        right:16px;
        bottom:82px;

        width:auto;
        max-width:none;
    }
}
/* =====================================================
   TESTIMONIALS — PREMIUM COMPACT SLIDER
===================================================== */
/* =========================================================
   HOME FINAL — TESTIMONIAL SLIDER
   Original Astera card appearance + slider only
========================================================= */

.testimonials-section{
    padding:95px 0;
    overflow:hidden;

    background:
        radial-gradient(circle at 8% 20%, rgba(231,193,105,.08), transparent 32%),
        radial-gradient(circle at 88% 75%, rgba(58,160,255,.08), transparent 34%),
        #050914;
}

.testimonial-heading{
    max-width:760px;
    margin:0 auto 48px;
    text-align:center;
}

.testimonial-heading .eyebrow{
    display:block;
    margin-bottom:14px;

    color:var(--blue-2);

    font-size:.74rem;
    font-weight:600;
    letter-spacing:.32em;
    text-transform:uppercase;
}

.testimonial-heading h2{
    margin-bottom:15px;
}

.testimonial-heading h2 span{
    color:var(--gold);
}

.testimonial-heading p{
    max-width:650px;
    margin:0 auto;
}


/* Slider container */

.testimonial-slider{
    position:relative;

    width:100%;
    max-width:1380px;

    margin:0 auto;
    padding:0 56px;
}

.testimonial-viewport{
    width:100%;
    overflow:hidden;

    padding:8px 0 18px;

    touch-action:pan-y;
}

.testimonial-track{
    display:flex;
    align-items:stretch;

    gap:24px;

    transition:transform .55s cubic-bezier(.22,.61,.36,1);
    will-change:transform;
}


/* ================================================
   ORIGINAL ATTRACTIVE CARD DESIGN
================================================ */

.testimonial-track .testimonial-card{
    position:relative;

    flex:0 0 calc((100% - 48px) / 3);
    min-width:0;

    display:flex;
    flex-direction:column;

    padding:34px 28px 28px;

    border:1px solid var(--border);
    border-radius:var(--radius);

    background:var(--panel);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    overflow:hidden;

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease,
        background .35s ease;
}


/* same premium card glow */

.testimonial-track .testimonial-card::before{
    content:"";

    position:absolute;
    inset:0;

    background:
        radial-gradient(
            600px 200px at 50% -20%,
            rgba(231,193,105,.14),
            transparent 60%
        );

    opacity:0;

    pointer-events:none;

    transition:opacity .35s ease;
}


.testimonial-track .testimonial-card:hover{
    transform:translateY(-7px);

    border-color:var(--border-strong);

    box-shadow:var(--shadow-gold);
}

.testimonial-track .testimonial-card:hover::before{
    opacity:1;
}


/* stars */

.testimonial-top{
    position:relative;
    z-index:2;

    display:flex;
    align-items:center;
    justify-content:space-between;

    margin-bottom:20px;
}

.testimonial-card .stars{
    display:flex;

    gap:4px;

    color:var(--gold);

    font-size:1rem;
}

.testimonial-card .stars .fa-regular{
    color:rgba(231,193,105,.35);
}


/* quote icon */

.testimonial-quote{
    color:rgba(231,193,105,.13);

    font-size:2.3rem;
}


/* quote text */

.testimonial-text{
    position:relative;
    z-index:2;

    flex:1;

    margin:0 0 26px;

    font-family:var(--font-display);

    font-size:1.15rem;
    font-style:italic;
    line-height:1.58;

    color:var(--text);
}


/* client */

.testimonial-client{
    position:relative;
    z-index:2;

    display:flex;
    align-items:center;

    gap:14px;

    margin-top:auto;
    padding-top:18px;

    border-top:
        1px dashed rgba(231,193,105,.15);
}

.testimonial-avatar{
    width:44px;
    height:44px;

    flex:0 0 44px;

    display:grid;
    place-items:center;

    border:0;
    border-radius:50%;

    font-family:var(--font-display);
    font-size:1.15rem;
    font-weight:700;

    color:#0a0e1c;

    background:
        linear-gradient(
            135deg,
            var(--gold-2),
            var(--gold-deep)
        );

    box-shadow:
        0 0 20px rgba(231,193,105,.35);
}

.testimonial-client strong{
    display:block;

    color:#fff;

    font-size:.98rem;
    font-weight:600;
}

.testimonial-client span{
    display:block;

    margin-top:2px;

    color:var(--text-mute);

    font-size:.82rem;
    letter-spacing:.04em;
}


/* ================================================
   SLIDER ARROWS
================================================ */

.testimonial-slider .slider-arrow{
    position:absolute;

    top:50% !important;
    bottom:auto !important;

    z-index:10;

    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:
        1px solid rgba(231,193,105,.45);

    border-radius:50%;

    background:#07111f;

    color:var(--gold);

    cursor:pointer;

    transform:translateY(-50%) !important;

    transition:.25s ease;
}

.testimonial-slider .slider-prev{
    left:0;
}

.testimonial-slider .slider-next{
    right:0;
}

.testimonial-slider .slider-arrow:hover:not(:disabled){
    background:var(--gold);

    color:#07101d;

    transform:
        translateY(-50%)
        scale(1.08) !important;
}

.testimonial-slider .slider-arrow:disabled{
    opacity:.28;
}


/* dots */

.testimonial-dots{
    position:static !important;

    transform:none !important;

    display:flex;

    align-items:center;
    justify-content:center;

    gap:7px;

    margin-top:18px;
}

.testimonial-dots .slider-dot{
    width:7px;
    height:7px;

    padding:0;

    border:0;
    border-radius:99px;

    background:rgba(255,255,255,.25);

    transition:.3s ease;
}

.testimonial-dots .slider-dot.active{
    width:27px;

    background:var(--gold);
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:1024px){

    .testimonials-section{
        padding:80px 0;
    }

    .testimonial-slider{
        padding:0 50px;
    }

    .testimonial-track{
        gap:20px;
    }

    .testimonial-track .testimonial-card{
        flex-basis:
            calc((100% - 20px) / 2);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:768px){

    .testimonials-section{
        padding:62px 0 68px;
    }

    .testimonial-heading{
        margin-bottom:32px;
    }

    .testimonial-heading p{
        font-size:.9rem;
    }

    .testimonial-slider{
        padding:0 38px;
    }

    .testimonial-track{
        gap:16px;
    }

    .testimonial-track .testimonial-card{
        flex-basis:100%;

        padding:26px 22px 23px;
    }

    .testimonial-text{
        font-size:1rem;
        line-height:1.58;
    }

    .testimonial-slider .slider-arrow{
        width:32px;
        height:32px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width:480px){

    .testimonial-slider{
        padding:0 30px;
    }

    .testimonial-track .testimonial-card{
        padding:23px 19px 21px;

        border-radius:14px;
    }

    .testimonial-text{
        font-size:.94rem;
    }

    .testimonial-avatar{
        width:40px;
        height:40px;

        flex-basis:40px;
    }

    .testimonial-slider .slider-arrow{
        width:28px;
        height:28px;

        font-size:.68rem;
    }
}

@media(max-width:768px){

    .reel-grid{
        display:flex;

        gap:16px;

        max-width:none;

        overflow-x:auto;

        padding:0 18px 15px;

        scroll-snap-type:x mandatory;

        scrollbar-width:none;

        -webkit-overflow-scrolling:touch;
    }

    .reel-grid::-webkit-scrollbar{
        display:none;
    }

    .reel-card{
        flex:0 0 78%;

        max-width:330px;

        scroll-snap-align:center;
    }
}


@media(max-width:480px){

    .reel-card{
        flex-basis:86%;
    }
}
@media(max-width:568px){

    .experience-section,
    .creative-work-section,
    .video-work,
    .services-home-modern,
    .why-agency{
        padding-top:58px;
        padding-bottom:58px;
    }

    .section-head{
        margin-bottom:30px;
    }

    .section-head .kicker{
        margin-bottom:12px;
    }

    .section-head p{
        margin-top:10px;
    }
}

/* =========================================================
   ABOUT PAGE — LEAD GENERATION / CONVERSION FINAL
========================================================= */


/* =========================
   HERO
========================= */

.about-lead-hero{
    padding:180px 0 105px;
    overflow:hidden;
}

.about-lead-hero .page-hero-grid{
    grid-template-columns:1.08fr .92fr;
    gap:80px;
}

.about-lead-hero h1{
    max-width:760px;

}

.about-hero-lead{
    max-width:670px;
    margin:25px 0 0;
    line-height:1.8;
}

.about-hero-actions{
    margin-top:32px;
}

.about-hero-trust{
    display:flex;
    flex-wrap:wrap;
    gap:12px 22px;
    margin-top:28px;

    color:var(--text-dim);
    font-size: .9rem;
}

.about-hero-trust span{
    display:flex;
    align-items:center;
    gap:8px;
}

.about-hero-trust i{
    color:var(--gold);
    font-size:.68rem;
}


/* =========================
   STORY
========================= */

.about-story-lead .about-grid{
    align-items:center;
    gap:85px;
}

.about-story-lead h2{
    margin-bottom:24px;
}

.about-story-lead p{
    margin:0 0 18px;
    max-width:620px;
}

.about-text-link{
    display:inline-flex;
    align-items:center;
    gap:10px;

    margin-top:12px;

    color:var(--gold);
    font-size:.88rem;
    font-weight:600;
}

.about-text-link i{
    font-size:.75rem;
    transition:transform .25s ease;
}

.about-text-link:hover i{
    transform:translateX(5px);
}


.about-story-visual{
    position:relative;
    min-height:440px;

    padding:0;
    overflow:hidden;
}

.about-story-visual > img{
    width:100%;
    height:100%;
    min-height:440px;

    display:block;
    object-fit:cover;

    transition:transform .7s ease;
}

.about-story-visual:hover > img{
    transform:scale(1.035);
}

.about-story-visual::after{
    content:"";

    position:absolute;
    inset:0;

    background:
        linear-gradient(
            180deg,
            transparent 40%,
            rgba(5,8,20,.88)
        );
}

.about-story-overlay{
    position:absolute;
    z-index:2;

    left:28px;
    right:28px;
    bottom:24px;

    display:flex;
    align-items:center;
    gap:10px;

    color:#fff;

    font-size:.7rem;
    font-weight:600;
    letter-spacing:.13em;
    text-transform:uppercase;
}

.about-story-overlay i{
    color:var(--gold);
    font-size:.3rem;
}


/* =========================
   OUTCOMES
========================= */

.about-outcomes{
    background:
        radial-gradient(
            circle at 90% 40%,
            rgba(58,160,255,.08),
            transparent 34%
        );
}

.about-outcome-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));

    gap:18px;
}

.about-outcome-card{
    position:relative;

    min-height:285px;

    padding:30px 26px;

    border:1px solid var(--border);
    border-radius:20px;

    background:var(--panel);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.about-outcome-card:hover{
    transform:translateY(-6px);

    border-color:var(--border-strong);

    box-shadow:var(--shadow-gold);
}

.about-outcome-number{
    position:absolute;

    top:22px;
    right:22px;

    color:var(--text-mute);

    font-size:.72rem;
    letter-spacing:.12em;
}

.about-outcome-card .card-icon{
    margin-bottom:30px;
}

.about-outcome-card h3{
    margin-bottom:12px;

    font-size:1.25rem;
}

.about-outcome-card p{
    margin:0;

    font-size:.9rem;
}


/* =========================
   PURPOSE
========================= */

.about-purpose-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:24px;
}

.about-purpose-card{
    display:grid;
    grid-template-columns:74px 1fr;

    gap:24px;

    padding:34px;

    border:1px solid var(--border);
    border-radius:24px;

    background:rgba(255,255,255,.025);
}

.about-purpose-icon{
    width:66px;
    height:66px;

    display:grid;
    place-items:center;

    border:
        1px solid rgba(231,193,105,.22);

    border-radius:18px;

    background:
        linear-gradient(
            135deg,
            rgba(231,193,105,.16),
            rgba(58,160,255,.10)
        );

    color:var(--gold);

    font-size:1.45rem;
}

.about-purpose-card span{
    color:var(--gold);

    font-size:.7rem;
    font-weight:600;

    letter-spacing:.16em;
    text-transform:uppercase;
}

.about-purpose-card h3{
    margin:8px 0 12px;

    font-size:1.35rem;
}

.about-purpose-card p{
    margin:0;

    font-size:.92rem;
}


/* =========================
   SERVICES
========================= */
.about-services-grid{
    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:16px;
}

.about-service-card{
    display:grid;

    grid-template-columns:
        54px
        1fr
        24px;

    align-items:center;

    gap:18px;

    padding:24px;

    border:1px solid var(--border);
    border-radius:18px;

    background:var(--panel);

    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease;
}

.about-service-card:hover{
    color:inherit;

    transform:translateY(-4px);

    border-color:var(--border-strong);

    background:
        rgba(231,193,105,.035);
}

.about-service-icon{
    width:52px;
    height:52px;

    display:grid;
    place-items:center;

    border-radius:15px;

    background:
        rgba(231,193,105,.08);

    border:
        1px solid rgba(231,193,105,.16);

    color:var(--gold);

    font-size:1.2rem;
}

.about-service-card h3{
    margin:0 0 6px;

    font-size:1.05rem;
}

.about-service-card p{
    margin:0;

    font-size:.84rem;
    line-height:1.6;
}

.about-service-card > i{
    color:var(--gold);

    font-size:.75rem;

    transition:transform .25s ease;
}

.about-service-card:hover > i{
    transform:translateX(5px);
}

.about-services-action{
    margin-top:34px;

    text-align:center;
}


/* =========================
   PROCESS
========================= */

.about-process-row{
    display:grid;

    grid-template-columns:
        repeat(5,minmax(0,1fr));

    border:
        1px solid var(--border);

    border-radius:22px;

    overflow:hidden;
}

.about-process-step{
    position:relative;

    min-height:240px;

    padding:30px 24px;

    border-right:
        1px solid var(--border);
}

.about-process-step:last-child{
    border-right:0;
}

.about-process-step span{
    display:block;

    margin-bottom:36px;

    color:var(--gold);

    font-size:.74rem;
    font-weight:600;

    letter-spacing:.16em;
}

.about-process-step h3{
    margin-bottom:10px;

    font-size:1.18rem;
}

.about-process-step p{
    margin:0;

    font-size:.85rem;
}


/* =========================
   WHY ASTERA
========================= */

.about-why-lead{
    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(58,160,255,.12),
            transparent 38%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(231,193,105,.06),
            transparent 30%
        );
}

.about-why-grid{
    display:grid;

    grid-template-columns:
        repeat(4,minmax(0,1fr));

    gap:18px;
}

.about-why-card{
    min-height:270px;

    padding:28px 24px;

    border:
        1px solid var(--border);

    border-radius:20px;

    background:var(--panel);

    transition:
        transform .3s ease,
        border-color .3s ease;
}

.about-why-card:hover{
    transform:translateY(-5px);

    border-color:var(--border-strong);
}

.about-why-card .card-icon{
    margin-bottom:26px;
}

.about-why-card h3{
    margin-bottom:12px;

    font-size:1.12rem;
}

.about-why-card p{
    margin:0;

    font-size:.88rem;
}


/* =========================
   SELECTED WORK
========================= */

.about-proof{
    padding:110px 0;
}

.about-proof-heading{
    display:flex;

    align-items:flex-end;
    justify-content:space-between;

    gap:40px;

    margin-bottom:46px;
}

.about-proof-heading h2{
    max-width:720px;
}

.about-proof-grid{
    display:grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap:20px;
}

.about-proof-card{
    position:relative;

    min-height:330px;

    display:flex;
    flex-direction:column;
    justify-content:space-between;

    padding:30px;

    overflow:hidden;

    border:
        1px solid var(--border);

    border-radius:22px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(58,160,255,.13),
            transparent 42%
        ),
        var(--panel);

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.about-proof-card:hover{
    color:inherit;

    transform:translateY(-6px);

    border-color:var(--border-strong);

    box-shadow:var(--shadow-gold);
}

.about-proof-number{
    color:rgba(231,193,105,.35);

    font-family:var(--font-display);

    font-size:3rem;
}

.about-proof-content span{
    display:block;

    margin-bottom:10px;

    color:var(--gold);

    font-size:.68rem;
    font-weight:600;

    letter-spacing:.16em;
    text-transform:uppercase;
}

.about-proof-content h3{
    margin-bottom:12px;

    font-size:1.3rem;
}

.about-proof-content p{
    margin:0 0 22px;

    font-size:.88rem;
}

.about-proof-content strong{
    display:flex;
    align-items:center;

    gap:8px;

    color:#fff;

    font-size:.8rem;
}

.about-proof-content strong i{
    color:var(--gold);

    font-size:.7rem;
}


/* =========================
   FINAL CTA
========================= */

.about-final-cta{
    text-align:center;
}

.about-final-cta .kicker{
    margin-bottom:14px;
}

.about-final-cta p{
    max-width:700px;

    margin:
        18px
        auto
        28px;
}

.about-final-actions{
    display:flex;

    align-items:center;
    justify-content:center;

    gap:14px;

    flex-wrap:wrap;
}


/* =========================================================
   RESPONSIVE — 1100
========================================================= */

@media(max-width:1100px){

    .about-lead-hero .page-hero-grid{
        gap:50px;
    }

    .about-outcome-grid,
    .about-why-grid{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .about-process-row{
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }

    .about-process-step{
        border-bottom:
            1px solid var(--border);
    }

}


/* =========================================================
   RESPONSIVE — 898
========================================================= */

@media(max-width:898px){
    section{
        padding:40px 10px;
    }
    .about-lead-hero .page-hero-grid,
    .about-story-lead .about-grid{
        grid-template-columns:1fr !important;

        gap:48px;
    }

    .about-lead-hero{
        padding:70px 0 80px;
    }

    .about-lead-hero .hero-visual{
        max-width:520px;

        margin:auto;
    }

    .about-purpose-grid{
        grid-template-columns:1fr;
    }

    .about-proof-grid{
        grid-template-columns:1fr 1fr;
    }

    .about-process-row{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .about-process-step{
        border-right:
            1px solid var(--border);
    }

}


/* =========================================================
   RESPONSIVE — 768
========================================================= */

@media(max-width:768px){
    .about-hero-trust{
        justify-content: center;
    }
    .about-services-grid{
        grid-template-columns:1fr;
    }

    .about-proof-heading{
        display:block;
    }

    .about-proof-heading .about-text-link{
        margin-top:20px;
    }

}


/* =========================================================
   RESPONSIVE — 568
========================================================= */

@media(max-width:568px){

    .about-lead-hero,
    .about-story-lead,
    .about-outcomes,
    .about-purpose,
    .about-capabilities-lead,
    .about-process-lead,
    .about-why-lead,
    .about-proof{
        padding:40px 0;
    }


    .about-hero-lead{
        font-size:.98rem;
    }

    .about-hero-actions{
        display:grid;

        grid-template-columns:1fr;

        width:100%;
    }

    .about-hero-actions .btn{
        width:100%;

        justify-content:center;
    }


    .about-story-visual,
    .about-story-visual > img{
        min-height:300px;
    }

    .about-story-overlay{
        left:18px;
        right:18px;
        bottom:18px;

        flex-wrap:wrap;

        font-size:.58rem;
    }

    .about-outcome-grid,
    .about-why-grid,
    .about-proof-grid{
        grid-template-columns:1fr;
    }

    .about-outcome-card,
    .about-why-card{
        min-height:auto;
    }

    .about-purpose-card{
        grid-template-columns:1fr;

        padding:26px;
    }

    .about-service-card{
        grid-template-columns:
            48px
            1fr
            18px;

        gap:14px;

        padding:19px;
    }

    .about-service-icon{
        width:46px;
        height:46px;
    }

    .about-process-row{
        grid-template-columns:1fr;
    }

    .about-process-step{
        min-height:auto;

        border-right:0;

        padding:26px 24px;
    }

    .about-process-step span{
        margin-bottom:18px;
    }

    .about-proof-card{
        min-height:280px;
    }

    .about-final-actions{
        display:grid;

        grid-template-columns:1fr;

        width:100%;
    }

    .about-final-actions .btn{
        width:100%;

        justify-content:center;
    }

}


/* =========================================================
   SMALL MOBILE — 390 / 360
========================================================= */

@media(max-width:390px){

    .about-service-card{
        grid-template-columns:
            44px
            1fr;

        align-items:start;
    }

    .about-service-card > i{
        display:none;
    }

    .about-proof-card{
        padding:24px;
    }

}
/* =========================================================
   ASTERA SERVICES PAGE — FINAL
========================================================= */

.services-main-hero{

    overflow:hidden;
}

.services-main-hero .page-hero-grid{
    grid-template-columns:1.05fr .95fr;
    gap:70px;
}

.services-main-hero h1{
    max-width:720px;
    margin-bottom:24px;
}

.services-main-hero h1 .gold-text{
    display:block;
}

.services-hero-lead{
    max-width:650px;
    margin:0;
    font-size:1.08rem;
    line-height:1.8;
}

.services-hero-actions{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:14px;
    margin-top:32px;
}

.services-hero-points{
    display:flex;
    flex-wrap:wrap;
    gap:12px 24px;
    margin-top:34px;
    color:var(--text-dim);
    font-size:.9rem;
}

.services-hero-points span{
    display:flex;
    align-items:center;
    gap:8px;
}

.services-hero-points i{
    color:var(--gold);
    font-size:.75rem;
}


/* SERVICES */
.services-main-section .section-head{
    max-width:790px;
}

.services-main-section .section-head p{
    max-width:720px;
    margin:18px auto 0;
}

.services-main-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
}

.service-main-card{
    display:flex;
    flex-direction:column;
    min-height:355px;
    padding:30px;
}

.service-card-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:22px;
}

.service-card-top .card-icon{
    margin:0;
}

.service-number{
    font-size:.72rem;
    letter-spacing:.18em;
    color:var(--text-mute);
}

.service-main-card h3{
    margin:0 0 13px;
    font-size:1.35rem;
}

.service-main-card p{
    margin:0 0 25px;
    font-size:.92rem;
    line-height:1.75;
}

.service-main-link{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-top:auto;
    color:var(--gold);
    font-weight:600;
    font-size:.88rem;
}

.service-main-link i{
    font-size:.8rem !important;
    color:inherit !important;
    transition:transform .25s ease;
}

.service-main-link:hover i{
    transform:translateX(5px);
}


/* PROJECT HELP */

.service-help-section{
    padding:40px 0 110px;
}

.service-help-box{
    position:relative;
    overflow:hidden;
    display:grid;
    grid-template-columns:1.35fr .65fr;
    gap:50px;
    align-items:center;
    padding:55px;
    border:1px solid rgba(231,193,105,.2);
    border-radius:26px;
    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(58,160,255,.14),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            rgba(231,193,105,.055),
            rgba(255,255,255,.02)
        );
}

.service-help-box:before{
    content:"";
    position:absolute;
    width:300px;
    height:300px;
    right:-140px;
    bottom:-170px;
    border-radius:50%;
    background:rgba(231,193,105,.12);
    filter:blur(80px);
    pointer-events:none;
}

.service-help-content{
    position:relative;
    z-index:1;
}

.service-help-content h2{
    max-width:700px;
}

.service-help-content p{
    max-width:700px;
    margin:18px 0 0;
}

.service-help-actions{
    position:relative;
    z-index:1;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:12px;
}

.service-help-actions .btn{
    justify-content:center;
}


/* WHY ASTERA */

.services-why{
    padding:110px 0;
    background:linear-gradient(
        180deg,
        rgba(4,7,16,.96),
        rgba(8,13,29,.96)
    );
    border-block:1px solid rgba(255,255,255,.04);
}

.services-why .section-head p{
    margin:18px auto 0;
}

.services-why-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}

.services-why-card{
    position:relative;
    padding:30px 26px;
    min-height:285px;
    border:1px solid var(--border);
    border-radius:20px;
    background:var(--panel);
    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease;
}

.services-why-card:hover{
    transform:translateY(-6px);
    border-color:var(--border-strong);
    background:rgba(22,30,60,.5);
}

.services-why-card > span{
    position:absolute;
    top:22px;
    right:22px;
    color:var(--text-mute);
    font-size:.7rem;
    letter-spacing:.15em;
}

.why-service-icon{
    width:58px;
    height:58px;
    display:grid;
    place-items:center;
    margin-bottom:28px;
    border-radius:16px;
    color:var(--gold);
    font-size:1.35rem;
    border:1px solid rgba(231,193,105,.2);
    background:linear-gradient(
        135deg,
        rgba(231,193,105,.13),
        rgba(58,160,255,.08)
    );
}

.services-why-card h3{
    margin-bottom:12px;
    font-size:1.15rem;
}

.services-why-card p{
    margin:0;
    font-size:.9rem;
}


/* PROCESS */

.services-process .section-head p{
    margin:18px auto 0;
}

.services-process .step h3{
    margin-bottom:10px;
}

.services-process .step p{
    max-width:210px;
    margin:0 auto;
    font-size:.88rem;
}


/* FAQ */

.services-faq{
    padding:110px 0;
    background:rgba(255,255,255,.015);
    border-top:1px solid rgba(255,255,255,.04);
}

.services-faq-container{
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:80px;
    align-items:start;
}

.services-faq-intro{
    position:sticky;
    top:120px;
}

.services-faq-intro p{
    max-width:500px;
    margin:18px 0 28px;
}

.services-faq-list{
    display:flex;
    flex-direction:column;
}

.service-faq-item{
    border-bottom:1px solid rgba(255,255,255,.09);
}

.service-faq-item:first-child{
    border-top:1px solid rgba(255,255,255,.09);
}

.service-faq-item summary{
    list-style:none;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px;
    padding:25px 0;
    color:#fff;
    font-family:var(--font-display);
    font-size:1.12rem;
    cursor:pointer;
}

.service-faq-item summary::-webkit-details-marker{
    display:none;
}

.service-faq-item summary i{
    flex:0 0 auto;
    color:var(--gold);
    font-size:.8rem;
    transition:transform .3s ease;
}

.service-faq-item[open] summary i{
    transform:rotate(45deg);
}

.service-faq-answer{
    padding:0 45px 24px 0;
}

.service-faq-answer p{
    margin:0;
    line-height:1.75;
}


/* FINAL CTA */
.services-final-cta .kicker{
    margin-bottom:16px;
}

.services-final-actions{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:1100px){

    .services-main-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .services-why-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .service-help-box{
        padding:45px;
    }

}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media(max-width:898px){

    .services-main-hero{
        padding:65px 0 75px;
    }

    .services-main-hero .page-hero-grid{
        grid-template-columns:1fr;
        gap:35px;
    }

    .services-main-hero .service-globe-wrap{
        margin-top:10px;
    }

    .service-help-box{
        grid-template-columns:1fr;
        gap:30px;
    }

    .service-help-actions{
        flex-direction:row;
        flex-wrap:wrap;
    }

    .services-faq-container{
        grid-template-columns:1fr;
        gap:45px;
    }

    .services-faq-intro{
        position:static;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:568px){

    .services-main-hero{
        padding:45px 0 55px;
    }

    .services-main-hero h1{
        font-size:2.25rem;
    }

    .services-hero-lead{
        font-size:.98rem;
    }

    .services-hero-actions{
        flex-direction:column;
        align-items:stretch;
        margin-top:26px;
    }

    .services-hero-actions .btn{
        width:100%;
        justify-content:center;
    }

    .services-hero-points{

        margin-top:26px;
    }


    /* Services */

    .services-main-section,
    .services-why,
    .services-process,
    .services-faq,
    .services-final-cta{
        padding:70px 0;
    }

    .services-main-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .service-main-card{
        min-height:auto;
        padding:24px;
    }


    /* Help */

    .service-help-section{
        padding:20px 0 70px;
    }

    .service-help-box{
        padding:28px 22px;
        border-radius:20px;
    }

    .service-help-actions{
        flex-direction:column;
    }

    .service-help-actions .btn{
        width:100%;
    }


    /* Why */

    .services-why-grid{
        grid-template-columns:1fr;
    }

    .services-why-card{
        min-height:auto;
        padding:25px 22px;
    }


    /* FAQ */

    .services-faq-container{
        gap:35px;
    }

    .service-faq-item summary{
        padding:21px 0;
        font-size:1rem;
    }

    .service-faq-answer{
        padding:0 30px 20px 0;
    }


    /* CTA */

    .services-final-actions{
        flex-direction:column;
    }

    .services-final-actions .btn{
        width:100%;
    }

}
/* =========================================================
   SERVICES PAGE — RESPONSIVE SIZE FIX
   KEEP THIS AT THE VERY BOTTOM OF STYLE.CSS
========================================================= */


/* =========================
   DESKTOP
========================= */

.services-main-hero {
    min-height: auto !important;
  
}

.services-main-hero .page-hero-grid {
    grid-template-columns: 1.05fr .95fr !important;
    align-items: center !important;
    gap: 50px !important;
    min-height: auto !important;
}


/* Hero content */

.services-main-hero .kicker {
    margin-bottom: 22px;
}

.services-main-hero h1 {
    max-width: 720px !important;

    line-height: 1.04 !important;
    letter-spacing: -.035em !important;

    margin: 0 0 24px !important;
}

.services-main-hero h1 .gold-text {
    display: inline !important;
}


/* Paragraph */

.services-main-hero .services-hero-lead {
    max-width: 650px !important;

    font-size: 1rem !important;
    line-height: 1.75 !important;

    margin: 0 !important;
}


/* Buttons */

.services-hero-actions {
    margin-top: 28px !important;
    gap: 12px !important;
}


/* Small benefits */

.services-hero-points {
    margin-top: 28px !important;
    gap: 12px 25px !important;
}


/* =========================
   GLOBE
========================= */

.services-main-hero .service-globe-wrap {
    width: 100% !important;
    max-width: 500px !important;

    aspect-ratio: 1 / 1;

    min-height: 0 !important;
    height: auto !important;

    margin: 0 auto !important;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* Main globe image */

.services-main-hero .service-globe {
    width: 58% !important;
    height: 58% !important;

    max-width: 290px !important;
    max-height: 290px !important;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 3;
}

.services-main-hero .service-globe img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;
}


/* Orbits */

.services-main-hero .orbit-1 {
    width: 72% !important;
    height: 72% !important;
}

.services-main-hero .orbit-2 {
    width: 88% !important;
    height: 88% !important;
}

.services-main-hero .orbit-3 {
    width: 100% !important;
    height: 100% !important;
}


/* Glow */

.services-main-hero .service-glow {
    width: 75% !important;
    height: 75% !important;
}


/* =========================================================
   SMALL LAPTOP / 1024px
========================================================= */

@media (max-width: 1100px) {

    .services-main-hero {
        padding: 65px 0 65px !important;
    }

    .services-main-hero .page-hero-grid {
        grid-template-columns: 1.05fr .95fr !important;
        gap: 35px !important;
    }

    .services-main-hero h1 {
        font-size: clamp(
            2.7rem,
            4.5vw,
            3.8rem
        ) !important;

        max-width: 620px !important;
    }

    .services-main-hero .services-hero-lead {
        font-size: .96rem !important;
        max-width: 570px !important;
    }

    .services-main-hero .service-globe-wrap {
        max-width: 420px !important;
    }

}


/* =========================================================
   TABLET — 899px to 769px
========================================================= */

@media (max-width: 898px) {

    .services-main-hero {
        padding: 55px 0 65px !important;
    }

    .services-main-hero .page-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 35px !important;

        text-align: center !important;
    }


    /* Content */

    .services-main-hero .reveal:first-child {
        max-width: 720px;
        margin: 0 auto;
    }

    .services-main-hero h1 {
        max-width: 700px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        font-size: clamp(
            2.7rem,
            7vw,
            3.7rem
        ) !important;

        line-height: 1.06 !important;
    }

    .services-main-hero .services-hero-lead {
        max-width: 650px !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }


    /* Buttons */

    .services-hero-actions {
        justify-content: center !important;
    }


    /* Benefits */

    .services-hero-points {
        justify-content: center !important;
    }


    /* Globe */

    .services-main-hero .service-globe-wrap {
        max-width: 390px !important;

        margin: 5px auto 0 !important;
    }

    .services-main-hero .service-globe {
        max-width: 225px !important;
        max-height: 225px !important;
    }

}


/* =========================================================
   768px TABLET
========================================================= */

@media (max-width: 768px) {

    .services-main-hero {
        padding: 48px 0 55px !important;
    }

    .services-main-hero h1 {
        font-size: clamp(
            2.45rem,
            7.5vw,
            3.25rem
        ) !important;
    }

    .services-main-hero .service-globe-wrap {
        max-width: 340px !important;
    }

    .services-main-hero .service-globe {
        max-width: 195px !important;
        max-height: 195px !important;
    }

    .services-hero-points {
        gap: 10px 18px !important;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 568px) {

    .services-main-hero {
        padding: 38px 0 48px !important;
    }

    .services-main-hero .page-hero-grid {
        gap: 28px !important;
    }


    /* Kicker */

    .services-main-hero .kicker {
        margin-bottom: 16px !important;
    }


    /* Heading */

    .services-main-hero h1 {
        font-size: clamp(
            2.05rem,
            10vw,
            2.65rem
        ) !important;

        line-height: 1.08 !important;

        letter-spacing: -.025em !important;

        margin-bottom: 18px !important;
    }


    /* Paragraph */

    .services-main-hero .services-hero-lead {
        font-size: .92rem !important;
        line-height: 1.7 !important;

        max-width: 100% !important;
    }


    /* Buttons */

    .services-hero-actions {
        flex-direction: column !important;

        width: 100% !important;

        gap: 10px !important;

        margin-top: 23px !important;
    }

    .services-hero-actions .btn {
        width: 100% !important;
        justify-content: center !important;
    }


    /* Benefits */

    .services-hero-points {


        margin: 24px auto 0 !important;

        gap: 9px !important;
    }


    /* Globe */

    .services-main-hero .service-globe-wrap {
        max-width: 275px !important;

        margin: 0 auto !important;
    }

    .services-main-hero .service-globe {
        max-width: 160px !important;
        max-height: 160px !important;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .services-main-hero {
        padding: 32px 0 42px !important;
    }

    .services-main-hero h1 {
        font-size: 2rem !important;
    }

    .services-main-hero .service-globe-wrap {
        max-width: 235px !important;
    }

    .services-main-hero .service-globe {
        max-width: 135px !important;
        max-height: 135px !important;
    }

}

/* =========================================================
   SERVICES PROCESS — SEQUENTIAL ANIMATION
========================================================= */

.services-process .process-row {
    position: relative;
}

/* Default inactive step */
.services-process .step {
    position: relative;
    z-index: 2;
}

.services-process .step-num {
    position: relative;
    z-index: 3;

    transition:
        background-color .45s ease,
        border-color .45s ease,
        color .45s ease,
        box-shadow .45s ease,
        transform .45s ease;
}

.services-process .step h3,
.services-process .step p {
    transition:
        color .45s ease,
        opacity .45s ease,
        transform .45s ease;
}

/* inactive */
.services-process .step:not(.process-active) .step-num {
    background: #07111f;
    color: #e7bf58;
    border-color: rgba(231, 191, 88, .45);
}

.services-process .step:not(.process-active) h3 {
    opacity: .65;
}

.services-process .step:not(.process-active) p {
    opacity: .48;
}


/* ACTIVE STEP */

.services-process .step.process-active .step-num {
    background: linear-gradient(
        135deg,
        #f7dc84,
        #d5a62d
    );

    color: #07111f;

    border-color: #f1c75b;

    transform: scale(1.08);

    box-shadow:
        0 0 0 8px rgba(232, 190, 78, .08),
        0 0 30px rgba(232, 190, 78, .35);
}

.services-process .step.process-active h3 {
    opacity: 1;
    color: #ffffff;
    transform: translateY(-2px);
}

.services-process .step.process-active p {
    opacity: 1;
}


/* COMPLETED STEP */

.services-process .step.process-complete .step-num {
    background: #10182b;
    color: #f1c75b;
    border-color: #d7ab3e;

    box-shadow:
        0 0 18px rgba(215, 171, 62, .14);
}

.services-process .step.process-complete h3 {
    opacity: 1;
}

.services-process .step.process-complete p {
    opacity: .78;
}


/* =========================================================
   DESKTOP GOLD PROGRESS LINE
========================================================= */

@media (min-width: 769px) {

    .services-process .process-row::before,
    .services-process .process-row::after {
        content: "";
        position: absolute;

        left: 10%;
        right: 10%;

        top: 45px;

        height: 2px;

        border-radius: 20px;
    }

    /* inactive line */
    .services-process .process-row::before {
        background: rgba(215, 171, 62, .18);
        z-index: 0;
    }

    /* animated line */
    .services-process .process-row::after {
        right: auto;

        width: 0;

        background: linear-gradient(
            90deg,
            #d8a92f,
            #f5d878,
            #d8a92f
        );

        box-shadow:
            0 0 12px rgba(229, 184, 67, .45);

        z-index: 1;

        transition: width 3.3s cubic-bezier(.22,.61,.36,1);
    }

    .services-process.process-start .process-row::after {
        width: 80%;
    }
}


/* =========================================================
   MOBILE / TABLET — VERTICAL PROCESS
========================================================= */

@media (max-width: 768px) {

    .services-process .process-row {
        position: relative;

        display: grid !important;
        grid-template-columns: 1fr !important;

        gap: 0 !important;
    }

    .services-process .process-row::before,
    .services-process .process-row::after {
        content: "";

        position: absolute;

        left: 28px;
        top: 29px;

        width: 2px;

        border-radius: 20px;
    }

    /* background line */

    .services-process .process-row::before {
        bottom: 60px;

        background: rgba(215,171,62,.18);

        z-index: 0;
    }

    /* animated line */

    .services-process .process-row::after {
        height: 0;

        background: linear-gradient(
            180deg,
            #d8a92f,
            #f5d878,
            #d8a92f
        );

        box-shadow:
            0 0 12px rgba(229,184,67,.4);

        z-index: 1;

        transition: height 3.3s cubic-bezier(.22,.61,.36,1);
    }

    .services-process.process-start .process-row::after {
        height: calc(100% - 90px);
    }


    /* MOBILE STEP LAYOUT */

    .services-process .step {
        position: relative;

        display: grid !important;

        grid-template-columns: 58px minmax(0, 1fr) !important;

        column-gap: 20px !important;

        padding: 0 0 38px 0 !important;

        text-align: left !important;

        background: transparent !important;

        min-height: 0 !important;
    }

    .services-process .step:last-child {
        padding-bottom: 0 !important;
    }

    .services-process .step-num {
        grid-column: 1;
        grid-row: 1 / span 3;

        width: 58px !important;
        height: 58px !important;

        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .services-process .step h3 {
        grid-column: 2;

        margin:
            3px
            0
            7px !important;

        align-self: end;
    }

    .services-process .step p {
        grid-column: 2;

        margin: 0 !important;

        max-width: 100% !important;
    }
}


/* =========================================================
   REDUCED MOTION ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .services-process *,
    .services-process .process-row::after {
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================================
   SOLUTIONS PAGE — FINAL
========================================================== */


/* =========================
   HERO
========================= */

.solutions-main-hero {
    overflow: hidden;
}

.solutions-main-hero .page-hero-grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
}

.solutions-main-hero h1 {
    max-width: 680px;
}

.solutions-main-hero h1 .gold-text {
    display: block;
}

.solutions-hero-lead {
    max-width: 600px;
    margin: 24px 0 32px;
    font-size: 1.06rem;
    line-height: 1.8;
}

.solutions-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-top: 30px;
}

.solutions-hero-points span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: .9rem;
}

.solutions-hero-points i {
    color: var(--gold);
    font-size: .75rem;
}


/* Hero logo */

.solutions-logo-visual {
    position: relative;
    min-height: 460px;
}

.solutions-logo-visual img {
    position: relative;
    z-index: 2;
    width: min(480px, 90%);
    height: auto;
    object-fit: contain;
}

.solutions-logo-glow {
    position: absolute;
    width: 390px;
    height: 390px;
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(58,160,255,.22),
            rgba(123,92,255,.12) 45%,
            transparent 72%
        );

    filter: blur(20px);
}


/* =========================
   INDUSTRIES
========================= */

.solutions-industries .section-head {
    max-width: 790px;
}

.solutions-industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-industry-card {
    position: relative;
    min-height: 310px;
    padding: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(16,22,46,.82),
            rgba(10,14,28,.72)
        );

    border: 1px solid rgba(231,193,105,.15);
    border-radius: 18px;
    overflow: hidden;

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.solution-industry-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -80px;
    bottom: -90px;

    background:
        radial-gradient(
            circle,
            rgba(58,160,255,.18),
            transparent 70%
        );

    border-radius: 50%;
    pointer-events: none;
}

.solution-industry-card:hover {
    transform: translateY(-7px);
    border-color: rgba(231,193,105,.45);

    box-shadow:
        0 20px 50px rgba(0,0,0,.25);
}

.solution-card-number {
    position: absolute;
    right: 24px;
    top: 22px;

    color: rgba(231,193,105,.42);
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.solution-industry-card .card-icon {
    margin-bottom: 24px;
}

.solution-industry-card h3 {
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-size: 1.45rem;
}

.solution-industry-card p {
    margin: 0;
    line-height: 1.75;
}


/* ==========================================================
   HYBERX PARTNERSHIP
========================================================== */

.hyberx-partnership-box {
    position: relative;

    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 60px;
    align-items: center;

    padding: 65px;

    border:
        1px solid rgba(231,193,105,.22);

    border-radius: 26px;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(58,160,255,.16),
            transparent 34%
        ),
        radial-gradient(
            circle at 75% 80%,
            rgba(123,92,255,.15),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            rgba(15,21,48,.94),
            rgba(5,7,15,.96)
        );

    overflow: hidden;

    box-shadow:
        0 30px 90px rgba(0,0,0,.28);
}

.hyberx-partnership-box::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(231,193,105,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(231,193,105,.035) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    mask-image:
        radial-gradient(
            circle at 70% 50%,
            black,
            transparent 70%
        );

    pointer-events: none;
}


/* Partnership label */

.hyberx-partner-label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;

    margin-bottom: 20px;

    color: var(--text-dim);

    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.hyberx-x {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.4rem;
}

.hyberx-partnership-content {
    position: relative;
    z-index: 2;
}

.hyberx-partnership-content h2 {
    max-width: 620px;
    margin-bottom: 20px;
}

.hyberx-intro {
    max-width: 620px;
    line-height: 1.8;
    margin-bottom: 32px;
}


/* Features */

.hyberx-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 34px;
}

.hyberx-feature {
    display: flex;
    gap: 13px;
    align-items: flex-start;

    padding: 16px;

    background: rgba(255,255,255,.025);

    border:
        1px solid rgba(231,193,105,.12);

    border-radius: 13px;
}

.hyberx-feature > i {
    width: 35px;
    height: 35px;
    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--gold);

    background:
        rgba(231,193,105,.09);

    border-radius: 9px;
}

.hyberx-feature strong {
    display: block;
    color: #fff;
    font-size: .88rem;
    margin-bottom: 3px;
}

.hyberx-feature span {
    display: block;
    color: var(--text-mute);
    font-size: .77rem;
    line-height: 1.55;
}

.hyberx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* =========================
   PARTNERSHIP VISUAL
========================= */

.hyberx-partnership-visual {
    position: relative;

    min-height: 460px;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2;
}

.partner-connection {
    position: relative;
    z-index: 4;

    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.partner-brand {
    width: 180px;
    height: 180px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(5,7,15,.8);

    border:
        1px solid rgba(231,193,105,.32);

    box-shadow:
        0 0 45px rgba(58,160,255,.13);
}

.partner-astera img {
    width: 135px;
    height: auto;
    object-fit: contain;
}

.hyberx-wordmark {
    color: #fff;

    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: .06em;
}

.hyberx-wordmark span {
    color: var(--gold);
}

.partner-hyberx small {
    color: var(--text-mute);
    font-size: .52rem;
    letter-spacing: .15em;
    margin-top: 5px;
}

.partner-link {
    display: flex;
    align-items: center;
}

.partner-link span {
    width: 25px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold)
        );
}

.partner-link span:last-child {
    background:
        linear-gradient(
            90deg,
            var(--gold),
            transparent
        );
}

.partner-link div {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: var(--gold);

    background: var(--bg-1);

    border:
        1px solid rgba(231,193,105,.45);

    box-shadow:
        0 0 30px rgba(231,193,105,.2);
}


/* Orbit */

.partner-orbit {
    position: absolute;

    border-radius: 50%;

    border:
        1px solid rgba(58,160,255,.13);

    pointer-events: none;
}

.partner-orbit-one {
    width: 390px;
    height: 390px;

    animation:
        partnerRotate 25s linear infinite;
}

.partner-orbit-two {
    width: 310px;
    height: 310px;

    border-color:
        rgba(231,193,105,.13);

    animation:
        partnerRotate 18s linear infinite reverse;
}

@keyframes partnerRotate {

    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }

}


/* Status */

.partner-status {
    position: absolute;
    bottom: 35px;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 9px 16px;

    border-radius: 999px;

    background:
        rgba(5,7,15,.75);

    border:
        1px solid rgba(231,193,105,.18);

    color: var(--text-dim);

    font-size: .72rem;
    letter-spacing: .08em;
}

.partner-status span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gold);

    box-shadow:
        0 0 12px var(--gold);
}


/* ==========================================================
   WHY ASTERA
========================================================== */

.solutions-why .section-head {
    max-width: 760px;
}

.solutions-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.solution-why-card {
    position: relative;

    min-height: 280px;

    padding: 27px;

    border-radius: 17px;

    border:
        1px solid rgba(231,193,105,.15);

    background:
        rgba(16,22,46,.52);

    transition:
        transform .3s ease,
        border-color .3s ease;
}

.solution-why-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(231,193,105,.4);
}

.why-number {
    display: block;

    color:
        rgba(231,193,105,.48);

    font-family:
        var(--font-display);

    margin-bottom: 8px;
}

.solution-why-card h3 {
    margin-bottom: 10px;
}

.solution-why-card p {
    margin: 0;
    line-height: 1.7;
}


/* ==========================================================
   DELIVERY PROCESS
========================================================== */

.solution-process-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 16px;

    margin-top: 55px;
}

.solution-process-card {
    position: relative;

    padding: 28px 22px;

    min-height: 280px;

    border:
        1px solid rgba(231,193,105,.15);

    border-radius: 17px;

    background:
        linear-gradient(
            150deg,
            rgba(16,22,46,.66),
            rgba(10,14,28,.7)
        );

    transition:
        transform .3s ease,
        border-color .3s ease;
}

.solution-process-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(231,193,105,.4);
}

.solution-process-number {
    color: var(--gold);

    font-family:
        var(--font-display);

    font-size: 1.35rem;

    margin-bottom: 22px;
}

.solution-process-icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    margin-bottom: 20px;

    border-radius: 11px;

    color: var(--blue-2);

    background:
        rgba(58,160,255,.08);

    border:
        1px solid rgba(58,160,255,.2);
}

.solution-process-card h3 {
    margin-bottom: 10px;
}

.solution-process-card p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.65;
}


/* ==========================================================
   FINAL CTA
========================================================== */

.solutions-final-cta .container {
    max-width: 850px;
}

.solutions-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {

    .solutions-industry-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .solutions-why-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .solution-process-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .solution-process-card:last-child {
        grid-column: span 2;
    }

    .hyberx-partnership-box {
        padding: 50px 40px;
        gap: 35px;
    }

    .partner-brand {
        width: 145px;
        height: 145px;
    }

    .partner-astera img {
        width: 110px;
    }

}


/* ==========================================================
   TABLET / MOBILE
========================================================== */

@media (max-width: 898px) {
    .reveal.in{
        text-align: center;
    }
    .solutions-main-hero h1 {
        /* max-width: 680px; */
        text-align: center;
    }
    
    .solutions-hero-points, .hyberx-actions{
        justify-content: center;
    }
    .solutions-hero-lead{
        max-width: 100%;
        padding: 0 10px;
        text-align: center;
    }
    .solutions-main-hero .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .solutions-logo-visual {
        min-height: 340px;
        max-width: 500px;
        margin: auto;
    }

    .hyberx-partnership-box {
        grid-template-columns: 1fr;
    }

    .hyberx-partnership-visual {
        min-height: 390px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 568px) {

    .solutions-main-hero {
        padding: 60px 0;
    }

    .solutions-main-hero h1 {
        font-size: 2.2rem;
        line-height: 1.12;
    }

    .solutions-hero-lead {
        font-size: .96rem;
        line-height: 1.7;
    }

    .solutions-hero-points {
  
        gap: 10px;
    }

    .solutions-logo-visual {
        min-height: 270px;
    }


    /* industries */

    .solutions-industries,
    .solutions-why,
    .solutions-delivery-process,
    .hyberx-partnership {
        padding: 45px 0;
    }

    .solutions-industry-grid {
        grid-template-columns: 1fr;
    }

    .solution-industry-card {
        min-height: auto;
        padding: 24px;
    }


    /* partnership */

    .hyberx-partnership-box {
        padding: 35px 22px;
        border-radius: 20px;
    }

    .hyberx-features {
        grid-template-columns: 1fr;
    }

    .hyberx-actions {
        flex-direction: column;
    }

    .hyberx-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hyberx-partnership-visual {
        min-height: 430px;
    }

    .partner-connection {
        flex-direction: column;
        gap: 10px;
    }

    .partner-brand {
        width: 135px;
        height: 135px;
    }

    .partner-astera img {
        width: 100px;
    }

    .partner-link {
        flex-direction: column;
    }

    .partner-link span {
        width: 1px;
        height: 18px;

        background:
            linear-gradient(
                transparent,
                var(--gold)
            );
    }

    .partner-link span:last-child {
        background:
            linear-gradient(
                var(--gold),
                transparent
            );
    }

    .partner-orbit-one {
        width: 300px;
        height: 300px;
    }

    .partner-orbit-two {
        width: 235px;
        height: 235px;
    }

    .partner-status {
        bottom: 0;
    }


    /* why */

    .solutions-why-grid {
        grid-template-columns: 1fr;
    }

    .solution-why-card {
        min-height: auto;
    }


    /* process */

    .solution-process-grid {
        grid-template-columns: 1fr;
    }

    .solution-process-card,
    .solution-process-card:last-child {
        grid-column: auto;
        min-height: auto;
    }


    /* CTA */

    .solutions-cta-actions {
        flex-direction: column;
    }

    .solutions-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }


}


/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .partner-orbit {
        animation: none !important;
    }

}
/* ==========================================================
   ASTERA TEAM PAGE — COMPLETE CONTENT FIX
   Paste AFTER the existing Team Hero CSS
========================================================== */


/* ==========================================================
   COMMON TEAM SECTIONS
========================================================== */

.team-section {
    position: relative;
    overflow: hidden;
}

.team-section-alt {
    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(58, 160, 255, .09),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            rgba(12, 18, 42, .35),
            rgba(10, 13, 31, .12)
        );
}

.team-section .container {
    position: relative;
    z-index: 2;
}


/* ==========================================================
   SECTION HEADINGS
========================================================== */

.team-section .section-head {
    max-width: 760px;
    margin-bottom: 55px;
}

.team-section .section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.team-section .section-head h2,
.team-group-head h2 {
    margin: 0;
    line-height: 1.15;
}

.team-section .section-head p {
    max-width: 680px;
    margin: 18px auto 0;
    line-height: 1.75;
}


/* ==========================================================
   LEADERSHIP
========================================================== */

/* =========================================================
   TEAM PAGE — PREMIUM RESPONSIVE DESIGN
========================================================= */


/* =========================================================
   HERO
========================================================= */


.team-main-hero .page-hero-grid {
    grid-template-columns: 1.02fr .98fr;
    gap: 75px;
    align-items: center;
}

.team-main-hero h1 {
    max-width: 680px;
    line-height: 1.05;
}

.team-main-hero h1 .gold-text {
    display: block;
}

.team-hero-lead {
    max-width: 610px;
    margin: 24px 0 0;
    font-size: 1.05rem;
    line-height: 1.8;
}

.team-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.team-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 28px;
}

.team-hero-points span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: .88rem;
}

.team-hero-points i {
    color: var(--gold);
    font-size: .72rem;
}


/* =========================================================
   HERO COLLAGE
========================================================= */

.team-hero-visual {
    position: relative;
    min-height: 500px;
}

.team-hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(58, 160, 255, .18),
            rgba(123, 92, 255, .12) 48%,
            transparent 72%
        );

    filter: blur(24px);
}

.team-collage {
    position: relative;
    width: 100%;
    height: 500px;
}

.team-collage-card {
    position: absolute;
    overflow: hidden;

    border-radius: 24px;

    border: 1px solid rgba(231, 193, 105, .3);

    background: #0a0e1c;

    box-shadow:
        0 24px 55px rgba(0, 0, 0, .35);
}

.team-collage-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: none;
    animation: none;
}

.team-collage-main {
    width: 270px;
    height: 345px;

    left: 50%;
    top: 30px;

    transform: translateX(-50%);

    z-index: 3;
}

.team-collage-second {
    width: 190px;
    height: 240px;

    left: 0;
    top: 140px;

    transform: rotate(-5deg);

    z-index: 2;
}

.team-collage-third {
    width: 190px;
    height: 240px;

    right: 0;
    top: 140px;

    transform: rotate(5deg);

    z-index: 2;
}

.team-collage-badge {
    position: absolute;

    z-index: 5;

    left: 50%;
    bottom: 20px;

    transform: translateX(-50%);

    min-width: 225px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 18px;

    border-radius: 16px;

    background: rgba(5, 7, 15, .92);

    border: 1px solid rgba(231, 193, 105, .28);

    backdrop-filter: blur(14px);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .3);
}

.team-collage-badge i {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 10px;

    color: var(--gold);

    background: rgba(231, 193, 105, .08);
}

.team-collage-badge strong {
    display: block;

    color: #fff;
    font-size: .9rem;
}

.team-collage-badge span {
    display: block;

    margin-top: 2px;

    color: var(--text-mute);
    font-size: .72rem;
}


/* =========================================================
   SECTIONS
========================================================= */


.team-section-alt {
    background:
        linear-gradient(
            180deg,
            rgba(10, 14, 28, .1),
            rgba(15, 21, 48, .28),
            rgba(10, 14, 28, .1)
        );
}


/* =========================================================
   LEADERSHIP
========================================================= */

.team-leadership .section-head {
    max-width: 800px;
}

.team-leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.team-leader-card {
    position: relative;

    overflow: hidden;

    border-radius: 22px;

    border: 1px solid rgba(231, 193, 105, .17);

    background:
        linear-gradient(
            160deg,
            rgba(17, 24, 50, .82),
            rgba(8, 12, 27, .9)
        );

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.team-leader-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(231, 193, 105, .42);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, .28);
}

.team-leader-photo {
    position: relative;

    width: 100%;
    height: 360px;

    overflow: hidden;

    background: #0c1225;
}

.team-leader-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    transition:
        transform .6s ease;
}

.team-leader-card:hover .team-leader-photo img {
    transform: scale(1.035);
}

.team-photo-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 58%,
            rgba(5, 7, 15, .88) 100%
        );
}

.team-leader-content {
    position: relative;

    padding: 26px 26px 30px;
}

.team-member-index {
    display: block;

    margin-bottom: 9px;

    font-family: var(--font-display);

    color: rgba(231, 193, 105, .55);

    font-size: .84rem;
}

.team-leader-content h3 {
    margin-bottom: 7px;

    font-family: var(--font-display);

    font-size: 1.55rem;
}

.team-role {
    color: var(--gold);

    font-size: .88rem;
    font-weight: 600;

    line-height: 1.45;
}

.team-leader-content p {
    margin: 17px 0 0;

    font-size: .91rem;
    line-height: 1.7;
}


/* =========================================================
   GROUP HEADER
========================================================= */

.team-group-head {
    display: grid;

    grid-template-columns: 1.1fr .9fr;

    gap: 70px;

    align-items: end;

    margin-bottom: 50px;
}

.team-group-head h2 {
    max-width: 680px;
}

.team-group-head p {
    max-width: 500px;

    margin: 0 0 5px;

    line-height: 1.75;
}


/* =========================================================
   STANDARD TEAM CARDS
========================================================= */

.team-member-grid {
    display: grid;
    gap: 22px;
}

.team-grid-three {
    grid-template-columns: repeat(3, 1fr);
}

.team-grid-four {
    grid-template-columns: repeat(4, 1fr);
}

.team-grid-two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 850px;
}

.team-member-card {
    position: relative;

    overflow: hidden;

    min-width: 0;

    border-radius: 18px;

    border:
        1px solid rgba(231, 193, 105, .14);

    background:
        linear-gradient(
            155deg,
            rgba(16, 22, 46, .66),
            rgba(8, 12, 26, .75)
        );

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.team-member-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(231, 193, 105, .38);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .24);
}

.team-member-photo {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / .82;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #10172e,
            #080d1d
        );
}

.team-member-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    transition: transform .55s ease;
}

.team-member-card:hover .team-member-photo img {
    transform: scale(1.04);
}

.team-member-info {
    padding: 23px 22px 27px;
}

.team-member-info h3 {
    margin: 0 0 6px;

    font-family: var(--font-display);

    font-size: 1.35rem;
}

.team-member-info p {
    margin: 15px 0 0;

    font-size: .88rem;
    line-height: 1.7;
}


/* Engineering 4 cards */

.team-engineering-card .team-member-photo {
    aspect-ratio: 1 / .9;
}


/* =========================================================
   WHY OUR TEAM
========================================================= */

.team-strength-section {
    background:
        radial-gradient(
            circle at 20% 60%,
            rgba(58, 160, 255, .12),
            transparent 32%
        ),
        radial-gradient(
            circle at 80% 30%,
            rgba(123, 92, 255, .12),
            transparent 35%
        );
}

.team-strength-section .section-head {
    max-width: 790px;
}

.team-strength-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.team-strength-card {
    min-height: 255px;

    padding: 25px;

    border-radius: 17px;

    border:
        1px solid rgba(231, 193, 105, .14);

    background:
        rgba(15, 21, 48, .45);
}

.team-strength-icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    margin-bottom: 20px;

    border-radius: 11px;

    color: var(--gold);

    background:
        rgba(231, 193, 105, .08);

    border:
        1px solid rgba(231, 193, 105, .16);
}

.team-strength-card > span {
    display: block;

    margin-bottom: 7px;

    color:
        rgba(231, 193, 105, .5);

    font-family: var(--font-display);
}

.team-strength-card h3 {
    margin-bottom: 11px;
}

.team-strength-card p {
    margin: 0;

    font-size: .88rem;
    line-height: 1.7;
}


/* =========================================================
   CTA
========================================================= */


.team-final-cta .container {
    max-width: 850px;
}

.team-cta-actions {
    display: flex;

    justify-content: center;
    flex-wrap: wrap;

    gap: 14px;
}


/* =========================================================
   1100px
========================================================= */

@media (max-width: 1100px) {

    .team-main-hero .page-hero-grid {
        gap: 45px;
    }

    .team-leadership-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .team-grid-four {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .team-strength-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .team-leader-photo {
        height: 320px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 898px) {

    .team-main-hero {
        padding: 60px 0 70px;
    }

    .team-main-hero .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .team-hero-content {
        text-align: center;
    }

    .team-hero-content h1,
    .team-hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .team-hero-actions,
    .team-hero-points {
        justify-content: center;
    }

    .team-hero-visual {
        max-width: 580px;

        width: 100%;

        margin: auto;
    }


    .team-leadership-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .team-leader-card:last-child {
        grid-column: 1 / -1;

        max-width: 480px;

        width: 100%;

        margin: auto;
    }


    .team-grid-three {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .team-grid-three .team-member-card:last-child {
        grid-column: 1 / -1;

        max-width: 480px;

        width: 100%;
    }


    .team-group-head {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-bottom: 40px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 568px) {

    .team-main-hero {
        padding: 42px 0 55px;
    }

    .team-main-hero h1 {
        font-size: 2.2rem;
        line-height: 1.08;
    }

    .team-hero-lead {
        font-size: .94rem;
        line-height: 1.7;
    }

    .team-hero-actions {
        flex-direction: column;

        width: 100%;
    }

    .team-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .team-hero-points {
        margin: 24px auto 0;

        justify-items: start;
    }


    /* hero photos */

    .team-hero-visual {
        min-height: 350px;
    }

    .team-collage {
        height: 350px;
    }

    .team-collage-main {
        width: 170px;
        height: 220px;

        top: 20px;
    }

    .team-collage-second,
    .team-collage-third {
        width: 115px;
        height: 155px;

        top: 105px;
    }

    .team-collage-second {
        left: 2px;
    }

    .team-collage-third {
        right: 2px;
    }

    .team-collage-badge {
        bottom: 8px;

        min-width: 210px;
    }


    /* sections */

    .team-strength-section,
    .team-final-cta {
        padding: 68px 0;
    }

    .team-leadership-grid,
    .team-grid-three,
    .team-grid-four,
    .team-grid-two,
    .team-strength-grid {
        grid-template-columns: 1fr;
    }

    .team-leader-card:last-child,
    .team-grid-three .team-member-card:last-child {
        grid-column: auto;

        max-width: none;
    }


    /* leadership photos */

    .team-leader-photo {
        height: 340px;
    }


    /* normal cards */

    .team-member-photo,
    .team-engineering-card .team-member-photo {
        aspect-ratio: 1 / .86;
    }

    .team-member-info {
        padding: 21px 20px 24px;
    }

    .team-member-info h3 {
        font-size: 1.3rem;
    }

    .team-group-head {
        margin-bottom: 30px;
    }


    /* why */

    .team-strength-card {
        min-height: 0;
    }


    /* CTA */

    .team-cta-actions {
        flex-direction: column;
    }

    .team-cta-actions .btn {
        width: 100%;

        justify-content: center;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .team-main-hero h1 {
        font-size: 2rem;
    }

    .team-leader-photo {
        height: 300px;
    }

    .team-collage-main {
        width: 155px;
    }

    .team-collage-second,
    .team-collage-third {
        width: 105px;
    }

}


.hyberx-partnership{
  padding:38px 0 46px;
  position:relative;
  overflow:hidden;
}
.hyberx-partnership::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 15% 50%,rgba(231,193,105,.10),transparent 34%),
    radial-gradient(circle at 85% 50%,rgba(58,160,255,.12),transparent 34%);
  pointer-events:none;
}
.hyberx-partnership-card{
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:28px;
  align-items:center;
  padding:28px 32px;
  border:1px solid rgba(231,193,105,.22);
  border-radius:22px;
  background:
    linear-gradient(135deg,rgba(16,22,46,.88),rgba(8,12,28,.94));
  box-shadow:0 22px 55px rgba(0,0,0,.28);
  overflow:hidden;
}
.hyberx-partnership-card::after{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  right:-80px;
  top:-90px;
  border-radius:50%;
  background:rgba(58,160,255,.08);
  filter:blur(10px);
  pointer-events:none;
}
.hyberx-partnership-logos{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:max-content;
}
.hyberx-brand-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  height:56px;
}
.hyberx-brand-logo.astera img{
  width:82px;
  height:82px;
  object-fit:contain;
}
.hyberx-brand-logo.hyberx{
  min-width:150px;
  padding:9px 16px;
  border-radius:12px;
  background:#111;
}
.hyberx-brand-logo.hyberx img{
  width:118px;
  max-height:34px;
  object-fit:contain;
}
.hyberx-partnership-x{
  color:var(--gold);
  font-family:var(--font-display);
  font-size:1.5rem;
  line-height:1;
  opacity:.9;
}
.hyberx-partnership-copy{
  min-width:0;
}
.hyberx-partnership-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
  color:var(--blue-2);
  font-size:.70rem;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.hyberx-partnership-badge::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 14px rgba(231,193,105,.8);
}
.hyberx-partnership-copy h2{
  margin:0 0 7px;
  font-size:clamp(1.45rem,2.5vw,2rem);
  line-height:1.2;
}
.hyberx-partnership-copy p{
  margin:0;
  max-width:670px;
  font-size:.90rem;
  line-height:1.7;
  color:var(--text-dim);
}
.hyberx-partnership-action{
  position:relative;
  z-index:2;
}
.hyberx-partnership-action .btn{
  min-width:150px;
  justify-content:center;
}
@media(max-width:980px){
  .hyberx-partnership-card{
    grid-template-columns:1fr auto;
  }
  .hyberx-partnership-logos{
    grid-column:1/-1;
  }
}
@media(max-width:680px){
  .hyberx-partnership{
    padding:24px 0 34px;
  }
  .hyberx-partnership-card{
    grid-template-columns:1fr;
    gap:20px;
    padding:24px 20px;
    text-align:center;
  }
  .hyberx-partnership-logos{
    justify-content:center;
    min-width:0;
    flex-wrap:wrap;
  }
  .hyberx-partnership-copy p{
    margin-inline:auto;
  }
  .hyberx-partnership-action .btn{
    width:100%;
  }
}

/* ============================================================
   CONTACT PAGE — TABLET + MOBILE ISOLATED RESPONSIVE DESIGN
   Uses only .agt-contact-* classes to avoid affecting other pages.
============================================================ */


.agt-contact-hero-grid{
  align-items:center;
}
.agt-contact-hero-copy h1{
  max-width:680px;
}
.agt-contact-hero-copy p{
  margin-top:20px !important;
  max-width:560px !important;
}
.agt-contact-hero-visual{
  max-width:380px !important;
  margin:0 auto !important;
}
.agt-contact-main{
  padding:20px 0 86px !important;
}
.agt-contact-main-grid{
  align-items:start;
  gap:36px;
}
.agt-contact-form-card{
  padding:32px !important;
}
.agt-contact-form-card h2,
.agt-contact-presence > h2{
  font-size:1.8rem !important;
  margin-bottom:8px !important;
}
.agt-contact-office-card{
  overflow:visible;
}
.agt-contact-office-primary{
  border-color:rgba(231,193,105,.28);
}
.agt-contact-office-card .office-row{
  min-width:0;
}
.agt-contact-office-card .office-row span,
.agt-contact-office-card .office-row a{
  min-width:0;
  overflow-wrap:anywhere;
}
.agt-contact-location-section,
.agt-contact-reviews-section,
.agt-contact-values-section,
.agt-contact-faq-section{
  padding:82px 0;
}
.agt-contact-section-head{
  margin-bottom:42px;
}
.agt-contact-map-card{
  padding:16px !important;
  overflow:hidden;
}
.agt-contact-map-card iframe{
  display:block;
  width:100%;
  height:430px;
  border-radius:12px;
}
.agt-contact-values-section{
  padding-top:34px !important;
}
.agt-contact-faq-section .agt-contact-section-head{
  margin-bottom:34px;
}
.agt-contact-faq-card{
  margin-bottom:16px;
  padding:24px 26px;
}
.agt-contact-faq-card:last-child{
  margin-bottom:0;
}
.agt-contact-faq-card h3{
  margin-bottom:8px;
}
.agt-contact-faq-card p{
  margin:0;
}

/* TABLET — 768px to 1024px */
@media (min-width:768px) and (max-width:1024px){
  .agt-contact-hero{
    padding:70px 0 55px;
  }
  .agt-contact-hero-grid{
    grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr) !important;
    gap:34px !important;
  }
  .agt-contact-hero-visual{
    order:initial !important;
    max-width:280px !important;
  }
  .agt-contact-hero-visual > div{
    aspect-ratio:1/1 !important;
  }
  .agt-contact-hero-visual i{
    font-size:6.5rem !important;
  }
  .agt-contact-main{
    padding:10px 0 70px !important;
  }
  .agt-contact-main-grid{
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr) !important;
    gap:24px !important;
  }
  .agt-contact-form-card{
    padding:26px !important;
  }
  .agt-contact-office-card{
    padding:18px 18px;
  }
  .agt-contact-office-card .office-row{
    font-size:.84rem;
    gap:9px;
  }
  .agt-contact-testimonials-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .agt-contact-testimonials-grid .testimonial:last-child{
    grid-column:1 / -1;
    width:calc(50% - 12px);
    justify-self:center;
  }
  .agt-contact-values-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .agt-contact-map-card iframe{
    height:360px;
  }
}

/* MOBILE */
@media (max-width:767px){
  .agt-contact-hero{
    padding:30px 0 42px !important;
  }
  .agt-contact-hero-grid{
    display:flex !important;
    flex-direction:column !important;
    gap:18px !important;
  }
  .agt-contact-hero-copy{
    order:2;
    width:100%;
    text-align:center;
  }
  .agt-contact-hero-copy .kicker{
    margin-bottom:10px;
  }
  .agt-contact-hero-copy h1{
    font-size:clamp(2rem,10vw,2.75rem) !important;
    line-height:1.05 !important;
    margin-inline:auto;
  }
  .agt-contact-hero-copy p{
    margin:16px auto 0 !important;
    max-width:520px !important;
    font-size:.94rem !important;
    line-height:1.65;
  }
  .agt-contact-hero-visual{
    order:1 !important;
    width:112px !important;
    max-width:112px !important;
    aspect-ratio:1/1 !important;
    margin:0 auto !important;
  }
  .agt-contact-hero-visual > div{
    width:112px !important;
    height:112px !important;
    aspect-ratio:1/1 !important;
    border-radius:24px !important;
  }
  .agt-contact-hero-visual i{
    font-size:4.6rem !important;
  }

  .agt-contact-main{
    padding:12px 0 56px !important;
  }
  .agt-contact-main-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:34px !important;
  }
  .agt-contact-form-card{
    padding:20px !important;
    border-radius:16px;
  }
  .agt-contact-form-card h2,
  .agt-contact-presence > h2{
    font-size:1.55rem !important;
  }
  .agt-contact-form-card > p,
  .agt-contact-presence > p{
    font-size:.9rem;
    line-height:1.6;
    margin-bottom:18px !important;
  }
  .agt-contact-form-card .contact-form{
    gap:11px;
  }
  .agt-contact-form-card .form-field input,
  .agt-contact-form-card .form-field select,
  .agt-contact-form-card .form-field textarea{
    min-height:48px;
    padding:13px 44px 13px 14px;
    border-radius:11px;
    font-size:16px;
  }
  .agt-contact-form-card .form-field textarea{
    min-height:130px;
  }
  .agt-contact-form-card .btn{
    width:100%;
    justify-content:center;
  }

  .agt-contact-office-card{
    padding:18px 16px;
    margin-bottom:14px;
    border-radius:14px;
  }
  .agt-contact-office-card .flag-chip{
    font-size:.67rem;
    padding:6px 10px;
    letter-spacing:.05em;
  }
  .agt-contact-office-card .office-row{
    display:grid !important;
    grid-template-columns:20px minmax(0,1fr);
    gap:8px !important;
    align-items:start;
    padding:6px 0;
    font-size:.82rem;
    line-height:1.55;
  }
  .agt-contact-office-card .office-row i{
    width:20px;
    margin-top:4px;
  }

  .agt-contact-location-section,
  .agt-contact-reviews-section,
  .agt-contact-values-section,
  .agt-contact-faq-section{
    padding:56px 0 !important;
  }
  .agt-contact-section-head,
  .agt-contact-reviews-section .section-head{
    margin-bottom:28px !important;
  }
  .agt-contact-map-card{
    padding:10px !important;
    border-radius:15px;
  }
  .agt-contact-map-card iframe{
    height:300px;
    border-radius:10px;
  }

  .agt-contact-testimonials-grid{
    grid-template-columns:1fr !important;
    gap:16px !important;
  }
  .agt-contact-testimonials-grid .testimonial{
    padding:24px 20px 22px;
  }
  .agt-contact-testimonials-grid .testimonial .quote{
    font-size:1rem;
  }

  .agt-contact-values-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
  }
  .agt-contact-values-grid .value{
    min-height:175px;
    padding:22px 12px !important;
  }
  .agt-contact-values-grid .card-icon{
    width:46px;
    height:46px;
    margin-bottom:13px;
  }
  .agt-contact-values-grid h3{
    font-size:.95rem !important;
  }
  .agt-contact-values-grid p{
    font-size:.78rem;
    line-height:1.5;
  }

  .agt-contact-faq-card{
    padding:20px 18px !important;
    margin-bottom:12px;
    border-radius:14px;
  }
  .agt-contact-faq-card h3{
    font-size:1rem !important;
  }
  .agt-contact-faq-card p{
    font-size:.86rem;
    line-height:1.55;
  }
}

/* SMALL MOBILE */
@media (max-width:430px){
  .agt-contact-hero{
    padding-top:22px !important;
  }
  .agt-contact-hero-visual,
  .agt-contact-hero-visual > div{
    width:92px !important;
    max-width:92px !important;
    height:92px !important;
  }
  .agt-contact-hero-visual i{
    font-size:3.8rem !important;
  }
  .agt-contact-hero-copy h1{
    font-size:2rem !important;
  }
  .agt-contact-main-grid{
    gap:30px !important;
  }
  .agt-contact-form-card{
    padding:17px !important;
  }
  .agt-contact-map-card iframe{
    height:250px;
  }
  .agt-contact-values-grid{
    grid-template-columns:1fr 1fr !important;
  }
}

/* ============================================================
   PORTFOLIO PAGE — CONSOLIDATED RESPONSIVE DESIGN
   Isolated with .agt-portfolio-* classes.
============================================================ */
.agt-portfolio-hero{
  padding:190px 0 68px;
  overflow:hidden;
  background:
    radial-gradient(circle at 18% 20%,rgba(231,193,105,.11),transparent 28%),
    radial-gradient(circle at 82% 65%,rgba(58,160,255,.10),transparent 32%);
  border-bottom:1px solid rgba(231,193,105,.08);
}
.agt-portfolio-hero-inner{
  max-width:820px;
  margin-inline:auto;
}
.agt-portfolio-hero .kicker{margin-bottom:14px}
.agt-portfolio-hero h1{
  font-size:clamp(2.7rem,6vw,4.7rem);
  line-height:1.02;
  margin:0 0 18px;
}
.agt-portfolio-hero h1 span{
  background:linear-gradient(135deg,var(--gold-2),var(--gold-deep));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.agt-portfolio-hero .sub{
  max-width:650px;
  margin:0 auto;
  font-size:1.05rem;
  line-height:1.75;
}
.agt-portfolio-section{padding:58px 0 92px}

.agt-portfolio-filters{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:9px;
  flex-wrap:wrap;
  margin:0 auto 42px;
  padding:8px;
  max-width:1050px;
  border:1px solid rgba(231,193,105,.12);
  border-radius:18px;
  background:rgba(10,14,28,.58);
  backdrop-filter:blur(14px);
}
.agt-portfolio-filters button{
  appearance:none;
  border:1px solid transparent;
  border-radius:999px;
  background:transparent;
  color:var(--text-dim);
  padding:10px 16px;
  font:600 .82rem/1 var(--font-body);
  cursor:pointer;
  transition:.25s ease;
}
.agt-portfolio-filters button:hover{
  color:#fff;
  border-color:rgba(231,193,105,.22);
  background:rgba(231,193,105,.06);
}
.agt-portfolio-filters button.active{
  color:#08101f;
  border-color:transparent;
  background:linear-gradient(135deg,var(--gold-2),var(--gold-deep));
  box-shadow:0 8px 25px rgba(231,193,105,.18);
}

.agt-portfolio-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:24px !important;
  align-items:stretch;
}
.agt-portfolio-grid .portfolio-card{
  display:none;
  min-width:0;
  height:100%;
  overflow:hidden;
  border:1px solid rgba(231,193,105,.14);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(17,24,49,.82),rgba(9,13,29,.94));
  box-shadow:0 16px 45px rgba(0,0,0,.18);
  transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease;
}
.agt-portfolio-grid .portfolio-card.show{
  display:flex !important;
  flex-direction:column;
}
.agt-portfolio-grid .portfolio-card:hover{
  transform:translateY(-6px);
  border-color:rgba(231,193,105,.38);
  box-shadow:0 20px 52px rgba(0,0,0,.28);
}
.agt-portfolio-grid .card-image{
  position:relative;
  width:100%;
  height:225px;
  overflow:hidden;
  background:#0b1022;
  border-bottom:1px solid rgba(231,193,105,.10);
}
.agt-portfolio-grid .card-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 55%,rgba(5,7,15,.34));
  pointer-events:none;
}
.agt-portfolio-grid .card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .55s ease;
}
.agt-portfolio-grid .portfolio-card:hover .card-image img{transform:scale(1.035)}
.agt-portfolio-grid .card-content{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:23px 22px 22px;
}
.agt-portfolio-grid .card-content h3{
  margin:0 0 10px;
  font-family:var(--font-display);
  font-size:1.45rem;
  line-height:1.2;
}
.agt-portfolio-grid .card-content > p{
  margin:0 0 17px;
  font-size:.9rem;
  line-height:1.65;
}
.agt-portfolio-grid .portfolio-meta{
  list-style:none;
  padding:14px 0 0;
  margin:0 0 20px;
  border-top:1px solid rgba(231,193,105,.09);
}
.agt-portfolio-grid .portfolio-meta li{
  margin:7px 0;
  color:var(--text-mute);
  font-size:.79rem;
  line-height:1.45;
}
.agt-portfolio-grid .portfolio-meta strong{
  color:var(--text-dim);
  font-weight:600;
}
.agt-portfolio-grid .view-btn{
  width:100%;
  margin-top:auto;
  padding:11px 15px;
  border:1px solid rgba(231,193,105,.32);
  border-radius:10px;
  color:var(--gold-2);
  background:rgba(231,193,105,.055);
  font:600 .84rem/1.2 var(--font-body);
  cursor:pointer;
  transition:.25s ease;
}
.agt-portfolio-grid .view-btn:hover{
  color:#08101f;
  background:linear-gradient(135deg,var(--gold-2),var(--gold-deep));
  border-color:transparent;
}
.agt-portfolio-loadmore{
  display:flex;
  justify-content:center;
  margin-top:42px;
}

/* Popup */
.agt-portfolio-popup{
  position:fixed;
  inset:0;
  z-index:1000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(2,4,12,.82);
  backdrop-filter:blur(12px);
}
.agt-portfolio-popup-content{
  position:relative;
  width:min(680px,100%);
  max-height:88vh;
  overflow:auto;
  padding:18px 18px 26px;
  border:1px solid rgba(231,193,105,.28);
  border-radius:20px;
  background:linear-gradient(180deg,#111831,#080c1b);
  box-shadow:0 30px 90px rgba(0,0,0,.55);
}
.agt-portfolio-popup-content #pimg{
  width:100%;
  height:320px;
  object-fit:cover;
  border-radius:13px;
  margin-bottom:22px;
}
.agt-portfolio-popup-content #ptitle{
  padding-right:42px;
  margin:0 8px 10px;
  font-size:1.8rem;
}
.agt-portfolio-popup-content #pdesc{
  margin:0 8px 22px;
  line-height:1.7;
}
.agt-portfolio-popup-content #plink{margin-left:8px}
.agt-portfolio-popup-close{
  position:absolute;
  z-index:2;
  top:27px;
  right:27px;
  width:40px;
  height:40px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:50%;
  background:rgba(5,7,15,.86);
  color:#fff;
  font-size:1.6rem;
  line-height:1;
  cursor:pointer;
}

/* Tablet */
@media (min-width:768px) and (max-width:1024px){
  .agt-portfolio-hero{padding:82px 0 58px}
  .agt-portfolio-section{padding:48px 0 78px}
  .agt-portfolio-filters{
    justify-content:flex-start;
    flex-wrap:nowrap;
    max-width:none;
    overflow-x:auto;
    scrollbar-width:none;
    border-radius:14px;
  }
  .agt-portfolio-filters::-webkit-scrollbar{display:none}
  .agt-portfolio-filters button{flex:0 0 auto}
  .agt-portfolio-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:20px !important;
  }
  .agt-portfolio-grid .card-image{height:215px}
}

/* Mobile */
@media (max-width:767px){
  .agt-portfolio-hero{
    padding:54px 0 42px !important;
  }
  .agt-portfolio-hero .kicker{
    margin-bottom:10px;
    font-size:.68rem;
  }
  .agt-portfolio-hero h1{
    font-size:2.45rem !important;
    margin-bottom:13px;
  }
  .agt-portfolio-hero .sub{
    font-size:.9rem;
    line-height:1.6;
    padding-inline:4px;
  }
  .agt-portfolio-section{padding:34px 0 62px !important}
  .agt-portfolio-filters{
    justify-content:flex-start;
    flex-wrap:nowrap;
    overflow-x:auto;
    max-width:none;
    margin-bottom:26px;
    padding:7px;
    gap:6px;
    border-radius:13px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .agt-portfolio-filters::-webkit-scrollbar{display:none}
  .agt-portfolio-filters button{
    flex:0 0 auto;
    padding:9px 13px;
    font-size:.76rem;
  }
  .agt-portfolio-grid{
    grid-template-columns:1fr !important;
    gap:17px !important;
  }
  .agt-portfolio-grid .card-image{
    height:auto;
    aspect-ratio:16/9;
  }
  .agt-portfolio-grid .card-content{padding:19px 17px 18px}
  .agt-portfolio-grid .card-content h3{font-size:1.32rem}
  .agt-portfolio-grid .card-content > p{font-size:.86rem;margin-bottom:14px}
  .agt-portfolio-grid .portfolio-meta{margin-bottom:17px}
  .agt-portfolio-grid .portfolio-meta li{font-size:.76rem}
  .agt-portfolio-grid .view-btn{min-height:44px}
  .agt-portfolio-loadmore{margin-top:28px}
  .agt-portfolio-loadmore .btn{width:100%;justify-content:center}

  .agt-portfolio-popup{padding:14px}
  .agt-portfolio-popup-content{
    padding:12px 12px 22px;
    border-radius:16px;
  }
  .agt-portfolio-popup-content #pimg{
    height:auto;
    aspect-ratio:16/10;
    margin-bottom:18px;
  }
  .agt-portfolio-popup-content #ptitle{
    font-size:1.5rem;
    margin-inline:5px;
  }
  .agt-portfolio-popup-content #pdesc{
    margin:0 5px 18px;
    font-size:.88rem;
  }
  .agt-portfolio-popup-content #plink{
    width:calc(100% - 10px);
    margin:0 5px;
    justify-content:center;
  }
  .agt-portfolio-popup-close{
    top:20px;
    right:20px;
  }
}

/* ============================================================
   ASTERA HOME — MOTION & VIDEO RESPONSIVE PATCH
   Paste at the END of your current style.css
============================================================ */

.agt-video-work{
  overflow:hidden;
}

.agt-reel-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}

.agt-reel-card{
  position:relative;
  min-width:0;
  aspect-ratio:9/16;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(231,193,105,.16);
  background:#080c18;
  box-shadow:0 16px 42px rgba(0,0,0,.25);
  isolation:isolate;
}

.agt-reel-video{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  background:#080c18;
}

.agt-reel-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg,transparent 52%,rgba(4,6,14,.86) 100%);
}

.agt-reel-overlay{
  position:absolute;
  z-index:2;
  left:0;
  right:0;
  bottom:0;
  padding:22px 18px;
  pointer-events:none;
}

.agt-reel-overlay small{
  display:block;
  margin-bottom:5px;
  color:var(--gold-2);
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.agt-reel-overlay h3{
  margin:0;
  color:#fff;
  font-size:1.08rem;
  line-height:1.25;
}

.agt-reel-toggle{
  position:absolute;
  z-index:4;
  top:14px;
  right:14px;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  padding:0;
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  background:rgba(4,7,17,.70);
  color:#fff;
  cursor:pointer;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.agt-reel-card.is-playing .agt-reel-toggle{
  opacity:.72;
}

@media (min-width:768px) and (max-width:1100px){
  .agt-reel-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
  }
}

@media (max-width:767px){
  .agt-video-work{
    padding-left:0;
    padding-right:0;
  }

  .agt-reel-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }

  .agt-reel-card{
    width:100%;
    border-radius:15px;
  }

  .agt-reel-overlay{
    padding:17px 12px;
  }

  .agt-reel-overlay h3{
    font-size:.9rem;
  }

  .agt-reel-toggle{
    top:10px;
    right:10px;
    width:38px;
    height:38px;
  }
}

@media (max-width:430px){
  .agt-reel-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }

  .agt-reel-card{
    border-radius:12px;
  }

  .agt-reel-overlay{
    padding:14px 10px;
  }

  .agt-reel-overlay small{
    font-size:.57rem;
  }

  .agt-reel-overlay h3{
    font-size:.78rem;
  }

  .agt-reel-toggle{
    width:34px;
    height:34px;
    font-size:.78rem;
  }
}


.seo-faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.seo-faq-list .card {
    width: 100%;
}

/* ============================================================
   ASTERA MOBILE/TABLET NAVIGATION — FINAL OVERRIDE
   Keep at END of stylesheet to override older menu rules.
   ============================================================ */
@media (max-width: 860px) {
  .site-header { z-index: 100000 !important; isolation: isolate; }
  .site-header .nav-wrap { position: relative; z-index: 2; }
  .site-header .brand { position: relative; z-index: 3; min-width: 0; }
  .site-header .nav-toggle {
    display: flex !important;
    position: relative;
    z-index: 100003;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    cursor: pointer;
  }
  .site-header .main-nav {
    position: fixed !important;
    inset: 0 0 0 auto !important;
    left: auto !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: min(340px, 88vw) !important;
    max-width: none !important;
    height: 100dvh !important;
    min-height: 100vh;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 100px 26px 32px !important;
    background: #050914 !important;
    border-left: 1px solid rgba(231,193,105,.24);
    box-shadow: -22px 0 70px rgba(0,0,0,.6);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .32s ease, visibility .32s ease !important;
    z-index: 100002;
  }
  .site-header .main-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .site-header .main-nav a {
    display: block;
    width: 100%;
    padding: 15px 0 !important;
    margin: 0 !important;
    font-size: 1rem !important;
    line-height: 1.5;
    color: #e7ecf7;
    border-bottom: 1px solid rgba(231,193,105,.14);
  }
  .site-header .main-nav a.active { color: #e7c169; }
  .site-header .nav-toggle.open { position: relative; z-index: 100004; }
}
@media (max-width: 430px) {
  .site-header .main-nav { width: min(320px, 88vw) !important; padding: 90px 22px 24px !important; }
}


.agt-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.agt-project-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  padding: 28px;
  transition: transform .3s ease, border-color .3s ease;
}

.agt-project-card:hover {
  transform: translateY(-5px);
  border-color: #c8a96a;
}

.agt-project-content span {
  color: #c8a96a;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.agt-project-content h3 {
  margin: 12px 0;
  color: #fff;
  font-size: 23px;
}

.agt-project-content p {
  color: #aeb8c8;
  line-height: 1.7;
  margin-bottom: 20px;
}

.agt-project-content a {
  color: #c8a96a;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 767px) {
  .agt-project-grid {
    grid-template-columns: 1fr;
  }
}


/* Portfolio popup: keep fully visible below fixed header */
#popup.agt-portfolio-popup {
    z-index: 100001;
    padding: 20px;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}

#popup .agt-portfolio-popup-content {
    position: relative;
    top: auto;
    margin: auto;
    width: min(680px, 100%);
    max-width: 680px;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

#popup .agt-portfolio-popup-content #pimg {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

@media (max-width: 600px) {
    #popup.agt-portfolio-popup {
        padding: 12px;
    }

    #popup .agt-portfolio-popup-content {
        max-height: calc(100dvh - 24px);
    }

    #popup .agt-portfolio-popup-content #pimg {
        height: 190px;
    }
    .hero-actions{
        flex-direction: column;
    }
    .section + .section{
        padding-top:35px;
    }
}


/* Website Development Project Previews */

.agt-project-card {
  padding: 0;
  overflow: hidden;
}

.agt-project-preview {
  background: #101b31;
  overflow: hidden;
}

.agt-browser-bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 15px;
  background: #19243a;
}

.agt-browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #78849a;
}

.agt-project-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: top;
  transition: transform .4s ease;
}

.agt-project-card:hover .agt-project-preview img {
  transform: scale(1.035);
}

.agt-project-content {
  padding: 25px 28px 30px;
}

@media (max-width: 767px) {
  .agt-project-content {
    padding: 22px;
  }
}

/* Website Development Hero Description */

.service-hero-description {
    max-width: 760px;
    margin: 20px auto 28px;
}

.service-hero-description p {
    margin: 0 0 12px;
    line-height: 1.8;
    color: #aeb8c8;
}

.service-hero-description p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .service-hero-description {
        margin: 18px auto 24px;
    }
    .service-hero{
        padding: 130px 0 100px;
    }
    .service-hero-description p {
        line-height: 1.7;
        margin-bottom: 12px;
    }
}
