:root {
  --ink: #102331;
  --deep: #063c3f;
  --deep-2: #0f4d5b;
  --paper: #fffaf2;
  --white: #ffffff;
  --muted: #5f6f7e;
  --line: #d9e3ea;
  --teal: #14a38b;
  --mint: #d9fbef;
  --amber: #f3a51d;
  --orange: #f07c1a;
  --shadow: 0 28px 70px rgba(6, 24, 35, 0.25);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--white);
  background: #102331;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #102331;
}

.site-header,
main {
  position: relative;
  z-index: 1;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.bg-video.is-poster-only {
  opacity: 0.74;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.38) 42%, rgba(0, 0, 0, 0.08) 72%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.04));
}

.site-header {
  width: min(1280px, calc(100% - 48px));
  min-height: 78px;
  margin: 16px auto 0;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  box-shadow: 0 20px 45px rgba(5, 22, 34, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  min-width: 0;
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: min(260px, 100%);
  height: auto;
  display: block;
}

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

.phone-link {
  min-height: 38px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  background: #f4f8f8;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.phone-link svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
  fill: currentColor;
}

.hero {
  width: min(1280px, calc(100% - 48px));
  min-height: calc(100svh - 82px);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) 0 18px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(410px, 500px);
  align-items: center;
  gap: clamp(24px, 4.5vw, 54px);
}

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

.eyebrow {
  width: fit-content;
  margin: 0 0 15px;
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffe6ba;
  border: 1px solid rgba(243, 165, 29, 0.55);
  border-radius: 999px;
  background: rgba(16, 35, 49, 0.42);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 11px;
  height: 11px;
  display: inline-block;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(243, 165, 29, 0.16);
}

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

h1 {
  max-width: 640px;
  margin-bottom: 13px;
  font-size: clamp(2.28rem, 4vw, 3.58rem);
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--white);
  text-wrap: balance;
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 17px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.92rem, 1.35vw, 1.04rem);
  line-height: 1.42;
  font-weight: 650;
}

.feature-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.86rem, 1.18vw, 0.96rem);
  font-weight: 750;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.feature-list span {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--amber);
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
}

.lead-card {
  width: 100%;
  max-width: 470px;
  justify-self: end;
  padding: clamp(18px, 2.4vw, 24px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-badge {
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 12px;
  color: #87560c;
  background: #fff1d6;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.urgency-badge {
  margin: 0 0 10px;
  padding: 9px 12px;
  color: #6f3900;
  background: #fff2d8;
  border: 1px solid #ffd28e;
  border-radius: var(--radius);
  font-size: 0.78rem;
  line-height: 1.28;
  font-weight: 900;
}

.lead-card h2 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: clamp(1.58rem, 2.35vw, 2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.form-intro {
  margin-bottom: 13px;
  color: #405263;
  font-size: clamp(0.86rem, 1.12vw, 0.94rem);
  line-height: 1.34;
  font-weight: 750;
}

.lead-form {
  display: grid;
  gap: 9px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.field-group {
  display: grid;
  gap: 4px;
}

.field-group label {
  color: #354658;
  font-size: 0.76rem;
  font-weight: 850;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
  box-shadow: inset 0 1px 2px rgba(6, 24, 35, 0.03);
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 163, 139, 0.14);
}

.submit-button {
  min-height: 52px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink);
  background: linear-gradient(90deg, var(--amber), var(--orange));
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: clamp(0.94rem, 1.3vw, 1.02rem);
  font-weight: 950;
  box-shadow: 0 16px 32px rgba(240, 124, 26, 0.26);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 19px 36px rgba(240, 124, 26, 0.31);
}

.submit-button:disabled {
  cursor: progress;
  filter: saturate(0.85);
  opacity: 0.78;
}

.submit-button span {
  font-size: 1.45rem;
  line-height: 1;
}

.submit-button .submit-label {
  font-size: inherit;
  line-height: inherit;
}

.form-status {
  min-height: 18px;
  margin: 0;
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.form-status.is-error {
  color: #a53c13;
}

.consent-note {
  margin: -2px 0 0;
  color: #6a7884;
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 650;
}

.modal-open {
  overflow: hidden;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(6, 24, 35, 0.62);
  backdrop-filter: blur(10px);
}

.success-modal[aria-hidden="false"] {
  display: grid;
}

.fireworks-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.success-dialog {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  padding: 28px;
  color: var(--ink);
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.success-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #f4f8f8;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.success-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 15px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border: 5px solid var(--mint);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 900;
}

.success-dialog h2 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 2rem;
}

.success-dialog p {
  margin-bottom: 20px;
  color: #405261;
  font-weight: 700;
  line-height: 1.5;
}

.success-button {
  min-height: 44px;
  padding: 0 26px;
  color: var(--white);
  background: var(--orange);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(240, 124, 26, 0.24);
}

.section {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 72px) 0;
  color: var(--ink);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 24px;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--orange);
  font-weight: 900;
}

