.faq-answer ul {
	padding-left: 30px;
	list-style-type: disc;
}

.event-section p, .learning-section p {
	font-size: 20px;
}

.event-section h1 {
	display: none;
}

.event-section h3, .learning-section h2 {
	font-size: 24px;
}

.learning-section th, .learning-section td {
	border: 1px solid #dddddd;
	padding: 16px 24px 16px 16px;
	font-size: 20px;
}

.learning-section th {
	background-color: #f5f5f5;
}

.learning-section ol {
	list-style: decimal;
	padding-left: 30px;
	font-size: 20px;
}

.learning-section h2 {
	font-weight: bold;
}

.learning-section h3 {
	font-weight: bold;
	font-size: 22px;
}

.learning-section ul, .event-section ul, .financial-inner-basics-description ul {
	padding-left: 50px;
	list-style-type: disc;
	font-size: 20px;
}

.learning-section h2, .learning-section h3 {
  color: #224e82;
}


.events-image {
	aspect-ratio:  auto;
}

@media (max-width: 960px) {
	.service-card, .financial-services-block-card {
		width: 230px !important;
	}
}

.hero-subtitle, .cta-subtitle {
  	font-weight: 400 !important;
}

.section-kicker {
	color: #E0001B !important;
}

/* Make the autocomplete box match your light theme */
#address-autocomplete-container gmp-place-autocomplete {
  display: block;
  width: 100%;
  background-color: #ffffff;          /* white input */
  border-radius: 12px;
  border: 1px solid #e4ecf7;          /* soft blue/grey like your card */
  color-scheme: light;                /* <- stops the black/dark theme */
  font-family: open sans;

}

/* Style the dropdown list */
#address-autocomplete-container gmp-place-autocomplete::part(prediction-list) {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 36, 74, 0.12);
  border: 1px solid #e4ecf7;
   font-family: open sans;
}

/* Individual suggestion rows */
#address-autocomplete-container gmp-place-autocomplete::part(prediction-item) {
  padding: 10px 14px;
  color: #10284b;                     /* dark navy text */
   font-family: open sans;
}

.place-autocomplete-element-place-details {
	font-family: open sans;
}

/* Main bold text (address line) */
#address-autocomplete-container gmp-place-autocomplete::part(prediction-item-main-text) {
  font-weight: 500;
   font-family: open sans;
}

/* Hover/keyboard-selected state */
#address-autocomplete-container gmp-place-autocomplete::part(prediction-item-selected) {
  background-color: #e4ecf7;
   font-family: open sans;
}

.input-container button.clear-button svg path {
}

.calculator-input-wrapper {
    /* margin-top: 12px; */
}


.calculator-input-wrapper input {
	font-family: open sans;
}


@media (min-width: 960px) {
    .learn-card-standard {     
        max-width: 48%;
    }
}

@media (max-height: 900px) {
	.sticky-process-section {
	    .sticky-card-image {
	        height: 252px;
	    }
	}
}


.team-card-back-content ul {
    --tw-text-opacity: 1;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
    font-size: 0.875rem;
    line-height: 2rem;
}


@media (max-width: 600px) {
    .team-section {
        .team-card-image {
            left: 70px;
        }
    }
}

.team-card-name {
  width: 100px;
}

.tooltip { z-index: 9999; 
  pointer-events: auto; /* NOT none */
  }

/* Cancel the special positioning for the last 2 items */
nav.desktop-nav .nav-item-dropdown:nth-last-child(-n+2) > .nav-dropdown {
  right: auto !important;
  left: unset !important;        /* allow your normal/JS left to work */
  margin-right: 0 !important;
  margin-left: -40px !important; /* match your base rule */
}


.desktop-nav .nav-item-dropdown { position: relative; }

.desktop-nav .nav-item-dropdown > .nav-dropdown{
  position: absolute !important;
  top: 100% !important;   /* or whatever offset you need */
  left: 0 !important;
  right: auto !important;
  margin-left: -40px;     /* keep your alignment */
}

@media (max-width: 1800px) {
  nav.desktop-nav .nav-item-dropdown:nth-last-child(-n+2) > .nav-dropdown {
    left: auto !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: -80px !important;
  }
}



#office-result img {
    width: 22px;
    float: left;
    margin-right: 12px;
}

#alt-list p {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.calculator-radio-group.error {
  border: 1px solid #e54848;
  border-radius: 8px;
  padding: 12px;
}

@media (max-width: 423px) {
  #address-autocomplete-container22 gmp-place-autocomplete {
    width: 120px !important;
  }
}

.important_information {
  padding: 32px;
  border: 1px solid #d5d7da;
  border-radius: 22px;
  font-size: 12px;
  margin-top: 24px;
}

.important_information p {
margin-bottom: 20px;
}

.calculator-input-content,
.calculator-input-text-wrapper {
  min-width: 0;
}

.mobile-menu-header {
  background-color: rgb(34, 59, 89) !important;
}

.calculator-pre-results {
  height: auto !important;
}

.mini-footer {
  background-color: rgb(240 246 252 / var(--tw-bg-opacity, 1));
}

.mini-footer-wrap {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  overflow: auto;
  display: flex;
}

.footer-caption {
  font-weight: 500;
  font-size: 12px;
  margin: auto;
  text-align: left; 
margin-left: 70px;
}

.charges {
  float: right;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 423px) {
  .footer-caption {
    width: 100%;
  }
  .charges {
    float: none;
  }
}


.content-section {
  padding: 8rem 0px 2rem 0px;
}

.content-section p {
  font-size: 20px;
  margin-bottom: 28px;
}

.content-section h1 {
  font-size: 48px;
  font-weight: 700;
  color: rgb(34 78 130);
  margin-bottom: 48px;
  letter-spacing: -3px;
}

.content-section h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

.content-section th, .content-section td {
  border: 1px solid #dddddd;
  padding: 16px 24px 16px 16px;
  font-size: 20px;
}

