:root {
  --bg: #f6f3ea;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --text: #16211d;
  --muted: #506059;
  --text-on-dark: #f5f1e7;
  --muted-on-dark: rgba(235, 240, 236, 0.82);
  --line-on-dark: rgba(233, 239, 235, 0.16);
  --line: rgba(22, 33, 29, 0.12);
  --primary: #c95c2b;
  --primary-deep: #9f4018;
  --secondary: #0f766e;
  --accent: #f2b544;
  --shadow: 0 18px 60px rgba(32, 34, 29, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-on-dark);
  font-family: "Manrope", sans-serif;
  background:
    linear-gradient(180deg, rgba(6, 18, 21, 0.72), rgba(12, 28, 31, 0.48)),
    url("assets/background-mesh-wave.svg"),
    linear-gradient(180deg, #102126 0%, #13262b 40%, #1b2325 100%);
  background-attachment: fixed, fixed, fixed;
  background-position: center top, center top, center top;
  background-size: cover, cover, cover;
}

body.intro-pending {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 88%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 14%, rgba(242, 181, 68, 0.16), transparent 22%),
    radial-gradient(circle at 76% 18%, rgba(88, 215, 228, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%, rgba(0, 0, 0, 0.1) 100%);
  mix-blend-mode: screen;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
  transition: opacity 0.65s ease, transform 0.8s ease;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 40%, rgba(88, 215, 228, 0.2), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(201, 92, 43, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(7, 19, 22, 0.96), rgba(14, 28, 32, 0.92));
  opacity: 1;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.site-intro[hidden] {
  display: none;
}

.site-intro::before,
.site-intro::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.site-intro::before {
  width: min(72vw, 720px);
  height: min(72vw, 720px);
  background: radial-gradient(circle, rgba(242, 181, 68, 0.12), transparent 66%);
  animation: introPulse 2.6s ease-in-out infinite;
}

.site-intro::after {
  width: min(58vw, 520px);
  height: min(58vw, 520px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.site-intro-brand {
  --intro-shift-x: 0px;
  --intro-shift-y: 0px;
  --intro-scale: 1;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 24px 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
  transform-origin: center center;
}

.site-intro-brand .brand-mark {
  width: 110px;
  height: 88px;
  flex-basis: 110px;
}

.site-intro-brand .brand-mark img {
  filter: drop-shadow(0 12px 28px rgba(54, 172, 191, 0.3));
}

.site-intro-brand .brand-text {
  max-width: 460px;
}

.site-intro-brand .brand-text strong {
  color: #f8f4ea;
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  letter-spacing: 0.08em;
}

.site-intro-brand .brand-text small {
  margin-top: 6px;
  color: rgba(245, 241, 231, 0.78);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}

body.intro-pending .page-shell,
body.intro-pending .whatsapp-float {
  opacity: 0;
  transform: translateY(18px);
}

body.intro-playing .page-shell,
body.intro-complete .page-shell,
body.intro-finished .page-shell,
body.intro-playing .whatsapp-float,
body.intro-complete .whatsapp-float,
body.intro-finished .whatsapp-float {
  opacity: 1;
  transform: translateY(0);
}

body.intro-playing .site-intro-brand {
  animation: introBrandReveal 0.8s cubic-bezier(0.2, 0.75, 0.2, 1) both,
    introBrandLift 1.2s 0.7s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

body.intro-complete .site-intro-brand {
  animation: none;
  transform: translate3d(var(--intro-shift-x), var(--intro-shift-y), 0) scale(var(--intro-scale));
  opacity: 0;
  transition: transform 0.95s cubic-bezier(0.2, 0.86, 0.2, 1), opacity 0.45s ease 0.62s;
}

body.intro-complete .site-intro {
  opacity: 0;
  visibility: hidden;
  transition-delay: 0.72s;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.84);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.92);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 60px rgba(5, 15, 18, 0.22);
}

.brand,
.nav a,
.button,
.product-links a {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 66px;
  height: 54px;
  flex: 0 0 66px;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(54, 172, 191, 0.18));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
  max-width: 300px;
}

.brand-text strong {
  font-size: 1.18rem;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0;
  line-height: 1.25;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover,
.product-links a:hover {
  color: var(--primary);
}

.section {
  padding: 54px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 140px);
  padding-top: 72px;
}

.hero-copy {
  position: relative;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--secondary);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1;
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  max-width: 14ch;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

.lead,
.intro-band p,
.service-card p,
.product-card p,
.industry-card p,
.timeline p,
.contact-card p,
.hero-card strong,
.mini-card strong {
  color: var(--muted-on-dark);
  line-height: 1.75;
}

.lead {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: 1rem;
  color: rgba(244, 243, 238, 0.88);
}

.hero-brand {
  margin: 0 0 10px;
  color: #f7f3e7;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-signals span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 242, 233, 0.9);
  backdrop-filter: blur(12px);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-copy h1,
.hero-copy .eyebrow {
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.hero-copy h1 {
  color: #f8f4ea;
}

.hero-copy .eyebrow {
  color: #52c8d5;
}

.section-heading h2 {
  color: var(--text-on-dark);
}

.section-heading .eyebrow {
  color: #7dd6df;
}

.hero-actions,
.contact-actions,
.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 12px 24px rgba(201, 92, 43, 0.24);
}

.secondary,
.tertiary {
  border: 1px solid var(--line-on-dark);
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-panel,
.intro-band,
.service-card,
.product-card,
.industry-card,
.contact-card,
.timeline article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  color: var(--text);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.hero-panel:hover,
.intro-band:hover,
.service-card:hover,
.product-card:hover,
.industry-card:hover,
.contact-card:hover,
.timeline article:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 65px rgba(7, 18, 22, 0.22);
  border-color: rgba(21, 110, 117, 0.18);
}

.hero-panel {
  padding: 24px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -8%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(88, 215, 228, 0.18), transparent 68%);
  pointer-events: none;
}

.hero-card-main {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(15, 118, 110, 0.1), rgba(201, 92, 43, 0.08));
}

.hero-card-main span,
.mini-card span,
.product-type {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel strong,
.hero-panel p,
.hero-panel h3,
.intro-band p,
.service-card h3,
.service-card p,
.product-card h3,
.product-card p,
.industry-card h3,
.industry-card p,
.timeline article h3,
.timeline article p,
.contact-card h2,
.contact-card p,
.product-hero-card h1,
.detail-card h2,
.feature-list h3,
.detail-list h3 {
  color: var(--text);
}

.product-card ul,
.feature-list p,
.detail-list p,
.product-hero-card p,
.detail-card p {
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.mini-card {
  min-height: 164px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
}

.mini-card.accent {
  background: linear-gradient(145deg, rgba(242, 181, 68, 0.3), rgba(255, 255, 255, 0.9));
}

.intro-band {
  padding: 24px 28px;
  border-radius: 24px;
}

.intro-band p {
  margin: 0;
  font-size: 1.08rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.service-grid,
.product-grid,
.industry-grid,
.timeline {
  display: grid;
  gap: 18px;
}

.service-grid,
.industry-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.service-card,
.industry-card,
.product-card,
.timeline article {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.service-card {
  min-height: 210px;
}

.service-card:nth-child(4) {
  grid-column: span 3;
  background: linear-gradient(135deg, rgba(233, 244, 241, 0.96), rgba(255, 248, 239, 0.94));
  border-color: rgba(22, 33, 29, 0.1);
  box-shadow: 0 22px 48px rgba(8, 20, 24, 0.18);
}

.service-card:nth-child(4) h3,
.service-card:nth-child(4) p {
  color: #16211d;
}

.product-card ul {
  margin: 16px 0 22px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.product-card.featured {
  background: linear-gradient(160deg, rgba(22, 33, 29, 0.96), rgba(15, 118, 110, 0.94));
}

.product-card.featured h3,
.product-card.featured p,
.product-card.featured li,
.product-card.featured a,
.product-card.featured .product-type {
  color: #f8f4ea;
}

.product-card.featured .product-type {
  opacity: 0.8;
}

.product-links a {
  color: var(--secondary);
  font-weight: 700;
}

.product-card.featured .product-links a {
  color: #ffe2a5;
}

.timeline article span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.timeline article:last-child {
  grid-column: span 2;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(242, 181, 68, 0.12));
}

.site-footer {
  padding: 10px 0 30px;
  color: rgba(245, 242, 233, 0.82);
  text-align: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2bd56e, #149f4c);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(20, 159, 76, 0.36);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 24px 46px rgba(20, 159, 76, 0.46);
  filter: saturate(1.05);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.product-page main {
  padding-top: 36px;
}

.product-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.product-hero-card,
.detail-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  color: var(--text);
}

.product-hero-card p {
  max-width: 58ch;
}

.product-hero-card h1 {
  max-width: 10ch;
}

.feature-list,
.detail-list {
  display: grid;
  gap: 14px;
}

.feature-list article,
.detail-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.domain-chip {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--secondary);
  font-weight: 700;
}

@keyframes introPulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.62;
  }

  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes introBrandReveal {
  0% {
    opacity: 0;
    transform: scale(0.84);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes introBrandLift {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0.94);
  }
}

@media (max-width: 980px) {
  .hero,
  .product-hero,
  .contact-card,
  .service-grid,
  .industry-grid,
  .product-grid,
  .timeline,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .site-header {
    border-radius: 28px;
  }

  .brand-mark {
    width: 58px;
    height: 48px;
    flex-basis: 58px;
  }

  .nav {
    justify-content: flex-start;
  }

  .service-card:nth-child(4),
  .timeline article:last-child {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-signals {
    margin-top: 18px;
  }

  h1,
  .product-hero-card h1 {
    max-width: 100%;
  }

  .site-intro-brand {
    gap: 14px;
    padding: 20px 24px;
  }

  .site-intro-brand .brand-mark {
    width: 84px;
    height: 68px;
    flex-basis: 84px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    position: static;
    margin-top: 10px;
    align-items: flex-start;
  }

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

  .brand-mark {
    width: 52px;
    height: 44px;
    flex-basis: 52px;
  }

  .site-intro-brand {
    width: min(calc(100% - 28px), 420px);
    border-radius: 30px;
    flex-direction: column;
    text-align: center;
  }

  .site-intro-brand .brand-mark {
    width: 88px;
    height: 72px;
    flex-basis: 88px;
  }

  .site-intro-brand .brand-text {
    max-width: 100%;
  }

  .site-intro-brand .brand-text strong {
    font-size: clamp(1.5rem, 7vw, 2.1rem);
  }

  .site-intro-brand .brand-text small {
    font-size: 0.92rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-signals span {
    width: 100%;
    justify-content: center;
  }

  .button,
  .hero-actions a,
  .contact-actions a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-intro,
  .site-intro::before,
  .site-intro::after,
  .site-intro-brand,
  .page-shell,
  .whatsapp-float,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
  }
}
