:root {
  --navy: #0b1f3a;
  --navy-deep: #071526;
  --blue-light: #2e9bff;
  --blue-mid: #1e6fbf;
  --text-muted: #5a6b7d;
  --bg: #f7f9fc;
  --bg-soft: #eef3f9;
  --white: #ffffff;
  --line: rgba(11, 31, 58, 0.1);
  --shadow-soft: 0 18px 40px rgba(11, 31, 58, 0.08);
  --radius: 4px;
  --header-h: 4.5rem;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(46, 155, 255, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 20%, rgba(30, 111, 191, 0.08), transparent 50%),
    linear-gradient(180deg, var(--white) 0%, var(--bg) 40%, var(--bg-soft) 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--blue-light);
}

address {
  font-style: normal;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  font-weight: 800;
  color: var(--white);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
}

h3 {
  font-size: 1.1rem;
  font-weight: 650;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-mid);
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section-lead {
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.icon-whatsapp {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.btn-whatsapp .icon-whatsapp {
  width: 1.2em;
  height: 1.2em;
}

.contact-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.contact-whatsapp-link .icon-whatsapp {
  width: 1.15rem;
  height: 1.15rem;
  color: #25d366;
}

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

.btn:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(46, 155, 255, 0.28);
}

.btn-primary:hover {
  color: var(--white);
  filter: brightness(1.05);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.btn-nav {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: height 0.3s var(--ease), background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  --header-h: 3.65rem;
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2.5rem));
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: auto;
  height: 2.65rem;
  object-fit: contain;
  transition: height 0.3s var(--ease);
}

.brand-logo--icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.65rem;
}

.site-header.is-scrolled .brand-logo {
  height: 2.2rem;
}

.site-header.is-scrolled .brand-logo--icon {
  width: 2.2rem;
  height: 2.2rem;
}

.brand-logo-footer {
  height: 3.5rem;
  width: auto;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.96);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a:not(.btn) {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--blue-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn):focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.45rem;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.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);
}

/* Hero / Carousel */
.hero {
  position: relative;
  height: min(92vh, 820px);
  min-height: 560px;
  color: var(--white);
  overflow: hidden;
  padding: 0;
  background: var(--navy-deep);
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 5.5rem 0 4.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.65s var(--ease), visibility 0.65s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 7s linear;
}

.hero-slide.is-active .hero-media img {
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 21, 38, 0.88) 0%, rgba(11, 31, 58, 0.72) 45%, rgba(11, 31, 58, 0.45) 100%),
    linear-gradient(0deg, rgba(7, 21, 38, 0.55) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin-left: max(1.25rem, calc((100% - 1120px) / 2));
  margin-right: 1.25rem;
  width: auto;
}

