/*
  Tejinder Mortgages
  Shared website stylesheet
  Elegant midnight navy and champagne palette
*/

/* Calculator components and utility rules */
:root{--g:#1f5f92;--gd:#123e67;--gs:#edf4fa;--gold:#d7b56d;--ink:#091f35;--muted:#5b6d7d;--border:#d7e1ea;--bg:#f5f8fc;--shadow:0 18px 45px rgba(18,62,103,.11)}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--ink);line-height:1.55}a{text-decoration:none;color:inherit}.container{width:min(92%,1180px);margin:auto}header{position:sticky;top:0;background:#fffffff2;backdrop-filter:blur(12px);border-bottom:1px solid var(--border);z-index:10}.nav{min-height:76px;display:flex;align-items:center;justify-content:space-between}@keyframes f{50%{transform:translateY(-4px)}}.hero{padding:70px 0 46px;background:radial-gradient(circle at 90% 10%,rgba(215,181,109,.18),transparent 28%),linear-gradient(#fff,#eef4fa)}.tag{display:inline-flex;background:var(--gs);color:var(--gd);border:1px solid #c9d9e6;padding:8px 14px;border-radius:999px;font-size:.84rem;font-weight:800;margin-bottom:18px}h1{font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.05;letter-spacing:-.045em;max-width:850px}h1 span{color:var(--g)}.hero p{color:var(--muted);font-size:1.08rem;max-width:760px;margin-top:22px}.wrap{padding:40px 0 90px}
.calculator-stage{scroll-margin-top:100px}
.calc{display:none;grid-template-columns:1.05fr .95fr;gap:26px;align-items:start}.calc.active{display:grid}.panel{background:#fff;border:1px solid var(--border);border-radius:22px;padding:28px;box-shadow:var(--shadow)}.panel h2{font-size:1.65rem;line-height:1.15;margin-bottom:8px}.intro{color:var(--muted);margin-bottom:24px;font-size:.95rem}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.full{grid-column:1/-1}label{display:block;font-size:.87rem;font-weight:800;margin-bottom:7px;color:#334155}input,select{width:100%;min-height:50px;border:1px solid var(--border);border-radius:14px;padding:11px 13px;background:#ffffff;outline:none}input:focus,select:focus{border-color:var(--g);box-shadow:0 0 0 4px rgba(31,95,146,.08)}.money{position:relative}.money span{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--muted);font-weight:700}.money input{padding-left:31px}.result{background:radial-gradient(circle at top right,rgba(215,181,109,.20),transparent 33%),linear-gradient(145deg,var(--g),var(--gd));color:#fff;min-height:100%}.result h3{font-size:1rem;color:#d7e6f0;margin-bottom:8px}.big{font-size:clamp(2.1rem,5vw,3.4rem);line-height:1;font-weight:900;letter-spacing:-.04em;margin:12px 0 25px}.rows{border-top:1px solid rgba(255,255,255,.14)}.row{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.13)}.row span{color:#c6d9e7}.note{margin-top:20px;padding:13px 15px;border-radius:14px;background:rgba(255,255,255,.10);font-weight:800}.disclaimer{margin-top:22px;color:#cbdde9;font-size:.8rem}.info{margin-top:18px;background:var(--gs);color:var(--gd);border:1px solid #c3d8e6;padding:14px;border-radius:14px;font-size:.86rem}footer{background:#091f35;color:#fff;padding:38px 0}.foot{display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap;color:#b9cbc3;font-size:.88rem}@media(max-width:900px){.calc{grid-template-columns:1fr}}@media(max-width:620px){.grid{grid-template-columns:1fr}.full{grid-column:auto}.panel{padding:21px}}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  font-size:1.2rem;
}
@keyframes logoFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-4px)}
}
@keyframes logoShine{
  0%{transform:translateX(-180%) rotate(20deg)}
  100%{transform:translateX(180%) rotate(20deg)}
}
.nav-links{
  display:flex;
  align-items:center;
  gap:26px;
  font-size:.96rem;
  font-weight:700;
}
.nav-links a:hover{color:var(--g)}
.nav-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border-radius:999px;
  font-weight:800;
  background:var(--g);
  color:#fff;
  box-shadow:0 12px 25px rgba(31,95,146,.22);
}
.menu-button{
  display:none;
  border:0;
  background:transparent;
  font-size:1.8rem;
  cursor:pointer;
  color:var(--gd);
}
@media(max-width:980px){
  .nav-links{
    display:none;
    position:absolute;
    top:76px;
    left:0;
    right:0;
    background:#fff;
    padding:20px 4%;
    border-bottom:1px solid var(--border);
    flex-direction:column;
    align-items:flex-start;
  }
  .nav-links.open{display:flex}
  .menu-button{display:block}
}

