:root {
  color-scheme: light;
  --ink: #14213a;
  --muted: #64748b;
  --red: #d9152b;
  --red-dark: #a10e22;
  --gold: #f7b733;
  --gold-soft: #ffe6a5;
  --blue: #1c4d8f;
  --cyan: #2aa7b8;
  --paper: #ffffff;
  --line: #dbe5ef;
  --shadow: 0 22px 65px rgba(4, 12, 32, 0.32);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background: #0d1728;
}

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

button,
input,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  padding: clamp(14px, 2vw, 24px);
  isolation: isolate;
}

.background-video,
.shade {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.background-video {
  z-index: -3;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08);
  transform: scale(1.02);
}

.shade {
  z-index: -2;
  background: rgba(6, 10, 20, 0.58);
  pointer-events: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1760px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 18px 10px 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  background: rgba(10, 18, 32, 0.58);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

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

.brand-logo-wrap {
  display: grid;
  flex: 0 0 clamp(86px, 6vw, 104px);
  width: clamp(86px, 6vw, 104px);
  height: clamp(86px, 6vw, 104px);
  place-items: center;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--paper);
  font-size: clamp(1.25rem, 1.65vw, 1.86rem);
  font-weight: 900;
  line-height: 0.95;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
}

.topbar-prompts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.topbar-prompt {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(12, 23, 41, 0.64);
  font-size: 0.98rem;
  font-weight: 800;
  white-space: nowrap;
}

svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.topbar-prompt svg {
  color: #19b96f;
  stroke-width: 2.4;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  align-items: center;
  gap: clamp(74px, 6vw, 124px);
  width: min(1760px, 100%);
  min-height: 0;
  height: 100%;
  margin: 0 auto;
  padding: clamp(18px, 3.8vh, 44px) 0 0;
}

.hero-copy {
  min-width: 0;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid rgba(247, 183, 51, 0.58);
  border-radius: 999px;
  color: #ffe0a0;
  background: rgba(18, 28, 45, 0.62);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  font-weight: 850;
}

.eyebrow::before {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(247, 183, 51, 0.18);
  content: "";
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 720px;
  margin-top: 18px;
  color: var(--paper);
  font-size: clamp(2.55rem, 4.55vw, 4.7rem);
  font-weight: 950;
  line-height: 0.97;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.36);
}

.hero-copy > p {
  max-width: 720px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 1.55vw, 1.48rem);
  font-weight: 720;
  line-height: 1.42;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
}

.proof-list {
  display: grid;
  gap: 13px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.proof-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.93);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 820;
  line-height: 1.22;
}

.proof-list svg {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #19b96f;
  box-shadow: 0 8px 22px rgba(25, 185, 111, 0.24);
  padding: 5px;
  stroke-width: 3;
}

.form-card {
  position: relative;
  justify-self: center;
  width: min(560px, 100%);
  transform: translateX(clamp(-104px, -3.8vw, -62px));
  color: var(--ink);
  border-radius: 24px;
  padding: clamp(18px, 2vw, 26px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 240, 0.94)),
    var(--paper);
  box-shadow: var(--shadow);
}

.form-card::before {
  position: absolute;
  inset: 10px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.32);
  filter: blur(30px);
  content: "";
}

.form-heading {
  text-align: center;
}

.form-heading span {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.form-heading h2 {
  color: var(--ink);
  font-size: clamp(1.7rem, 2.6vw, 2.55rem);
  font-weight: 950;
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

.form-heading p {
  max-width: 560px;
  margin: 8px auto 0;
  color: #39506f;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  font-weight: 730;
  line-height: 1.38;
}

form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

label {
  display: grid;
  gap: 5px;
  color: #314764;
  font-size: 0.95rem;
  font-weight: 900;
}

label > span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

input,
select {
  width: 100%;
  height: 50px;
  border: 2px solid var(--line);
  border-radius: 14px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  padding: 0 16px;
  font-size: 1.02rem;
  font-weight: 720;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #344967 50%),
    linear-gradient(135deg, #344967 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 21px,
    calc(100% - 16px) 21px;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

input::placeholder {
  color: #91a1b4;
}

input:focus,
select:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(217, 21, 43, 0.12);
}

.consent {
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 2px;
  color: #455a76;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.35;
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--red);
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  gap: 12px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 15px 30px rgba(217, 21, 43, 0.28);
  cursor: pointer;
  padding: 0 18px;
  font-size: clamp(1.03rem, 1.4vw, 1.22rem);
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(217, 21, 43, 0.34);
  filter: brightness(1.03);
}

.submit-button:active {
  transform: translateY(0);
}

.submit-button svg {
  width: 24px;
  height: 24px;
}

.form-note {
  color: #748398;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.mobile-contact-actions {
  display: none !important;
}

.mobile-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 8px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
}

.mobile-contact-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.mobile-whatsapp {
  background: #24d366;
}

.mobile-call {
  color: #fff;
  background: var(--red);
}

.mobile-call svg {
  color: #fff;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
}

.success-modal[hidden] {
  display: none;
}

.success-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 20, 0.64);
  backdrop-filter: blur(10px);
}