.content-section th {
  background-color: #f5f5f5;
}

.content-section ol {
  list-style: decimal;
  padding-left: 30px;
  font-size: 20px;
  margin-bottom: 22px;
}

.content-section h2 {
  font-weight: bold;
}

.content-section h3 {
  font-weight: bold;
  font-size: 22px;
}

.content-section ul {
  padding-left: 30px;
  list-style-type: disc;
  font-size: 20px;
  margin-bottom: 22px;
}

.content-section, .download-block {
  max-width: 1200px;
  margin: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.content-section table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
}

.header-container-simple {
  z-index: 66;
}

.learning-section a {
  color: #0a5cad !important;
  text-decoration: underline !important;
}

@media (max-width: 1280px) {
  .content-section {
     padding: 3rem;
  }
}



/* nav fixes */

/* Remove the fixed margin spacing between items */
.desktop-nav .nav-menu > :not([hidden]) ~ :not([hidden]) {
  margin-left: 0 !important;
}

/* Use a responsive gap that shrinks as the viewport narrows */
.desktop-nav .nav-menu {
  display: flex;
 gap: clamp(0.125rem, 2vw, 9rem);
}



.desktop-nav {
  flex: 1 1 auto;
  min-width: 0; /* allows the nav to shrink instead of forcing others to */
}

.desktop-nav .nav-link {
  padding-inline: clamp(0.125rem, 1vw, 0.75rem);
}


/* Tighten spacing below 1400px */
@media (max-width: 1400px) {
  .desktop-nav .nav-menu {
    gap: clamp(0.25rem, 1.2vw, 1.25rem);
  }
}

@media (max-width: 1400px) {
  .desktop-nav .nav-link {
    padding-inline: clamp(0.25rem, 0.75vw, 0.75rem);
  }
}




.calculator-form {

        .field_wrap {
      width: 100%;
    }
    }
/* footer */


.input-error-message { display: none; }
.field_wrap .calculator-input-field.error ~ .input-error-message { display: block; }



.calculator-info-text a {
color: #0A5CAD;
text-decoration: underline;
font-weight: 600
}

.sticky-process-cta .btn-primary {
 margin-right: 12px;
}

.is-submitting {
  opacity: 0.6;
  cursor: not-allowed;
}

.cards-wrapper {
  touch-action: pan-y;
}


.calculator-cta-secondary {
    &:hover {
        --tw-bg-opacity: 1;
        background-color: rgb(173 210 247 / var(--tw-bg-opacity, 1)) !important;
    }
}

.btn-secondary-inverted {
  display: inline-block;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(250 253 255 / var(--tw-bg-opacity, 1));
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
  letter-spacing: -0.16px;
  --tw-text-opacity: 1;
  color: rgb(0 7 13 / var(--tw-text-opacity, 1));
  transition: all 0.3s ease;
      
}

.sticky-process-section .btn-secondary-inverted:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(225 237 250 / var(--tw-bg-opacity, 1)) !important;
}

@media (max-width: 1100px) {
    .desktop-nav .nav-menu {
        gap: clamp(0.25rem, .4vw, 1.25rem);
    }
}
.header-logo {
  min-width: 120px;
}


.financial-service-card {
  cursor: pointer;
}


@media (max-width: 767px) {
  .calculator-learn-header .header-controls {
    display: none;
  }
}

.regulatory-warnings {
  color: white;
  padding: 0rem 2rem 5rem 2rem;
}

.regulatory-warnings div {
  border: 1px solid white;
  border-radius: 24px;
  padding: 32px 40px;
  margin-bottom: 30px;
  width: 100%;
  max-width: 1200px;
  font-size: .78em;
  font-weight: 600;
}

.ccpc-footer {
  background-color: #EBF1F7;
}

.mini-footer a {
  font-size: 14px;
  white-space: nowrap;
}

.mini-footer span {
  padding: 0px 8px;
}


.mini-footer {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  background-color: #D6E4EF;
}


@media (max-width: 1430px) {
  .mini-footer {
    padding-left: 7rem;
    padding-right: 7rem;
  }
}

@media (max-width: 960px) {
    .mini-footer {
        padding-left: 2rem;
        padding-right: 2rem;

    }
    .mini-footer-wrap {
       display: block;

    }
    .footer-caption {
       margin-top: 22px;
       margin-left: 0px;
    }
}

.funnel-form .checkbox-input input[type="checkbox"] {
                                width: 16px;
                                height: 16px;
                                accent-color: #074482;
                                border-radius: 4px;
                                margin-top: 6px;
                                flex: 0 0 16px;

                                margin-right: 12px;
                            }

.form-fields .checkbox-label-content {
  font-size: 14px;
}

.mini-footer {

}
.document-wrap {
  max-width: 1200px;
  margin: auto;
}
.document-block {
  background-color: #E1EDFA;
  padding: 32px 48px;
  border-radius: 32px;
  margin: 1em 5em 2em 0em;
  max-width: 800px;
  margin-bottom: 160px;
}

@media (max-width: 1280px) {
    .document-block {
        margin-left: 3rem;
        margin-right: 3rem;
    }
    content-section h1 {
        font-size: 52px;
        line-height: 60px;
    }
}

.document-block h3 {
  color: rgb(0 41 82 / var(--tw-text-opacity, 1));
  font-family: 'Open Sans', sans-serif;
  font-kerning: 1px;
  font-size: 32px;
  font-weight: 700;
  color: rgb(34 78 130);
  margin-bottom: 14px;
  letter-spacing: -1px;
}

.download-block {
  background-color: white;
  display: flex;
  padding: 24px;
  border-radius: 16px;
  display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-between;
}

.document-block p {
  margin-bottom: 24px;
}
.download-block span {
  padding-top: 12px;
  padding-bottom: 12px;
  font-weight: 500;
}

.document-block img {
  display: inline-block;
  margin-right: 10px;
}

.content-section a {
color: #0A5CAD;
text-decoration: underline;
font-weight: 600;
}

