*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

:root {
  --beige: #f7f4f2;
  --beige-input: #e5e2da;
  --text-dark: rgb(16, 51, 72);
  --text-body: #3a3a3a;
  --text-light: #666;
  --text-muted: #999;
  --green-italic: rgb(35, 148, 88);
  --btn-navy: #1a2b3c;
  --toggle-off: #c8c4bc;
  --toggle-on: #3d7a52;
  --radio-on: #3d7a52;
  --sep: #1649692e;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  background: rgb(54, 138, 89);
  color: var(--text-body);
  overflow-x: hidden;
}

/* =====================
   LAYOUT
   ===================== */
.page-wrapper {
  display: flex;
  min-height: 100vh;
}

/* LEFT */
.left-panel {
  position: sticky;
  top: 0;
  width: 50%;
  height: 100vh;
  background: radial-gradient(53% 50% at 51.1% 72.6%, #2d6e48 0%, #368a59 100%);
  overflow: hidden;
  flex-shrink: 0;
}

.left-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-105%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 45px 24px 0 38px;
  z-index: 1;
  height: auto;
}

.left-eyebrow {
  font-family: 'Source Code Pro', monospace;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 13px;
  -webkit-font-smoothing: antialiased;
}

.left-title {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 60px;
  color: #fff;
  letter-spacing: normal;
  line-height: 63px;
  margin-bottom: 9px;
  -webkit-font-smoothing: antialiased;
}

.left-subtitle {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 26px;
  color: #FFF;
  line-height: 29.9px;
  font-weight: 400;
  width: 600px;
}

.left-subtitle strong {
  font-weight: 700;
  font-style: italic;
  color: #fff;
}

.left-footer {
  display: contents;
}

.person-image {
  position: absolute;
  border-radius: inherit;
  corner-shape: inherit;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 390px;
  height: 350px;
  aspect-ratio: 1.11429;
}

.left-person {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  corner-shape: inherit;
  object-position: center top;
  object-fit: cover;
}

.left-person.hidden {
  opacity: 0;
}

/* RIGHT */
.right-panel {
  width: 50%;
  background: var(--beige);
  flex-shrink: 0;
  overflow-y: auto;
  padding: 44px 24px 40px 40px;
}

/* =====================
   RIGHT CONTENT
   ===================== */
.right-inner {
  max-width: 500px;
  margin: 0 auto;
}

.logo {
  font-family: "Merriweather", "Merriweather Placeholder", serif;
  font-size: 19px;
  font-weight: 700;
  color: rgb(16, 51, 72);
  text-align: center;
  margin-bottom: 24px;
  line-height: 22.8px;
}

.logo .dot {
  color: rgb(45, 178, 107);
}

.sep {
  width: 100%;
  height: 2px;
  background: var(--sep);
  margin-bottom: 27px;
}

.headline-block {
  margin-bottom: 24px;
}

.headline-block h2 {
  font-family: 'Source Sans 3';
  font-weight: 700;
  font-size: 26px;
  line-height: 31.2px;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: 1.04px;
}

.headline-block h2 em {
  font-style: italic;
}

.headline-block .subhead {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 21.6px;
}

.body-text {
  margin-bottom: 24px;
}

.body-text p {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  color: var(--text-body);
  line-height: 22.4px;
  margin-bottom: 14px;
}

.body-text p:last-child {
  margin-bottom: 0;
}

.check-list {
  list-style: none;
  margin-bottom: 36px;
  padding: 0px 6px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-family: 'Merriweather', serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 700;
  color: var(--green-italic);
  line-height: 1.55;
}

.check-list li .check {
  aspect-ratio: 1;
  height: 24px;
  width: 24px;
  position: relative;
}

.check-list li .check svg {
  display: inline-block;
  position: relative;
  top: -2px;
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* =====================
   COTIZADOR CARD
   ===================== */
.cotizador-card {
  background: #f0f0f0;
  border-radius: 10px;
  /* stretch full width of right-panel ignoring right-inner max-width */
  width: calc(100% + 0px);
  padding: 24px 40px 28px 40px;
  margin-top: 0;
  font-family: 'Source Sans 3', sans-serif;
}

/* title inside card */
.section-title {
  font-weight: 700;
  font-size: 26px;
  color: var(--text-dark);
  margin-bottom: 0;
}

.separator {
  width: 100%;
  height: 2px;
  background: var(--sep);
  margin: 16px 0 20px;
}

.group-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 0;
}