.success-panel {
  position: relative;
  width: min(420px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 22px;
  padding: 34px 28px 28px;
  color: var(--ink);
  background: #fffdf8;
  box-shadow: 0 30px 90px rgba(3, 10, 28, 0.44);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #51627a;
  background: rgba(20, 33, 58, 0.08);
  cursor: pointer;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.success-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #19b96f;
  box-shadow: 0 14px 34px rgba(25, 185, 111, 0.32);
}

.success-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 3;
}

.success-panel h2 {
  color: var(--ink);
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 950;
  line-height: 1.05;
}

.success-panel p {
  margin-top: 10px;
  color: #39506f;
  font-size: 1rem;
  font-weight: 740;
  line-height: 1.45;
}

.success-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 22px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 950;
}

.firework-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.firework-burst span {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--spark, var(--gold));
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.35);
  animation: firework-pop 840ms ease-out forwards;
}

@keyframes firework-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform:
      translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px)))
      scale(1);
  }
}

.floating-actions {
  position: fixed;
  right: clamp(10px, 1.2vw, 22px);
  bottom: clamp(18px, 2vw, 34px);
  z-index: 3;
  display: grid;
  gap: 14px;
}

.float-button {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

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

.float-button svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
  stroke: none;
}

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

.whatsapp {
  background: #18b46f;
}

.phone {
  background: var(--red);
  color: #fff;
}

.phone svg {
  color: #fff;
}

.phone svg path {
  fill: #fff;
}

.mobile-call svg path {
  fill: #fff;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 42px;
  }

  .hero-copy {
    max-width: 920px;
  }

  .form-card {
    width: min(720px, 100%);
    transform: none;
  }

}