.content-section {
  h1 {
font-size: 72px;
font-weight: 700;
color: #002952;
        line-height: 84px;

 }

h2 {
font-size: 42px;
font-weight: 600;
color: #181D27;
letter-spacing: -1px;
}

h3 {
font-size: 32px;
font-weight: 500;
color: #181D27;
margin-bottom: 24px;
}
h4 {
font-size: 24px;
font-weight: 500;
color: #181D27;
}

p {
font-size: 20px;
font-weight: 400;
color: #414651;
}

ul {
  color: #414651;
}

a {
color: #0A5CAD;
text-decoration: underline;
font-weight: 600;
}
 
}

.content-section h4 {
  margin-top: 16px;
margin-bottom: 8px;
}
 
.content-section table { margin-bottom: 40px; }



@media (max-width: 423px) {
  .content-section {
     padding: 3rem;
  }
  .content-section p {
    font-size: 14px;
    margin-bottom: 28px;
  }
  .content-section ul, .content-section ol, .content-section td, .content-section th {
    font-size: 14px;
  }
  .content-section {
    h1 {
    font-size: 40px !important;
    line-height: 46px !important;
  }
}
  .sticky-card {
    margin-bottom: 22px;
  }
}


.calculator-learn-section {
    .nav-arrow:hover {
        --tw-bg-opacity: 1;
        background-color: #ADD2F7;
    }
}

@media (max-width: 1270px) {
  .calculator-cta-group {
    display: block !important;
  }
   .calculator-cta-group a {
    margin-bottom: 1em;
  }
}


/* --------------------------------------------------------------------------
   Mortgages homepage proof bar
   Flexible 3/4 card layout
   -------------------------------------------------------------------------- */

.mortgage-proof-bar {
  background: #ffffff;
  padding: 40px 32px 96px;
}

.mortgage-proof-bar-container {
  max-width: 1320px;
  margin: 0 auto;
}

.mortgage-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.mortgage-proof-card {
  min-height: 144px;
  padding: 32px 24px;
  border-radius: 16px;
  background: #eef6ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mortgage-proof-value {
  margin: 0;
  color: #002952;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.mortgage-proof-label {
  margin: 12px 0 0;
  color: #414651;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

/* Tablet */
@media (max-width: 960px) {
  .mortgage-proof-bar {
    padding: 32px 24px 72px;
  }

  .mortgage-proof-grid {
    gap: 20px;
  }

  .mortgage-proof-card {
    min-height: 132px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .mortgage-proof-bar {
    padding: 24px 20px 56px;
  }

  .mortgage-proof-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mortgage-proof-card {
    min-height: 120px;
    padding: 28px 20px;
  }

  .mortgage-proof-value {
    font-size: 40px;
  }

  .mortgage-proof-label {
    font-size: 15px;
    line-height: 22px;
  }
}


/* --------------------------------------------------------------------------
   Mortgages homepage testimonials
   -------------------------------------------------------------------------- */

.mortgage-testimonials-section {
  background: #ffffff;
  padding-top: 160px;
  padding-bottom: 160px;
}

.mortgage-testimonials-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px;
  border-radius: 24px;
  background: #eef6ff;
}

.mortgage-testimonials-header {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 72px;
}

.mortgage-testimonials-copy {
  max-width: 680px;
}

.mortgage-testimonials-kicker {
  margin: 0 0 32px;
  color: #414651;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.mortgage-testimonials-title {
  margin: 0;
  color: #002952;
  font-size: 60px;
  line-height: 68px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.mortgage-testimonials-intro {
  max-width: 640px;
  margin: 40px 0 0;
  color: #414651;
  font-size: 22px;
  line-height: 30px;
  font-weight: 400;
  font-size: 20px;
}

.mortgage-testimonials-controls {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.mortgage-testimonials-arrow {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #ffffff;
  color: #0057a8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.mortgage-testimonials-arrow:hover,
.mortgage-testimonials-arrow:focus-visible {
  transform: translateY(-1px);
}

.mortgage-testimonials-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.mortgage-testimonials-wrapper {
  overflow: hidden;
}

.mortgage-testimonials-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.mortgage-testimonials-track::-webkit-scrollbar {
  display: none;
}

.mortgage-testimonial-card {
  min-height: 440px;
  padding: 48px 36px 40px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

.mortgage-testimonial-quote-mark {
  color: #0057a8;
  font-size: 56px;
  line-height: 0.7;
  font-weight: 700;
  margin-bottom: 40px;
}

.mortgage-testimonial-quote {
  margin: 0;
  color: #181d27;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
}

.mortgage-testimonial-footer {
  margin-top: auto;
  padding-top: 40px;
}

.mortgage-testimonial-name {
  margin: 0;
  color: #181d27;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

.mortgage-testimonial-meta {
  margin: 4px 0 0;
  color: #667085;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.mortgage-testimonials-cta {
  margin-top: 40px;
}

.mortgage-testimonials-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: #002952;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

/* Hide controls when there are only three cards.
   You can also do this server-side from the mini-database count. */
.mortgage-testimonials-section:not(.has-overflow) .mortgage-testimonials-controls {
  display: none;
}

/* Tablet */
@media (max-width: 1024px) {
  .mortgage-testimonials-container {
    padding: 56px 32px;
  }

  .mortgage-testimonials-header {
    margin-bottom: 48px;
  }

  .mortgage-testimonials-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .mortgage-testimonials-section {
    padding: 24px 20px;
  }

  .mortgage-testimonials-container {
    padding: 40px 24px;
    border-radius: 20px;
  }

  .mortgage-testimonials-header {
    display: block;
    margin-bottom: 32px;
  }

  .mortgage-testimonials-kicker {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .mortgage-testimonials-title {
    font-size: 40px;
    line-height: 1.08;
  }

  .mortgage-testimonials-intro {
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.5;
  }

  .mortgage-testimonials-controls {
    display: none;
  }

  .mortgage-testimonials-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: visible;
  }

  .mortgage-testimonial-card {
    min-height: auto;
    padding: 32px 28px;
  }

  .mortgage-testimonial-quote-mark {
    margin-bottom: 28px;
  }

  .mortgage-testimonial-quote {
    font-size: 17px;
    line-height: 1.55;
  }

  .mortgage-testimonial-footer {
    padding-top: 32px;
  }
}


/*
  Request a Valuation redesign - Stage 1 static styles
  Load after main.css, custom.css and any navigation redesign CSS.
*/

:root {
  --rv-navy: #002952;
  --rv-blue: #074482; /* match existing .btn-primary */
  --rv-red: #cc0000;
  --rv-pale-blue: #e1edfa;
  --rv-card-bg: #f0f6fc;
  --rv-text: #181d27;
  --rv-muted: #414651;
  --rv-border: #e5e7eb;
  --rv-radius-lg: 16px;
  --rv-radius-xl: 24px;
  --rv-shadow-soft: 0 18px 50px rgba(0, 41, 82, 0.08);
}

.rv-page {
  color: var(--rv-text);
  background: #fff;
  font-family: "Open Sans", Arial, sans-serif;
}

.rv-wrap {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}

.rv-copy-let,
.rv-mode-let .rv-copy-sell {
  display: none !important;
}

.rv-mode-let .rv-copy-let {
  display: inline !important;
}

.rv-mode-let p.rv-copy-let,
.rv-mode-let a.rv-copy-let,
.rv-mode-let article.rv-copy-let {
  display: block !important;
}

.rv-mode-sell article.rv-copy-let,
.rv-mode-let article.rv-copy-sell {
  display: none !important;
}

.rv-hero-section {
  padding: 128px 0 16px;
}

.rv-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: stretch;
}

.rv-intro-card {
  background: var(--rv-navy);
  color: #fff;
  border-radius: var(--rv-radius-lg);
  padding: clamp(32px, 4vw, 56px);
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.rv-kicker,
.rv-section-kicker,
.rv-page .section-kicker {
  margin: 0 0 18px;
  color: #AD0A1D;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.16px;
  text-transform: uppercase;
}

.rv-intro-card .rv-kicker {
  color: #8fc5ff;
}

.rv-title {
  margin: 0;
  color: inherit;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-top: 18px;
  margin-bottom: 64px;
}

.rv-intro-text {
  max-width: 430px;
  margin: 28px 0 0;
  color: rgba(255,255,255,0.86);
  font-size: 20px;
  line-height: 1.55;
}

.rv-benefits {
  display: grid;
  gap: 20px;
  padding: 0;
  margin: 48px 0 0;
  list-style: none;
}

.rv-benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.92);
  font-size: 20px;
  line-height: 1.35;
}

.rv-benefit-icon,
.rv-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rv-blue);
}

.rv-benefit-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: #8fc5ff;
}

.rv-benefit-icon svg,
.rv-card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rv-form-card {
  background: var(--rv-card-bg);
  border-radius: var(--rv-radius-lg);
  padding: clamp(24px, 4vw, 48px);
  align-self: center;
}

.rv-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 6px;
  margin: 0 0 24px;
  border: 0;
  border-radius: 999px;
  background: #fff;
}

