:root {
  --night: #07121f;
  --night-2: #0d1d2e;
  --blue: #2178ff;
  --cyan: #35d9d1;
  --ice: #eef4f8;
  --white: #ffffff;
  --text: #0e1c2a;
  --muted: #687889;
  --line: #dce4eb;
  --green: #25d366;
  --shadow: 0 28px 80px rgba(7, 18, 31, 0.17);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--ice);
  font-family: "Alexandria", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

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

button,
input {
  font: inherit;
}

button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

.demo-banner {
  min-height: 37px;
  padding: 7px clamp(18px, 5vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #cbd5e1;
  background: #020811;
  font-size: 10px;
}

.demo-banner p {
  margin: 0;
}

.demo-banner a {
  color: var(--cyan);
  font-weight: 700;
}

header {
  min-height: 82px;
  padding: 15px clamp(18px, 5vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--white);
  background: var(--night);
}

.business-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.business-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: linear-gradient(135deg, #17477d, var(--blue));
  font-size: 20px;
  font-weight: 800;
}

.business-brand > span:last-child {
  display: grid;
  line-height: 1;
}

.business-brand strong {
  font-size: 17px;
}

.business-brand small {
  margin-top: 7px;
  color: #93a5b8;
  font: 700 8px/1 Manrope, sans-serif;
  letter-spacing: 2px;
}

nav {
  display: flex;
  gap: 34px;
  color: #bac8d7;
  font-size: 13px;
}

nav a:hover,
nav a:focus-visible {
  color: var(--cyan);
}

#lang-toggle {
  min-width: 44px;
  min-height: 39px;
  border: 1px solid #384b61;
  border-radius: 11px;
  color: var(--white);
  background: #13263b;
  cursor: pointer;
  font: 800 12px/1 Manrope, sans-serif;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
label:has(input:focus-visible) {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.auto-hero {
  min-height: 660px;
  position: relative;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}

.auto-hero > img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.auto-hero > img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 18, 31, 0.06), rgba(7, 18, 31, 0.83)),
    linear-gradient(0deg, rgba(7, 18, 31, 0.92), transparent 65%);
}

[dir="ltr"] .hero-overlay {
  background:
    linear-gradient(-90deg, rgba(7, 18, 31, 0.06), rgba(7, 18, 31, 0.83)),
    linear-gradient(0deg, rgba(7, 18, 31, 0.92), transparent 65%);
}

.hero-content {
  width: min(720px, 88%);
  margin: 0 clamp(18px, 7vw, 104px) clamp(70px, 8vw, 115px);
  position: relative;
  z-index: 2;
}

.eyebrow,
.kicker {
  color: var(--cyan);
  font: 800 11px/1.5 Manrope, "Alexandria", sans-serif;
  letter-spacing: 1.4px;
}

.hero-content h1 {
  max-width: 760px;
  margin: 13px 0 0;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1.2;
  letter-spacing: -3.7px;
}

.hero-content > p:not(.eyebrow) {
  max-width: 600px;
  margin: 20px 0 0;
  color: #c4d0dc;
  font-size: clamp(17px, 1.5vw, 20px);
}

.primary-action {
  min-height: 52px;
  margin-top: 28px;
  padding: 12px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--night);
  background: var(--cyan);
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-action:hover {
  background: #6af0e9;
  transform: translateY(-2px);
}

.open-card {
  min-width: 180px;
  padding: 15px 18px;
  position: absolute;
  z-index: 3;
  inset: 28px auto auto clamp(18px, 5vw, 72px);
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 15px;
  background: rgba(7, 18, 31, 0.74);
  backdrop-filter: blur(12px);
}

[dir="ltr"] .open-card {
  inset: 28px clamp(18px, 5vw, 72px) auto auto;
}

.open-card > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #48e08a;
  box-shadow: 0 0 0 6px rgba(72, 224, 138, 0.12);
}

.open-card p,
.open-card small {
  display: grid;
}

.open-card p {
  margin: 0;
}

.open-card strong {
  font-size: 11px;
}

.open-card small {
  margin-top: 2px;
  color: #9aabbd;
  font: 600 9px/1.4 Manrope, sans-serif;
}