.slider-group{
  margin-top:9px;
}
.calculator-slider{
  --slider-fill:0%;
  appearance:none;
  -webkit-appearance:none;
  display:block;
  width:100%;
  min-height:22px;
  height:22px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  cursor:pointer;
  outline:none;
}
.calculator-slider::-webkit-slider-runnable-track{
  height:7px;
  border-radius:999px;
  background:linear-gradient(to right,var(--g) 0 var(--slider-fill),#d7e1ea var(--slider-fill) 100%);
}
.calculator-slider::-moz-range-track{
  height:7px;
  border-radius:999px;
  background:#d7e1ea;
}
.calculator-slider::-moz-range-progress{
  height:7px;
  border-radius:999px;
  background:var(--g);
}
.calculator-slider::-webkit-slider-thumb{
  appearance:none;
  -webkit-appearance:none;
  width:20px;
  height:20px;
  margin-top:-6.5px;
  border:3px solid #fff;
  border-radius:50%;
  background:var(--g);
  box-shadow:0 2px 8px rgba(18,62,103,.35);
}
.calculator-slider::-moz-range-thumb{
  width:14px;
  height:14px;
  border:3px solid #fff;
  border-radius:50%;
  background:var(--g);
  box-shadow:0 2px 8px rgba(18,62,103,.35);
}
.calculator-slider:focus-visible::-webkit-slider-thumb{
  outline:3px solid rgba(31,95,146,.25);
  outline-offset:3px;
}
.calculator-slider:focus-visible::-moz-range-thumb{
  outline:3px solid rgba(31,95,146,.25);
  outline-offset:3px;
}
.slider-scale{
  display:flex;
  justify-content:space-between;
  margin-top:-1px;
  color:var(--muted);
  font-size:.7rem;
  font-weight:700;
}


    .nav-button:hover{
      background: var(--green-dark) !important;
      color: var(--white) !important;
      transform: translateY(-2px);
      box-shadow: 0 12px 25px rgba(31,95,146,.22);
    }


.nav-button{
  transition:background .25s ease,color .25s ease,transform .25s ease,box-shadow .25s ease;
}
.nav-button:hover{
  background:var(--green-dark)!important;
  color:var(--white)!important;
  transform:translateY(-2px);
  box-shadow:0 12px 25px rgba(31,95,146,.22)!important;
}

/* Shared homepage, service-page, navigation, footer and responsive styles */
:root{
      --green: #1f5f92;
      --green-dark: #123e67;
      --green-light: #edf4fa;
      --gold: #d7b56d;
      --ink: #091f35;
      --muted: #5b6d7d;
      --white: #ffffff;
      --border: #d7e1ea;
      --shadow: 0 18px 45px rgba(18, 62, 103, 0.12);
      --radius: 22px;
      --max: 1180px;
    }

    *{
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html{
      scroll-behavior: smooth;
    }

    body{
      font-family: Arial, Helvetica, sans-serif;
      color: var(--ink);
      background: #f4f7fb;
      line-height: 1.6;
    }

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

    img{
      max-width: 100%;
      display: block;
    }

    .container{
      width: min(92%, var(--max));
      margin: 0 auto;
    }

    header{
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border);
    }

    .nav{
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand{
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      font-size: 1.2rem;
      color:#F8F8F8;
    }

    @keyframes logoFloat{
      0%,100%{transform:translateY(0);}
      50%{transform:translateY(-4px);}
    }

    @keyframes logoShine{
      0%{transform:translateX(-180%) rotate(20deg);}
      100%{transform:translateX(180%) rotate(20deg);}
    }

    .nav-links{
      display: flex;
      align-items: center;
      gap: 26px;
      font-size: 0.96rem;
      font-weight: 700;
    }

    .nav-links a:hover{
      color: var(--green);
    }

    .nav-button,.primary-button,.secondary-button{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 20px;
      border-radius: 999px;
      font-weight: 800;
      transition: 0.2s ease;
    }

    .nav-button,.primary-button{
      background: var(--green);
      color: var(--white);
      box-shadow: 0 12px 25px rgba(31, 95, 146, 0.22);
    }

    .nav-button:hover,.primary-button:hover{
      background: var(--green-dark);
      transform: translateY(-2px);
    }

    .secondary-button{
      border: 1px solid var(--green);
      color: var(--green);
      background: var(--white);
    }

    .secondary-button:hover{
      background: var(--green-light);
      transform: translateY(-2px);
    }

    .menu-button{
      display: none;
      border: 0;
      background: transparent;
      font-size: 1.8rem;
      cursor: pointer;
      color: var(--green-dark);
    }

    .hero{
      padding: 82px 0 58px;
      background:
        radial-gradient(circle at 90% 10%, rgba(215, 181, 109, 0.19), transparent 28%),
        radial-gradient(circle at 10% 20%, rgba(31, 95, 146, 0.11), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #eef4fa 100%);
    }

    .hero-grid{
      display: grid;
      grid-template-columns: 1.08fr 0.92fr;
      gap: 55px;
      align-items: center;
    }

    .eyebrow{
      display: inline-flex;
      align-items: center;
      gap: 9px;
      background: var(--green-light);
      color: var(--green-dark);
      border: 1px solid #cfe7dc;
      border-radius: 999px;
      padding: 8px 14px;
      font-size: 0.86rem;
      font-weight: 800;
      margin-bottom: 20px;
    }

    h1{
      font-size: clamp(2.55rem, 5vw, 4.8rem);
      line-height: 1.04;
      letter-spacing: -0.045em;
      max-width: 760px;
    }

    .highlight{
      color: var(--green);
    }

    .hero-copy p{
      margin: 24px 0 30px;
      color: var(--muted);
      font-size: 1.12rem;
      max-width: 660px;
    }

    .hero-actions{
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-bottom: 32px;
    }

    .trust-row{
      display: flex;
      flex-wrap: wrap;
      gap: 22px;
      color: var(--muted);
      font-size: 0.92rem;
      font-weight: 700;
    }

    .trust-row span::before{
      content: "✓";
      color: var(--green);
      margin-right: 7px;
      font-weight: 900;
    }

    .hero-card{
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 30px;
      padding: 30px;
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }

    .hero-card::after{
      content: "";
      position: absolute;
      width: 180px;
      height: 180px;
      border-radius: 50%;
      background: var(--green-light);
      right: -70px;
      top: -70px;
    }

    .hero-card h3,.hero-card p,.hero-card form{
      position: relative;
      z-index: 1;
    }

    .hero-card h3{
      font-size: 1.55rem;
      margin-bottom: 6px;
    }

    .hero-card p{
      color: var(--muted);
      margin-bottom: 20px;
    }

    input,select,textarea{
      width: 100%;
      border: 1px solid var(--border);
      border-radius: 14px;
      min-height: 50px;
      padding: 12px 14px;
      font: inherit;
      color: var(--ink);
      background: #ffffff;
      outline: none;
    }

    input:focus,select:focus,textarea:focus{
      border-color: var(--green);
      box-shadow: 0 0 0 4px rgba(31, 95, 146, 0.08);
    }

    textarea{
      min-height: 105px;
      resize: vertical;
    }

    .form-submit{
      border: 0;
      cursor: pointer;
      width: 100%;
      min-height: 52px;
      border-radius: 14px;
      background: var(--green);
      color: var(--white);
      font-weight: 800;
      font-size: 1rem;
    }

    section{
      padding: 86px 0;
    }

    .section-heading{
      max-width: 720px;
      margin-bottom: 42px;
    }

    .section-heading.center{
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }

    .section-heading h2{
      font-size: clamp(2rem, 4vw, 3.2rem);
      line-height: 1.12;
      letter-spacing: -0.035em;
      margin-bottom: 14px;
    }

    .section-heading p{
      color: var(--muted);
      font-size: 1.05rem;
    }

    @keyframes drawTick {
      to { stroke-dashoffset: 0; }
    }

    @keyframes spinIcon {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    @keyframes riseLine {
      0% { transform: translateY(5px); opacity: 0.35; }
      100% { transform: translateY(0); opacity: 1; }
    }

    @keyframes slideLine {
      0% { transform: translateX(-5px); opacity: 0.35; }
      100% { transform: translateX(0); opacity: 1; }
    }

    @keyframes windowGlow {
      0%, 100% { opacity: 0.45; }
      50% { opacity: 1; }
    }

    @keyframes pulseLeaf {
      0% { transform: scale(0.9); }
      50% { transform: scale(1.15); }
      100% { transform: scale(1); }
    }

    .process{
      background:
        radial-gradient(circle at 85% 15%, rgba(215,181,109,.14), transparent 28%),
        linear-gradient(135deg, #123e67, var(--green-dark));
      color: var(--white);
      position: relative;
      overflow: hidden;
    }

    .process .section-heading{
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }

    .process .section-heading p{
      color: #cae1d7;
    }

    .steps{
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      position: relative;
    }

    .steps::before{
      content: "";
      position: absolute;
      top: 38px;
      left: 12%;
      right: 12%;
      height: 2px;
      background: linear-gradient(90deg, transparent, rgba(215,181,109,.65), transparent);
      z-index: 0;
    }

    .step{
      position: relative;
      z-index: 1;
      display:grid;
      grid-template-columns:72px 1fr;
      column-gap:20px;
      align-items:start;
      padding:28px 24px;
      border:1px solid rgba(255,255,255,.13);
      border-radius:22px;
      background:rgba(255,255,255,.06);
      backdrop-filter:blur(8px);
      transition:transform .25s ease, background .25s ease, border-color .25s ease;
      min-height:210px;
    }

    .step-number{
      width:64px;
      height:64px;
      margin:0;
      justify-self:center;
      align-self:start;
    }

    .step-content h3{
      margin:2px 0 10px;
    }

    .step:hover{
      transform: translateY(-7px);
      background: rgba(255,255,255,.10);
      border-color: rgba(215,181,109,.55);
    }

    .step-number{
      width: 54px;
      height: 54px;
      border-radius: 18px;
      background: linear-gradient(145deg, var(--gold), #ead8ad);
      color: #091f35;
      display: grid;
      place-items: center;
      font-weight: 900;
      margin-bottom: 22px;
      box-shadow: 0 10px 22px rgba(0,0,0,.16);
      transition: transform .3s ease;
    }

    .step:hover .step-number{
      transform: rotate(-5deg) scale(1.08);
    }

    .step h3{
      margin-bottom: 10px;
      font-size: 1.12rem;
    }

    .step p{
      color: #c9ddd4;
      font-size: 0.95rem;
    }

    @media (max-width: 980px){
      .steps{
        grid-template-columns: repeat(2, 1fr);
      }

      .steps::before{
        display: none;
      }
    }

    @media (max-width: 640px){
      .steps{
        grid-template-columns: 1fr;
      }

      .step{
        min-height: auto;
      }
    }

    

    

    

    

    

    
    

    

    footer{
      background: #091f35;
      color: var(--white);
      margin-top: 80px;
    }

    .footer-grid{
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr;
      gap: 35px;
      padding: 54px 0 35px;
    }

    .footer-brand p,.footer-links a,.footer-contact p{
      color: #b9cbc3;
      font-size: 0.93rem;
    }

    .footer-brand p{
      margin-top: 15px;
      max-width: 520px;
    }

    .footer-links,.footer-contact{
      display: grid;
      align-content: start;
      gap: 10px;
    }

    .footer-links h3,.footer-contact h3{
      margin-bottom: 6px;
      font-size: 1rem;
    }

    .footer-links a:hover{
      color: var(--white);
    }

    .legal{
      border-top: 1px solid rgba(255,255,255,0.1);
      padding: 20px 0 30px;
      color: #9db2a8;
      font-size: 0.82rem;
    }

    @media (max-width: 980px){
      .nav-links{
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px 4%;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
      }

      .nav-links.open{
        display: flex;
      }

      .menu-button{
        display: block;
      }

      .hero-grid{
        grid-template-columns: 1fr;
      }

      .steps{
        grid-template-columns: repeat(2, 1fr);
      }

      .footer-grid{
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 640px){

      .hero{
        padding-top: 55px;
      }

      .hero-card,section{
        padding: 65px 0;
      }

      .steps,.footer-grid{
        grid-template-columns: 1fr;
      }
    }
  
    /* Homepage finishing polish — original green and gold palette preserved */
    body{
      font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
      letter-spacing: -0.004em;
      background: #f5f8fc;
    }

    header{
      box-shadow: 0 1px 0 rgba(18,62,103,.03);
    }

    .nav{
      min-height: 82px;
    }

    .nav-links a{
      position: relative;
      transition: color .22s ease;
    }

    .nav-links a:not(.nav-button)::after{
      content: "";
      position: absolute;
      left: 0;
      right: 100%;
      bottom: -8px;
      height: 2px;
      border-radius: 999px;
      background: var(--gold);
      transition: right .25s ease;
    }

    .nav-links a:not(.nav-button):hover::after{
      right: 0;
    }

    .hero{
      padding: 100px 0 76px;
    }

    .hero-grid{
      gap: 68px;
    }

    h1{
      font-weight: 850;
      letter-spacing: -0.052em;
    }

    .hero-copy p{
      font-size: 1.14rem;
      line-height: 1.75;
    }

    .hero-actions{
      gap: 16px;
      margin-bottom: 36px;
    }

    .primary-button,.secondary-button,.nav-button,.form-submit{
      transition:
        transform .25s cubic-bezier(.2,.8,.2,1),
        box-shadow .25s ease,
        background .25s ease,
        color .25s ease;
    }

    .primary-button:hover,.nav-button:hover,.form-submit:hover{
      transform: translateY(-3px);
      box-shadow: 0 16px 34px rgba(31,95,146,.24);
    }

    .secondary-button:hover{
      transform: translateY(-3px);
      box-shadow: 0 12px 28px rgba(31,95,146,.12);
    }

    .hero-card{
      border-color: #d5e4dd;
      box-shadow: 0 24px 60px rgba(18,62,103,.13);
      transition: transform .3s ease, box-shadow .3s ease;
    }

    .hero-card:hover{
      transform: translateY(-5px);
      box-shadow: 0 30px 70px rgba(18,62,103,.16);
    }

    section{
      padding: 96px 0;
    }

    .section-heading{
      margin-bottom: 50px;
    }

    .section-heading h2{
      font-weight: 820;
      letter-spacing: -0.043em;
    }

    .section-heading p{
      line-height: 1.75;
    }

    .step{
      transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease;
    }

    .step:hover{
      transform: translateY(-8px);
    }

    

    .lender-strip{
      padding: 64px 0 76px;
      background:
        radial-gradient(circle at top right, rgba(215,181,109,.13), transparent 30%),
        linear-gradient(135deg, var(--green-dark), #091f35);
      color: var(--white);
      border-top: 1px solid rgba(255,255,255,.08);
      border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .lender-intro{
      max-width: 760px;
      margin: 0 auto 34px;
      text-align: center;
    }

    .lender-eyebrow{
      background: rgba(255,255,255,.08);
      color: #e9d7ad;
      border-color: rgba(240,217,157,.32);
    }

    .lender-intro h2{
      font-size: clamp(2rem, 4vw, 3rem);
      line-height: 1.12;
      letter-spacing: -0.038em;
      margin-bottom: 12px;
    }

    .lender-intro p{
      color: #d5e6de;
      line-height: 1.7;
    }

    .lender-logos{
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 14px;
    }

    .lender-logo{
      min-height: 76px;
      display: grid;
      place-items: center;
      padding: 14px;
      text-align: center;
      border: 1px solid rgba(255,255,255,.14);
      border-radius: 16px;
      background: rgba(255,255,255,.055);
      color: #eef3f8;
      font-size: .95rem;
      font-weight: 800;
      letter-spacing: .015em;
      transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        color .25s ease;
    }

    .lender-logo:hover{
      transform: translateY(-5px);
      background: var(--gold);
      border-color: var(--gold);
      color: #091f35;
    }

    .lender-note{
      margin-top: 18px;
      text-align: center;
      color: #a9c1b6;
      font-size: .78rem;
    }

    @media (max-width: 980px){
      .hero{
        padding-top: 78px;
      }

      .hero-grid{
        gap: 44px;
      }

      .lender-logos{
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 640px){
      section{
        padding: 72px 0;
      }

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

      .lender-strip{
        padding: 50px 0 58px;
      }

      .lender-logos{
        grid-template-columns: repeat(2, 1fr);
      }
    }

  


    

    

    .cta-copy 


.service-page-hero{
  padding:92px 0 72px;
  background:
    radial-gradient(circle at 88% 12%,rgba(215,181,109,.18),transparent 28%),
    radial-gradient(circle at 10% 22%,rgba(31,95,146,.10),transparent 32%),
    linear-gradient(180deg,#fff 0%,#eef4fa 100%);
}
.service-hero-grid{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:54px;
  align-items:center;
}
.service-page-hero h1{
  font-size:clamp(2.5rem,5vw,4.7rem);
  line-height:1.05;
  letter-spacing:-.05em;
  margin-bottom:22px;
}
.service-page-hero p{
  color:var(--muted);
  font-size:1.12rem;
  line-height:1.75;
  max-width:700px;
}
.service-hero-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:28px;
  padding:30px;
  box-shadow:var(--shadow);
}
.service-hero-card h3{
  margin-bottom:12px;
  font-size:1.35rem;
}
.service-hero-card ul{
  display:grid;
  gap:12px;
  list-style:none;
}
.service-hero-card li{
  position:relative;
  padding-left:26px;
  color:var(--muted);
}
.service-hero-card li::before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--green);
  font-weight:900;
}
.detail-section{
  padding:90px 0;
}
.detail-section.alt{
  background:#ebf1f7;
}
.detail-heading{
  max-width:760px;
  margin-bottom:36px;
}
.detail-heading h2{
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.15;
  letter-spacing:-.04em;
  margin-bottom:12px;
}
.detail-heading p{
  color:var(--muted);
  line-height:1.75;
}
.detail-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.detail-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  padding:26px;
  box-shadow:0 8px 24px rgba(18,62,103,.04);
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.detail-card:hover{
  transform:translateY(-7px);
  box-shadow:0 22px 50px rgba(18,62,103,.12);
  border-color:#bdd9ca;
}
.detail-card h3{
  font-size:1.15rem;
  margin-bottom:10px;
}
.detail-card p{
  color:var(--muted);
  line-height:1.68;
}
.process-list{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.process-item{
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  padding:24px;
}
.process-item span{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(145deg,var(--gold),#ead8ad);
  color:#091f35;
  font-weight:900;
  margin-bottom:16px;
}
.process-item h3{
  margin-bottom:8px;
}
.process-item p{
  color:var(--muted);
  line-height:1.65;
}
.document-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px 26px;
  list-style:none;
}
.document-list li{
  position:relative;
  padding:14px 16px 14px 44px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  color:var(--muted);
}
.document-list li::before{
  content:"✓";
  position:absolute;
  left:17px;
  top:13px;
  color:var(--green);
  font-weight:900;
}
.service-cta{
  padding:36px 0 90px;
}
.service-cta-box{
  background:
    radial-gradient(circle at top right,rgba(215,181,109,.22),transparent 30%),
    linear-gradient(135deg,var(--green),var(--green-dark));
  color:#fff;
  border-radius:28px;
  padding:46px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.service-cta-box h2{
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.12;
  margin-bottom:10px;
}
.service-cta-box p{
  color:#dcebe5;
}
.service-cta-box .primary-button{
  background:#fff;
  color:var(--green-dark);
  box-shadow:none;
  white-space:nowrap;
}
.service-cta-box .primary-button:hover{
  background:var(--gold);
  color:#091f35;
}
.service-disclaimer{
  margin-top:20px;
  color:#7a857f;
  font-size:.82rem;
  line-height:1.6;
}

@media(max-width:980px){
  .service-hero-grid{grid-template-columns:1fr}
  .detail-grid{grid-template-columns:repeat(2,1fr)}
  .process-list{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .service-page-hero{padding:64px 0 48px}
  .detail-section{padding:68px 0}
  .detail-grid,.process-list,.document-list{grid-template-columns:1fr}
  .service-cta-box{padding:28px;align-items:flex-start;flex-direction:column}
}


.nav-button{
  transition:background .25s ease,color .25s ease,transform .25s ease,box-shadow .25s ease;
}
.nav-button:hover{
  background:var(--green-dark)!important;
  color:var(--white)!important;
  transform:translateY(-2px);
  box-shadow:0 12px 25px rgba(31,95,146,.22)!important;
}


/* ===== Final CTA and Why Choose Me cleanup ===== */

.cta-section{
  padding:40px 0 88px;
  background:transparent;
}

.cta-section .container{
  width:min(92%, var(--max));
  margin:0 auto;
}

.cta-section .cta-box{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:48px;
  border-radius:30px;
  background:
    radial-gradient(circle at top right, rgba(215,181,109,.22), transparent 30%),
    linear-gradient(135deg, var(--green), var(--green-dark));
  color:var(--white);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow);
  display:block;
}

.cta-section .cta-copy{
  max-width:760px;
}

.cta-section .cta-copy h2{
  margin:0 0 12px;
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.12;
  letter-spacing:-.04em;
}

.cta-section .cta-copy p{
  margin:0;
  color:#dcebe5;
  font-size:1.02rem;
  line-height:1.7;
}

.cta-section .cta-call-button{
  display:inline-flex;
  margin-top:28px;
  min-width:260px;
  justify-content:center;
  background:var(--white);
  color:var(--green-dark);
  border:none;
  box-shadow:none;
}

.cta-section .cta-call-button:hover{
  background:var(--gold);
  color:#091f35;
  transform:translateY(-3px);
  box-shadow:0 14px 28px rgba(0,0,0,.16);
}

@media (max-width:980px){
  .cta-section .cta-box{
    padding:38px;
  }
}

@media (max-width:640px){
  .cta-section{
    padding:24px 0 64px;
  }

  .cta-section .cta-box{
    padding:28px 24px;
    border-radius:24px;
  }

  .cta-section .cta-call-button{
    width:100%;
    min-width:0;
  }
}


/* ===== Professional mortgage inquiry form ===== */
.contact-card{padding:0;overflow:hidden;border-radius:30px}
.contact-card::after{display:none}
.contact-card-header{padding:28px 30px 24px;background:radial-gradient(circle at top right,rgba(215,181,109,.22),transparent 34%),linear-gradient(135deg,var(--green),var(--green-dark));color:#fff}
.contact-kicker{display:inline-block;margin-bottom:8px;color:#ecddb9;text-transform:uppercase;letter-spacing:.09em;font-size:.74rem;font-weight:850}
.contact-card-header h3{margin:0 0 9px;color:#fff;font-size:1.55rem;line-height:1.2}
.contact-card-header p{margin:0;color:#d9e9e2;line-height:1.65}
.contact-trust-badge{margin-top:18px;display:flex;align-items:flex-start;gap:11px;padding:13px 14px;border:1px solid rgba(255,255,255,.13);border-radius:14px;background:rgba(255,255,255,.07)}
.contact-trust-icon{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:50%;background:var(--gold);color:#091f35;font-weight:900}
.contact-trust-badge strong{display:block;margin-bottom:2px;color:#fff;font-size:.88rem}
.contact-trust-badge small{display:block;color:#cfe2d9;font-size:.76rem;line-height:1.45}
.professional-form{display:grid;gap:17px;padding:28px 30px 30px;background:#fff}
.form-row{display:grid;gap:15px}
.form-row.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
.form-field label{display:block;margin-bottom:7px;color:#2e3a35;font-size:.84rem;font-weight:800}
.professional-form input,.professional-form select,.professional-form textarea{width:100%;min-height:52px;border:1px solid #d9e4df;border-radius:13px;padding:12px 13px;color:var(--ink);background:#ffffff;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
.professional-form textarea{min-height:118px;resize:vertical}
.professional-form input:focus,.professional-form select:focus,.professional-form textarea:focus{border-color:var(--green);background:#fff;box-shadow:0 0 0 4px rgba(31,95,146,.09)}
.form-consent{padding:13px 14px;border:1px solid #e1e8e4;border-radius:13px;background:#f2f6fa}
.consent-label{display:flex;align-items:flex-start;gap:10px;color:#5e6964;font-size:.8rem;line-height:1.55;cursor:pointer}
.consent-label a{color:#1f5f92;text-decoration:underline;text-underline-offset:2px;font-weight:800}
.consent-label input{width:17px;height:17px;min-height:0;margin-top:2px;flex:0 0 17px;accent-color:var(--green)}
.honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.professional-submit{min-height:54px;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:14px}
@media(max-width:640px){.contact-card-header,.professional-form{padding-left:22px;padding-right:22px}.form-row.two-columns{grid-template-columns:1fr}}

/* ===== Deep navy visual treatment ===== */
body{
  background:#e8eff6;
}
header{
  background:rgba(4,20,35,.97);
  border-bottom-color:rgba(255,255,255,.10);
  box-shadow:0 10px 30px rgba(4,20,35,.18);
}
header .brand,header .nav-links a{
  color:#f5f8fc;
}
header .nav-links a:hover{
  color:#9bc8eb;
}
header .menu-button{
  color:#f5f8fc;
}
header .nav-button{
  background:linear-gradient(135deg,#2d6fa4,#1f5f92);
  color:#fff;
  box-shadow:0 12px 28px rgba(31,95,146,.35);
}
.hero{
  background:
    radial-gradient(circle at 88% 10%,rgba(215,181,109,.20),transparent 28%),
    radial-gradient(circle at 8% 82%,rgba(72,137,189,.22),transparent 34%),
    linear-gradient(135deg,#041524 0%,#092b49 52%,#123e67 100%);
  color:#fff;
}
.hero h1,.hero .hero-copy h1{
  color:#fff;
}
.hero h1 span,.hero .highlight{
  color:#91c9f4;
}
.hero p,.hero .hero-copy > p{
  color:#c5d7e5;
}
.hero .tag,.hero .eyebrow{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.18);
  color:#e5c98e;
}
.hero .secondary-button{
  border-color:rgba(255,255,255,.55);
  color:#fff;
  background:rgba(255,255,255,.06);
}
.hero .trust-row{
  color:#d7e4ee;
}
.hero .trust-row span::before{
  color:#d7b56d;
}
.result,.contact-card-header,.service-cta-box,.cta-section .cta-box{
  background:
    radial-gradient(circle at top right,rgba(215,181,109,.22),transparent 34%),
    linear-gradient(145deg,#174f7b 0%,#0b3153 55%,#041a2e 100%);
}
.process{
  background:
    radial-gradient(circle at 92% 12%,rgba(72,137,189,.18),transparent 30%),
    linear-gradient(135deg,#061b2e,#0b3153);
  color:#fff;
}
.process .section-heading p,.process .step p{
  color:#c5d7e5;
}
.process .eyebrow{
  color:#e5c98e;
}
.process .step{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.12);
  box-shadow:0 16px 34px rgba(0,0,0,.16);
}
.process .step-number{
  background:linear-gradient(145deg,#d7b56d,#ead8ad);
  color:#091f35;
}
.service-page-hero{
  background:
    radial-gradient(circle at 88% 12%,rgba(215,181,109,.20),transparent 28%),
    radial-gradient(circle at 10% 80%,rgba(72,137,189,.22),transparent 32%),
    linear-gradient(135deg,#041524,#0a2d4c 58%,#123e67);
  color:#fff;
}
.service-page-hero p{
  color:#c5d7e5;
}
.service-page-hero .eyebrow{
  background:rgba(255,255,255,.09);
  color:#e5c98e;
  border-color:rgba(229,201,142,.38);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
@media(max-width:980px){
  header .nav-links{
    background:#071f35;
    border-bottom-color:rgba(255,255,255,.10);
  }
}

/* ===== Soft blue corner shading for white cards ===== */
.calc .panel:not(.result),.detail-card,.process-item,.service-hero-card,.lender-logo{
  position:relative;
  overflow:hidden;
}
.calc .panel:not(.result)::before,.detail-card::before,.process-item::before,.service-hero-card::before,.lender-logo::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:155px;
  height:155px;
  background:radial-gradient(circle at 100% 0,
    rgba(31,95,146,.30) 0,
    rgba(31,95,146,.14) 32%,
    rgba(31,95,146,0) 69%);
  pointer-events:none;
  transition:opacity .28s ease,transform .28s ease;
}
.calc .panel:not(.result) > *,.detail-card > *,.process-item > *,.service-hero-card > *,.lender-logo > *{
  position:relative;
  z-index:1;
}
.detail-card:hover::before,.process-item:hover::before,.service-hero-card:hover::before,.lender-logo:hover::before{
  transform:scale(1.12);
}

/* ===== Consistent blue headings on light sections ===== */
#services .section-heading h2,#why .section-heading h2,.detail-section .detail-heading h2,.service-hero-card h3,.calc .panel:not(.result) h2{
  color:#1f5f92;
}
.lender-heading-primary{
  color:#123e67;
}
.lender-heading-accent{
  color:#1f5f92;
}
.hero{
  background:
    radial-gradient(circle at 88% 8%,rgba(215,181,109,.18),transparent 28%),
    radial-gradient(circle at 8% 55%,rgba(72,137,189,.18),transparent 34%),
    linear-gradient(180deg,#041524 0%,#092b49 68%,#123e67 100%);
  border-bottom:0;
}
.lender-strip{
  margin-top:0;
  padding:88px 0 82px;
  background:
    radial-gradient(circle at 88% 14%,rgba(31,95,146,.12),transparent 27%),
    linear-gradient(180deg,#eef4fa 0%,#e2ebf4 100%);
  color:#091f35;
  border-top:1px solid rgba(18,62,103,.12);
  border-bottom:1px solid rgba(18,62,103,.10);
  box-shadow:inset 0 18px 36px rgba(9,31,53,.025);
}
.lender-strip .lender-intro{
  margin-bottom:44px;
}
.lender-strip .lender-eyebrow{
  background:#dce9f4;
  color:#123e67;
  border-color:#bfd2e3;
}
.lender-strip .lender-intro p{
  color:#5b6d7d;
}
.lender-strip .lender-logo{
  background:transparent;
  color:#123e67;
  border-color:transparent;
  box-shadow:none;
}
.lender-strip .lender-logo:hover{
  background:transparent;
  border-color:transparent;
  box-shadow:none;
}
.lender-logo::before{display:none}
.lender-logo img{
  display:block;
  width:100%;
  height:48px;
  max-width:150px;
  object-fit:contain;
}
.lender-strip .lender-logos{
  display:block;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent);
  mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent);
}
.lender-logo-track{
  display:flex;
  width:max-content;
  animation:lenderLogosLeftToRight 24s linear infinite;
  will-change:transform;
}
.lender-logo-set{
  display:flex;
  flex:0 0 auto;
  gap:14px;
  padding-right:14px;
}
.lender-logo-set .lender-logo{
  width:180px;
  flex:0 0 180px;
}
.lender-logos:hover .lender-logo-track{
  animation-play-state:paused;
}
@keyframes lenderLogosLeftToRight{
  from{transform:translateX(-50%)}
  to{transform:translateX(0)}
}
@media(max-width:640px){
  .lender-logo-set .lender-logo{
    width:145px;
    flex-basis:145px;
  }
  .lender-logo-track{animation-duration:20s}
}
@media(prefers-reduced-motion:reduce){
  .lender-strip .lender-logos{
    overflow-x:auto;
    -webkit-mask-image:none;
    mask-image:none;
  }
  .lender-logo-track{width:100%;animation:none}
  .lender-logo-set{width:100%;flex-wrap:wrap;justify-content:center}
  .lender-logo-set[aria-hidden="true"]{display:none}
}
.lender-strip .lender-note{
  margin-top:24px;
  color:#6c7e8d;
}
#services{
  position:relative;
  z-index:1;
  padding:104px 0;
  background:linear-gradient(180deg,#e2ebf4 0%,#f4f8fb 12%,#ffffff 27%,#f8fafc 100%);
  border-top:0;
  border-bottom:1px solid #d8e2ea;
  box-shadow:none;
}
#services::before{
  display:none;
}
@media(max-width:640px){
  .lender-strip{
    padding:68px 0 64px;
  }
  #services{
    padding:76px 0;
  }
}
.hero-grid-simple{
  grid-template-columns:minmax(0,860px);
  justify-content:center;
  text-align:center;
}
.hero-grid-simple .hero-copy p{
  margin-left:auto;
  margin-right:auto;
}
.hero-grid-simple .hero-actions,.hero-grid-simple .trust-row{
  justify-content:center;
}
.contact-section{
  background:
    radial-gradient(circle at 12% 18%,rgba(31,95,146,.12),transparent 28%),
    linear-gradient(180deg,#eef4fa 0%,#e4edf6 100%);
}
.contact-section-heading{
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
}
.contact-section-heading h2{
  color:#1f5f92;
}
.contact-card-lower{
  width:min(100%,880px);
  margin:0 auto;
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  box-shadow:0 28px 70px rgba(9,31,53,.16);
}
.contact-card-lower .contact-card-header{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:38px 34px;
}
.contact-card-lower .professional-form{
  padding:34px;
}
.optional-label{
  color:#71808d;
  font-size:.76rem;
  font-weight:650;
}
@media(max-width:760px){
  .hero-grid-simple{
    text-align:left;
  }
  .hero-grid-simple .hero-actions,.hero-grid-simple .trust-row{
    justify-content:flex-start;
  }
  .contact-card-lower{
    grid-template-columns:1fr;
  }
}
.process .section-heading h2,.cta-section .cta-box h2,.service-cta-box h2{
  color:#fff;
}
.process .section-heading h2 .two-tone-accent,.cta-section .cta-box h2 .two-tone-accent,.contact-card-header h3 .two-tone-accent{
  color:#91c9f4;
}
.hero .highlight{
  display:inline-block;
  color:transparent;
  background:linear-gradient(120deg,#91c9f4 0%,#91c9f4 38%,#e8f5ff 50%,#91c9f4 62%,#91c9f4 100%);
  background-size:260% auto;
  -webkit-background-clip:text;
  background-clip:text;
  animation:
    logoFloat 4s ease-in-out infinite,
    betterOptionsLogoShine 4.5s linear infinite;
  transform-origin:left center;
}
@keyframes betterOptionsLogoShine{
  0%{background-position:180% center}
  100%{background-position:-180% center}
}

/* Reusable two-tone headline treatment based on “Clear mortgage advice. Better options.” */
.two-tone-shimmer-title{
  color:#123e67;
}
.headline-homepage-primary{
  color:#fff;
}
.headline-shimmer-accent{
  display:inline-block;
  color:transparent;
  background:linear-gradient(120deg,#1f5f92 0%,#1f5f92 38%,#91c9f4 50%,#1f5f92 62%,#1f5f92 100%);
  background-size:260% auto;
  -webkit-background-clip:text;
  background-clip:text;
  transform-origin:left center;
  animation:
    logoFloat 4s ease-in-out infinite,
    betterOptionsLogoShine 4.5s linear infinite;
}
.headline-homepage-accent{
  background-image:linear-gradient(120deg,#91c9f4 0%,#91c9f4 38%,#e8f5ff 50%,#91c9f4 62%,#91c9f4 100%);
  text-shadow:none;
}
.process-delay-card .two-tone-shimmer-title,
.service-cta-box .two-tone-shimmer-title{
  color:#fff;
}
.process-delay-card .headline-shimmer-accent,
.service-cta-box .headline-shimmer-accent{
  background-image:linear-gradient(120deg,#91c9f4 0%,#91c9f4 38%,#e8f5ff 50%,#91c9f4 62%,#91c9f4 100%);
}
@media(prefers-reduced-motion:reduce){
  .hero .highlight{
    animation:none;
    color:#91c9f4;
    background:none;
    filter:none;
  }
  .headline-shimmer-accent{
    animation:none;
    color:#1f5f92;
    background:none;
  }
  .headline-homepage-accent{
    color:#91c9f4;
  }
  .process-delay-card .headline-shimmer-accent,
  .service-cta-box .headline-shimmer-accent{
    color:#91c9f4;
  }
}

/* ===== Calculator workspace with navigation rail ===== */
.calculator-workspace{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:28px;
  align-items:start;
}
.calculator-menu{
  position:sticky;
  top:104px;
  display:grid;
  gap:7px;
  padding:18px;
  border-radius:24px;
  background:
    radial-gradient(circle at 100% 0,rgba(215,181,109,.20),transparent 30%),
    linear-gradient(160deg,#123e67 0%,#071f35 100%);
  box-shadow:0 20px 46px rgba(9,31,53,.18);
}
.calculator-menu-heading{
  display:grid;
  gap:4px;
  margin-bottom:8px;
  padding:5px 9px 17px;
  border-bottom:1px solid rgba(255,255,255,.13);
}
.calculator-menu-heading span{
  color:#d7b56d;
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.calculator-menu-heading strong{
  color:#fff;
  font-size:.96rem;
  line-height:1.35;
}
.calculator-tab{
  width:100%;
  min-height:54px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:10px 11px;
  border:0;
  border-left:3px solid transparent;
  border-radius:11px;
  background:transparent;
  color:#c8d9e7;
  font:inherit;
  font-size:.86rem;
  font-weight:780;
  line-height:1.25;
  text-align:left;
  cursor:pointer;
  transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}
.calculator-tab:hover{
  background:rgba(255,255,255,.07);
  color:#fff;
  transform:translateX(2px);
}
.calculator-tab.active{
  background:rgba(255,255,255,.12);
  border-left-color:#d7b56d;
  color:#fff;
}
.calculator-tab-icon{
  width:32px;
  height:32px;
  flex:0 0 32px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:rgba(255,255,255,.09);
  color:#9ed0f5;
  transition:background .2s ease,color .2s ease,box-shadow .2s ease;
}
.calculator-tab-icon svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.calculator-tab.active .calculator-tab-icon{
  background:#d7b56d;
  color:#091f35;
  box-shadow:0 7px 16px rgba(0,0,0,.16);
}
.calculator-stage{
  min-width:0;
  scroll-margin-top:104px;
}
@media(max-width:980px){
  .calculator-workspace{
    grid-template-columns:1fr;
  }
  .calculator-menu{
    position:static;
    display:flex;
    align-items:stretch;
    gap:7px;
    overflow-x:auto;
    padding:14px;
    scrollbar-width:thin;
  }
  .calculator-menu-heading{
    min-width:210px;
    margin:0 5px 0 0;
    padding:5px 16px 5px 5px;
    border-right:1px solid rgba(255,255,255,.13);
    border-bottom:0;
  }
  .calculator-tab{
    width:auto;
    min-width:175px;
    flex:0 0 auto;
    border-left:0;
    border-bottom:3px solid transparent;
  }
  .calculator-tab:hover{
    transform:translateY(-2px);
  }
  .calculator-tab.active{
    border-left-color:transparent;
    border-bottom-color:#d7b56d;
  }
}
@media(max-width:620px){
  .calculator-menu-heading{
    display:none;
  }
  .calculator-menu{
    margin-left:-4%;
    margin-right:-4%;
    padding-left:4%;
    padding-right:4%;
    border-radius:0;
  }
  .calculator-tab{
    min-width:162px;
  }
}

/* ===== Mobile usability pass ===== */
.calculator-mobile-picker{display:none}

@media(max-width:980px){
  .container{width:min(92%,1180px)}
  .nav-links{
    max-height:calc(100dvh - 76px);
    overflow-y:auto;
    box-shadow:0 16px 30px rgba(9,31,53,.12);
  }
  .nav-links a{width:100%;padding:9px 0}
  .nav-links .nav-button{width:100%;padding:0 20px}
  .calc{gap:20px}
}

@media(max-width:620px){
  html{scroll-padding-top:72px}
  body{overflow-x:hidden}
  .container{width:calc(100% - 32px)}
  .nav{min-height:68px}
  .menu-button{
    min-width:44px;
    min-height:44px;
    border-radius:12px;
    line-height:1;
  }
  .nav-links{top:68px;padding:14px 16px 20px}
  .hero{padding:42px 0 34px}
  .hero h1{font-size:clamp(2.15rem,11vw,3rem);overflow-wrap:anywhere}
  .hero p{font-size:1rem;line-height:1.65;margin-top:16px}
  .tag{margin-bottom:14px}
  .wrap{padding:24px 0 64px}

  .calculator-workspace{gap:18px}
  .calculator-menu{
    display:block;
    margin:0;
    padding:14px;
    border-radius:18px;
    overflow:visible;
  }
  .calculator-mobile-picker{display:block}
  .calculator-mobile-picker label{
    color:#ecddb9;
    font-size:.76rem;
    letter-spacing:.06em;
    text-transform:uppercase;
  }
  .calculator-mobile-picker select{
    min-height:52px;
    border-color:rgba(255,255,255,.24);
    background:#fff;
    color:var(--ink);
    font-size:16px;
    font-weight:750;
  }
  .calculator-menu-heading,.calculator-tab{display:none}
  .calculator-stage{scroll-margin-top:84px}
  .calc.active{display:flex;flex-direction:column;gap:16px}
  .panel{
    min-width:0;
    width:100%;
    padding:20px 18px;
    border-radius:18px;
  }
  .panel h2{font-size:1.38rem;overflow-wrap:anywhere}
  .intro{margin-bottom:20px}
  .grid{gap:14px}
  input:not([type="range"]),select,textarea{
    min-width:0;
    font-size:16px;
  }
  .calculator-slider{min-height:32px;height:32px}
  .calculator-slider::-webkit-slider-thumb{width:24px;height:24px;margin-top:-8.5px}
  .calculator-slider::-moz-range-thumb{width:18px;height:18px}
  .result{order:2;min-height:0}
  .big{
    font-size:clamp(2rem,10vw,2.75rem);
    overflow-wrap:anywhere;
    margin-bottom:20px;
  }
  .row{align-items:flex-start;gap:12px}
  .row span{min-width:0;flex:1;line-height:1.4}
  .row strong{max-width:48%;text-align:right;overflow-wrap:anywhere}
  .info,.note,.disclaimer{overflow-wrap:anywhere}
  footer{padding:30px 0}
  .foot{display:grid;gap:10px;text-align:center}

  .service-page-hero{padding:50px 0 42px}
  .service-hero-card,.service-cta-box{min-width:0;width:100%;white-space:normal}
  .hero-actions{align-items:stretch;flex-direction:column}
  .hero-actions a{width:100%;text-align:center}
}

@media(max-width:380px){
  .container{width:calc(100% - 24px)}
  .panel{padding:18px 15px}
  .row{display:grid;gap:4px}
  .row strong{max-width:none;text-align:left}
}

/* ===== Grouped mortgage service directory ===== */
.service-directory{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  align-items:start;
}
.service-group{
  padding:0;
  overflow:hidden;
  border:1px solid #cbd9e5;
  border-radius:24px;
  background:rgba(255,255,255,.88);
  box-shadow:0 14px 34px rgba(9,31,53,.07);
}
.service-group-heading{
  display:flex;
  align-items:center;
  gap:15px;
  padding:22px 24px;
  background:linear-gradient(135deg,#123e67,#1f5f92);
  color:#fff;
}
.service-group-number{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  flex:0 0 46px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:14px;
  color:#ead49f;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.08em;
}
.service-group-heading div>span{
  display:block;
  margin-bottom:2px;
  color:#c8dfef;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.service-group-heading h3{font-size:1.35rem;line-height:1.2}
.service-list{display:grid}
.service-row{
  min-width:0;
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 28px;
  align-items:center;
  gap:15px;
  min-height:112px;
  padding:18px 22px;
  border-bottom:1px solid #dce5ec;
  transition:background .2s ease,transform .2s ease;
}
.service-row:last-child{border-bottom:0}
.service-row:hover{background:#edf4fa}
.service-row:focus-visible{outline:3px solid rgba(31,95,146,.32);outline-offset:-3px}
.service-row-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#e4eff7;
  color:#1f5f92;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.service-row-icon svg{
  width:27px;
  height:27px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.service-row:hover .service-row-icon{background:#1f5f92;color:#fff;transform:scale(1.05)}
.service-row-copy{min-width:0;display:grid;gap:5px}
.service-row-copy strong{color:#123e67;font-size:1rem;line-height:1.25}
.service-row-copy small{color:#607383;font-size:.84rem;line-height:1.5}
.service-row-arrow{
  color:#1f5f92;
  font-size:1.25rem;
  font-weight:900;
  transition:transform .2s ease;
}
.service-row:hover .service-row-arrow{transform:translateX(4px)}
@media(max-width:820px){
  .service-directory{grid-template-columns:1fr}
}
@media(max-width:480px){
  .service-group{border-radius:19px}
  .service-group-heading{padding:18px}
  .service-group-heading h3{font-size:1.18rem}
  .service-row{
    grid-template-columns:42px minmax(0,1fr) 20px;
    gap:12px;
    min-height:100px;
    padding:16px;
  }
  .service-row-icon{width:42px;height:42px;border-radius:12px}
  .service-row-icon svg{width:24px;height:24px}
  .service-row-copy small{font-size:.8rem}
}

/* ===== Detailed mortgage process page ===== */
.process-more{display:flex;justify-content:center;margin-top:32px}
.process-more-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:50px;
  padding:0 21px;
  border:1px solid #aac3d7;
  border-radius:999px;
  background:#fff;
  color:#123e67;
  font-weight:850;
  box-shadow:0 10px 24px rgba(9,31,53,.07);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.process-more-link:hover{transform:translateY(-2px);border-color:#1f5f92;box-shadow:0 14px 28px rgba(9,31,53,.12)}
.process-page-hero{padding-bottom:76px}
.process-hero-actions{margin-top:30px}
.process-at-a-glance{
  padding:25px;
  background:
    radial-gradient(circle at 100% 0,rgba(215,181,109,.18),transparent 32%),
    linear-gradient(145deg,#123e67,#071f35);
  border-color:rgba(255,255,255,.16);
  box-shadow:0 24px 50px rgba(9,31,53,.24);
}
.process-card-kicker{margin-bottom:14px;color:#d7b56d;font-size:.74rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.process-at-a-glance ol{display:grid;gap:10px;list-style:none}
.process-at-a-glance li{
  display:grid;
  grid-template-columns:36px 1fr;
  gap:12px;
  align-items:center;
  padding:13px 14px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:14px;
  background:rgba(255,255,255,.07);
}
.process-at-a-glance li::before{display:none}
.process-at-a-glance li>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#d7b56d;color:#091f35;font-size:.78rem;font-weight:900}
.process-at-a-glance li div{display:grid;gap:2px}
.process-at-a-glance strong{color:#fff;font-size:.92rem}
.process-at-a-glance small{color:#c9dce9;font-size:.76rem;line-height:1.4}
.process-detail-section{padding:94px 0;background:linear-gradient(180deg,#f5f9fc,#fff)}
.process-page-heading{max-width:760px;margin-bottom:44px}
.process-detail-list{display:grid;gap:22px}
.process-detail-card{
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  gap:32px;
  padding:32px;
  border:1px solid #ccdbe6;
  border-radius:26px;
  background:#fff;
  box-shadow:0 14px 34px rgba(9,31,53,.065);
}
.process-detail-number{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding-right:28px;border-right:1px solid #d9e4ec}
.process-detail-number span{color:#1f5f92;font-size:2.65rem;font-weight:900;line-height:1;letter-spacing:-.06em}
.process-detail-number small{color:#758795;font-size:.72rem;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.process-detail-copy{min-width:0}
.process-detail-title{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:11px}
.process-detail-title h3{color:#123e67;font-size:1.36rem;line-height:1.25}
.process-detail-title>span{flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#edf4fa;color:#1f5f92;font-size:.7rem;font-weight:850}
.process-detail-copy>p{max-width:820px;color:#5b6d7d;line-height:1.7}
.process-detail-copy ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 18px;margin:20px 0;list-style:none}
.process-detail-copy li{position:relative;padding-left:22px;color:#405566;font-size:.88rem;line-height:1.5}
.process-detail-copy li::before{content:"✓";position:absolute;left:0;color:#1f5f92;font-weight:900}
.process-outcome{display:flex;gap:12px;align-items:flex-start;padding:13px 15px;border-radius:14px;background:#eff5fa;color:#334d61;font-size:.84rem}
.process-outcome strong{color:#123e67}
.process-support-section{padding-top:88px;padding-bottom:88px}
.process-support-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.process-support-grid article{padding:24px;border:1px solid #d1dee7;border-radius:20px;background:#fff}
.process-support-grid article>span{display:block;margin-bottom:18px;color:#d0ac62;font-size:.76rem;font-weight:900;letter-spacing:.09em}
.process-support-grid h3{margin-bottom:9px;color:#123e67;font-size:1.06rem}
.process-support-grid p{color:#607382;font-size:.87rem;line-height:1.65}
.process-two-column{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:46px;align-items:start}
.timing-list{display:grid;border-top:1px solid #d4e0e8}
.timing-list div{display:grid;grid-template-columns:155px 1fr;gap:20px;padding:16px 0;border-bottom:1px solid #d4e0e8}
.timing-list strong{color:#123e67}
.timing-list span{color:#607382;line-height:1.55}
.process-delay-card{padding:28px;border-radius:24px;background:linear-gradient(145deg,#123e67,#071f35);color:#fff;box-shadow:0 20px 42px rgba(9,31,53,.18)}
.process-delay-card h3{margin-bottom:16px;font-size:1.35rem}
.process-delay-card ul{display:grid;gap:11px;list-style:none}
.process-delay-card li{position:relative;padding-left:22px;color:#d2e2ed;line-height:1.5}
.process-delay-card li::before{content:"•";position:absolute;left:4px;color:#d7b56d;font-size:1.15rem}
.process-faq-list{display:grid;gap:12px;max-width:900px}
.process-faq-list details{border:1px solid #cfdae4;border-radius:16px;background:#fff;overflow:hidden}
.process-faq-list summary{cursor:pointer;padding:18px 48px 18px 20px;color:#123e67;font-weight:850;list-style-position:inside}
.process-faq-list details[open] summary{border-bottom:1px solid #dce5eb;background:#f3f7fa}
.process-faq-list details p{padding:17px 20px;color:#5c7080;line-height:1.7}
@media(max-width:980px){
  .process-support-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .process-two-column{grid-template-columns:1fr}
}
@media(max-width:700px){
  .process-detail-section{padding:68px 0}
  .process-detail-card{grid-template-columns:1fr;gap:18px;padding:22px}
  .process-detail-number{padding:0 0 15px;border-right:0;border-bottom:1px solid #d9e4ec}
  .process-detail-title{display:grid;gap:10px}
  .process-detail-title>span{justify-self:start}
  .process-detail-copy ul{grid-template-columns:1fr}
  .process-outcome{display:grid;gap:4px}
}
@media(max-width:520px){
  .process-support-grid{grid-template-columns:1fr}
  .timing-list div{grid-template-columns:1fr;gap:5px}
  .process-delay-card{padding:23px}
  .process-more-link{width:100%;justify-content:center;text-align:center}
}

/* ===== Privacy and friendly form-status pages ===== */
.status-page .service-page-hero{min-height:calc(100vh - 76px);display:grid;align-items:center}
.status-card{max-width:720px;margin:0 auto;text-align:center;padding:46px 36px}
.status-card h1{margin:0 auto 18px;color:#123e67;font-size:clamp(2.3rem,5vw,4rem)}
.status-card p{margin:0 auto;max-width:590px;color:#5b6d7d}
.status-card .eyebrow{background:#edf4fa;color:#123e67;border-color:#c3d7e5}
.status-actions{justify-content:center;margin:28px 0 0}
.privacy-hero{padding-bottom:62px}
.privacy-content{max-width:850px}
.privacy-updated{margin-bottom:28px;color:#718391;font-size:.86rem;font-weight:800}
.privacy-content h2{margin:32px 0 9px;color:#123e67;font-size:1.35rem}
.privacy-content p{color:#5b6d7d;line-height:1.75}
.privacy-content a{color:#1f5f92;text-decoration:underline;text-underline-offset:3px}
.privacy-content ul{display:grid;gap:9px;margin:12px 0 18px;padding-left:24px;color:#5b6d7d}
.privacy-content li{padding-left:4px;line-height:1.7}
.privacy-content strong{color:#123e67}

/* ===== Animated Tejinder Singh Mortgages logo ===== */
.animated-brand-logo{
  position:relative;
  display:block;
  width:230px;
  max-width:100%;
  aspect-ratio:3.2/1;
  flex:0 0 auto;
}
.brand-wordmark{
  position:absolute;
  top:-20%;
  left:26%;
  display:block;
  width:74%;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 5px 10px rgba(215,181,109,.14));
}
.animated-brand-logo::after{
  content:"";
  position:absolute;
  z-index:1;
  top:-20%;
  left:26%;
  width:74%;
  aspect-ratio:1774/887;
  pointer-events:none;
  background:linear-gradient(120deg,transparent 34%,rgba(145,201,244,.12) 42%,rgba(232,245,255,.78) 50%,rgba(145,201,244,.22) 58%,transparent 66%);
  background-size:260% 100%;
  -webkit-mask:url("../assets/brand/tejinder-singh-mortgages-wordmark.png") center/100% 100% no-repeat;
  mask:url("../assets/brand/tejinder-singh-mortgages-wordmark.png") center/100% 100% no-repeat;
  animation:betterOptionsLogoShine 4.5s linear infinite;
}
.brand-leaf-motion{
  position:absolute;
  z-index:2;
  top:57%;
  left:2.5%;
  display:block;
  width:25%;
  aspect-ratio:1;
  opacity:1;
  transform:translateY(-50%);
  perspective:180px;
  perspective-origin:left center;
}
.brand-leaf{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 7px 11px rgba(215,181,109,.28));
  transform-origin:10% 52%;
  backface-visibility:hidden;
  will-change:transform,filter;
  animation:mapleLeafFlagWave 3.2s ease-in-out infinite;
}
@keyframes mapleLeafFlagWave{
  0%,100%{
    transform:rotate(-1deg) rotateY(0deg) skewY(0deg) scaleX(1);
    filter:drop-shadow(0 7px 11px rgba(215,181,109,.28)) brightness(1);
  }
  20%{
    transform:rotate(-2deg) rotateY(16deg) skewY(1.5deg) scaleX(.985);
    filter:drop-shadow(3px 8px 10px rgba(215,181,109,.24)) brightness(1.05);
  }
  45%{
    transform:rotate(1deg) rotateY(-12deg) skewY(-1deg) scaleX(1.015);
    filter:drop-shadow(-2px 6px 9px rgba(215,181,109,.32)) brightness(.97);
  }
  68%{
    transform:rotate(2deg) rotateY(10deg) skewY(1deg) scaleX(.99);
    filter:drop-shadow(2px 8px 12px rgba(215,181,109,.25)) brightness(1.04);
  }
  84%{
    transform:rotate(0deg) rotateY(-5deg) skewY(-.5deg) scaleX(1.005);
    filter:drop-shadow(-1px 7px 10px rgba(215,181,109,.3)) brightness(1);
  }
}
header{
  background:rgba(7,31,53,.97);
  border-bottom-color:rgba(215,181,109,.34);
  box-shadow:0 8px 28px rgba(7,31,53,.16);
}
header .nav{min-height:104px}
header .brand{flex:0 0 auto}
header .nav-links{background:transparent}
header .nav-links a{color:#fff}
header .nav-links a:hover{color:#d7b56d}
header .nav-button{
  background:#d7b56d;
  color:#091f35;
  box-shadow:0 12px 25px rgba(0,0,0,.22);
}
header .menu-button{color:#fff}
.footer-brand .brand{
  display:inline-flex;
  padding:0;
  margin-bottom:14px;
  border-radius:0;
  background:transparent;
}
.footer-brand .animated-brand-logo{width:260px}

@media(prefers-reduced-motion:reduce){
  .animated-brand-logo::after{display:none}
  .brand-leaf{animation:none}
}

@media(max-width:980px){
  header .nav-links{
    top:104px;
    max-height:calc(100dvh - 104px);
    background:#071f35;
  }
}

@media(max-width:620px){
  header .nav{min-height:84px}
  header .animated-brand-logo{width:175px}
  header .nav-links{
    top:84px;
    max-height:calc(100dvh - 84px);
  }
  .footer-brand .animated-brand-logo{width:230px}
}

/* First-time buyer heading uses the homepage title palette */
.service-split-title>span:first-child{color:#fff;text-shadow:0 2px 12px rgba(9,31,53,.22)}
.service-split-title .service-title-highlight{
  display:inline-block;
  color:transparent;
  background:linear-gradient(120deg,#1f5f92 0%,#1f5f92 38%,#91c9f4 50%,#1f5f92 62%,#1f5f92 100%);
  background-size:260% auto;
  -webkit-background-clip:text;
  background-clip:text;
  animation:betterOptionsLogoShine 4.5s linear infinite;
}
@media(prefers-reduced-motion:reduce){
  .service-split-title .service-title-highlight{animation:none;color:#1f5f92;background:none}
}

/* ===== Editorial Why Choose Me section ===== */
#why.why-editorial{
  padding:108px 0;
  background:
    radial-gradient(circle at 8% 15%,rgba(31,95,146,.10),transparent 30%),
    linear-gradient(180deg,#f8fafc,#eaf1f7);
  border-top:1px solid #d8e2ea;
  border-bottom:1px solid #d5e0e8;
}
.why-editorial-grid{
  display:grid;
  grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  gap:72px;
  align-items:start;
}
.why-editorial-copy{position:sticky;top:116px}
.why-editorial-copy .eyebrow{margin-bottom:18px}
.why-editorial-copy h2{
  max-width:530px;
  margin-bottom:20px;
  color:#123e67;
  font-size:clamp(2.35rem,4.5vw,4rem);
  line-height:1.06;
  letter-spacing:-.045em;
}
.why-editorial-copy>p{max-width:560px;color:#5b6d7d;font-size:1.04rem;line-height:1.75}
.why-credential{
  display:flex;
  align-items:center;
  gap:13px;
  margin-top:30px;
  padding-top:24px;
  border-top:1px solid #c8d7e2;
}
.why-credential>span{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:50%;
  background:#d7b56d;
  color:#091f35;
  font-weight:900;
}
.why-credential div{display:grid;gap:2px}
.why-credential strong{color:#123e67;font-size:.92rem}
.why-credential small{color:#718391;font-size:.78rem}
.why-points{border-top:1px solid #b9cbd9}
.why-point{
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  gap:22px;
  padding:27px 4px;
  border-bottom:1px solid #b9cbd9;
}
.why-point-number{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border:1px solid #9fb9cd;
  border-radius:50%;
  color:#1f5f92;
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.06em;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.why-point:hover .why-point-number{background:#1f5f92;border-color:#1f5f92;color:#fff}
.why-point h3{margin:1px 0 8px;color:#123e67;font-size:1.18rem;line-height:1.25}
.why-point p{max-width:650px;color:#607382;font-size:.91rem;line-height:1.65}
@media(max-width:860px){
  #why.why-editorial{padding:80px 0}
  .why-editorial-grid{grid-template-columns:1fr;gap:45px}
  .why-editorial-copy{position:static}
}
@media(max-width:520px){
  #why.why-editorial{padding:68px 0}
  .why-point{grid-template-columns:46px minmax(0,1fr);gap:14px;padding:22px 0}
  .why-point-number{width:42px;height:42px}
  .why-editorial-copy h2{font-size:2.35rem}
}

/* ===== Final responsive layer: phone, tablet and desktop ===== */
html{-webkit-text-size-adjust:100%}
body{min-width:320px}
img,svg{max-width:100%}
main,section,.container,.hero-copy,.footer-grid>*{min-width:0}
.footer-contact a,.legal,.service-row-copy,.process-detail-copy,.privacy-content{overflow-wrap:anywhere}
button,a,input,select,textarea{touch-action:manipulation}

/* iPad landscape and smaller: collapse navigation before it becomes crowded. */
@media(max-width:1100px){
  .nav-links{
    display:none;
    position:absolute;
    top:104px;
    left:0;
    right:0;
    max-height:calc(100dvh - 104px);
    overflow-y:auto;
    padding:18px 4% 22px;
    border-bottom:1px solid rgba(215,181,109,.28);
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    box-shadow:0 18px 32px rgba(7,31,53,.24);
  }
  .nav-links.open{display:flex}
  .nav-links a{width:100%;padding:10px 0}
  .nav-links .nav-button{width:100%;min-height:48px;padding:0 20px}
  .menu-button{display:grid;place-items:center}
}

/* iPad portrait and compact tablets. */
@media(max-width:900px){
  section{scroll-margin-top:96px}
  .contact-card-lower{grid-template-columns:1fr;width:min(100%,700px);padding:0}
  .contact-card-lower .contact-card-header,.contact-card-lower .professional-form{padding:32px}
  .footer-grid{gap:30px}
  .service-cta-box{align-items:flex-start;flex-direction:column}
  .service-cta-box .primary-button{white-space:normal;text-align:center}
}

@media(max-width:620px){
  .nav-links{top:84px;max-height:calc(100dvh - 84px)}
}

/* Phones. */
@media(max-width:640px){
  section{scroll-margin-top:84px}
  .section-heading{margin-bottom:30px}
  .section-heading h2,.detail-heading h2,.process-page-heading h2{overflow-wrap:anywhere}
  .hero-actions{width:100%}
  .primary-button,.secondary-button,.form-submit,.process-more-link{min-height:48px}
  .trust-row{display:grid;gap:10px}
  .trust-row span{line-height:1.45}

  .steps{gap:16px}
  .step{
    grid-template-columns:52px minmax(0,1fr);
    gap:14px;
    padding:22px 18px;
  }
  .step-number{width:48px;height:48px;border-radius:15px}

  .contact-card-lower{border-radius:22px}
  .contact-card-lower .contact-card-header,.contact-card-lower .professional-form{padding:24px 20px}
  .contact-trust-badge{align-items:flex-start}
  .cta-section .cta-box,.service-cta-box{padding:28px 20px}

  .footer-grid{grid-template-columns:1fr;gap:30px;padding:42px 0 28px}
  .footer-links,.footer-contact{gap:9px}
  .legal{line-height:1.65}

  .service-page-hero h1{font-size:clamp(2.15rem,11vw,3.1rem);overflow-wrap:anywhere}
  .service-hero-card,.detail-card,.process-item{padding:22px 19px}
  .document-list li{padding-right:13px}
  .process-detail-title h3{overflow-wrap:anywhere}
  .process-faq-list summary{padding:17px 38px 17px 17px}

  .calculator-mobile-picker select{width:100%}
  .calculator-stage,.calc,.panel,.grid>div{min-width:0;max-width:100%}
}

/* Narrow phones, including 320–390px screens. */
@media(max-width:390px){
  .container{width:calc(100% - 24px)}
  header .animated-brand-logo{width:160px}
  .hero h1{font-size:2.08rem}
  .eyebrow{max-width:100%;white-space:normal}
  .service-row{padding:15px 13px;gap:10px}
  .service-row-copy strong{font-size:.94rem}
  .panel{padding:18px 14px}
  .big{font-size:2rem}
}

/* Text-led mortgage choice section — intentionally uses no lender branding. */
.lender-strip{
  position:relative;
  overflow:hidden;
  padding:96px 0 72px;
  background:
    radial-gradient(circle at 82% 12%,rgba(215,181,109,.20),transparent 28%),
    linear-gradient(135deg,#071f35 0%,#0b3558 58%,#123e67 100%);
  color:#fff;
  border:0;
  box-shadow:none;
}
.lender-strip::before{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  left:-190px;
  bottom:-250px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:50%;
  box-shadow:
    0 0 0 44px rgba(255,255,255,.025),
    0 0 0 88px rgba(255,255,255,.018);
  pointer-events:none;
}
.lender-choice-layout{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  gap:72px;
  align-items:center;
}
.lender-choice-intro{
  max-width:520px;
}
.lender-strip .lender-eyebrow{
  margin-bottom:18px;
  background:rgba(255,255,255,.08);
  color:#f0d99d;
  border-color:rgba(240,217,157,.32);
}
.lender-choice-intro h2{
  margin:0 0 20px;
  color:#fff;
  font-size:clamp(2.25rem,4.6vw,3.8rem);
  line-height:1.02;
  letter-spacing:-.05em;
}
.lender-choice-intro h2 span{
  display:block;
  color:#f0d99d;
}
.lender-choice-intro p{
  margin:0;
  color:#cfdeea;
  font-size:1.05rem;
  line-height:1.75;
}
.lender-choice-cta{
  margin-top:30px;
  background:#f0d99d;
  color:#071f35;
  box-shadow:0 14px 30px rgba(0,0,0,.18);
}
.lender-choice-cta:hover{
  background:#fff;
  color:#071f35;
}
.lender-choice-cards{
  display:grid;
  gap:14px;
}
.lender-choice-card{
  display:grid;
  grid-template-columns:60px minmax(0,1fr);
  gap:20px;
  align-items:start;
  padding:25px 26px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:20px;
  background:rgba(255,255,255,.075);
  box-shadow:0 16px 38px rgba(0,0,0,.10);
  backdrop-filter:blur(8px);
  transition:transform .25s ease,background .25s ease,border-color .25s ease;
}
.lender-choice-card:hover{
  transform:translateX(-6px);
  background:rgba(255,255,255,.11);
  border-color:rgba(240,217,157,.42);
}
.lender-choice-number{
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  border:1px solid rgba(240,217,157,.42);
  border-radius:16px;
  color:#f0d99d;
  font-size:.79rem;
  font-weight:900;
  letter-spacing:.1em;
}
.lender-choice-card h3{
  margin:1px 0 7px;
  color:#fff;
  font-size:1.15rem;
}
.lender-choice-card p{
  margin:0;
  color:#c7d8e6;
  font-size:.94rem;
  line-height:1.62;
}
.lender-strip .lender-note{
  position:relative;
  z-index:1;
  margin:34px 0 0;
  padding-top:22px;
  color:#aebfcd;
  border-top:1px solid rgba(255,255,255,.10);
  text-align:left;
  font-size:.78rem;
}
@media(max-width:900px){
  .lender-choice-layout{
    grid-template-columns:1fr;
    gap:42px;
  }
  .lender-choice-intro{
    max-width:720px;
  }
}
@media(max-width:640px){
  .lender-strip{
    padding:72px 0 54px;
  }
  .lender-choice-layout{
    gap:34px;
  }
  .lender-choice-intro h2{
    font-size:clamp(2.05rem,10.5vw,2.8rem);
  }
  .lender-choice-cta{
    width:100%;
    text-align:center;
  }
  .lender-choice-card{
    grid-template-columns:48px minmax(0,1fr);
    gap:15px;
    padding:21px 18px;
  }
  .lender-choice-number{
    width:46px;
    height:46px;
    border-radius:14px;
  }
  .lender-choice-card:hover{
    transform:none;
  }
}

/* Mortgage comparison showcase, informed by the service and process pages. */
.lender-strip{
  padding:96px 0 78px;
  background:
    radial-gradient(circle at 92% 5%,rgba(215,181,109,.18),transparent 24%),
    linear-gradient(180deg,#edf4fa 0%,#f8fbfd 54%,#ffffff 100%);
  color:#091f35;
  border-top:1px solid #d3e0e9;
  border-bottom:1px solid #d8e2ea;
}
.lender-strip::before{
  width:380px;
  height:380px;
  left:-220px;
  bottom:-210px;
  border-color:rgba(31,95,146,.12);
  box-shadow:
    0 0 0 44px rgba(31,95,146,.035),
    0 0 0 88px rgba(31,95,146,.02);
}
.lender-choice-heading{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);
  gap:58px;
  align-items:end;
  margin-bottom:42px;
}
.lender-choice-heading h2{
  max-width:760px;
  margin:16px 0 0;
  color:#123e67;
  font-size:clamp(2.35rem,4.7vw,3.85rem);
  line-height:1.04;
  letter-spacing:-.052em;
}
.lender-choice-heading h2 span{
  display:block;
  color:#1f5f92;
}
.lender-choice-heading>p{
  margin:0 0 5px;
  padding-left:24px;
  border-left:3px solid #d7b56d;
  color:#5b6d7d;
  font-size:1rem;
  line-height:1.72;
}
.lender-strip .lender-eyebrow{
  margin:0;
  background:#dce9f4;
  color:#123e67;
  border-color:#bfd2e3;
}
.lender-choice-showcase{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);
  gap:22px;
  align-items:stretch;
}
.lender-market-card,
.lender-compare-card{
  border-radius:28px;
  padding:31px;
}
.lender-market-card{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 100% 0,rgba(215,181,109,.22),transparent 32%),
    linear-gradient(145deg,#123e67,#071f35);
  color:#fff;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 24px 52px rgba(9,31,53,.20);
}
.lender-market-card::after{
  content:"";
  position:absolute;
  right:-52px;
  bottom:-64px;
  width:190px;
  height:190px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:50%;
  box-shadow:0 0 0 30px rgba(255,255,255,.025);
  pointer-events:none;
}
.lender-market-kicker{
  position:relative;
  z-index:1;
  margin-bottom:17px;
  color:#d7b56d;
  font-size:.74rem;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.lender-market-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
}
.lender-market-option{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:68px;
  padding:13px 14px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  background:rgba(255,255,255,.075);
}
.lender-market-option span{
  display:grid;
  place-items:center;
  flex:0 0 36px;
  width:36px;
  height:36px;
  border-radius:11px;
  background:#d7b56d;
  color:#091f35;
  font-size:.78rem;
  font-weight:900;
}
.lender-market-option strong{
  color:#fff;
  font-size:.91rem;
  line-height:1.3;
}
.lender-market-result{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:13px;
  margin-top:16px;
  padding:16px;
  border-radius:17px;
  background:#f0d99d;
  color:#091f35;
}
.lender-market-result-icon{
  display:grid;
  place-items:center;
  flex:0 0 40px;
  width:40px;
  height:40px;
  border-radius:12px;
  background:#123e67;
  color:#fff;
  font-weight:900;
}
.lender-market-result div{
  display:grid;
  gap:2px;
}
.lender-market-result small{
  color:#5e512f;
  font-size:.69rem;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.lender-market-result strong{
  font-size:1rem;
}
.lender-compare-card{
  background:#fff;
  border:1px solid #cbdbe7;
  box-shadow:0 18px 44px rgba(9,31,53,.09);
}
.lender-compare-card .lender-market-kicker{
  color:#1f5f92;
}
.lender-compare-card h3{
  max-width:500px;
  margin:-3px 0 19px;
  color:#123e67;
  font-size:1.36rem;
  line-height:1.3;
}
.lender-compare-card ul{
  display:grid;
  gap:9px;
  list-style:none;
}
.lender-compare-card li{
  display:grid;
  grid-template-columns:40px minmax(0,1fr);
  gap:12px;
  align-items:center;
  padding:12px 13px;
  border:1px solid #dce6ee;
  border-radius:14px;
  background:#f7fafc;
}
.lender-compare-card li>span{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:11px;
  background:#e4eef6;
  color:#1f5f92;
  font-size:.72rem;
  font-weight:900;
}
.lender-compare-card li div{
  display:grid;
  gap:2px;
}
.lender-compare-card strong{
  color:#123e67;
  font-size:.92rem;
}
.lender-compare-card small{
  color:#6a7d8c;
  font-size:.77rem;
  line-height:1.4;
}
.lender-choice-steps{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:22px;
}
.lender-choice-steps article{
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  gap:15px;
  padding:22px;
  border:1px solid #d1dee7;
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 28px rgba(9,31,53,.055);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.lender-choice-steps article:hover{
  transform:translateY(-5px);
  border-color:#b7ccdc;
  box-shadow:0 18px 36px rgba(9,31,53,.10);
}
.lender-choice-steps article>span{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:14px;
  background:linear-gradient(145deg,#d7b56d,#ead8ad);
  color:#091f35;
  font-size:.76rem;
  font-weight:900;
}
.lender-choice-steps h3{
  margin:0 0 5px;
  color:#123e67;
  font-size:1rem;
}
.lender-choice-steps p{
  margin:0;
  color:#647786;
  font-size:.84rem;
  line-height:1.55;
}
.lender-choice-footer{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:28px;
  margin-top:28px;
  padding-top:24px;
  border-top:1px solid #d2dfe8;
}
.lender-strip .lender-note{
  margin:0;
  padding:0;
  border:0;
  color:#6c7e8d;
  text-align:left;
  line-height:1.55;
}
.lender-choice-cta{
  flex:0 0 auto;
  margin:0;
  background:#123e67;
  color:#fff;
  box-shadow:0 12px 26px rgba(18,62,103,.18);
}
.lender-choice-cta:hover{
  background:#1f5f92;
  color:#fff;
}
@media(max-width:900px){
  .lender-choice-heading,
  .lender-choice-showcase{
    grid-template-columns:1fr;
  }
  .lender-choice-heading{
    gap:24px;
  }
  .lender-choice-heading>p{
    max-width:720px;
  }
  .lender-choice-steps{
    grid-template-columns:1fr;
  }
}
@media(max-width:640px){
  .lender-strip{
    padding:70px 0 58px;
  }
  .lender-choice-heading{
    margin-bottom:30px;
  }
  .lender-choice-heading h2{
    font-size:clamp(2.08rem,10.5vw,2.8rem);
  }
  .lender-choice-heading>p{
    padding-left:17px;
  }
  .lender-market-card,
  .lender-compare-card{
    padding:22px 18px;
    border-radius:22px;
  }
  .lender-market-grid{
    grid-template-columns:1fr;
  }
  .lender-choice-steps article:hover{
    transform:none;
  }
  .lender-choice-footer{
    align-items:stretch;
    flex-direction:column;
  }
  .lender-choice-cta{
    width:100%;
    text-align:center;
  }
}

/* Final simplified mortgage-options section. */
.lender-strip{
  padding:94px 0 72px;
  background:
    radial-gradient(circle at 92% 8%,rgba(215,181,109,.13),transparent 25%),
    linear-gradient(180deg,#f4f8fb 0%,#ffffff 100%);
  color:#091f35;
  border-top:1px solid #d9e4ec;
  border-bottom:1px solid #d9e4ec;
}
.lender-strip::before{
  display:none;
}
.lender-simple-layout{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  gap:76px;
  align-items:center;
}
.lender-simple-copy{
  max-width:660px;
}
.lender-strip .lender-eyebrow{
  margin:0 0 18px;
  background:#e2edf5;
  color:#123e67;
  border-color:#c5d8e6;
}
.lender-simple-copy h2{
  margin:0;
  color:#123e67;
  font-size:clamp(2.4rem,4.6vw,3.9rem);
  line-height:1.04;
  letter-spacing:-.052em;
}
.lender-simple-copy h2 span{
  display:block;
  color:#1f5f92;
}
.lender-simple-copy>p{
  max-width:610px;
  margin:22px 0 0;
  color:#5b6d7d;
  font-size:1.04rem;
  line-height:1.75;
}
.lender-category-line{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:24px;
}
.lender-category-line span{
  padding:8px 12px;
  border:1px solid #d2dfe8;
  border-radius:999px;
  background:#fff;
  color:#526a7c;
  font-size:.76rem;
  font-weight:800;
}
.lender-choice-cta{
  display:inline-flex;
  width:auto;
  margin-top:28px;
  background:#123e67;
  color:#fff;
  box-shadow:0 12px 26px rgba(18,62,103,.16);
}
.lender-choice-cta:hover{
  background:#1f5f92;
  color:#fff;
}
.lender-simple-card{
  position:relative;
  overflow:hidden;
  padding:31px;
  border:1px solid #cad9e5;
  border-radius:26px;
  background:#fff;
  box-shadow:0 20px 46px rgba(9,31,53,.095);
}
.lender-simple-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:5px;
  background:linear-gradient(90deg,#123e67,#1f5f92 70%,#d7b56d);
}
.lender-simple-card-kicker{
  margin-bottom:8px;
  color:#1f5f92;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.lender-simple-card h3{
  margin:0 0 18px;
  color:#123e67;
  font-size:1.42rem;
  line-height:1.3;
}
.lender-simple-points{
  border-top:1px solid #dde6ed;
}
.lender-simple-points>div{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:13px;
  align-items:center;
  padding:15px 0;
  border-bottom:1px solid #dde6ed;
}
.lender-simple-points>div>span{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:11px;
  background:#e6eff6;
  color:#1f5f92;
  font-size:.7rem;
  font-weight:900;
}
.lender-simple-points p{
  display:grid;
  gap:2px;
  margin:0;
}
.lender-simple-points strong{
  color:#123e67;
  font-size:.94rem;
}
.lender-simple-points small{
  color:#6a7d8c;
  font-size:.78rem;
  line-height:1.4;
}
.lender-simple-result{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:18px 0 0;
  padding:13px 14px;
  border-radius:13px;
  background:#edf4fa;
  color:#405b70;
  font-size:.82rem;
  font-weight:750;
  line-height:1.45;
}
.lender-simple-result span{
  color:#1f5f92;
  font-weight:900;
}
.lender-strip .lender-note{
  margin:30px 0 0;
  padding:20px 0 0;
  border:0;
  border-top:1px solid #d7e2ea;
  color:#738592;
  text-align:left;
  font-size:.76rem;
  line-height:1.55;
}
@media(max-width:900px){
  .lender-simple-layout{
    grid-template-columns:1fr;
    gap:42px;
  }
  .lender-simple-copy{
    max-width:720px;
  }
  .lender-simple-card{
    max-width:680px;
  }
}
@media(max-width:640px){
  .lender-strip{
    padding:70px 0 54px;
  }
  .lender-simple-layout{
    gap:34px;
  }
  .lender-simple-copy h2{
    font-size:clamp(2.05rem,10.5vw,2.8rem);
  }
  .lender-category-line{
    gap:7px;
  }
  .lender-choice-cta{
    display:flex;
    width:100%;
    justify-content:center;
    text-align:center;
  }
  .lender-simple-card{
    padding:25px 20px;
    border-radius:22px;
  }
}

/* Single-column balance after removing the comparison card. */
.lender-simple-layout{
  grid-template-columns:minmax(0,760px);
  justify-content:center;
}
.lender-simple-copy{
  max-width:760px;
  text-align:center;
}
.lender-simple-copy>p{
  margin-left:auto;
  margin-right:auto;
}
.lender-category-line{
  justify-content:center;
}
.lender-strip .lender-note{
  text-align:center;
}

/* Clean top-navigation layout for the calculators page. */
.calculator-workspace{
  grid-template-columns:1fr;
  gap:28px;
}
.calculator-stage{
  width:100%;
}
@media(min-width:621px){
  .calculator-menu{
    position:static;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    overflow:visible;
    padding:0;
    border-radius:0;
    background:none;
    box-shadow:none;
  }
  .calculator-menu-heading{
    grid-column:1 / -1;
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:24px;
    min-width:0;
    margin:0 0 4px;
    padding:0 2px 15px;
    border-right:0;
    border-bottom:1px solid #d5e1e9;
  }
  .calculator-menu-heading span{
    color:#1f5f92;
  }
  .calculator-menu-heading strong{
    color:#123e67;
    font-size:1rem;
  }
  .calculator-tab{
    width:100%;
    min-width:0;
    min-height:72px;
    flex:initial;
    padding:12px 13px;
    border:1px solid #d3e0e9;
    border-radius:16px;
    background:#fff;
    color:#123e67;
    box-shadow:0 8px 22px rgba(9,31,53,.05);
    font-size:.82rem;
  }
  .calculator-tab:hover{
    transform:translateY(-3px);
    border-color:#afc8db;
    background:#f7fafc;
    color:#123e67;
    box-shadow:0 13px 26px rgba(9,31,53,.09);
  }
  .calculator-tab.active{
    border-color:#123e67;
    border-left-color:#123e67;
    border-bottom-color:#123e67;
    background:linear-gradient(145deg,#123e67,#071f35);
    color:#fff;
    box-shadow:0 14px 30px rgba(9,31,53,.18);
  }
  .calculator-tab-icon{
    background:#e6eff6;
    color:#1f5f92;
  }
  .calculator-tab.active .calculator-tab-icon{
    background:#d7b56d;
    color:#091f35;
  }
}
@media(min-width:621px) and (max-width:900px){
  .calculator-menu{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* Subtle brand-colour effects for calculator navigation cards. */
@media(min-width:621px){
  .calculator-tab{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    background:linear-gradient(145deg,#fff 20%,#eaf3f9 100%);
  }
  .calculator-tab > span{
    position:relative;
    z-index:1;
  }
  .calculator-tab::before{
    content:"";
    position:absolute;
    z-index:1;
    top:0;
    right:18px;
    left:18px;
    height:3px;
    border-radius:0 0 5px 5px;
    background:#1f5f92;
    opacity:.72;
    transition:opacity .2s ease,transform .2s ease;
  }
  .calculator-tab::after{
    content:"";
    position:absolute;
    z-index:0;
    top:-36px;
    right:-34px;
    width:105px;
    height:105px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(31,95,146,.20) 0,rgba(31,95,146,0) 70%);
    transition:opacity .2s ease,transform .25s ease;
  }
  .calculator-tab:hover::before{
    opacity:1;
    transform:scaleX(1.08);
  }
  .calculator-tab:hover::after{
    transform:scale(1.18);
  }
  .calculator-tab.active{
    background:linear-gradient(145deg,#164d79,#071f35);
  }
  .calculator-tab.active::before{
    background:#67a7d6;
    opacity:1;
  }
  .calculator-tab.active::after{
    background:radial-gradient(circle,rgba(103,167,214,.30) 0,rgba(103,167,214,0) 70%);
  }
  .calculator-tab.active .calculator-tab-icon{
    background:#dcecf7;
    color:#123e67;
  }
}

/* ===== Professional thank-you confirmation ===== */
.thank-you-page .service-page-hero{
  min-height:auto;
  padding:86px 0;
  background:
    radial-gradient(circle at 14% 20%,rgba(72,137,189,.20),transparent 30%),
    radial-gradient(circle at 88% 12%,rgba(215,181,109,.16),transparent 28%),
    linear-gradient(135deg,#041524,#0a2d4c 58%,#123e67);
}
.thank-you-card{
  max-width:760px;
  padding:52px 54px;
  overflow:hidden;
  border:1px solid rgba(215,181,109,.42);
  background:#fff;
  box-shadow:0 30px 70px rgba(2,20,35,.28);
}
.thank-you-card::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  left:0;
  height:5px;
  background:linear-gradient(90deg,#1f5f92,#d7b56d,#1f5f92);
}
.thank-you-icon{
  display:grid;
  place-items:center;
  width:68px;
  height:68px;
  margin:0 auto 20px;
  border:7px solid #edf4fa;
  border-radius:50%;
  background:linear-gradient(145deg,#d7b56d,#f0dfb6);
  color:#071f35;
  font-size:1.8rem;
  font-weight:900;
  box-shadow:0 10px 24px rgba(18,62,103,.14);
}
.thank-you-card .eyebrow{
  margin-bottom:18px;
  border-color:#d6e2eb;
  background:#edf4fa;
  color:#123e67;
}
.thank-you-card h1{
  max-width:650px;
  margin:0 auto 18px;
  color:#071f35;
  font-size:clamp(2.3rem,5vw,3.55rem);
  line-height:1.08;
  letter-spacing:-.045em;
}
.thank-you-card .thank-you-message{
  max-width:620px;
  margin:0 auto;
  color:#42596c;
  font-size:1.1rem;
  line-height:1.75;
}
.thank-you-next-step{
  display:grid;
  gap:5px;
  max-width:610px;
  margin:28px auto 0;
  padding:18px 20px;
  border:1px solid #d7e1ea;
  border-radius:16px;
  background:#f5f8fb;
  color:#52697b;
  line-height:1.55;
}
.thank-you-next-step strong{
  color:#123e67;
  font-size:.97rem;
}
.thank-you-next-step span{
  font-size:.92rem;
}
.thank-you-card .status-actions{
  gap:14px;
  margin-top:30px;
}
.thank-you-card .status-actions a{
  min-width:220px;
}
@media(max-width:640px){
  .thank-you-page .service-page-hero{padding:52px 0}
  .thank-you-card{padding:38px 22px;border-radius:22px}
  .thank-you-icon{width:60px;height:60px;margin-bottom:16px;border-width:6px}
  .thank-you-card h1{font-size:clamp(2rem,11vw,2.8rem)}
  .thank-you-card .thank-you-message{font-size:1rem}
  .thank-you-next-step{margin-top:22px;padding:16px}
  .thank-you-card .status-actions{margin-top:24px}
  .thank-you-card .status-actions a{min-width:0}
}
