/* ============================================================
   AlgoCloud Software — style.css
   Palette: navy blue · white · cyan/indigo accents
   ============================================================ */

:root {
  --navy-900: #060f2a;
  --navy-800: #0a1a3f;
  --navy-700: #122554;
  --navy-600: #1b3570;
  --blue-500: #2b5bd7;
  --accent:   #2dd4bf;   /* teal */
  --accent-2: #6366f1;   /* indigo */
  --cyan:     #22d3ee;

  --ink:      #0f172a;
  --body:     #475069;
  --muted:    #7a8399;
  --line:     #e5e9f2;
  --bg:       #ffffff;
  --bg-soft:  #f5f7fc;
  --white:    #ffffff;

  --radius:   16px;
  --radius-sm:10px;
  --shadow-sm: 0 1px 3px rgba(10,26,63,.06), 0 1px 2px rgba(10,26,63,.04);
  --shadow:    0 10px 30px rgba(10,26,63,.08);
  --shadow-lg: 0 24px 60px rgba(10,26,63,.16);
  --ring:      0 0 0 4px rgba(45,212,191,.18);

  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; font-weight: 700; letter-spacing: -.02em; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--accent-2));
  color: #fff; box-shadow: 0 8px 20px rgba(43,91,215,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(43,91,215,.36); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-500); transform: translateY(-2px); background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--navy-800); box-shadow: var(--shadow); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(255,255,255,.9); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 106px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { height: 90px; width: auto; display: block; }
.brand-mark { border-radius: 9px; }
.brand-text-accent { color: var(--blue-500); font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--navy-700);
  padding: 9px 14px; border-radius: 10px; position: relative; transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--blue-500); background: var(--bg-soft); }