.rv-toggle-btn {
  min-height: 42px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--rv-muted);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.rv-toggle-btn.is-active {
  background: var(--rv-blue);
  color: #fff;
}

.rv-field {
  margin-bottom: 14px;
}

.rv-field label {
  display: block;
  margin: 0 0 6px;
  color: var(--rv-text);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
}

.rv-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: var(--rv-text);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.rv-field input::placeholder {
  color: #697586;
}

.rv-field input:focus {
  border-color: #8fc5ff;
  box-shadow: 0 0 0 2px rgba(0, 89, 168, 0.12);
}

.rv-address-autocomplete {
  position: relative;
  z-index: 2;
}

.rv-submit-btn,
.rv-small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--rv-blue);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.rv-submit-btn {
  width: 100%;
  margin-top: 12px;
}

.rv-small-btn {
  min-height: 44px;
  padding: 0 24px;
  font-size: 13px;
  white-space: nowrap;
}

.rv-submit-btn:hover,
.rv-small-btn:hover,
.rv-submit-btn:focus-visible,
.rv-small-btn:focus-visible {
  background: var(--rv-navy);
  color: #fff;
  transform: translateY(-1px);
}

.rv-privacy-note {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--rv-muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.rv-privacy-note a,
.rv-card-link {
  color: var(--rv-blue);
  font-weight: 800;
  text-decoration: none;
}

.rv-privacy-note a:hover,
.rv-card-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rv-steps-section {
  padding: 64px 0 160px;
}

.rv-section-title {
  margin: 0 0 32px;
  color: var(--rv-navy);
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.rv-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rv-step-card,
.rv-info-card {
  background: var(--rv-card-bg);
  border-radius: 14px;
  padding: 28px;
}

.rv-step-card {
  padding: 48px;
}

.rv-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #fff;
    color: var(--rv-navy);
    font-size: 44px;
    font-weight: 400;
}

.rv-step-card h3,
.rv-info-card h3 {
  margin: 0 0 14px;
    color: var(--rv-text);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    padding: 12px;
}

.rv-step-card p,
.rv-info-card p {
  margin: 0 0 10px;
  color: var(--rv-muted);
  font-size: 16px;
  line-height: 1.55;
   padding: 0px 12px 12px 12px;
}

.rv-experts-section,
.rv-advice-section {
  padding: 160px 0;
  background: var(--rv-pale-blue);
}

.rv-card-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 32px;
}

.rv-info-card {
  background: #fff;
  min-height: 250px;
  box-shadow: var(--rv-shadow-soft);
}

.rv-specialist-section {
  padding: 160px 0;
  background: #fff;
}

.rv-specialist-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1280px;
  margin-inline: auto;
  padding: 64px 60px 64px 60px;
  border-radius: 12px;
  background: #F5F5F5;
}