@media (max-width: 820px) {
  .page-shell {
    height: auto;
    min-height: 100dvh;
    grid-template-rows: auto minmax(0, 1fr);
    padding: 6px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .topbar {
    justify-content: center;
    width: auto;
    max-width: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .topbar-prompts {
    display: none;
  }

  .brand {
    justify-content: center;
    width: 100%;
  }

  .brand-logo-wrap {
    flex-basis: 120px;
    width: 120px;
    height: 120px;
    border-radius: 17px;
  }

  .brand > span:last-child {
    display: none;
  }

  .hero {
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    min-height: 0;
    height: auto;
    gap: 9px;
    padding: 4px 0 max(6px, env(safe-area-inset-bottom));
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
  }

  .eyebrow,
  .hero-copy > p,
  .proof-list {
    display: none;
  }

  h1 {
    max-width: 350px;
    margin: 0 auto;
    font-size: clamp(1.36rem, 5.8vw, 1.82rem);
    line-height: 1.02;
    text-align: center;
  }

  .form-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    width: min(100%, 500px);
    min-height: 0;
    max-height: none;
    justify-self: center;
    overflow: visible;
    border-radius: 18px;
    padding: 12px 14px;
  }

  .form-heading span {
    margin-bottom: 2px;
    font-size: 0.68rem;
  }

  .form-heading h2 {
    font-size: clamp(1.22rem, 5vw, 1.52rem);
    line-height: 1.02;
  }

  .form-heading p {
    display: none;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 8px;
    min-height: auto;
    overflow: visible;
  }

  .form-grid {
    gap: 6px;
  }

  label {
    gap: 2px;
    font-size: 0.74rem;
  }

  input,
  select {
    height: 46px;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  select {
    background-position:
      calc(100% - 22px) 19px,
      calc(100% - 16px) 19px;
  }

  .consent {
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 6px;
    font-size: 0.66rem;
    line-height: 1.16;
  }

  .consent input {
    width: 15px;
    height: 15px;
  }

  .submit-button {
    min-height: 48px;
    border-radius: 11px;
    gap: 8px;
    padding: 0 10px;
    font-size: 0.94rem;
  }

  .submit-button svg {
    width: 20px;
    height: 20px;
  }

  .form-note {
    display: none;
  }

  .floating-actions {
    display: none;
  }

  .mobile-contact-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .mobile-contact-button {
    min-height: 42px;
    box-shadow: 0 9px 22px rgba(8, 15, 32, 0.16);
    font-size: 1rem;
    font-weight: 950;
  }

  .mobile-contact-button svg {
    width: 20px;
    height: 20px;
  }

  .mobile-contact-actions[hidden] {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .brand-logo-wrap {
    flex-basis: 106px;
    width: 106px;
    height: 106px;
  }

  h1 {
    max-width: 320px;
    font-size: 1.42rem;
  }

  .form-card {
    padding: 10px;
  }

  .form-heading h2 {
    font-size: 1.28rem;
  }

  input,
  select {
    height: 44px;
    font-size: 0.88rem;
  }

  select {
    background-position:
      calc(100% - 22px) 18px,
      calc(100% - 16px) 18px;
  }

  .submit-button {
    min-height: 46px;
    font-size: 0.9rem;
  }

  .mobile-contact-button {
    min-height: 40px;
    font-size: 0.96rem;
  }
}

@media (max-width: 820px) and (max-height: 740px) {
  .page-shell {
    padding: 5px;
  }

  .topbar {
    padding: 0;
  }

  .brand-logo-wrap {
    flex-basis: 102px;
    width: 102px;
    height: 102px;
  }

  .hero {
    gap: 6px;
    padding-top: 4px;
  }

  h1 {
    font-size: 1.4rem;
  }

  .form-card {
    width: min(100%, 500px);
    padding: 11px 13px;
  }

  .form-heading span {
    display: none;
  }

  .form-heading h2 {
    font-size: 1.24rem;
  }

  form {
    gap: 7px;
    margin-top: 8px;
  }

  .form-grid {
    gap: 7px;
  }

  label {
    font-size: 0.8rem;
  }

  input,
  select {
    height: 44px;
    font-size: 0.9rem;
  }

  select {
    background-position:
      calc(100% - 22px) 18px,
      calc(100% - 16px) 18px;
  }

  .consent {
    font-size: 0.72rem;
  }

  .submit-button {
    min-height: 46px;
    font-size: 0.9rem;
  }

  .mobile-contact-button {
    min-height: 40px;
    font-size: 0.96rem;
  }
}

@media (max-width: 768px) {
  html,
  body,
  .page-shell,
  .hero,
  .form-card {
    overflow-x: hidden;
  }

  .page-shell {
    padding: 12px;
  }

  .hero {
    width: 100%;
    padding-inline: 0;
  }

  .form-card {
    width: 100%;
    max-width: 100%;
    max-height: none;
    overflow: visible;
    padding: 20px 16px;
  }

  form {
    gap: 14px;
  }

  .form-grid {
    gap: 14px;
  }

  label {
    gap: 0;
    font-size: 14px;
    font-weight: 600;
  }

  label > span {
    margin-bottom: 6px;
  }

  input,
  select {
    height: 48px;
    padding: 12px 14px;
    font-size: 16px;
  }

  select {
    background-position:
      calc(100% - 22px) 21px,
      calc(100% - 16px) 21px;
  }

  .consent {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    line-height: 1.25;
  }

  .consent input {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
  }

  .consent span {
    margin-bottom: 0;
  }

  .submit-button {
    min-height: 50px;
    font-size: 16px;
    font-weight: 950;
  }

  .mobile-contact-actions {
    gap: 10px;
  }

  .mobile-contact-button {
    min-height: 44px;
    font-size: 16px;
    font-weight: 950;
  }

  .mobile-contact-button svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-height: 820px) and (min-width: 1101px) {
  .page-shell {
    padding-block: 12px;
  }

  .brand-logo-wrap {
    flex-basis: 92px;
    width: 92px;
    height: 92px;
  }

  .topbar {
    padding-block: 8px;
  }

  .hero {
    padding-top: 16px;
  }

  h1 {
    margin-top: 14px;
    font-size: clamp(2.45rem, 4.55vw, 4.7rem);
  }

  .hero-copy > p {
    margin-top: 12px;
    font-size: clamp(1rem, 1.25vw, 1.22rem);
  }

  .proof-list {
    gap: 9px;
    margin-top: 18px;
  }

  .proof-list li {
    font-size: 1rem;
  }

  .form-card {
    padding: 18px;
  }

  .form-heading h2 {
    font-size: clamp(1.55rem, 2.2vw, 2.18rem);
  }

  .form-heading p {
    font-size: 0.98rem;
  }

  form {
    gap: 10px;
    margin-top: 14px;
  }

  label {
    font-size: 0.88rem;
  }

  input,
  select {
    height: 46px;
    border-radius: 12px;
    font-size: 0.95rem;
  }

  select {
    background-position:
      calc(100% - 22px) 19px,
      calc(100% - 16px) 19px;
  }

  .submit-button {
    min-height: 50px;
  }

  .form-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-shell {
    background: url("./background-poster.jpg?v=20260811-0310") center / cover no-repeat;
  }

  .background-video {
    display: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
