:root {
  --blue-900: #0B2A5B;
  --blue-700: #0B3FA0;
  --blue-600: #0B5FFF;
  --blue-500: #3B7BFF;
  --blue-100: #E9F0FF;
  --blue-50: #F4F8FF;

  --green-600: #17B85C;
  --green-100: #E3FBEC;

  --purple-600: #7C5CFC;
  --purple-100: #EFEBFF;

  --orange-600: #F5820C;
  --orange-100: #FFF1DF;

  --amber-600: #F6A609;
  --indigo-600: #5B6BD6;

  --ink-900: #0F1B33;
  --ink-700: #33425C;
  --ink-500: #66748F;
  --ink-300: #A7B2C6;

  --border: #E7ECF5;
  --surface: #FFFFFF;

  --r-16: 16px;
  --r-20: 20px;
  --r-24: 24px;

  --shadow-soft: 0 2px 10px rgba(15, 27, 51, 0.05);
  --shadow-layered: 0 10px 28px rgba(15, 27, 51, 0.09), 0 2px 6px rgba(15, 27, 51, 0.05);
  --shadow-glass: 0 24px 60px rgba(11, 95, 255, 0.14), 0 6px 16px rgba(15, 27, 51, 0.06);

  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink-900);
  background: #EAF1FE;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
p,
ul {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
}

svg {
  display: block;
}

.page {
  max-width: 1600px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* ================= HEADER ================= */
.l-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 48px 0;
  position: relative;
  z-index: 5;
}

.l-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.l-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.l-brand-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--blue-600);
  letter-spacing: .2px;
}

.l-brand-legal {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--blue-500);
}

.l-brand-tag {
  font-size: 9.5px;
  letter-spacing: .8px;
  color: var(--ink-500);
  margin-top: 2px;
}

.l-help {
  text-align: right;
}

.l-help-label {
  display: block;
  font-size: 13px;
  color: var(--ink-700);
  margin-bottom: 8px;
  font-weight: 600;
}

.l-help-buttons {
  display: flex;
  gap: 10px;
}

.l-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  border-radius: 99px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue-600);
  box-shadow: var(--shadow-soft);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}

.l-pill svg {
  width: 16px;
  height: 16px;
}

.l-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-layered);
}

.l-pill-whatsapp {
  color: #1DA851;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  padding: 24px 48px 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding-top: 12px;
}

.hero-copy h1 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--blue-900);
  letter-spacing: -1px;
}

.hero-copy h1 span {
  color: var(--blue-600);
}

.hero-copy p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-700);
  font-weight: 500;
  line-height: 1.5;
}

/* ================= HERO IMAGE ================= */
.hero-image {
  margin-top: -28px;
  width: 100%;
  max-width: 1060px;
  aspect-ratio: 3 / 2;
  margin-left: auto;
  margin-right: auto;
  background-image: url('../assets/hero_bg_desktop.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* ================= CTA CARD ================= */
.cta-card {
  position: relative;
  z-index: 4;
  max-width: 980px;
  margin: -100px auto 0;
  background: var(--surface);
  border-radius: var(--r-24);
  box-shadow: var(--shadow-glass);
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

.cta-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cta-title-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  flex-shrink: 0;
}

.cta-title-ico svg {
  width: 20px;
  height: 20px;
}

.cta-title-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cta-title h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue-900);
  white-space: nowrap;
}

.cta-subtitle {
  font-size: 13.5px;
  color: var(--ink-500);
  font-weight: 500;
  margin: 0;
}

.cta-form {
  flex: 1;
  min-width: 280px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}

.cta-input-row {
  grid-column: 1;
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 250ms var(--ease), box-shadow 250ms var(--ease);
}

.cta-input-row:focus-within {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px var(--blue-100);
}

.cta-code {
  border: none;
  background: var(--blue-50);
  padding: 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  border-right: 1.5px solid var(--border);
}

.cta-phone {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px;
  font-size: 15px;
  color: var(--ink-900);
  min-width: 0;
}

.cta-phone::placeholder {
  color: var(--ink-300);
}

.cta-btn {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: 14px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--blue-900), var(--blue-600));
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(11, 95, 255, 0.28);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
  white-space: nowrap;
}

.cta-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 250ms var(--ease);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(11, 95, 255, 0.34);
}

.cta-btn:hover svg {
  transform: translateX(4px);
}

/* Note items inside the form */
.cta-note-item {
  grid-column: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-500);
  width: 100%;
}

.cta-note-top {
  grid-row: 2;
}

.cta-note-bottom {
  grid-row: 3;
}

.cta-note-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.cta-note-top svg {
  color: var(--ink-500);
}

.cta-note-bottom svg {
  color: var(--green-600);
}

/* ================= TRUST STRIP ================= */
.trust-strip {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 24px auto 0;
  background: var(--surface);
  border-radius: var(--r-20);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  padding: 22px 30px;
}

.trust-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.3;
  border-right: 1px solid var(--border);
  padding: 4px 16px;
}