.nav-link.active { color: var(--blue-500); }
.nav-link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--accent)); border-radius: 2px;
}
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(28px, 3.5vw, 48px) 0; }
.section-alt { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 14px;
}
.eyebrow.light { color: var(--accent); }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.section-title.light { color: #fff; }
.section-head { max-width: 680px; margin: 0 auto clamp(20px, 2.5vw, 32px); text-align: center; }
.section-subtitle { font-size: 1.08rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(20px, 2.5vw, 36px) 0 clamp(36px, 5vw, 64px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #f3f6fe 0%, #ffffff 70%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.orb-1 { width: 520px; height: 520px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(99,102,241,.5), transparent 70%); }
.orb-2 { width: 460px; height: 460px; bottom: -180px; left: -140px; background: radial-gradient(circle, rgba(45,212,191,.45), transparent 70%); }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(10,26,63,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(10,26,63,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-title { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(120deg, var(--blue-500), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.15rem; color: var(--body); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-trust { display: flex; align-items: center; gap: 22px; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy-800); }
.trust-item span { font-size: .82rem; color: var(--muted); }
.trust-divider { width: 1px; height: 34px; background: var(--line); }

/* Hero visual */
.hero-visual { position: relative; }
.visual-card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px; border: 1px solid rgba(255,255,255,.08);
}
.vc-header { display: flex; align-items: center; gap: 7px; padding: 4px 6px 14px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f56; } .dot-y { background: #ffbd2e; } .dot-g { background: #27c93f; }
.vc-title { margin-left: 10px; font-size: .78rem; color: #8ea0cc; font-family: var(--font-head); }
.vc-code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: .86rem; line-height: 1.7; color: #d7e0f5; white-space: pre-wrap;
  padding: 6px 8px 4px; margin: 0;
}
.c-key { color: #c792ea; } .c-fn { color: #82aaff; } .c-prop { color: #7fdbca; } .c-str { color: #c3e88d; } .c-cmt { color: #5f7194; font-style: italic; }

.card-float { animation: floaty 6s var(--ease) infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.float-badge {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: var(--navy-800); font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  padding: 9px 14px; border-radius: 999px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.badge-ai { top: 8px; left: -24px; color: var(--accent-2); animation: floaty 5s var(--ease) infinite; }
.badge-cloud { bottom: 18px; right: -18px; color: var(--accent); animation: floaty 7s var(--ease) infinite reverse; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-image {
  position: relative; aspect-ratio: 4/3.4; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600)); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.world-map-wrap { aspect-ratio: auto; background: var(--navy-900); }
.world-map-img { width: 100%; height: auto; display: block; }

.map-pin { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.map-pin i {
  display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(45,212,191,.6); animation: pinPulse 2.4s ease-out infinite;
}
.map-pin b {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
  font-family: var(--font-head); font-weight: 700; font-size: .78rem; color: #fff; white-space: nowrap;
  background: rgba(10,26,63,.72); padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(94,234,212,.4);
  backdrop-filter: blur(4px);
}
.map-pin.pin-right b { left: calc(100% + 10px); bottom: auto; top: 50%; transform: translateY(-50%); }
.map-pin.pin-below b { bottom: auto; top: calc(100% + 8px); }
.map-pin:nth-of-type(3) i { background: var(--cyan); }
.map-pin:nth-of-type(4) i { background: var(--accent-2); }
.map-pin:nth-of-type(2) i { animation-delay: .5s; }
.map-pin:nth-of-type(3) i { animation-delay: 1s; }
.map-pin:nth-of-type(4) i { animation-delay: 1.5s; }
.map-pin:nth-of-type(5) i { animation-delay: 2s; }
@keyframes pinPulse {
  0% { box-shadow: 0 0 0 0 rgba(45,212,191,.6); }
  70% { box-shadow: 0 0 0 16px rgba(45,212,191,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,212,191,0); }
}
.about-stat-badge {
  position: absolute; bottom: -22px; right: -14px; background: #fff; border-radius: var(--radius-sm);
  padding: 16px 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); text-align: center;
}
.about-stat-badge strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--blue-500); }
.about-stat-badge span { font-size: .82rem; color: var(--muted); }
.about-content p { margin-bottom: 16px; }
.about-points { margin: 24px 0 28px; display: grid; gap: 12px; }
.about-points li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.check { color: var(--accent); flex-shrink: 0; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--blue-500), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(43,91,215,.12), rgba(45,212,191,.14)); color: var(--blue-500);
}
.service-title { font-size: 1.25rem; margin-bottom: 10px; }
.service-desc { color: var(--body); font-size: .96rem; margin-bottom: 18px; }
.divider { border: 0; height: 1px; background: var(--line); margin: 0 0 18px; }
.service-list { display: grid; gap: 10px; }
.service-list li { position: relative; padding-left: 22px; font-size: .94rem; color: var(--ink); font-weight: 500; }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--accent));
}
.service-cta {
  background: linear-gradient(155deg, var(--navy-800), var(--navy-700)); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 14px; border: 0;
}
.service-cta .service-title { color: #fff; }
.service-cta .service-desc { color: #c3cce4; }
.service-cta::before { display: none; }
.service-cta .btn { align-self: flex-start; }

/* ---------- Industries ---------- */
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.industry-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px;
  padding: 28px; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; cursor: pointer; border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  text-align: left; width: 100%; font: inherit;
}
.industry-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 80% 15%, var(--ic, rgba(45,212,191,.35)), transparent 60%);
  opacity: .9; transition: opacity .3s;
}
.industry-card > * { position: relative; z-index: 1; }
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.industry-card:hover::after { opacity: 1; }
.industry-ic {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; margin-bottom: auto;
  background: rgba(255,255,255,.12); backdrop-filter: blur(4px); color: #fff;
}
.industry-card h3 { color: #fff; font-size: 1.22rem; margin: 18px 0 8px; }
.industry-card p { color: #cdd6ee; font-size: .92rem; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.explore-link {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600;
  font-size: .9rem; color: var(--accent);
}
.explore-link svg { transition: transform .25s; }
.industry-card:hover .explore-link svg { transform: translateX(4px); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(6,15,42,.6); backdrop-filter: blur(4px); animation: fade .3s; }
.modal-panel {
  position: relative; background: #fff; border-radius: var(--radius); max-width: 640px; width: 100%;
  max-height: 88vh; overflow-y: auto; padding: 36px; box-shadow: var(--shadow-lg);
  animation: pop .35s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); display: grid; place-items: center; transition: background .2s, transform .2s;
}
.modal-close:hover { background: var(--bg-soft); transform: rotate(90deg); }
.modal-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; padding-right: 36px; }
.modal-icon {
  width: 60px; height: 60px; border-radius: 15px; flex-shrink: 0; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--accent-2));
}
.modal-title { font-size: 1.5rem; margin-bottom: 6px; }
.modal-desc { color: var(--body); font-size: .98rem; }
.modal-sub { font-family: var(--font-head); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 14px; }
.modal-solutions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.modal-solutions li { position: relative; padding-left: 26px; font-size: .95rem; color: var(--ink); }
.modal-solutions li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 5px;
  background: linear-gradient(135deg, rgba(43,91,215,.18), rgba(45,212,191,.22));
  box-shadow: inset 0 0 0 2px rgba(43,91,215,.3);
}
.modal-foot { display: flex; flex-wrap: wrap; gap: 12px; }
body.modal-lock { overflow: hidden; }

