/* TM CMS component */
/*!
 * The Landing Cost Calculator — widget styles
 * ------------------------------------------------------------
 * Sibling stylesheet to riviera-cost-calculator.css, for the same widget
 * template rebuilt for a different property (The Landing). Loaded
 * automatically by landing-cost-calculator.js into the widget's Shadow DOM,
 * so these rules only ever affect the calculator itself — they can't leak
 * out onto the rest of the page, and the page's own CSS can't leak in.
 *
 * The script finds this file either via CONFIG.cssUrl (an explicit URL set
 * in landing-cost-calculator.js) or, if that's left blank, by looking next
 * to its own script location — see the CONFIG comments in the .js file.
 *
 * FONT INHERITANCE: this file intentionally sets no font-family or
 * font-size anywhere, so all text takes on whatever font and size are
 * already in effect on the page around the #calculator div (font-family,
 * font-size, and color are inherited CSS properties, so they flow in from
 * the host page automatically once we stop overriding them here). Because
 * this widget renders in a Shadow DOM, that's also the limit of how far
 * the page's styling can reach in: the site's own CSS rules that target
 * tags/classes (its own h2 { ... }, button { ... }, etc.) cannot cross
 * into the shadow tree at all — only inherited values like font-family and
 * font-size make it through. If deeper theming is ever needed (matching
 * the site's exact heading or button styles), that has to be done here in
 * this file, not from the page's stylesheet.
 *
 * All colors, spacing and layout here are visual settings, not calculator
 * logic — safe to tweak freely without touching the .js file. The one
 * exception is anything under CONFIG in landing-cost-calculator.js
 * (pricing, copy, links), which lives in the JS file on purpose since
 * it isn't styling.
 */

@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@100;300;400;600&family=Mulish:ital,wght@0,300;0,400;0,700;1,700&display=swap');

.lc-root {
  --lc-navy: #00455d;
  --lc-navy-text: #0b263b;
  --lc-blue: #3a7cb2;
  --lc-gold: #c38359;
}

.lc-root * {
  box-sizing: border-box;
}

.lc-root {
  display: block;
  color: #3c4a56;
  max-width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e3e9ec;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 50, 70, 0.06);
}

.lc-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 36px 32px;
}

@media (max-width: 560px) {
  .lc-body {
    padding: 28px 20px 24px;
  }
}

.lc-heading {
  max-width: 980px;
  margin: 0 auto 16px;
  font-family: 'Prompt', sans-serif;
  font-weight: 100;
  font-size: 60px;
  line-height: 1.167;
  color: var(--lc-navy-text);
  letter-spacing: normal;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 620px) {
  .lc-heading {
    font-size: 34px;
  }
}

.lc-subheading {
  text-align: center;
  font-family: 'Mulish', sans-serif;
  font-style: italic;
  color: var(--lc-gold);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 22px;
}

.lc-copy {
  max-width: 98%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-family: 'Mulish', sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.7;
  color: var(--lc-navy-text);
  margin-bottom: 28px;
}

.lc-center {
  text-align: center;
}

.lc-btn {
  display: inline-block;
  appearance: none;
  border: none;
  cursor: pointer;
  background: var(--lc-blue);
  color: #fff;
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 29px 60px;
  border-radius: 0;
  text-decoration: none;
  transition: background 0.15s ease;
}

.lc-btn:hover {
  background: #326a97;
}

.lc-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.lc-btn-outline {
  background: transparent;
  color: var(--lc-blue);
  border: 1px solid var(--lc-blue);
}

.lc-btn-outline:hover {
  background: rgba(58, 124, 178, 0.08);
}

.lc-step-title {
  font-family: 'Prompt', sans-serif;
  font-weight: 300;
  font-size: 50px;
  color: var(--lc-navy);
  text-align: center;
  margin: 0 0 10px;
  text-transform: capitalize;
}

@media (max-width: 620px) {
  .lc-step-title {
    font-size: 32px;
  }
}

.lc-step-subtitle {
  text-align: center;
  font-family: 'Mulish', sans-serif;
  color: var(--lc-blue);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 14px;
}

.lc-step-intro {
  text-align: center;
  font-family: 'Mulish', sans-serif;
  font-size: 20px;
  color: var(--lc-navy-text);
  margin: 0 0 28px;
}

.lc-lead-intro {
  margin-bottom: 24px;
}

.lc-rows {
  max-width: 88%;
  margin: 0 auto;
}

@media (max-width: 620px) {
  .lc-rows {
    max-width: 100%;
  }
}

.lc-field-row {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 18px 24px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid #f0f3f4;
}

.lc-field-row:last-of-type {
  border-bottom: none;
}

@media (max-width: 620px) {
  .lc-field-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.lc-field-label {
  text-align: right;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--lc-blue);
  line-height: 1.4;
}