.service-section {
  padding: clamp(85px, 10vw, 140px) clamp(18px, 6vw, 88px);
  background: var(--white);
}

.section-copy {
  max-width: 820px;
  margin-bottom: 46px;
}

.section-copy h2,
.booking-copy h2,
.location-card h2,
dialog h2 {
  margin: 0;
  font-size: clamp(35px, 4.4vw, 62px);
  line-height: 1.3;
  letter-spacing: -2.2px;
}

.section-copy h2 {
  margin-top: 10px;
}

.section-copy > p:last-child,
.booking-copy > p,
.location-card > div > p:last-child {
  color: var(--muted);
}

.section-copy > p:last-child {
  max-width: 660px;
  margin: 15px 0 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-grid article {
  min-height: 345px;
  padding: 25px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f8fafc;
}

.service-grid article > span {
  position: absolute;
  inset: 20px auto auto 20px;
  color: #9ba9b7;
  font: 700 10px/1 Manrope, sans-serif;
}

.service-icon {
  width: 50px;
  height: 50px;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--blue);
  background: #e5efff;
  font-size: 24px;
}

.service-grid h3 {
  min-height: 60px;
  margin: 57px 0 8px;
  font-size: 19px;
  line-height: 1.55;
}

.service-grid article > p:not(.service-icon) {
  min-height: 78px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.service-grid article > strong {
  margin-top: 21px;
  display: block;
  color: var(--blue);
  font: 700 12px/1 Manrope, sans-serif;
}

.service-grid article > strong b {
  font-size: 29px;
}

.booking-section {
  padding: clamp(85px, 10vw, 140px) clamp(18px, 6vw, 88px);
  display: grid;
  grid-template-columns: minmax(340px, 0.75fr) minmax(500px, 1.25fr);
  align-items: start;
  gap: clamp(45px, 8vw, 120px);
  color: var(--white);
  background:
    radial-gradient(circle at 20% 100%, rgba(33, 120, 255, 0.25), transparent 35%),
    var(--night);
}

.booking-copy h2 {
  margin-top: 10px;
}

.booking-copy > p {
  margin: 18px 0 0;
  color: #9fb0c3;
}

.qr-block {
  margin-top: 36px;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #30435a;
  border-radius: 18px;
  background: #0d1d2e;
}

.qr-block img {
  width: 94px;
  height: 94px;
  padding: 7px;
  border-radius: 10px;
  background: var(--white);
}

.qr-block p,
.qr-block small {
  display: grid;
}

.qr-block p {
  margin: 0;
}

.qr-block strong {
  font-size: 13px;
}

.qr-block small {
  margin-top: 4px;
  color: #8fa1b5;
  font-size: 10px;
}

#quote-form {
  padding: clamp(24px, 4vw, 40px);
  border-radius: 25px;
  color: var(--text);
  background: var(--white);
  box-shadow: var(--shadow);
}

fieldset {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border: 0;
}

fieldset + fieldset {
  margin-top: 28px;
}

legend {
  width: 100%;
  margin-bottom: 12px;
  color: #3d4d5d;
  font-size: 13px;
  font-weight: 800;
}

.choice {
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8fafc;
  cursor: pointer;
}

