:root {
  --color-primary: #1174ba;
  --color-primary-dark: #0d5f97;
  --color-text: #404044;
  --color-text-soft: #585d66;
  --color-surface: #f2f2f2;
  --color-surface-alt: #eaeaea;
  --color-white: #ffffff;
  --color-border: rgba(64, 64, 68, 0.1);
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.12);
  --container: 1240px;
  --radius-soft: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--color-text);
  background: var(--color-surface);
}

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

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

button,
a.button {
  min-height: 44px;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(17, 116, 186, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1rem;
  z-index: 30;
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin: 0 auto;
}

.section-space {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.eyebrow {
  margin: 0 0 1.35rem;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  border: 0;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 800;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

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

.button-light:hover,
.button-light:focus-visible {
  background: #eef5fb;
  color: var(--color-primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(17, 116, 186, 0.08);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(4rem, 6.8vw, 5.8rem);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.5vw, 1.8rem);
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.6rem;
  border: 2px solid var(--color-primary);
  background: var(--color-white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  cursor: pointer;
}

.nav-toggle,
.site-nav a,
.nav-login {
  touch-action: manipulation;
}

.nav-toggle span {
  display: block;
  width: 78%;
  height: 2px;
  background: var(--color-primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: #3f4145;
}

.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #3f4145;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.site-nav a.is-active,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-primary);
}

.nav-login:hover,
.nav-login:focus-visible {
  color: var(--color-primary);
}

.hero-banner {
  position: relative;
  overflow: clip;
  min-height: min(56rem, 92vh);
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0.16));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(56rem, 92vh);
  padding: clamp(3.5rem, 8vw, 6.25rem) 0;
}

.hero-card {
  width: min(100%, 43rem);
  background: rgba(245, 245, 245, 0.96);
  padding: clamp(1.75rem, 2.4vw, 2.8rem) clamp(2.25rem, 3.2vw, 3.6rem);
  box-shadow: var(--shadow-soft);
  min-height: clamp(18rem, 25vw, 24rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card .eyebrow {
  margin: 0 0 2rem;
  font-size: clamp(0.82rem, 1vw, 1.05rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-card h1 {
  margin: 0 0 1.7rem;
  font-size: clamp(2.7rem, 4.4vw, 4.55rem);
  line-height: 0.98;
  text-transform: none;
  letter-spacing: -0.04em;
}

.hero-card p:last-child {
  margin: 0;
  font-size: clamp(0.98rem, 1.12vw, 1.16rem);
  line-height: 1.52;
  color: var(--color-text-soft);
  max-width: 40rem;
  text-align: justify;
}

.hero-lead span {
  display: block;
  white-space: nowrap;
}

.strip-cta {
  background: var(--color-primary);
  color: var(--color-white);
  padding: clamp(2.25rem, 5vw, 4rem) 0;
}

.strip-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.strip-cta h2 {
  margin: 0;
  max-width: 24ch;
  font-size: clamp(1.68rem, 2.95vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.contact-banner {
  position: relative;
  isolation: isolate;
  background-image: url("img/cta.jpeg");
  background-position: 90% center;
  background-repeat: no-repeat;
  background-size: 118% auto;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 25, 39, 0.58);
  z-index: -1;
}

.contact-content {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  text-align: center;
  color: var(--color-white);
}

.contact-content .eyebrow,
.contact-content p {
  color: rgba(255, 255, 255, 0.92);
}

.contact-content h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 4.8vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.contact-content p {
  margin: 0 auto 2rem;
  max-width: 44rem;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.7;
}

.site-footer {
  background: var(--color-surface);
  padding: 1.85rem 0;
}

.footer-inner {
  text-align: center;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  width: 3rem;
  height: 3rem;
  background: transparent;
  color: var(--color-primary);
}

.footer-social:hover,
.footer-social:focus-visible {
  color: var(--color-primary-dark);
}

.footer-social svg {
  width: 1.8rem;
  height: 1.8rem;
  display: block;
}

.footer-social rect,
.footer-social circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-inner p {
  margin: 0;
  font-size: clamp(0.95rem, 1vw, 1.05rem);
}

.footer-built-by {
  margin-top: 0.35rem !important;
  color: var(--color-text-soft);
}

.footer-built-by a {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}

.footer-built-by a:hover,
.footer-built-by a:focus-visible {
  color: var(--color-primary);
}

:root {
  --awhak-chat-panel: #17181b;
  --awhak-chat-panel-text: #ffffff;
  --awhak-chat-panel-muted: rgba(255, 255, 255, 0.72);
  --awhak-chat-surface: #f5f6f7;
  --awhak-chat-bubble: #e9edf1;
  --awhak-chat-bubble-text: #111827;
  --awhak-chat-user: #1f2937;
  --awhak-chat-user-text: #ffffff;
  --awhak-chat-border: rgba(17, 18, 20, 0.14);
  --awhak-chat-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  --awhak-chat-radius: 18px;
  --awhak-chat-radius-bubble: 14px;
  --awhak-chat-input-bg: #ffffff;
  --awhak-chat-input-border: rgba(17, 18, 20, 0.18);
}

.awhak-chat-launcher {
  position: fixed;
  right: 0.55rem;
  bottom: 84px;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: #111214;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 9999;
  touch-action: manipulation;
}

.awhak-chat-window {
  position: fixed;
  right: 24px;
  bottom: 92px;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 560px;
  max-height: calc(100vh - 140px);
  display: none;
  overflow: hidden;
  border: 1px solid var(--awhak-chat-border);
  border-radius: var(--awhak-chat-radius);
  background: var(--awhak-chat-surface);
  box-shadow: var(--awhak-chat-shadow);
  z-index: 9999;
}

.awhak-chat-window.open {
  display: flex;
  flex-direction: column;
}

.awhak-chat-header {
  height: 60px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--awhak-chat-panel);
  color: var(--awhak-chat-panel-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.awhak-chat-avatar-wrap,
.awhak-chat-mini-avatar {
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.awhak-chat-avatar-wrap {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.awhak-chat-mini-avatar {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(17, 18, 20, 0.14);
}

.awhak-chat-avatar-wrap img,
.awhak-chat-mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.awhak-chat-titlecol {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
}

.awhak-chat-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}

.awhak-chat-sub {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  color: var(--awhak-chat-panel-muted);
}

.awhak-chat-icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0.95;
  font-size: 30px;
  line-height: 1;
  touch-action: manipulation;
}

.awhak-chat-messages {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: auto;
  overflow-x: hidden;
  padding: 14px 14px 12px;
  background: var(--awhak-chat-surface);
}

.awhak-chat-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.awhak-chat-msg-row:not(.awhak-chat-user) > div {
  max-width: 78%;
}

.awhak-chat-msg-row.awhak-chat-user {
  width: 100%;
  justify-content: flex-end;
  margin-left: auto;
}

.awhak-chat-msg-row.awhak-chat-user > div {
  max-width: 78%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.awhak-chat-bubble {
  max-width: 78%;
  padding: 12px;
  border-radius: var(--awhak-chat-radius-bubble);
  background: var(--awhak-chat-bubble);
  color: var(--awhak-chat-bubble-text);
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.awhak-chat-bubble-copy {
  display: block;
}

.awhak-chat-bubble-bot {
  border-top-left-radius: 10px;
}

.awhak-chat-bubble-user {
  max-width: 100%;
  border-top-right-radius: 10px;
  background: var(--awhak-chat-user);
  color: var(--awhak-chat-user-text);
}

.awhak-chat-accept-btn {
  display: inline-flex;
  margin-top: 10px;
  min-height: 36px;
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: #51a0d5;
  color: #000;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}

.awhak-chat-meta {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(17, 18, 20, 0.45);
}

.awhak-chat-meta-dark {
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
}

.awhak-chat-input-wrap {
  flex: 0 0 auto;
  padding: 12px 12px 8px;
  background: var(--awhak-chat-surface);
  border-top: 1px solid rgba(17, 18, 20, 0.1);
}

.awhak-chat-inputbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 14px;
  border: 1px solid var(--awhak-chat-input-border);
  border-radius: 999px;
  background: var(--awhak-chat-input-bg);
}

.awhak-chat-text {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #111827;
  font-size: 15px;
}

.awhak-chat-send {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0.8;
  touch-action: manipulation;
}

.awhak-chat-send:disabled,
.awhak-chat-text:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.awhak-chat-disclaimer {
  padding: 8px 14px 10px;
  background: var(--awhak-chat-surface);
  color: rgba(17, 18, 20, 0.55);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 420px) {
  .awhak-chat-window {
    right: 12px;
    left: 12px;
    bottom: 84px;
    width: auto;
  }

  .awhak-chat-launcher {
    right: 0.55rem;
    bottom: 76px;
  }
}

.back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  color: var(--color-white);
  z-index: 25;
  box-shadow: 0 10px 24px rgba(17, 116, 186, 0.25);
}

.back-to-top svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.back-to-top path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.75;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
}

.login-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 22, 31, 0.56);
}

.login-dialog {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), 25rem);
  padding: 1.6rem;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.login-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  min-height: auto;
  border: 0;
  background: transparent;
  color: var(--color-text-soft);
  font-size: 1.4rem;
  cursor: pointer;
}

.login-dialog h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.65rem, 3vw, 2rem);
  line-height: 1.05;
}

.login-copy {
  margin: 0 0 1.2rem;
  color: var(--color-text-soft);
  line-height: 1.55;
}

.login-form {
  display: grid;
  gap: 1rem;
}

.login-field {
  display: grid;
  gap: 0.45rem;
  color: var(--color-text);
  font-weight: 600;
}

.login-field input {
  width: 100%;
  min-width: 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(64, 64, 68, 0.16);
  background: #ffffff;
  color: var(--color-text);
}

.login-password-wrap {
  position: relative;
}

.login-password-wrap input {
  padding-right: 5.5rem;
}

.login-toggle-pass {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transform: translateY(-50%);
}

.login-submit {
  border: 0;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.login-error {
  margin: 0;
  color: #cc1f1a;
  font-weight: 600;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: auto;
    padding: 0.7rem 0;
    align-items: center;
  }

  .brand-logo {
    height: 5rem;
  }

  .nav-toggle {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    padding: 0.5rem;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    background: rgba(244, 244, 244, 0.99);
    border-top: 1px solid rgba(64, 64, 68, 0.08);
    box-shadow: none;
  }

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

  .site-nav a {
    width: 100%;
    padding: 1.65rem 4rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(64, 64, 68, 0.08);
  }

  .nav-login {
    width: 100%;
    min-height: auto;
    padding: 1.65rem 4rem;
    justify-content: flex-start;
    text-align: left;
    border: 0;
    border-bottom: 1px solid rgba(64, 64, 68, 0.08);
    background: transparent;
  }

  .strip-cta-inner {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .contact-banner {
    background-size: cover;
    background-position: 68% center;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .hero-banner,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    align-items: flex-end;
    padding-top: 11rem;
  }

  .hero-card {
    width: min(100%, 25.5rem);
    min-height: auto;
    padding: 1.3rem;
  }

  .hero-lead span {
    white-space: normal;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand-logo {
    height: 4.6rem;
  }
}