/* RADIO */
.radio-group {
  display: flex;
  flex-direction: column;
}

.radio-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  cursor: pointer;
  /* border-bottom: 1px solid var(--sep); */
  user-select: none;
}

.radio-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #b0aca6;
  background: #f0f0f0;
  flex-shrink: 0;
  margin-top: 1px;
  transition: border-color 0.15s, border-width 0.15s;
}

.radio-item.selected .radio-dot {
  border-color: var(--radio-on);
  border-width: 7px;
}

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

.radio-title {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
}

.radio-sub {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  color: var(--text-light);
}

/* TOGGLE */
.toggle-group {
  display: flex;
  flex-direction: column;
}

.toggle-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  cursor: pointer;
  user-select: none;
}


.toggle-switch {
  position: relative;
  width: 40px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-track {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: var(--toggle-off);
  transition: background 0.2s;
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s;
}

.toggle-item.on .toggle-track {
  background: var(--toggle-on);
}

.toggle-item.on .toggle-thumb {
  transform: translateX(16px);
}

.toggle-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
}

/* =====================
   FORM (outside card)
   ===================== */
.form-outer {
  max-width: 500px;
  margin: 0 auto;
  padding-top: 24px;
  padding-bottom: 40px;
}

.form-field {
  margin-bottom: 14px;
}

.field-label {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.field-input {
  width: 100%;
  background: var(--beige-input);
  border: none;
  border-radius: 6px;
  padding: 11px 14px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: background 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.field-input::placeholder {
  color: #b0aca4;
}

.field-input:focus {
  background: #dedad2;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-muted);
  pointer-events: none;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--btn-navy);
  color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  transition: opacity 0.2s;
}

.submit-btn:hover {
  opacity: 0.88;
}

.right-footer {
  text-align: center;
  padding: 34px 40px 32px;
  font-family: 'Source Code Pro', monospace;
  font-size: 14px;
  letter-spacing: normal;
  text-transform: uppercase;
  color: rgb(16, 51, 72);
}

/* =====================
   MOBILE
   ===================== */
@media (max-width: 1199px) {
  .page-wrapper {
    flex-direction: column;
  }

  .left-eyebrow {
    margin-bottom: -1px;
  }

  .left-panel {
    position: sticky;
    width: 100%;
    height: min-content;
    padding: 60px 24px 0;
    flex-flow: column;
    display: flex;
    align-items: center;
  }

  .left-content {
    flex-flow: column;
    flex: 1 0 0;
    place-content: center;
    align-items: center;
    gap: 13px;
    width: 100%;
    max-width: 600px;
    height: 1px;
    padding: 24px 0 0;
    display: flex;
    position: relative;
    overflow: visible;
    flex: none;
    height: min-content;
    top: auto;
    transform: unset;
  }

  .left-title {
    margin-bottom: 0px;
  }

  .left-subtitle {
    max-width: 554px;
  }


  .person-image {
    position: sticky;
    width: 259px;
    height: 232px;
  }

  .right-panel {
    width: 100%;
    position: relative;
    z-index: 2;
    overflow-y: visible;
    height: auto;
    margin-top: -2px;
  }
}

@media (max-width: 600px) {

  .left-panel {
    position: sticky;
    width: 100%;
    padding: 56px 24px 0 38px;
    flex-flow: column;
    display: flex;
    align-items: center;
  }

  .left-content {
    gap: 3px;
  }

  .left-title {
    font-size: 55px;
  }

  .left-subtitle {
    font-size: 22px;
  }

  .left-subtitle {
    max-width: 311px;
  }

  .right-panel {
    padding: 60px 16px 40px;
  }

  .cotizador-card {
    padding: 20px 20px 24px;
  }

  .person-image {
    width: 212px;
    height: 190px;
    left: unset;
    transform: unset;
  }

}