.rv-specialist-card h2 {
  margin: 0 0 22px;
  color: var(--rv-text);
  font-size: 36px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.rv-specialist-card p {
  margin: 0;
  color: var(--rv-muted);
  font-size: 18px;
  line-height: 1.5;
}

.rv-advice-header {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}

.rv-advice-copy {
  max-width: 560px;
  justify-self: end;
}

.rv-advice-copy p {
  margin: 0 0 18px;
  color: var(--rv-muted);
  font-size: 16px;
  line-height: 1.6;
}

.rv-copy-sell,
.rv-mode-sell .rv-copy-sell {
  display: inline;
}

p.rv-copy-sell,
a.rv-copy-sell,
article.rv-copy-sell {
  display: block;
}

@media (max-width: 960px) {
  .rv-wrap {
    width: min(100% - 32px, 720px);
  }

  .rv-hero-section {
    padding: 32px 0 48px;
  }

  .rv-hero-grid,
  .rv-card-grid,
  .rv-advice-header {
    grid-template-columns: 1fr;
  }

  .rv-hero-grid {
    gap: 0;
  }

  .rv-intro-card {
    border-radius: 16px 16px 0 0;
    min-height: auto;
    padding: 32px 28px;
  }

  .rv-title {
    font-size: clamp(42px, 12vw, 58px);
    margin: 22px 0px;
  }

  .rv-intro-text {
    font-size: 16px;
    margin-top: 22px;
  }

  .rv-benefits {
    margin-top: 32px;
  }

  .rv-form-card {
    border-radius: 0 0 16px 16px;
    padding: 24px;
  }

  .rv-steps-section,
  .rv-experts-section,
  .rv-advice-section {
    padding: 48px 0;
  }

  .rv-specialist-section {
    padding: 40px 0;
  }

  .rv-specialist-card {
    display: block;
    padding: 28px;
  }

  .rv-specialist-card .rv-small-btn {
    margin-top: 22px;
    width: 100%;
  }

  .rv-advice-copy {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .rv-wrap {
    width: min(100% - 24px, 480px);
  }

  .rv-hero-section {
    padding-top: 24px;
  }

  .rv-intro-card,
  .rv-form-card,
  .rv-step-card,
  .rv-info-card {
    padding: 24px;
  }

  .rv-section-title {
    font-size: 34px;
  }
}
/* --------------------------------------------------------------------------
   Align valuation page with established mortgages typography/buttons
   -------------------------------------------------------------------------- */

.rv-kicker,
.rv-section-kicker,
.rv-page .section-kicker {
  color: #AD0A1D;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.16px;
  text-transform: uppercase;
}

.rv-intro-card .rv-kicker {
  color: #78B6F5;
}

.rv-section-title,
.rv-page .section-title {
  color: #002952;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -3px;
}

.rv-submit-btn.btn-primary,
.rv-small-btn.btn-primary {
  text-decoration: none;
}

.rv-submit-btn {
  width: 100%;
  text-align: center;
  border: 0;
  cursor: pointer;
}

.rv-small-btn {
  text-align: center;
}

.rv-submit-btn.btn-primary {
  width: 100%;
  min-height: 56px;
  padding: 0 28px !important;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Accessible hidden text utility */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.rv-toggle-btn.is-active,
.rv-submit-btn.btn-primary,
.rv-small-btn.btn-primary {
  background-color: #074482 !important;
  color: #fff !important;
}

.rv-toggle-btn.is-active:hover,
.rv-submit-btn.btn-primary:hover,
.rv-small-btn.btn-primary:hover {
  background-color: #002952 !important;
}

.rv-field.rv-field-has-error input,
.rv-field.rv-field-has-error textarea,
.rv-field.rv-field-has-error select {
  border: 1px solid #CC0000;
}

/*
.rv-form-has-errors .rv-privacy-note::before {
  content: "Please complete the required fields above. ";
  color: #CC0000;
  font-weight: 700;
} */

.rv-address-autocomplete-container {
  display: block;
  width: 100%;
}

.rv-address-autocomplete-container gmp-place-autocomplete {
  display: block;
  width: 100%;
  min-height: 36px;
  background-color: #fff;
  border-radius: 12px;
  border: 0;
  color-scheme: light;
  font-family: "Open Sans", Arial, sans-serif;
}

.rv-address-autocomplete-container gmp-place-autocomplete::part(input) {
  min-height: 36px;
  padding: 0 20px;
  font-size: 16px;
  font-family: "Open Sans", Arial, sans-serif;
  color: #181d27;
}

.rv-address-autocomplete-container gmp-place-autocomplete::part(prediction-list) {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 36, 74, 0.12);
  border: 1px solid #e4ecf7;
  font-family: "Open Sans", Arial, sans-serif;
}

.rv-address-autocomplete-container gmp-place-autocomplete::part(prediction-item) {
  padding: 10px 14px;
  color: #002952;
  font-family: "Open Sans", Arial, sans-serif;
}

.rv-address-autocomplete-container gmp-place-autocomplete::part(prediction-item-main-text) {
  font-weight: 600;
}

.rv-address-autocomplete-container gmp-place-autocomplete::part(prediction-item-selected) {
  background-color: #e4ecf7;
}

.rv-office-result {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #e1edfa;
  color: #002952;
  font-size: 14px;
  line-height: 1.4;
}

.rv-office-result-label {
  display: block;
  color: #414651;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.rv-field-error {
  margin: 8px 0 0;
  color: #cc0000;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.section-kicker {
  color: rgb(173, 10, 29) !important;
}

.rv-section-kicker {
  margin-bottom: 38px !important;
}


.rv-section-title {
  margin: 0 0 72px; 
}


/* Keep existing get-started card layout when using rv-copy toggles */
.rv-mode-sell .get-started-cards.rv-copy-sell,
.rv-mode-let .get-started-cards.rv-copy-let {
  display: flex !important;
}

/* Preserve existing mortgages mobile padding on reused get-started sections */
@media (max-width: 960px) {
  .rv-page .get-started-section {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .rv-page .get-started-container {
    width: 100%;
    max-width: none;
  }
}


/* fix form fields */
.rv-form-card .rv-field {
  background: #fff;
  border-radius: 12px;
  padding: 14px 20px 12px;
  margin-bottom: 18px;
}

.rv-form-card .rv-field label {
  display: block;
  margin: 0 0 6px;
  color: #181D27;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

.rv-form-card .rv-field input {
  width: 100%;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #181D27;
  font-size: 16px;
  line-height: 1.4;
  outline: none;
}

.rv-form-card .rv-field input::placeholder {
  color: #6B778C;
}

.rv-form-card {
  background: #F5F5F5 !important;
}


.rv-form-card {
  background: #F5F5F5 !important;
  border-radius: 20px;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.rv-toggle {
  margin: 0 0 12px;
}

.rv-form-card .rv-field {
  margin: 0;
  background: #fff;
  border-radius: 12px;
  padding: 14px 20px 12px;
}

.rv-address-autocomplete-container gmp-place-autocomplete::part(input) {
  background-image: none !important;
}

.rv-address-autocomplete-container gmp-place-autocomplete::part(icon),
.rv-address-autocomplete-container gmp-place-autocomplete::part(leading-icon) {
  display: none !important;
}

.rv-privacy-note {
  text-align: left !important;
  color: #414651;
}

.rv-privacy-note a {
  color: #0A5CAD !important;
  text-decoration-color: #0A5CAD !important;
  font-weight: 600;
}



/*
.rv-office-result,
.rv-field-error {
  display: none !important;
}
*/

.rv-debug .rv-field-error {
  display: block !important;
}

.rv-debug .rv-office-result {
  display: none !important;
}


/* --------------------------------------------------------------------------
   Hero/form panel overlap
   Navy card slightly overlaps the grey form panel
   -------------------------------------------------------------------------- */

.rv-hero-grid {
  gap: 0 !important;
  align-items: stretch;
}

.rv-intro-card {
  position: relative;
  z-index: 2;
  border-top-right-radius: 16px !important;
  border-bottom-right-radius: 16px !important;
}

.rv-form-card {
  position: relative;
  z-index: 1;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  background: #F5F5F5 !important;
  margin-left: -24px !important;
  padding-left: 76px;
}

/* switch back for mobile */

@media (max-width: 960px) {
  .rv-hero-grid {
    gap: 24px !important;
  }

  .rv-intro-card,
  .rv-form-card {
    border-radius: 20px !important;
  }

  .rv-form-card {
    margin-left: 0 !important;
    padding-left: 48px;
  }
}

.rv-step-number {
  margin-left: 14px;
    margin-top: 14px;

}
.rv-step-card {
border-radius: 24px;
}

.get-started-card strong {
  font-size: 18px !important;
  color: #002952;
  font-weight: 600;
}

.get-started-card .card-description {
  margin-top: -8px;
  font-weight: 400;
}

.get-started-section {
    .get-started-cards {
        gap: 2rem;
    }
}



.rv-advice-section .rv-advice-intro {
  max-width: 760px;
  margin: 18px auto 0;
  text-align: center;
}

/* Advice section: Figma-style two-column heading row */
@media (min-width: 961px) {
  .rv-advice-section .rv-advice-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.85fr);
    column-gap: 96px;
    align-items: start;
    margin-bottom: 96px;
  }

  .rv-advice-section .rv-advice-heading {
    text-align: left !important;
    align-items: flex-start !important;
    margin: 0 !important;
  }

  .rv-advice-section .rv-advice-heading .get-started-title {
    margin: 0 !important;
    max-width: 680px;
  }

  .rv-advice-section .rv-advice-summary {
    padding-top: 88px;
    max-width: 620px;
    text-align: left;
  }

  .rv-advice-section .rv-advice-summary p {
    margin: 0 0 36px !important;
    color: #414651;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 400;
  }

  .rv-advice-section .rv-advice-summary .btn-primary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 280px;
    min-height: 64px;
    padding: 0 32px !important;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600 !important;
    text-decoration: none;
  }

  .rv-advice-section .get-started-cards {
    margin-top: 0 !important;
  }
}

@media (max-width: 960px) {
  .rv-advice-section .rv-advice-header {
    display: block;
    margin-bottom: 48px;
  }

  .rv-advice-section .rv-advice-heading {
    text-align: left !important;
    align-items: flex-start !important;
    margin-bottom: 24px;
  }

  .rv-advice-section .rv-advice-summary {
    max-width: none;
    text-align: left;
  }

  .rv-advice-section .rv-advice-summary p {
    margin: 0 0 24px !important;
    font-size: 18px;
    line-height: 1.55;
  }

  .rv-advice-section .rv-advice-summary .btn-primary {
    min-height: 56px;
    
    font-size: 16px;
  }
}

/* Sell / Let visibility - must come after btn-primary display rules */
.rv-mode-sell .rv-copy-let,
.rv-mode-let .rv-copy-sell {
  display: none !important;
}

/* Restore correct display for visible copy/buttons */
.rv-mode-sell .rv-advice-summary .rv-copy-sell.btn-primary,
.rv-mode-let .rv-advice-summary .rv-copy-let.btn-primary {
  display: inline-flex !important;
}

.rv-mode-sell .rv-advice-summary p.rv-copy-sell,
.rv-mode-let .rv-advice-summary p.rv-copy-let {
  display: block !important;
}

/* Advice section mode visibility */
.rv-mode-sell .rv-advice-section .rv-copy-let,
.rv-mode-let .rv-advice-section .rv-copy-sell {
  display: none !important;
}

.rv-mode-sell .rv-advice-section .btn-primary.rv-copy-sell,
.rv-mode-let .rv-advice-section .btn-primary.rv-copy-let {
  display: inline-flex !important;
}

/* Remove Google Places magnifying glass from valuation address field */
.rv-address-autocomplete-container gmp-place-autocomplete::part(input) {
  background-image: none !important;
  padding-left: 0 !important;
}

.rv-address-autocomplete-container gmp-place-autocomplete::part(icon),
.rv-address-autocomplete-container gmp-place-autocomplete::part(leading-icon),
.rv-address-autocomplete-container gmp-place-autocomplete::part(search-icon) {
  display: none !important;
}

.rv-address-autocomplete-container .autocomplete-icon {
  display: none !important;
}

#request-valuation-form {
  padding-top: 64px;
  padding-bottom: 64px;
}

.rv-intro-text {
  margin-bottom: 64px;
}


.get-started-section {
    .get-started-cards {
        gap: 24px;
    }
}

.get-started-card .cta-text {
  color: #0A5CAD;
}

.rv-page .card-description {

}


/* Remove hover/magnification effect from local valuation experts cards */
.rv-experts-section .get-started-card,
.rv-experts-section .get-started-card:hover,
.rv-experts-section .get-started-card:focus,
.rv-experts-section .get-started-card:focus-within {
  transform: none !important;
  scale: 1 !important;
}



.rv-experts-section .get-started-cards > a,
.rv-experts-section .get-started-cards > a:hover,
.rv-experts-section .get-started-cards > a:focus {
  transform: none !important;
  scale: 1 !important;
}



.rv-experts-section .card-icon,
.rv-experts-section .get-started-card:hover .card-icon,
.rv-experts-section .card-icon img,
.rv-experts-section .get-started-card:hover .card-icon img {
  transform: none !important;
  scale: 1 !important;
}

/* Add comfortable left padding inside valuation form inputs */
.rv-form-card .rv-field input,
.rv-form-card .rv-field textarea,
.rv-form-card .rv-field select {
  padding: 6px 10px !important;

}

/* Google Places address input padding */
.rv-address-autocomplete-container gmp-place-autocomplete::part(input) {
  padding: 6px 10px !important;

}


/* Remove browser/Google inner blue outline */
.rv-form-card .rv-field input:focus,
.rv-form-card .rv-field textarea:focus,
.rv-form-card .rv-field select:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Remove hover shadow/elevation from Why Sherry FitzGerald cards */
.rv-experts-section .get-started-card,
.rv-experts-section .get-started-card:hover,
.rv-experts-section .get-started-card:focus,
.rv-experts-section .get-started-card:focus-within {
  box-shadow: none !important;
  transform: none !important;
}

/* Validation message above submit button */
.rv-form-error {
  margin: 4px 0 0;
  color: #CC0000;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Request valuation confirmation modal - Figma update
   -------------------------------------------------------------------------- */

.rv-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.rv-modal.is-open {
  display: flex;
}

.rv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 41, 82, 0.52);
  backdrop-filter: blur(1px);
}