.choice:has(input:checked) {
  border-color: var(--blue);
  background: #eef4ff;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}

.choice > span {
  display: grid;
  line-height: 1.45;
}

.choice b {
  font-size: 12px;
}

.choice small {
  margin-top: 3px;
  color: var(--muted);
  font: 600 9px/1.4 Manrope, "Alexandria", sans-serif;
}

.total-row {
  margin-top: 28px;
  padding-top: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.total-row p,
.total-row small {
  display: grid;
}

.total-row p {
  margin: 0;
}

.total-row span {
  font-size: 13px;
  font-weight: 800;
}

.total-row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.total-row strong {
  direction: ltr;
  color: var(--blue);
  font: 700 13px/1 Manrope, sans-serif;
}

.total-row strong b {
  font-size: 36px;
}

.whatsapp-action {
  width: 100%;
  min-height: 54px;
  margin-top: 19px;
  border: 0;
  border-radius: 14px;
  color: #04170b;
  background: var(--green);
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, filter 160ms ease;
}

.whatsapp-action:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.location-section {
  padding: clamp(70px, 8vw, 110px) clamp(18px, 6vw, 88px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  background: var(--ice);
}

.location-card,
.contact-card {
  min-height: 280px;
  padding: clamp(27px, 4vw, 44px);
  border-radius: 23px;
}

.location-card {
  display: flex;
  align-items: center;
  gap: 23px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(33, 120, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 120, 255, 0.04) 1px, transparent 1px),
    var(--white);
  background-size: 28px 28px;
}

.pin {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50% 50% 50% 12px;
  color: var(--white);
  background: var(--blue);
  font-size: 34px;
}

.location-card h2 {
  margin-top: 6px;
  font-size: clamp(32px, 4vw, 48px);
}

.location-card > div > p:last-child {
  margin: 8px 0 0;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  background: var(--blue);
}

.contact-card p {
  max-width: 410px;
  margin: 0;
  font-size: clamp(25px, 3vw, 39px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -1px;
}

.contact-card a {
  margin-top: 25px;
  font-weight: 800;
}

footer {
  min-height: 92px;
  padding: 24px clamp(18px, 5vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #8293a5;
  background: #020811;
  font-size: 10px;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--cyan);
  font: 700 11px/1 Manrope, sans-serif;
}

dialog {
  width: min(560px, calc(100% - 28px));
  padding: clamp(27px, 5vw, 45px);
  position: relative;
  border: 0;
  border-radius: 23px;
  color: var(--text);
  background: var(--white);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.36);
}

dialog::backdrop {
  background: rgba(2, 8, 17, 0.82);
  backdrop-filter: blur(7px);
}

.close-dialog {
  width: 38px;
  height: 38px;
  position: absolute;
  inset: 16px auto auto 16px;
  border: 0;
  border-radius: 50%;
  background: #eaf0f5;
  cursor: pointer;
  font-size: 22px;
}

[dir="ltr"] .close-dialog {
  inset: 16px 16px auto auto;
}

dialog h2 {
  margin-top: 6px;
  font-size: 39px;
}

#message-preview {
  margin-top: 24px;
  padding: 18px;
  border-radius: 16px 16px 4px 16px;
  color: #173123;
  background: #d5f8da;
  font-size: 14px;
}

.dialog-note {
  margin: 18px 0;
  color: var(--muted);
  font-size: 11px;
}

#close-preview {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 13px;
  color: var(--white);
  background: var(--blue);
  cursor: pointer;
  font-weight: 800;
}

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

  .booking-section {
    grid-template-columns: 1fr;
  }

  .booking-copy {
    max-width: 730px;
  }
}

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

  header {
    min-height: 72px;
  }

  nav {
    display: none;
  }

  .auto-hero {
    min-height: 610px;
  }

  .auto-hero > img {
    object-position: 45% center;
  }

  .hero-overlay,
  [dir="ltr"] .hero-overlay {
    background:
      linear-gradient(0deg, rgba(7, 18, 31, 0.95), rgba(7, 18, 31, 0.08) 88%),
      linear-gradient(90deg, rgba(7, 18, 31, 0.18), rgba(7, 18, 31, 0.42));
  }

  .hero-content {
    width: auto;
    margin-inline: 20px;
    margin-bottom: 58px;
  }

  .hero-content h1 {
    font-size: clamp(44px, 13vw, 62px);
    letter-spacing: -2.7px;
  }

  .open-card {
    inset: 19px 18px auto auto;
  }

  [dir="ltr"] .open-card {
    inset: 19px auto auto 18px;
  }

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

  .service-grid article {
    min-height: 295px;
  }

  .service-grid article > p:not(.service-icon) {
    min-height: auto;
  }

  .booking-section {
    grid-template-columns: 1fr;
  }

  fieldset {
    grid-template-columns: 1fr;
  }

  .qr-block {
    align-items: flex-start;
  }

  .location-card {
    align-items: flex-start;
  }

  .pin {
    width: 56px;
    height: 56px;
    font-size: 27px;
  }

  footer {
    display: grid;
    text-align: center;
  }
}

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

  .primary-action,
  .whatsapp-action {
    transition: none;
  }
}