/* ---------- Why Choose Us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--accent-2));
}
.why-card h3 { font-size: 1.14rem; margin-bottom: 8px; }
.why-card p { font-size: .95rem; color: var(--body); }

/* ---------- Stats ---------- */
.stats-section { position: relative; background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); overflow: hidden; }
.stats-bg { position: absolute; inset: 0; }
.stats-bg .grid-overlay { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 46px 46px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stat { padding: 20px; }
.stat-num {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.2rem);
  background: linear-gradient(120deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat-text { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.stat-label { color: #b9c4e2; font-family: var(--font-head); font-weight: 500; margin-top: 10px; letter-spacing: .02em; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-500), var(--accent-2));
  padding: clamp(56px, 8vw, 90px) 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 50%); }
.cta-inner { position: relative; max-width: 720px; margin-inline: auto; }
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 3.8vw, 2.6rem); margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,.92); font-size: 1.08rem; margin-bottom: 30px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-intro p { margin-bottom: 28px; }
.contact-details { display: grid; gap: 20px; }
.contact-details li { display: flex; gap: 16px; align-items: center; }
.ci {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; color: var(--blue-500);
  background: linear-gradient(135deg, rgba(43,91,215,.12), rgba(45,212,191,.14));
}
.ci-label { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-details a, .contact-details div > span:not(.ci-label) { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.contact-details a:hover { color: var(--blue-500); }

.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .96rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: var(--ring); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e2514a; box-shadow: 0 0 0 4px rgba(226,81,74,.12); }
.error { color: #e2514a; font-size: .82rem; min-height: 0; }
.form-note { font-size: .92rem; text-align: center; margin-top: 4px; min-height: 20px; }
.form-note.success { color: #0ea371; font-weight: 600; }
.form-note.error-note { color: #e2514a; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c4e2; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand-text-accent { color: var(--accent); }
.footer-logo { height: 50px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .94rem; color: #94a1c6; margin-bottom: 12px; max-width: 320px; }
.footer-estd { font-size: .85rem !important; color: #6d7ba3 !important; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-contact li { font-size: .92rem; color: #94a1c6; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer-bottom p { font-size: .88rem; color: #6d7ba3; text-align: center; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; width: 48px; height: 48px; border-radius: 50%; z-index: 90;
  background: linear-gradient(135deg, var(--blue-500), var(--accent-2)); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, visibility .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 460px; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-media { max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid, .industries-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 76px; }
  .nav-wrap { height: 76px; }
  .brand-logo { height: 60px; }
  .main-nav {
    position: fixed; inset: 76px 0 auto; background: #fff; flex-direction: column; align-items: stretch;
    gap: 4px; padding: 16px 24px 28px; box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .35s var(--ease); max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-link { padding: 13px 14px; font-size: 1rem; }
  .nav-link.active::after { display: none; }
  .nav-cta { margin: 10px 0 0; text-align: center; }
  .nav-toggle { display: flex; }
  .hero-trust { flex-wrap: wrap; gap: 16px; }
  .stats-grid { grid-template-columns: 1fr; gap: 10px; }
  .modal-solutions { grid-template-columns: 1fr; }
  .modal-panel { padding: 28px 22px; }
}

@media (max-width: 600px) {
  .container { padding-inline: 18px; }
  .services-grid, .industries-grid, .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .about-stat-badge { right: 0; }
  .float-badge { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