.rv-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  background: #fff;
  border-radius: 28px;
  padding: 42px 40px 34px;
  text-align: center;
  box-shadow: 0 28px 90px rgba(0, 41, 82, 0.18);
}

.rv-modal-close {
  position: absolute;
  top: 34px;
  right: 34px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #9CA3AF;
  font-size: 42px;
  line-height: 28px;
  font-weight: 300;
  cursor: pointer;
  padding: 0;
}

.rv-modal-close:hover,
.rv-modal-close:focus-visible {
  color: #002952;
  background: transparent;
  outline: none;
}

.rv-modal-logo {
  display: none !important;
}

.rv-modal-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: #DCFCE7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #009B72;
}

.rv-modal-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rv-modal-dialog h2 {
  margin: 0 0 20px;
  color: #181D27;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rv-modal-dialog > p {
  margin: 0 auto 44px;
  max-width: 430px;
  color: #414651;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 400;
}

.rv-modal-branch {
  margin: 0 0 38px;
  padding: 24px 26px;
  border-radius: 16px;
  background: #EEF6FF;
  text-align: left;
}

.rv-modal-branch-label {
  margin: 0 0 18px;
  color: #414651;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.rv-modal-branch-name {
  color: #002952;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 18px;
}

.rv-modal-branch-phone {
  display: inline-block;
  margin: 0 0 22px;
  color: #0A5CAD;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 500;
  text-decoration: none;
}

