:root {
  color-scheme: light;
  --ink: #10131d;
  --muted: #5a6172;
  --line: #dfe5ea;
  --paper: #f7fafc;
  --white: #ffffff;
  --cyan: #00a9c7;
  --teal: #0f766e;
  --coral: #ff6b4a;
  --lime: #b8ee4b;
  --navy: #111827;
  --shadow: 0 24px 80px rgba(16, 19, 29, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 169, 199, 0.16), transparent 22rem),
    linear-gradient(180deg, #f8fbfd 0%, #eef6f5 44%, #ffffff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(223, 229, 234, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.signal-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--coral));
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 169, 199, 0.28);
}

.site-nav {
  gap: 8px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(0, 169, 199, 0.1);
}

.nav-toggle {
  display: none;
  border: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 74px);
  padding: clamp(56px, 7vw, 96px) clamp(18px, 4vw, 56px) 48px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 860px;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-text,
.page-hero p,
.intro-grid > p,
.contact-section > div p,
.detail-copy p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), #165e69 55%, var(--coral));
  box-shadow: 0 18px 44px rgba(16, 19, 29, 0.22);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line);
}

.signal-row {
  flex-wrap: wrap;
  gap: 10px;
}

.signal-row span {
  padding: 8px 10px;
  border: 1px solid rgba(16, 19, 29, 0.12);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  animation: liftIn 800ms ease both;
}

.hero-visual img {
  width: 100%;
  height: min(68vh, 680px);
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 4px;
  width: min(260px, 74%);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(16, 19, 29, 0.2);
  backdrop-filter: blur(20px);
  animation: floatCard 5.5s ease-in-out infinite;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.card-one {
  top: 8%;
  left: -7%;
}

.card-two {
  right: -4%;
  bottom: 10%;
  animation-delay: 900ms;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--navy);
  color: #ffffff;
}

.marquee div {
  display: flex;
  width: max-content;
  gap: 36px;
  padding: 16px 0;
  animation: marquee 22s linear infinite;
}

.marquee span {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.intro-grid,
.contact-section,
.about-grid,
.service-detail,
.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

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

.service-card,
.process-grid article,
.values article,
.detail-panel,
.facts,
.inquiry-form {
  border: 1px solid rgba(16, 19, 29, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(16, 19, 29, 0.08);
}

.service-card {
  position: relative;
  min-height: 268px;
  padding: 22px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 169, 199, 0.12), transparent 46%, rgba(255, 107, 74, 0.14));
  opacity: 0;
  transition: opacity 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 169, 199, 0.38);
  box-shadow: 0 26px 64px rgba(16, 19, 29, 0.14);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--coral));
  font-weight: 900;
}

.service-card p,
.process-grid p,
.values p,
.detail-panel li,
.split-band p,
.split-band li {
  color: var(--muted);
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 900;
}

.process-band {
  background: linear-gradient(135deg, #10131d, #143f46 54%, #2b2230);
  color: #ffffff;
}

.process-band .eyebrow,
.process-band p {
  color: rgba(255, 255, 255, 0.76);
}

.process-grid,
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.process-grid article,
.values article {
  padding: 24px;
}

.process-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--lime);
  font-weight: 900;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(184, 238, 75, 0.22), transparent 36%),
    #ffffff;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 169, 199, 0.12);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.page-hero {
  padding: clamp(74px, 10vw, 132px) clamp(18px, 4vw, 56px) clamp(42px, 6vw, 80px);
  background:
    linear-gradient(135deg, rgba(0, 169, 199, 0.14), rgba(255, 107, 74, 0.14)),
    #ffffff;
}

.page-hero h1 {
  max-width: 1080px;
  font-size: clamp(2.8rem, 6vw, 6.6rem);
}

.page-hero p {
  max-width: 820px;
}

.facts {
  display: grid;
  gap: 0;
  padding: 8px;
}

.facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.facts div:last-child {
  border-bottom: 0;
}

.facts dt {
  color: var(--muted);
  font-weight: 900;
}

.facts dd {
  margin: 0;
  font-weight: 800;
}

.values {
  padding-top: 0;
}

.service-detail {
  align-items: stretch;
}

.detail-panel {
  padding: 24px;
}

.detail-panel ul,
.split-band ol {
  margin: 0;
  padding-left: 20px;
}

.detail-panel li + li,
.split-band li + li {
  margin-top: 12px;
}

.split-band {
  background: var(--paper);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: #ffffff;
  background: var(--navy);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a {
  color: var(--lime);
  font-weight: 900;
}

.chatbot {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
}

.chat-launcher {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--coral));
  box-shadow: 0 20px 45px rgba(16, 19, 29, 0.25);
  font-weight: 900;
  cursor: pointer;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  display: none;
  width: min(380px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid rgba(16, 19, 29, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.chatbot.open .chat-panel {
  display: block;
}

.chat-panel header,
.chat-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.chat-panel header {
  justify-content: space-between;
  padding: 14px;
  color: #ffffff;
  background: var(--navy);
}

.chat-panel header span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.chat-close,
.chat-form button {
  border: 0;
  border-radius: 8px;
  padding: 10px;
  font-weight: 900;
  cursor: pointer;
}

.chat-messages {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  padding: 14px;
  background: #f5f8fa;
}

.message {
  width: fit-content;
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.5;
}

.message.bot {
  background: #ffffff;
  border: 1px solid var(--line);
}

.message.user {
  justify-self: end;
  color: #ffffff;
  background: var(--teal);
}

.chat-form {
  padding: 12px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  min-width: 0;
}

.chat-form button {
  color: #ffffff;
  background: var(--navy);
}

@keyframes liftIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .hero,
  .intro-grid,
  .contact-section,
  .about-grid,
  .service-detail,
  .split-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: auto;
  }

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

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 3.5rem);
  }

  .hero-visual img {
    height: 420px;
    min-height: 360px;
  }

  .floating-card {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  .service-grid,
  .process-grid,
  .values {
    grid-template-columns: 1fr;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
