:root {
  --navy: #062f57;
  --navy-2: #0a4779;
  --blue: #1e6fa8;
  --sky: #eaf6ff;
  --aqua: #5ed0ff;
  --white: #ffffff;
  --ink: #08223b;
  --muted: #668197;
  --line: rgba(8, 34, 59, 0.12);
  --shadow: 0 24px 70px rgba(6, 47, 87, 0.18);
  --radius: 8px;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Trebuchet MS", Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  line-height: 1.55;
}

body.is-loading {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 52% 42%, rgba(94, 208, 255, 0.24), transparent 28%),
    linear-gradient(150deg, #03182f, #062f57 52%, #041e39);
  transition: opacity 520ms ease, visibility 520ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(340px, calc(100vw - 44px));
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(20px);
}

.loader-card img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  animation: logoPulse 1500ms ease-in-out infinite;
}

.loader-copy {
  text-align: center;
}

.loader-copy strong,
.loader-copy span {
  display: block;
}

.loader-copy strong {
  font-size: 1.45rem;
  letter-spacing: 0.12em;
}

.loader-copy span,
.loader-card p {
  color: rgba(255, 255, 255, 0.74);
}

.loader-track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.loader-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--aqua), var(--white));
}

.loader-card p {
  margin: 0;
  font-weight: 900;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

body.legal-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--sky);
}

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

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: rgba(6, 47, 87, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.84);
}

.desktop-nav a:hover {
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switch button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.language-switch button.is-active {
  color: var(--navy);
  background: var(--white);
}

.icon-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: var(--white);
  border-radius: 50%;
}

.icon-link svg,
.floating-whatsapp svg,
.service-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #063763);
  box-shadow: 0 16px 34px rgba(30, 111, 168, 0.25);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.button-white {
  color: var(--navy);
  background: var(--white);
}

.button-small {
  min-height: 42px;
  color: var(--navy);
  background: var(--white);
}

.full {
  width: 100%;
}

.section-dark {
  color: var(--white);
  background: var(--navy);
}

.section-light {
  background: var(--sky);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 72px) 44px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(94, 208, 255, 0.22), transparent 30%),
    radial-gradient(circle at 15% 85%, rgba(234, 246, 255, 0.16), transparent 34%),
    linear-gradient(155deg, #041e39 0%, #062f57 46%, #0a4779 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto -8% -16% -8%;
  height: 38%;
  background:
    linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.1) 45% 46%, transparent 46%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 58px);
  transform: skewY(-4deg);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  max-width: 1220px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--aqua);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.6vw, 3.1rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.15;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.06rem, 2vw, 1.35rem);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-ctas.center {
  justify-content: center;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-strip span,
.benefits span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.estimate-panel {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 30px);
}

.panel-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.panel-top h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.shine-mark {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  clip-path: polygon(50% 0, 62% 35%, 100% 50%, 62% 65%, 50% 100%, 38% 65%, 0 50%, 38% 35%);
}

.calculator,
.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.92rem;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(30, 111, 168, 0.12);
}

input[type="range"] {
  accent-color: var(--blue);
  padding: 0;
}

.range-label {
  color: var(--muted);
  font-weight: 700;
}

.estimate-result {
  border: 1px solid rgba(30, 111, 168, 0.18);
  border-radius: var(--radius);
  padding: 16px;
  background: linear-gradient(135deg, var(--sky), var(--white));
}

.estimate-result small,
.form-note {
  color: var(--muted);
}

.estimate-result strong {
  display: block;
  margin: 2px 0 7px;
  font-size: 1.26rem;
}

.estimate-result p {
  margin-bottom: 0;
  color: #38596f;
}

.about,
.services,
.contact {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.section-grid,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 88px);
  max-width: 1180px;
  margin: 0 auto;
}

.text-stack {
  max-width: 620px;
  color: #365b76;
  font-size: 1.06rem;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1220px;
  margin: 0 auto;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 252px;
  padding: 22px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(6, 47, 87, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover,
.partner-card:hover,
.estimate-panel:hover,
.contact-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 62px rgba(6, 47, 87, 0.14);
}

.service-card.featured {
  color: var(--white);
  background: linear-gradient(160deg, var(--navy), var(--blue));
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--blue);
  background: var(--sky);
  border-radius: 50%;
}