.section h2 {
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.08;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.reason-card,
.proof-strip,
.faq-item {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(5, 22, 34, 0.16);
  backdrop-filter: blur(16px);
}

.reason-card {
  min-height: 190px;
  padding: 22px;
}

.reason-card span {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 950;
}

.reason-card h3 {
  margin: 14px 0 9px;
  color: var(--deep);
  font-size: 1.18rem;
}

.reason-card p,
.faq-item p {
  margin: 0;
  color: #526271;
  line-height: 1.48;
  font-weight: 680;
}

.proof-strip {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.proof-strip div {
  padding: 12px;
  border-left: 4px solid var(--teal);
}

.proof-strip strong {
  display: block;
  color: var(--deep);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}

.proof-strip span {
  display: block;
  margin-top: 4px;
  color: #526271;
  font-weight: 750;
}

.faq-section {
  padding-top: 24px;
  padding-bottom: 110px;
}

.faq-item {
  margin-bottom: 10px;
  padding: 0 18px;
}

.faq-item summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--deep);
  font-weight: 900;
}

.faq-item p {
  padding: 0 0 18px;
}

.faq-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-actions a {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: linear-gradient(90deg, var(--amber), var(--orange));
  border-radius: var(--radius);
  font-weight: 950;
}

.faq-actions a + a {
  color: var(--white);
  background: #0a3857;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: grid;
  gap: 8px;
}

.float-button {
  width: 62px;
  height: 62px;
  display: grid;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.float-button.call {
  color: var(--white);
  background: var(--orange);
  border: 3px solid rgba(255, 255, 255, 0.74);
}

.float-button.whatsapp {
  background: #25d366;
  color: var(--white);
}

.float-button svg {
  width: 31px;
  height: 31px;
  display: block;
  fill: currentColor;
}

.float-label {
  display: none;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .hero-copy,
  .lead-card {
    max-width: none;
  }

  .lead-card {
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 76px;
  }

  .site-header {
    width: min(100% - 24px, 620px);
    min-height: 0;
    margin-top: 10px;
    padding: 9px 12px;
    border-radius: 20px;
  }

  .brand-logo {
    width: min(242px, 100%);
  }

  .phone-link {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    justify-content: center;
  }

  .phone-link strong {
    display: none;
  }

  .hero {
    width: min(100% - 24px, 620px);
    min-height: 0;
    padding: 18px 0 26px;
    gap: 14px;
  }

  .hero-copy {
    display: contents;
  }

  .eyebrow,
  h1,
  .hero-lead {
    order: 1;
  }

  .lead-card {
    order: 2;
  }

  .feature-list {
    order: 3;
  }

  .eyebrow {
    margin-bottom: 11px;
    padding: 7px 11px;
    font-size: 0.76rem;
  }

  h1 {
    margin-bottom: 10px;
    font-size: clamp(1.82rem, 8vw, 2.42rem);
    line-height: 1.06;
  }

  .hero-lead {
    margin-bottom: 12px;
    font-size: 0.86rem;
    line-height: 1.36;
  }

  .feature-list {
    display: none;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lead-card {
    padding: 16px;
  }

  .form-badge {
    margin-bottom: 8px;
    font-size: 0.72rem;
  }

  .urgency-badge {
    padding: 8px 10px;
    font-size: 0.7rem;
  }

  .lead-card h2 {
    font-size: 1.42rem;
  }

  .form-intro {
    margin-bottom: 10px;
    font-size: 0.8rem;
  }

  .lead-form {
    gap: 8px;
  }

  .field-group label {
    font-size: 0.7rem;
  }

  .field-group input,
  .field-group select {
    min-height: 40px;
    padding: 0 10px;
  }

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

  .consent-note {
    font-size: 0.66rem;
  }

  .success-dialog {
    padding: 24px 18px;
  }

  .success-dialog h2 {
    font-size: 1.72rem;
  }

  .section {
    width: min(100% - 24px, 620px);
    padding: 38px 0;
  }

  .section h2 {
    font-size: 1.72rem;
  }

  .reason-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .reason-card {
    min-height: auto;
    padding: 18px;
  }

  .faq-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .faq-actions a {
    width: 100%;
  }

  .floating-actions {
    left: auto;
    right: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .float-button {
    width: 56px;
    height: 56px;
    padding: 0;
    display: grid;
    border-radius: 50%;
  }

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

  .float-label {
    display: none;
  }

  .float-button.call {
    border-width: 3px;
  }
}

@media (max-width: 380px) {
  .float-label {
    font-size: 0.78rem;
  }
}

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

  .bg-video {
    display: none;
  }

  .submit-button {
    transition: none;
  }
}