.rv-modal-branch-phone:hover,
.rv-modal-branch-phone:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rv-modal-branch-note {
  margin: 0 !important;
  max-width: none !important;
  color: #414651 !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
  font-style: italic;
  text-align: left !important;
}

.rv-modal-button {
  display: none !important;
}

.rv-modal-link-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #6B7280;
  font: inherit;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  padding: 8px 16px;
}

.rv-modal-link-button:hover,
.rv-modal-link-button:focus-visible {
  color: #002952;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.rv-modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .rv-modal {
    padding: 18px;
  }

  .rv-modal-dialog {
    width: min(100%, 420px);
    border-radius: 26px;
    padding: 36px 28px 28px;
  }

  .rv-modal-close {
    top: 26px;
    right: 26px;
    font-size: 38px;
  }

  .rv-modal-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 26px;
  }

  .rv-modal-dialog h2 {
    font-size: 25px;
    margin-bottom: 18px;
  }

  .rv-modal-dialog > p {
    font-size: 17px;
    line-height: 1.45;
    margin-bottom: 34px;
  }

  .rv-modal-branch {
    padding: 22px 20px;
    margin-bottom: 34px;
  }

  .rv-modal-branch-label {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .rv-modal-branch-name {
    font-size: 21px;
    margin-bottom: 16px;
  }

  .rv-modal-branch-phone {
    font-size: 21px;
    margin-bottom: 20px;
  }

  .rv-modal-branch-note {
    font-size: 16px !important;
  }

  .rv-modal-link-button {
    font-size: 18px;
  }
}
/* --------------------------------------------------------------------------
   Field-level validation
   -------------------------------------------------------------------------- */