.featured .service-icon {
  color: var(--navy);
  background: var(--white);
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 980px;
  margin: 30px auto 0;
  padding: 24px;
  border: 1px solid rgba(30, 111, 168, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--sky), var(--white));
  box-shadow: 0 16px 42px rgba(6, 47, 87, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.partner-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.45rem;
}

.partner-card p {
  max-width: 620px;
  margin-bottom: 0;
  color: #365b76;
}

.why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.why-content {
  max-width: 720px;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.logo-stage img {
  width: min(78%, 390px);
  filter: drop-shadow(0 18px 26px rgba(6, 47, 87, 0.12));
}

.cta-band {
  padding: clamp(58px, 8vw, 94px) 18px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 16% 20%, rgba(94, 208, 255, 0.22), transparent 28%),
    linear-gradient(135deg, var(--blue), var(--navy));
}

.cta-band h2 {
  margin-bottom: 12px;
}

.cta-band p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.contact-info address {
  margin: 22px 0;
  color: #365b76;
  font-style: normal;
}

.contact-links {
  display: grid;
  gap: 10px;
  font-weight: 900;
}

.contact-links a {
  color: var(--blue);
}

.contact-form {
  padding: clamp(20px, 4vw, 34px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-note {
  min-height: 20px;
  margin: 0;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    #041e39;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

.site-footer nav a {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 88px;
  bottom: 18px;
  z-index: 19;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 860px;
  padding: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 2px;
}

.cookie-banner p {
  margin: 0;
  color: #365b76;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.text-button,
.cookie-actions a {
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(4, 30, 57, 0.64);
  backdrop-filter: blur(10px);
}

.cookie-modal.is-visible {
  display: grid;
}

.cookie-modal-card {
  width: min(680px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff, #f3fbff);
  box-shadow: 0 30px 92px rgba(0, 0, 0, 0.28);
}

.modal-head {
  position: relative;
  padding-right: 48px;
}

.modal-head h2 {
  margin-bottom: 14px;
  color: var(--navy);
}

.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-intro {
  color: #365b76;
}

.cookie-options {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.cookie-option {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(30, 111, 168, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.cookie-option strong,
.cookie-option small {
  display: block;
}

.cookie-option small {
  margin-top: 4px;
  color: #668197;
  font-weight: 700;
}

.cookie-option input {
  width: 22px;
  height: 22px;
  accent-color: var(--blue);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.legal-wrap {
  flex: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 18px;
}

.legal-wrap h1 {
  color: var(--navy);
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.legal-wrap h2 {
  margin-top: 34px;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.legal-wrap p {
  color: #365b76;
  font-size: 1.05rem;
}

.legal-wrap a {
  color: var(--blue);
  font-weight: 900;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 18;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: #1fb45b;
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(13, 92, 49, 0.35);
}

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

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 17;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(6, 47, 87, 0.18);
  backdrop-filter: blur(14px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.reveal {
  animation: rise 720ms ease both;
}

.estimate-panel.reveal {
  animation-delay: 140ms;
}

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

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .hero-content,
  .section-grid,
  .why,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .partner-card,
  .cookie-banner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    align-items: center;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
    padding: 10px 14px;
  }

  .brand small,
  .button-small {
    display: none;
  }

  .language-switch button {
    min-width: 34px;
    min-height: 32px;
  }

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

  #o-nama,
  #o-nama .text-stack,
  #o-nama .section-grid > div:first-child,
  .why-content {
    text-align: center;
  }

  #o-nama .text-stack {
    margin: 0 auto;
  }

  .hero-ctas .button {
    width: 100%;
  }

  .trust-strip span,
  .benefits span {
    width: 100%;
  }

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

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

  .partner-card .button {
    width: 100%;
  }

  .logo-stage {
    min-height: 290px;
  }

  .cookie-banner {
    right: 18px;
    bottom: 84px;
  }

  .cookie-actions {
    width: 100%;
    justify-content: stretch;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions .button,
  .cookie-actions .text-button,
  .modal-actions .button {
    width: 100%;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
  }

  .scroll-top {
    right: 18px;
    bottom: 148px;
  }
}
