:root {
  --ink: #092033;
  --muted: #5d6d7a;
  --blue-950: #041b2d;
  --blue-900: #062f4f;
  --blue-800: #053b63;
  --blue-700: #0d5b7f;
  --cyan: #00aad4;
  --cyan-dark: #008eb2;
  --cyan-soft: #e8f8fc;
  --cyan-line: #bdebf5;
  --line: #d9e5ec;
  --surface: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(4, 27, 45, .16);
  --soft-shadow: 0 10px 28px rgba(4, 27, 45, .08);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: #fbfdfe;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3 { margin: 0; line-height: 1.05; color: var(--ink); letter-spacing: 0; }
h1 { font-size: clamp(2.8rem, 7.4vw, 5.7rem); max-width: 11ch; font-weight: 900; }
h2 { font-size: clamp(1.85rem, 4vw, 3.25rem); font-weight: 850; }
h3 { font-size: 1.08rem; font-weight: 850; }
ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }

.container { width: min(1280px, calc(100% - 36px)); margin: 0 auto; }
.skip-link {
  position: absolute; left: 16px; top: -120px; z-index: 20;
  background: var(--cyan); color: var(--blue-950); padding: 8px 12px; border-radius: 4px;
  transition: top .16s ease;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(0,170,212,.18);
  box-shadow: 0 10px 30px rgba(4, 27, 45, .06);
  backdrop-filter: blur(18px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { display: block; width: 182px; height: auto; }
.footer-logo { width: 160px; }
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 8px;
  color: var(--white); background: linear-gradient(135deg, var(--blue-800), var(--cyan));
  font-weight: 800; font-size: 1.35rem;
}
.brand strong { display: block; font-size: 1.15rem; color: var(--blue-900); }
.brand small { display: block; color: var(--muted); font-size: .72rem; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  position: relative;
  padding: 10px 12px; border-radius: 6px; color: var(--blue-900);
  font-size: .9rem; font-weight: 800;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: transparent; color: var(--blue-950); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--white); border-radius: 6px; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--blue-900); }

.section { padding: 96px 0; }
.section.alt { background: linear-gradient(180deg, #f7fbfd 0%, #edf7fb 100%); }
.section.dark {
  background:
    linear-gradient(135deg, rgba(0,170,212,.08), transparent 34%),
    linear-gradient(180deg, #031624 0%, var(--blue-950) 100%);
  color: var(--white);
}
.section.dark h2, .section.dark h3, .section.dark .eyebrow { color: var(--white); }
.section.dark p, .section.dark li { color: #c7d8e2; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: end; margin-bottom: 34px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px; color: var(--cyan); font-weight: 900; text-transform: uppercase; font-size: .76rem;
  letter-spacing: .08em;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.lead { font-size: 1.1rem; color: #476170; }

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: end;
  padding: 104px 0 54px;
  overflow: hidden;
  background: var(--blue-950) url("/intuitigo/assets/img/intuitigo-industrial-technology-hero.webp") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 17, 29, .94) 0%, rgba(4, 27, 45, .76) 45%, rgba(4, 27, 45, .16) 100%),
    linear-gradient(0deg, rgba(3, 17, 29, .92) 0%, rgba(4, 27, 45, .06) 48%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan), transparent 72%);
}
.hero-grid { position: relative; z-index: 1; display: block; }
.hero-copy { max-width: 880px; }
.hero-copy h1, .hero-copy .eyebrow { color: var(--white); }
.hero-copy h1 {
  max-width: 15.5ch;
  font-size: clamp(2.6rem, 5.8vw, 4.75rem);
  text-shadow: 0 20px 52px rgba(0,0,0,.36);
}
.hero-copy p { max-width: 700px; color: #d8e8ef; font-size: 1.2rem; margin: 26px 0; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.hero-rail span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.2);
  border-left-color: var(--cyan);
  background: rgba(4, 27, 45, .42);
  color: #e8f6fb;
  border-radius: 4px;
  font-size: .84rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.metric-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  width: min(720px, 100%);
  margin-top: 28px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}
.metric { padding: 20px; background: rgba(4, 27, 45, .68); }
.metric strong { display: block; color: var(--cyan); font-size: 1.65rem; line-height: 1; }
.metric span { display: block; color: #d8e8ef; font-size: .82rem; margin-top: 7px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px; border-radius: 5px; border: 1px solid transparent;
  background: var(--cyan); color: var(--blue-950); font-weight: 900;
  box-shadow: 0 12px 28px rgba(0, 170, 212, .24);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { background: var(--cyan-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 16px 34px rgba(0, 142, 178, .28); }
.button.secondary { background: var(--white); color: var(--blue-900); border-color: var(--line); }
.button.secondary:hover { background: var(--cyan-soft); color: var(--blue-950); }
.button.dark { background: var(--blue-900); color: var(--white); }

.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(3, 1fr); }
.grid.four .service-card { grid-column: span 1; }
.card {
  background: var(--white); border: 1px solid rgba(0,170,212,.14); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--soft-shadow);
}
.card.dark-card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.13); box-shadow: none; }
.card img { border-radius: var(--radius); margin-bottom: 18px; background: var(--surface); }
.service-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(4, 27, 45, .1);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 24px 58px rgba(4, 27, 45, .16); border-color: rgba(0,170,212,.34); }
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-radius: 0; margin: 0; filter: saturate(1.04) contrast(1.02); }
.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: var(--cyan);
}
.service-card-body { padding: 22px; }
.service-card h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.feature-photo {
  display: block;
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.image-stack { position: relative; min-height: 520px; }
.image-stack img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.image-stack img:first-child { inset: 0 auto auto 0; width: 72%; height: 72%; }
.image-stack img:last-child { right: 0; bottom: 0; width: 58%; height: 54%; border: 8px solid var(--white); }
.icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px;
  border-radius: 8px; background: var(--cyan-soft); color: var(--cyan-dark); font-weight: 900;
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.panel {
  position: relative;
  padding: 34px; border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0,170,212,.16), transparent 40%),
    var(--blue-900);
  color: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--cyan);
}
.panel h2, .panel h3 { color: var(--white); }
.panel p, .panel li { color: #d2e5ee; }
.split h2 + .check-list,
.split .lead + .check-list,
.split h2 + .lead,
.split h2 + p {
  margin-top: 20px;
}
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .48em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--cyan); box-shadow: inset 0 0 0 4px rgba(255,255,255,.55);
}