.rv-form-card .rv-field {
  position: relative;
  border: 1.5px solid transparent;
}

.rv-form-card .rv-field.rv-field-has-error {
  border-color: #FF0000 !important;
}

.rv-form-card .rv-field.rv-field-has-error input,
.rv-form-card .rv-field.rv-field-has-error textarea,
.rv-form-card .rv-field.rv-field-has-error select {
  color: #181D27;
}

.rv-form-card .rv-field.rv-field-has-error input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.rv-error-icon {
  display: none;
  position: absolute;
  right: 18px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 1.5px solid #FF0000;
  border-radius: 999px;
  color: #FF0000;
  font-size: 11px;
  line-height: 14px;
  font-weight: 700;
  text-align: center;
  pointer-events: none;
}

.rv-field.rv-field-has-error .rv-error-icon {
  display: block;
}

.rv-field.rv-field-has-error input {
  padding-right: 42px !important;
}

.rv-field-error {
  margin: -10px 0 4px;
  color: #FF0000;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
}

.rv-form-error {
  margin: 0;
  color: #FF0000;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

.rv-submit-btn:disabled,
.rv-submit-btn.is-loading {
  cursor: wait;
  opacity: 0.72;
}

/* --------------------------------------------------------------------------
   Mobile UX review adjustments
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .rv-kicker,
  .rv-section-kicker,
  .rv-page .section-kicker,
  .rv-page .get-started-kicker {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  .rv-page p,
  .rv-step-card p,
  .rv-info-card p,
  .rv-specialist-card p,
  .rv-advice-section .rv-advice-summary p,
  .rv-page .card-description {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  .rv-title {
    font-size: 36px !important;
    line-height: 1.05 !important;
    letter-spacing: -1.6px !important;
  }

  .rv-benefits li {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  .rv-intro-text {
    display: none !important;
  }

  .rv-intro-card {
    padding: 32px 24px !important;
  }

  .rv-title {
    margin: 18px 0 28px !important;
  }

  .rv-benefits {
    margin-top: 0 !important;
    gap: 16px !important;
  }

  .rv-steps-section {
    padding: 5rem 2rem !important;
  }

  .rv-step-card h3 {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }

  .rv-specialist-card h2 {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }

  .rv-specialist-card p {
    margin-bottom: 24px !important;
  }

  .rv-specialist-card .btn-primary {
    margin-top: 24px !important;
  }
}

.rv-modal-link-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #0A5CAD;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #0A5CAD;
  text-underline-offset: 4px;
  cursor: pointer;
  padding: 8px 12px;
}

.rv-modal-link-button:hover,
.rv-modal-link-button:focus-visible {
  color: #002952;
  text-decoration-color: #002952;
}

@media (max-width: 960px) {
  .rv-steps-section {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .rv-steps-section .rv-wrap {
    width: 100% !important;
    max-width: none !important;
  }
}


.rv-form-card .rv-field[data-rv-field="property_address"] {
  position: relative;
}

.rv-address-clear {
  position: absolute;
  right: 24px;
  top: 46px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #E5E7EB;
  color: #002952;
  font-size: 24px;
  line-height: 28px;
  font-weight: 300;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 3;
}

.rv-address-clear[hidden] {
  display: none !important;
}

.rv-address-clear:hover,
.rv-address-clear:focus-visible {
  background: #D8E2EE;
  color: #002952;
  outline: none;
}

/* make room for our clear button */
.rv-address-autocomplete-container gmp-place-autocomplete::part(input) {
  padding-right: 46px !important;
}

@media (max-width: 960px) {
  .rv-address-clear {
    right: 16px;
    top: 44px;
    width: 34px;
    height: 34px;
    font-size: 25px;
  }
}


/* --------------------------------------------------------------------------
   Request valuation modal - confirmed desktop width
   -------------------------------------------------------------------------- */

.rv-modal-dialog {
  width: calc(100% - 40px) !important;
  max-width: 400px !important;
  padding: 24px !important;
  border-radius: 24px !important;
}

.rv-modal-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 16px !important;
}

#rv-confirmation-title,
.rv-modal-dialog h2 {
  margin: 0 0 12px !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

#rv-confirmation-text,
.rv-modal-dialog > p {
  max-width: none !important;
  margin: 0 0 32px !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.rv-modal-branch {
  margin: 0 0 32px !important;
  padding: 12px !important;
  border-radius: 12px !important;
}

.rv-modal-branch-label {
  margin: 0 0 12px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.rv-modal-branch-name {
  margin: 0 0 12px !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
}

.rv-modal-branch-phone {
  margin: 0 0 12px !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
}

.rv-modal-branch-note {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.rv-modal-link-button {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

/* Small mobile spec */
@media (max-width: 343px) {
  .rv-modal-dialog {
    width: calc(100% - 32px) !important;
    max-width: 343px !important;
    padding: 20px !important;
  }

  #rv-confirmation-title,
  .rv-modal-dialog h2 {
    font-size: 16px !important;
  }

  #rv-confirmation-text,
  .rv-modal-dialog > p {
    font-size: 14px !important;
    margin-bottom: 32px !important;
  }

  .rv-modal-branch-name,
  .rv-modal-branch-phone {
    font-size: 14px !important;
  }

  .rv-modal-branch-note {
    font-size: 12px !important;
  }
}

@media (max-width: 960px) {
  p.rv-privacy-note {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }
}


#request-valuation-form #rv-office-result {
  display: none !important;
}

.google-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  transition: opacity 180ms ease, transform 180ms ease;
}

.google-review-logo {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.google-review-logo svg {
  width: 32px;
  height: 32px;
}

.google-review-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fbbc04;
}

.google-review-stars svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.google-review-text {
  color: rgba(255, 255, 255, 0.68);
  white-space: nowrap;
  font-size: 16px;
}

.section-kicker,
.journey-section-kicker,
.page-kicker,
.form-section-kicker {
  color: #E0001B !important;
}