.trust-item:last-child {
  border-right: none;
}

.trust-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-ico svg {
  width: 19px;
  height: 19px;
}

.t-blue {
  background: var(--blue-100);
  color: var(--blue-600);
}

.t-green {
  background: var(--green-100);
  color: var(--green-600);
}

.t-orange {
  background: var(--orange-100);
  color: var(--orange-600);
}

.t-purple {
  background: var(--purple-100);
  color: var(--purple-600);
}

.t-amber {
  background: #FFF6DE;
  color: var(--amber-600);
}

.t-indigo {
  background: #EDEEFB;
  color: var(--indigo-600);
}

/* ================= FOOTER ================= */
.l-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 26px 24px 34px;
  font-size: 12.5px;
  color: var(--ink-500);
  text-align: center;
}

.l-footer svg {
  width: 16px;
  height: 16px;
  color: var(--blue-600);
  flex-shrink: 0;
}

/* ================= SERVICES ================= */
.services-section {
  background: var(--surface);
  border-radius: var(--r-24);
  box-shadow: var(--shadow-soft);
  padding: 28px 36px;
  margin: 28px auto 0;
  max-width: 1400px;
  width: calc(100% - 96px);
}

.services-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.services-header h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--blue-900);
}

.services-view-all {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue-600);
  transition: transform 200ms var(--ease);
}

.services-view-all:hover {
  transform: translateX(2px);
}

.services-view-all svg {
  width: 15px;
  height: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  cursor: default;
  pointer-events: none;
}

.service-ico {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-ico svg {
  width: 24px;
  height: 24px;
}

.service-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-700);
  line-height: 1.3;
}

/* Service Colors */
.s-blue {
  background: #E9F2FF;
  color: #0B5FFF;
}

.s-purple {
  background: #F3EFFF;
  color: #7C5CFC;
}

.s-green {
  background: #E2FCEB;
  color: #17B85C;
}

.s-orange {
  background: #FFF0DF;
  color: #F5820C;
}

.l-menu-toggle {
  display: none;
}

/* ================= RESPONSIVE ================= */
@media (max-width:1200px) {
  .cta-card {
    margin-top: -70px;
  }

  .trust-strip {
    padding: 18px 20px;
  }

  .trust-item {
    font-size: 12.5px;
    padding: 4px 10px;
    gap: 8px;
  }
}

@media (max-width:860px) {
  .l-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 0;
  }

  .l-brand {
    flex-direction: row;
    text-align: left;
    gap: 8px;
  }

  .l-brand-text {
    text-align: left;
  }

  .l-brand svg {
    width: 36px;
    height: 36px;
  }

  .l-brand-name {
    font-size: 15px;
  }

  .l-brand-legal {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .l-brand-tag {
    font-size: 7.5px;
    letter-spacing: 0.2px;
    margin-top: 0px;
  }

  .l-help-label {
    display: none;
  }

  .l-help-buttons {
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
  }

  .l-pill {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
  }

  .l-pill svg {
    width: 18px;
    height: 18px;
  }

  .l-pill-text {
    display: none;
  }

  .l-menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    background: #F4F7FC;
    color: var(--blue-600);
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
  }

  .l-menu-toggle svg {
    width: 20px;
    height: 20px;
  }

  .hero {
    padding: 16px 20px 0;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy p {
    font-size: 14.5px;
  }

  .br-desktop {
    display: none;
  }

  .hero-image {
    width: 100%;
    margin-top: 20px;
  }

  .cta-card {
    flex-direction: column;
    align-items: stretch;
    padding: 26px 22px;
    margin-top: -40px;
  }

  .cta-form {
    display: flex;
    flex-direction: column;
  }

  .cta-btn {
    justify-content: center;
  }

  .u-hide-mobile {
    display: none !important;
  }

  .trust-strip {
    display: flex;
    flex-wrap: nowrap;
    padding: 16px 12px;
    gap: 8px;
    justify-content: space-between;
    margin: 16px 19px;
  }

  .trust-item {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: none;
    padding: 0;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
  }

  .trust-ico {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .trust-ico svg {
    width: 16px;
    height: 16px;
  }

  .services-section {
    width: calc(100% - 40px);
    padding: 20px 16px;
    margin: 16px auto 0;
    border-radius: var(--r-20);
  }

  .services-header {
    margin-bottom: 16px;
  }

  .services-header h2 {
    font-size: 15.5px;
  }

  .services-view-all {
    font-size: 12px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 12px;
  }

  .service-card {
    gap: 6px;
  }

  .service-ico {
    width: 44px;
    height: 44px;
  }

  .service-ico svg {
    width: 18px;
    height: 18px;
  }

  .service-label {
    font-size: 11px;
  }
}

@media (max-width:480px) {
  .hero-copy h1 {
    font-size: 27px;
  }

  .cta-card {
    margin-top: -24px;
  }

  .cta-title h2 {
    font-size: 15.5px;
    white-space: normal;
  }
}

@media (min-width: 861px) and (max-height: 800px) {
  .l-header {
    padding: 6px 48px 0;
  }

  .hero {
    padding: 6px 48px 0;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .hero-copy p {
    margin-top: 4px;
    font-size: 13px;
  }

  .hero-image {
    max-width: 600px;
    margin-top: -30px;
  }

  .cta-card {
    margin-top: -110px;
    padding: 14px 32px;
    gap: 12px;
  }

  .cta-title h2 {
    font-size: 16px;
  }

  .cta-phone,
  .cta-code {
    padding: 12px 14px;
    font-size: 14px;
  }

  .cta-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .cta-notes {
    padding-top: 10px;
    margin-top: 2px;
    font-size: 11.5px;
  }
}

/* Spinner animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Toast animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 16px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Loader overlay */
#submitLoader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

#submitLoader.show {
  display: flex;
}

.spinner-ring {
  width: 56px;
  height: 56px;
  border: 4px solid var(--border);
  border-top-color: var(--blue-600);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

/* Alert toast */
#toastWrap {
  position: fixed;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2100;
  min-width: 300px;
  max-width: 90%;
}

.toast-msg {
  background: var(--surface);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: var(--shadow-layered);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  margin-bottom: 8px;
  animation: fadeInUp 300ms var(--ease) forwards;
}

.toast-msg.success {
  border-left: 4px solid var(--green-600);
  color: var(--green-600);
}

.toast-msg.error {
  border-left: 4px solid #E5484D;
  color: #E5484D;
}

/* Error validation fields */
.cta-input-row.has-error {
  border-color: #E5484D !important;
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.15) !important;
}