.banner {
  position: relative;
  overflow: hidden;
  padding: 48px; border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(4,27,45,.96), rgba(6,47,79,.9)),
    url("/intuitigo/assets/img/carousel-1.jpg") center / cover no-repeat;
  color: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 28px;
  box-shadow: var(--shadow);
}
.banner::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--cyan); }
.banner > * { position: relative; z-index: 1; }
.banner h2 { color: var(--white); }
.banner h2 + p { margin-top: 16px; }
.banner p { color: #d5e8ef; max-width: 620px; }
.banner .button {
  flex: 0 0 auto;
  min-width: 150px;
  background: var(--cyan);
  color: var(--blue-950);
  border-color: var(--cyan);
}
.banner .button:hover {
  background: var(--white);
  color: var(--blue-950);
  border-color: var(--white);
}

.page-hero { padding: 82px 0; background: linear-gradient(180deg, #f8fcfd, #edf8fb); }
.page-hero.photo {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--blue-950) var(--page-image, url("/intuitigo/assets/img/bg.jpg")) center / cover no-repeat;
}
.page-hero.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,17,29,.9), rgba(4,27,45,.42)), linear-gradient(0deg, rgba(3,17,29,.9), rgba(4,27,45,.1));
}
.page-hero.photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), transparent 70%);
}
.page-hero.photo .container { position: relative; z-index: 1; }
.page-hero.photo h1, .page-hero.photo .eyebrow { color: var(--white); }
.page-hero.photo p { color: #d8e8ef; }
.page-hero h1 { max-width: 13ch; }
.page-hero p { max-width: 760px; font-size: 1.16rem; margin-top: 22px; }

.contact-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 34px; align-items: start; }
.form {
  background: var(--white); border: 1px solid rgba(0,170,212,.18); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.field { display: grid; gap: 7px; margin-bottom: 16px; }
label { font-weight: 800; color: var(--blue-900); font-size: .92rem; }
input, select, textarea {
  width: 100%; min-height: 48px; border: 1px solid #cbd9e1; border-radius: 6px;
  padding: 11px 12px; font: inherit; color: var(--ink); background: var(--white);
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(0,170,212,.24); border-color: var(--cyan); }
input.is-invalid, select.is-invalid, textarea.is-invalid { border-color: #b42318; }
input.is-invalid:focus, select.is-invalid:focus, textarea.is-invalid:focus { outline-color: rgba(180,35,24,.18); }
.field-error {
  min-height: 1.2em;
  color: #b42318;
  font-size: .82rem;
  font-weight: 700;
}
.hidden-field { position: absolute; left: -9999px; opacity: 0; }
.notice { padding: 14px 16px; border-radius: 6px; margin-bottom: 18px; font-weight: 700; }
.notice.success { background: var(--cyan-soft); color: var(--blue-900); }
.notice.error { background: #fff1f0; color: #9d2b23; }

.site-footer {
  background:
    linear-gradient(135deg, rgba(0,170,212,.08), transparent 38%),
    #031624;
  color: var(--white); padding: 64px 0 26px;
}
.footer-grid { display: grid; grid-template-columns: 1.35fr .72fr .9fr 1fr; gap: 34px; }
.footer-grid h2 { color: var(--white); font-size: .86rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid p, .footer-grid a, .footer-bottom { color: #bfd2dc; font-size: .94rem; }
.footer-grid a { display: block; margin-bottom: 8px; transition: color .18s ease; }
.footer-grid a:hover { color: var(--cyan); }
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 5px;
  background: rgba(255,255,255,.06);
  color: #d7e8f0;
}
.social-links a:hover { border-color: rgba(0,170,212,.7); color: var(--cyan); }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }
.panel-social { margin: -8px 0 18px; }
.panel-social a { background: rgba(255,255,255,.08); }
.footer-brand { margin-bottom: 16px; }
.footer-brand strong { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.12);
}

@media (max-width: 900px) {
  .header-inner { min-height: 68px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 16px; right: 16px; top: 76px;
    display: none; flex-direction: column; align-items: stretch;
    background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 8px; box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .section-head, .split, .contact-layout { grid-template-columns: 1fr; }
  .grid.two, .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); }
  .banner { align-items: flex-start; flex-direction: column; }
  .image-stack { min-height: 430px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1280px); }
  .section { padding: 58px 0; }
  .hero { min-height: 560px; padding: 82px 0 36px; background-position: center; }
  .hero::before { background: linear-gradient(90deg, rgba(4, 27, 45, .94), rgba(4, 27, 45, .62)); }
  .brand small { display: none; }
  .grid.two, .grid.three, .grid.four, .metric-strip { grid-template-columns: 1fr; }
  .feature-photo { min-height: 300px; }
  .image-stack { min-height: auto; display: grid; gap: 12px; }
  .image-stack img { position: static; width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; border: 0 !important; }
  .banner { padding: 26px; }
  .banner .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
