/*
Theme Name: WizAI Theme
Author: Surur Digital
Version: 1.0
*/


:root {
  --ink: #101820;
  --muted: #5e6874;
  --paper: #f7f8f4;
  --white: #ffffff;
  --teal: #148fd7;
  --cobalt: #0057d8;
  --accent: #12b8f4;
  --blue-mid: #2b78e4;
  --line: rgba(16, 24, 32, 0.12);
  --shadow: 0 24px 60px rgba(16, 24, 32, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: clamp(132px, 16vw, 188px);
  height: 52px;
  object-fit: contain;
  object-position: left center;
  border-radius: 6px;
  transition: transform 180ms ease, filter 180ms ease;
}

.brand:hover .brand-logo {
  filter: drop-shadow(0 10px 18px rgba(39, 88, 216, 0.22));
  transform: translateY(-2px) scale(1.02);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--cobalt);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover {
  color: var(--cobalt);
  transform: translateY(-2px);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(20px, 5vw, 72px) 72px;
  color: var(--white);
}

.hero::before,
.split::before {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 184, 244, 0.34), rgba(18, 184, 244, 0));
  content: "";
  filter: blur(12px);
  pointer-events: none;
  animation: bluePulse 6s ease-in-out infinite alternate;
}

.hero::before {
  right: 8%;
  bottom: 8%;
  z-index: 1;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 14, 22, 0.9) 0%, rgba(7, 14, 22, 0.68) 42%, rgba(7, 14, 22, 0.22) 100%),
    linear-gradient(0deg, rgba(7, 14, 22, 0.45), rgba(7, 14, 22, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
}

.hero-content > * {
  animation: fadeUp 700ms ease both;
}

.hero-content > *:nth-child(2) {
  animation-delay: 90ms;
}

.hero-content > *:nth-child(3) {
  animation-delay: 180ms;
}

.hero-content > *:nth-child(4) {
  animation-delay: 270ms;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.seo-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero-title {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.hero-copy {
  width: min(610px, 100%);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(16, 24, 32, 0.18);
}

.button.primary {
  background: var(--cobalt);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.button.secondary:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.metrics div {
  min-height: 128px;
  padding: 28px clamp(18px, 4vw, 40px);
  border-right: 1px solid var(--line);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.metrics div:hover {
  background: #f5fbfb;
  box-shadow: inset 0 4px 0 var(--teal);
  transform: translateY(-4px);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.metrics span,
.service-card p,
.split p,
.cta p {
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  color: var(--ink);
  font-weight: 800;
}

.contact-details a,
.contact-details address {
  display: block;
  max-width: 560px;
  margin: 0;
  border-left: 4px solid var(--teal);
  padding: 10px 0 10px 14px;
  font-style: normal;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-details a:hover,
.contact-details address:hover {
  border-left-color: var(--accent);
  color: var(--cobalt);
  transform: translateX(6px);
}

.section,
.cta {
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: 20px;
  align-items: stretch;
}

.service-visual {
  position: sticky;
  top: 96px;
  align-self: start;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--ink);
  box-shadow: none;
  isolation: isolate;
}

.service-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 87, 216, 0), rgba(0, 87, 216, 0.42)),
    linear-gradient(90deg, rgba(16, 24, 32, 0.44), rgba(16, 24, 32, 0.04));
  content: "";
  pointer-events: none;
  z-index: 1;
}

.service-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.9;
  transition: transform 700ms ease;
}

.service-visual:hover img {
  transform: scale(1.045);
}

.service-visual figcaption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  color: var(--white);
}

.service-visual figcaption span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-visual figcaption strong {
  display: block;
  max-width: 420px;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.service-card {
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 35px rgba(16, 24, 32, 0.06);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: rgba(10, 143, 138, 0.28);
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(16, 24, 32, 0.12);
}

.service-card:nth-child(2) {
  animation-delay: 80ms;
}

.service-card:nth-child(3) {
  animation-delay: 160ms;
}

.service-card:nth-child(4) {
  animation-delay: 240ms;
}

.service-card:nth-child(5) {
  animation-delay: 320ms;
}

.service-card:nth-child(6) {
  animation-delay: 400ms;
}

.service-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 8px;
  background: rgba(10, 143, 138, 0.12);
  color: var(--teal);
  font-weight: 900;
  transition: transform 180ms ease;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.service-card:hover .service-icon {
  transform: rotate(-3deg) scale(1.08);
}

.service-card:nth-child(2) .service-icon {
  background: rgba(39, 88, 216, 0.12);
  color: var(--cobalt);
}

.service-card:nth-child(3) .service-icon {
  background: rgba(43, 120, 228, 0.12);
  color: var(--blue-mid);
}

.service-card:nth-child(4) .service-icon {
  background: rgba(18, 184, 244, 0.14);
  color: var(--cobalt);
}

.service-card:nth-child(5) .service-icon {
  background: rgba(16, 24, 32, 0.1);
  color: var(--ink);
}

.service-card:nth-child(6) .service-icon {
  background: rgba(0, 87, 216, 0.12);
  color: var(--cobalt);
}

.split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(32px, 7vw, 96px);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.split::before {
  top: -120px;
  right: -60px;
}

.split > * {
  position: relative;
  z-index: 1;
}

.split p {
  font-size: 1.06rem;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.timeline div:hover {
  border-color: rgba(18, 184, 244, 0.5);
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(6px);
}

.timeline span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-weight: 850;
}

.timeline p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.industries {
  background: #eef3ef;
}

.why {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.why-grid article {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: linear-gradient(180deg, #ffffff, #f5fbff);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.why-grid article:hover {
  border-color: rgba(0, 87, 216, 0.32);
  box-shadow: 0 18px 44px rgba(0, 87, 216, 0.12);
  transform: translateY(-6px);
}

.why-grid span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--cobalt);
  font-weight: 900;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.industry-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--white);
  font-weight: 750;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.industry-list span:hover {
  border-color: rgba(39, 88, 216, 0.32);
  background: var(--cobalt);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(39, 88, 216, 0.18);
  transform: translateY(-4px);
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.7fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: start;
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(16, 24, 32, 0.2);
}

.location-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  min-height: 440px;
  background: var(--ink);
  color: var(--white);
}

.location-copy {
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 72px);
}