.cta-input-row.has-success {
  border-color: var(--green-600) !important;
  box-shadow: 0 0 0 4px rgba(23, 184, 92, 0.15) !important;
}

/* ================= SERVICES PANE ================= */
.services-pane {
  max-width: 640px;
  margin: 24px auto 40px;
  background: var(--surface);
  border-radius: var(--r-24);
  box-shadow: var(--shadow-glass);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.services-pane-header {
  position: relative;
  text-align: center;
  padding: 0 40px;
}

.l-back-btn {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--blue-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 250ms var(--ease);
}

.l-back-btn:hover {
  background: var(--blue-50);
  color: var(--blue-600);
  border-color: var(--blue-600);
  transform: translateY(-50%) scale(1.05);
}

.l-back-btn svg {
  width: 18px;
  height: 18px;
}

.services-pane-header h1 {
  font-size: 28px;
  font-weight: 900;
  color: var(--blue-900);
  margin-bottom: 6px;
  line-height: 1.2;
}

.services-pane-header p {
  font-size: 14px;
  color: var(--ink-500);
  font-weight: 500;
}

.services-option-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-option-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  cursor: pointer;
  transition: all 250ms var(--ease);
  background: var(--surface);
  text-align: left;
}

.service-option-card:hover {
  border-color: var(--blue-600);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.service-option-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-option-icon svg {
  width: 24px;
  height: 24px;
}

.service-option-text {
  flex: 1;
}

.service-option-text h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--blue-900);
  margin: 0 0 2px 0;
  line-height: 1.3;
}

.service-option-text p {
  font-size: 12.5px;
  color: var(--ink-500);
  margin: 0;
  font-weight: 500;
}

.service-option-chevron {
  color: var(--blue-500);
  transition: transform 200ms var(--ease);
  flex-shrink: 0;
}

.service-option-card:hover .service-option-chevron {
  transform: translateX(4px);
  color: var(--blue-600);
}

.service-option-chevron svg {
  width: 18px;
  height: 18px;
}

/* Specific item colors */
.s-blue-light {
  background: #EAF2FF;
  color: #0b5fff;
}

.s-green-light {
  background: #E2FCEB;
  color: #17B85C;
}

.s-purple-light {
  background: #F3EFFF;
  color: #7C5CFC;
}

.s-orange-light {
  background: #FFF0DF;
  color: #F5820C;
}

.s-amber-light {
  background: #FFF6DE;
  color: #F6A609;
}

.s-indigo-light {
  background: #EDEEFB;
  color: #5B6BD6;
}

@media (max-width: 600px) {
  .services-pane {
    padding: 24px 16px;
    margin: 16px 12px;
    border-radius: var(--r-20);
    gap: 18px;
  }

  .services-pane-header {
    padding: 0 32px;
  }

  .services-pane-header h1 {
    font-size: 22px;
  }

  .services-pane-header p {
    font-size: 13px;
  }

  .l-back-btn {
    width: 32px;
    height: 32px;
  }

  .l-back-btn svg {
    width: 14px;
    height: 14px;
  }

  .service-option-card {
    padding: 12px 14px;
    gap: 12px;
    border-radius: 12px;
  }

  .service-option-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .service-option-icon svg {
    width: 18px;
    height: 18px;
  }

  .service-option-text h3 {
    font-size: 13.5px;
  }

  .service-option-text p {
    font-size: 11px;
  }
}