@media (max-width: 620px) {
  .lc-field-label {
    text-align: left;
  }
}

.lc-required {
  color: #d0573c;
  margin-left: 3px;
}

.lc-field-helper {
  text-align: right;
  font-family: 'Mulish', sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #8b98a1;
  margin-top: 4px;
}

@media (max-width: 620px) {
  .lc-field-helper {
    text-align: left;
  }
}

.lc-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--lc-blue);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  height: 55px;
}

.lc-input-wrap:focus-within {
  border-color: var(--lc-blue);
  box-shadow: 0 0 0 3px rgba(58, 124, 178, 0.15);
}

.lc-input-prefix {
  padding: 0 12px;
  color: #8b98a1;
  background: #f4f7f8;
  height: 100%;
  display: flex;
  align-items: center;
}

.lc-input {
  border: none;
  outline: none;
  flex: 1;
  height: 100%;
  padding: 0 12px;
  color: #3c4a56;
  min-width: 0;
  background: transparent;
}

.lc-input::placeholder {
  color: #a9b3ba;
}

.lc-level-row {
  padding: 8px 0 24px;
}

.lc-select-wrap {
  max-width: 420px;
  margin: 0 auto;
}

.lc-select {
  width: 100%;
  height: 55px;
  padding: 0 14px;
  border: 2px solid var(--lc-blue);
  border-radius: 6px;
  background: #fff;
  color: #3c4a56;
  cursor: pointer;
}

.lc-select:focus {
  outline: none;
  border-color: var(--lc-blue);
  box-shadow: 0 0 0 3px rgba(58, 124, 178, 0.15);
}

.lc-lead-field {
  margin-bottom: 18px;
}

.lc-lead-label {
  display: block;
  font-weight: 700;
  color: var(--lc-blue);
  margin-bottom: 6px;
}

.lc-lead-input-wrap {
  display: flex;
  align-items: center;
  background: #eaeef1;
  border-radius: 4px;
  height: 46px;
  border: 1px solid transparent;
}

.lc-lead-input-wrap:focus-within {
  border-color: #3f8b8e;
  background: #fff;
}

.lc-lead-icon {
  width: 44px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b98a1;
  flex-shrink: 0;
}

.lc-lead-input {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  height: 100%;
  padding: 0 12px 0 0;
  color: #3c4a56;
  min-width: 0;
}

.lc-lead-input::placeholder {
  color: #9aa5ab;
}

.lc-error {
  color: #c0392b;
  margin-top: 8px;
  text-align: center;
}

.lc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--lc-blue);
  padding: 14px 28px;
  color: #eaf3f3;
}

@media (max-width: 560px) {
  .lc-footer {
    padding: 12px 16px;
  }
}

.lc-footer-btns {
  display: flex;
  gap: 10px;
}

.lc-footer .lc-btn {
  padding: 3px 15px;
  font-size: 16px;
  font-weight: 400;
  border-radius: 8px;
}

.lc-footer .lc-btn-outline {
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: #fff;
}

.lc-footer .lc-btn-outline:hover {
  background: rgba(0, 0, 0, 0.18);
}

.lc-footer .lc-btn-solid {
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: #fff;
}

.lc-footer .lc-btn-solid:hover {
  background: rgba(0, 0, 0, 0.18);
}

.lc-results-title {
  font-weight: 300;
  color: var(--lc-navy);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
  line-height: 1.3;
}

.lc-results-intro {
  text-align: center;
  color: #66707a;
  margin: 0 0 26px;
  line-height: 1.6;
}

.lc-card {
  border: 1px solid #eef1f3;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(20, 50, 70, 0.05);
  padding: 26px 24px;
  margin-bottom: 20px;
  text-align: center;
}

.lc-card-figure {
  font-weight: 400;
  color: var(--lc-navy);
  margin: 0 0 6px;
}

.lc-card-caption {
  color: var(--lc-blue);
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
}

.lc-card-caption b {
  color: var(--lc-navy);
}

.lc-disclaimer {
  color: #97a2aa;
  margin-top: 8px;
  line-height: 1.6;
}

.lc-luxury-title {
  font-weight: 400;
  text-transform: uppercase;
  color: var(--lc-navy);
  text-align: center;
  margin: 8px 0 16px;
  letter-spacing: 0.5px;
}

.lc-luxury-copy {
  color: #66707a;
  text-align: center;
  line-height: 1.7;
  margin: 0 0 18px;
}

.lc-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid #eef1f3;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 22px;
}

.lc-cta-text {
  color: #4c5a63;
  flex: 1;
  min-width: 220px;
  margin: 0;
}

.lc-cta-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lc-thankyou {
  text-align: center;
}

.lc-thankyou h3 {
  font-weight: 300;
  color: var(--lc-navy);
  margin: 0 0 16px;
}

.lc-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}