.hero-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.hero-title {
  color: var(--white);
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-logo {
  height: 4.25rem;
  width: auto;
  margin-bottom: 1.5rem;
}

.hero-logo--panel {
  display: block;
  width: min(200px, 52vw);
  height: auto;
  margin-bottom: 1.2rem;
  border-radius: 1rem;
  opacity: 0.82;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  background: transparent;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-controls {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-nav {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(11, 31, 58, 0.45);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-nav:hover,
.hero-nav:focus-visible {
  background: rgba(46, 155, 255, 0.55);
  border-color: var(--blue-light);
  outline: none;
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  background: var(--blue-light);
  transform: scale(1.25);
}

.hero-dot:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}

/* About */
.about {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.7) 20%, transparent),
    transparent;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-copy p {
  font-size: 1.02rem;
}

.about-address {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
}

.about-address strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-address a {
  color: var(--text-muted);
  text-decoration: none;
}

.about-address a:hover {
  color: var(--blue-mid);
}

.about-visual {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(0deg, rgba(11, 31, 58, 0.35), transparent);
  pointer-events: none;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Services */
.services {
  background:
    linear-gradient(160deg, rgba(46, 155, 255, 0.06), transparent 40%),
    var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem 1.5rem;
}

.service-item {
  padding: 0.25rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}

.service-item:hover {
  border-bottom-color: var(--blue-light);
  transform: translateY(-3px);
}

.service-icon {
  display: inline-flex;
  color: var(--blue-light);
  margin-bottom: 0.85rem;
}

.service-icon svg {
  width: 1.85rem;
  height: 1.85rem;
}

.service-item h3 {
  margin-bottom: 0.45rem;
}

.service-item p {
  margin: 0;
  font-size: 0.95rem;
}

.services-banner {
  margin: 3rem 0 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.services-banner img {
  width: 100%;
  height: min(320px, 40vw);
  object-fit: cover;
  filter: saturate(0.95);
}

/* Consulting */
.consulting {
  background:
    linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 55%, var(--bg) 100%);
}

.consulting-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.consulting-visual {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.consulting-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.consulting-columns {
  display: grid;
  gap: 1.75rem;
}

.consulting-block {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.consulting-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.consulting-block-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.consulting-block-head h3 {
  margin: 0;
  font-size: 1.25rem;
}

.consulting-icon {
  display: inline-flex;
  color: var(--blue-light);
}

.consulting-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.consulting-block > p {
  margin-bottom: 1rem;
}

.consulting-list {
  display: grid;
  gap: 0.55rem;
}

.consulting-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.consulting-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--blue-light);
  border-radius: 1px;
}

.consulting-cta {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.consulting-cta p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 600;
  max-width: 28rem;
}

/* Why */
.why {
  background:
    linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, #12345a);
  color: var(--white);
}

.why .eyebrow {
  color: var(--blue-light);
}

.why h2 {
  color: var(--white);
}

.why-list {
  display: grid;
  gap: 0;
}

.why-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.why-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.why-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 0.04em;
  line-height: 1;
  padding-top: 0.2rem;
}

.why h3 {
  color: var(--white);
}

.why p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 40rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-details {
  margin: 1.5rem 0 1.75rem;
  display: grid;
  gap: 1rem;
}

.contact-details li {
  display: grid;
  gap: 0.2rem;
}

.contact-details span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mid);
}

.contact-details a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--blue-mid);
}

.contact-visual {
  margin: 2rem 0 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.contact-visual img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
}

.contact-form h3 {
  margin-bottom: 0.35rem;
}

.form-hint {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-weight: 400;
  color: var(--navy);
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(46, 155, 255, 0.2);
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: #b42318;
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.contact-form .btn {
  width: 100%;
  margin-top: 0.25rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--blue-light);
}

.footer-meta {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Reveal motion — fade + slide on scroll */
.reveal {
  --reveal-distance: 4.5rem;
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0);
  transition:
    opacity 0.95s var(--ease),
    transform 0.95s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal--left {
  transform: translate3d(-3.25rem, 3rem, 0);
}

.reveal--right {
  transform: translate3d(3.25rem, 3rem, 0);
}

.reveal--left.is-visible,
.reveal--right.is-visible {
  transform: translate3d(0, 0, 0);
}

.service-item.reveal.is-visible:hover {
  transform: translate3d(0, -4px, 0);
}

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

  .reveal,
  .reveal--left,
  .reveal--right {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .btn:hover,
  .service-item:hover,
  .service-item.reveal.is-visible:hover {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid,
  .consulting-layout {
    grid-template-columns: 1fr;
  }

  .consulting-visual {
    position: static;
  }

  .consulting-visual img {
    aspect-ratio: 16 / 10;
  }

  .about-visual img {
    aspect-ratio: 16 / 10;
  }

  .contact-visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s ease;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a:not(.btn) {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:not(.btn)::after {
    display: none;
  }

  .site-nav .btn-nav {
    margin-top: 0.85rem;
    width: 100%;
  }

  .hero {
    height: min(88vh, 760px);
    min-height: 520px;
  }

  .hero-slide {
    align-items: center;
    padding-top: 5.5rem;
    padding-bottom: 4.25rem;
  }

  .hero-content {
    margin-left: 1.25rem;
  }

  .hero-logo--panel {
    width: min(168px, 48vw);
    border-radius: 0.85rem;
    opacity: 0.8;
  }
}

@media (max-width: 520px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .why-list li {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}