.location-copy p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
}

.location-band iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: saturate(0.9) contrast(1.05);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(10, 143, 138, 0.16);
  transform: translateY(-2px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal-left.is-visible,
.reveal-right.is-visible {
  transform: translateX(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bluePulse {
  from {
    opacity: 0.45;
    transform: translate3d(0, 0, 0) scale(0.92);
  }

  to {
    opacity: 0.9;
    transform: translate3d(-24px, 18px, 0) scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-showcase,
  .why-grid,
  .location-band {
    grid-template-columns: 1fr;
  }

  .service-visual {
    position: relative;
    top: auto;
  }

  .service-visual img {
    min-height: 360px;
  }

  .split,
  .cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-logo {
    width: 132px;
    height: 44px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 18px;
    display: none;
    width: min(280px, calc(100vw - 36px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-logo {
    width: 132px;
    height: 44px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 18px;
    display: none;
    width: min(260px, calc(100vw - 36px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 86svh;
    padding-top: 100px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(7, 14, 22, 0.92), rgba(7, 14, 22, 0.58));
  }

  .metrics,
  .service-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .metrics div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

.site-footer {
    padding: 80px 5%;
    background: #0d0d0d;
    color: #ffffff;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
    width: 180px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 18px rgba(255,255,255,0.18));
}

.logo-color {
    display: none;
}

.site-header.is-scrolled .logo-white {
    display: none;
}

.site-header.is-scrolled .logo-color {
    display: block;
}